■
I/O allocation (in the case of CPU with built-in ET-LAN)
I/O number Name Description
X80 to X8F
General-purpose
communication clear to
send flag
Turns ON when general-purpose communication is in a connected
status.
Y80 to Y8F
General-purpose
communication sending
flag
Turns ON when sending with general-purpose communication.
Y70 to Y7F Sent flag
Reports completion result of sending data in genera-purpose
communication or master communication.
(Normal completion: 0, Abnormal completion: 1)
(Note 1) Each contact is used for reading the operation state. Do not write over it with a user program.
(Note 2) In the case of the GPTRNS and pGPSEND instructions, the sending flag and send results flag are
updated after the scan is complete.
(Note 3) In the case of the GPSEND instruction, the sending flag and send results flag are updated after
sending is completed when the next GPSEND instruction is executed.
■
Flag operations
Name Description
SR7
SR8
(ER)
To be set in the case of out-of-range in indirect access (index modification).
The connection specified with UNITSEL is closed (other than "Connect").
The communication mode of the communication port specified with UNITSEL is not
"General-purpose communication."
When the data device specified by [S] exceeds the area
When the number of sent data specified by [n] is 0. The volume including a start code and
an end code exceeds the specified maximum value.
When the number of sent data specified by [n] exceeds the data area
Either 0 or a negative value is set for [N] in the settings of sending to ET-LAN.
Set when executed in an interrupt program.
9.3.4 Precautions on Sending Data
■
Procedures when the end code is not added in the sending process
When you do not wish to add the terminator (end code) in the sending process, use a negative
value for specifying the No. of sent bytes.
9.3 Sending Operation
9-16 WUME-FP7COM-07