10 - 31 10 - 31
MELSEC-Q
10 DEDICATED INSTRUCTIONS
10.9 ZP.CSET (Receive data clear)
Applicable device
Internal device
(System, user)
Link direct device
J \
Set
data
Bit Word
File register
Bit Word
Intelligent function
module device
U
\G
Index register
Zn
Constant
K, H
Others
(S1) —
—
—
(S2) —
—
(D1) —
—
(D2)
—
(D2)ZP.CSET
ZP.CSET
(D1)(S2)(S1)"Un"
[Executing
condition]
[Instruction
code]
[Instruction
form]
1
1 If the originating station is a Basic model QCPU (function version B or later), or Universal model QCPU, "" (double quotation) of
the first argument can be omitted.
Set data Description Set by Data type
"Un"
Start I/O signal of the module
(00 to FE: Top two-digit when I/O signals are expressed in 3-digit.)
Set data
(S1)
Number of the channel that demands to clear receiving data.
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
User BIN16 bit
(S2) Head number of the device that stores the control data. User, System Device name
(D1) Dummy — Device name
(D2)
Head number of the bit device at the self-station that turns on for one scan
at the completion of the instruction.
(D2) + 1 also turns on at an abnormal completion.
System Bit
Each of file registers for local device and program cannot be used as the setting data.
Control data
Device Item Set data Setting range Set by
(S2) + 0 Execution type Select 0. 0 User
(S2) + 1 Complete status
The execution result at the completion of the instruction is stored.
0: Normal
Other than 0: Error code
— System
(S2) + 2 Request type
Specify the request.
4: Receive data clear request
4 User
(S2) + 3
to
(S2) + 111
For system Use prohibited (including for other purposes such as programming) — System
REMARKS
(1) See the "Error" explanation on the following page for details on errors caused by
wrong data specifications by the user.
(2) The setting sides are partitioned as follows:
• User : Data set by the user before executing the dedicated instruction.
• System : The programmable controller CPU stores the execution result of the
dedicated instruction.