92
5 MODULE DEDICATED INSTRUCTION
5.3 Serial Communication Instruction
■
(s)[4] (CH1 Communication protocol setting) and (s)[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 ((s)[4])
9H
Pre-defined protocol
Pre-defined protocol communication
Device
Bit
Description
Setting value
Position
Specified
value
(s)[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
b15 to b8
Communication speed
19200bps
(s)[4]
CH1 Communication protocol setting
Link setting
0008H
(s)[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
b15 to b8
Communication speed
19200bps
(s)[6]
CH2 Communication protocol setting
MC protocol Format 5
0005H
(s)[7]
Station No. setting
1
0001H
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......