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


 
5.3 Serial Communication
5.3.11 CSET instruction (programmable controller CPU monitor)
5-95
ZP_CSET
5
MODULE DEDICATED
INSTRUCTION
ZP_CSET
5.3.11 CSET instruction (programmable controller CPU monitor)
ZP_CSET
*1: Local devices and file registers per program cannot be used as setting data.
Function
This instruction registers and cancels the programmable controller CPU monitoring.
ZP_CSET
Executing condition
:
indicates the following instruction.
ZP_CSET
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:
Reception channel number
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
*1
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word




Serial
Structured ladder/FBD
ST
ZP_CSET
EN ENO
Un*
s1
s2
d1
d2
ZP_CSET
(EN, Un*, s1, s2, d1, d2);ENO:=
s1
s2
d1
d2