Zp.cset (Receive Data Clear) - Mitsubishi Electric QJ71C24N User Manual

Q corresponding serial communication module
Table of Contents

Advertisement

10 DEDICATED INSTRUCTIONS

10.9 ZP.CSET (Receive data clear)

Set
Internal device
data
(System, user)
Bit
Word
(S1)
(S2)
(D1)
(D2)
[Instruction
code]
ZP.CSET
Set data
Set data
Control data
Device
(S2) + 0
Execution type
(S2) + 1
Complete status
(S2) + 2
Request type
(S2) + 3
to
For system
(S2) + 111
10 - 31
Link direct device
File register
Bit
[Executing
[Instruction
condition]
form]
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.
Start I/O signal of the module
"Un"
(00 to FE: Top two-digit when I/O signals are expressed in 3-digit.)
Number of the channel that demands to clear receiving data.
(S1)
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
(S2)
Head number of the device that stores the control data.
(D1)
Dummy
Head number of the bit device at the self-station that turns on for one scan
(D2)
at the completion of the instruction.
(D2) + 1 also turns on at an abnormal completion.
Each of file registers for local device and program cannot be used as the setting data.
Item
Select 0.
The execution result at the completion of the instruction is stored.
0: Normal
Other than 0: Error code
Specify the request.
4: Receive data clear request
Use prohibited (including for other purposes such as programming)
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.
Applicable device
Intelligent function
J \
module device
U \G
Word
ZP.CSET
Description
Set data
MELSEC-Q
Index register
Constant
Zn
K, H
"Un"
(S1)
(S2)
(D1)
(D2)
1
Set by
User
User, System
System
Setting range
0
4
Others
Data type
BIN16 bit
Device name
Device name
Bit
Set by
User
System
User
System
10 - 31

Advertisement

Table of Contents
loading

Table of Contents