Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5.3 Serial Communication
5.3.14 UINI instruction
5-111
ZP_UINI
5
MODULE DEDICATED
INSTRUCTION
ZP_UINI
(2) [4] (CH1 Communication protocol setting) and [6] (CH2 Communication protocol
setting)
Precautions
The UINI instruction is applicable to the QJ71C24N (-R2/R4) of which the function version is B
and the first five digits of the serial number are '06062' or higher.
Program Example
The following program changes settings of the Q series C24 mounted on the I/O numbers
X/Y00 to X/Y1F as follows when X20 turns ON.
Setting No. Description Remarks
0H
MELSOFT connection
Specify '0000H' for the transmission specification
setting.
1H
MC protocol
Format 1
2H
Format 2
3H
Format 3
4H
Format 4
5H
Format 5
6H
Nonprocedural protocol
7H
Bidirectional protocol
8H
For link setting
Setting is possible only for CH1 side ( [4])
9H
Pre-defined protocol Pre-defined protocol communication
Device
Bit
Description
Setting
value
Position
Specified
value
[3]
b0 OFF
CH1
Transmission
specification
setting
Operation setting Independence
07E6H
b1 ON Data bit 8
b2 ON Parity bit With
b3 OFF Even/Odd parity Odd
b4 OFF Stop bit 1
b5 ON Sumcheck code With
b6 ON Write during RUN Allowed
b7 ON Setting change Allowed
b8 to
b15
-
Communication
speed
19200bps
[4]
-
CH1 Communication protocol
setting
Link setting 0008H
[5]
b0 ON
CH2
Transmission
specification
setting
Operation setting Link
07E7H
b1 ON Data bit 8
b2 ON Parity bit With
b3 OFF Even/Odd parity Odd
b4 OFF Stop bit 1
b5 ON Sumcheck code With
b6 ON Write during RUN Allowed
b7 ON Setting change Allowed
b8 to
b15
-
Communication
speed
19200bps
[6]
-
CH2 Communication protocol
setting
MC protocol
Format 5
0005H
[7]
- Station No. setting 1 0001H
s
s
s
s
s
s
s
s