Clearing Receive Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

20.10

Clearing Receive Data

ZP.CSET
RnPCPU
RnCPU RnENCPU
(Process)
This instruction clears the receive data area without stopping send processing by using the nonprocedural protocol.
Ladder
(U)
FBD/LD
EN
ENO
U
d1
s1
d2
s2
■Execution condition
Instruction
ZP.CSET
Setting data
■Description, range, data type
Operand
Description
(U)
Start I/O number (first three digits in four-digit hexadecimal
representation) of a module
(s1)
Channel number of the channel for which the receive data
clear request is issued
• 1: Channel (CH1 side)
• 2: Channel (CH2 side)
(s2)
Start device where control data is stored
(d1)
Dummy
(d2)
Device that turns on for one scan upon completion of the
instruction
When the instruction completes with an error, (d2)+1 also
turns on.
EN
Execution condition
ENO
Execution result
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
20 SERIAL COMMUNICATION INSTRUCTIONS
1702
20.10 Clearing Receive Data
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s1) (s2)
(d1) (d2)
Execution condition
ST
ENO:=ZP_CSET(EN,U,s1,s2,d1,d2);
Range
Data type
00H to FEH
String
1, 2
16-bit unsigned binary
Refer to the control data.
Device name
Device name
Bit
Bit
Bit
Data type (label)
ANY16_OR_STRING_
SINGLE
ANY16
*1
ANY16
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents