Mitsubishi MELSEC-L series Programming Manual page 123

Hide thumbs Also See for MELSEC-L series:
Table of Contents

Advertisement

Control Data
Device
Item
Execution type
[0]
s2
Completion status
[1]
s2
Request type
[2]
s2
[3]
s2
to
For system
[111]
s2
Program Example
The following program clears the receive data in the Q series C24 side.
(For the Q series C24 whose I/O signals are X/Y00 to X/Y1F)
[Structured ladder]
Setting data
Specify '0'.
The instruction completion status is stored.
0
: Normal completion
: Error completion (error code)
Other than 0
Specify the request.
4: Receive data clear request
5.2 Serial Communication and Modem Interface Instruction
5.2.7 CSET instruction (receive data clear)
ZP_CSET
Setting range
Setting side
0
User
System
4
User
System
Clears execution
type to 0
Sets request type
Clears data
Turns normal completion
flag ON
Turns error completion
flag ON
Stores error code
Turns normal completion
flag OFF
Turns error completion
flag OFF
5-77
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-q series

Table of Contents