64
5 MODULE DEDICATED INSTRUCTION
5.3 Serial Communication Instruction
Receive data clear
ZP_CSET
The following instruction can go in the dotted squares.
ZP_CSET
■
Executing condition
■
Argument
*1 Local devices and file registers per program cannot be used as setting data.
Processing details
Clears receive data without stopping transmission using the nonprocedural protocol.
Instruction
Executing condition
ZP_CSET
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
Un*
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/
O number in three digits)
String
s1
Channel number that requests receive data clear
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
ANY16
s2
Variable that stores control data
Array of ANY16 [0..111]
Output argument
ENO
Execution result
Bit
d1
Dummy
ANY16
d2
Variable that turns ON upon completion of the
instruction
d2[1] also turns ON at the time of error completion.
Array of bit [0..1]
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
Bit
Word
Bit
Word
(s1)
(s2)
(d1)
(d2)
Serial
Modem
Structured ladder/FBD
ST
ZP_CSET
EN
ENO
Un*
s1
s2
d1
d2
ZP_CSET
(EN, Un*, s1, s2, d1, d2);
ENO:=
Содержание 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: ......