52
5 MODULE DEDICATED INSTRUCTION
5.3 Serial Communication Instruction
Setting data
Program example
• The following program sends data of devices from D10 to D11 using the on-demand function. (For the Q series C24 whose
I/O signals are X/Y00 to X/Y1F)
Device
Item
Setting data
Setting range
Setting side
(s1)[0]
Transmission channel
Set the transmission channel.
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
1, 2
User
(s1)[1]
Transmission result
The instruction completion status is stored.
0: Normal completion
Other than 0: Error completion (error code)
System
(s1)[2]
Number of send data
Set the number of send data.
1 or more
User
[Structured ladder/FBD]
On-demand transmission
instruction pulse
Sets transmission
channel to 1
Sets send data
to D10 to D11
Turns normal completion
flag OFF
Turns error completion
flag OFF
Turns execution flag ON
Performs on-demand
function transmission
Turns error completion
flag ON
Turns normal completion
flag ON
Turns execution flag OFF
Sets number of send data
to 2 words
Содержание MELSEC System Q
Страница 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Страница 2: ......
Страница 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Страница 309: ...I 307 MEMO ...
Страница 315: ......