Data transfer via communication ports
732
Part III FP Instructions
22.3.3.1 Getting the communication modes and statuses via the input (X) flags from the MCU's COM
ports in RUN mode
16 I/Os for X are allocated. I/O numbers are determined depending on the installation location and
the I/O allocations of the other units.
Input signal
COM 1 COM 2
Name Description (0: OFF, 1: ON) Effective operation mode
X0 X2 Reception
done flag
When the MCU completes the data reception,
it turns on.
When waiting for the end of data reception: 0
When data reception completed: 1
X1 X3 PLC data
reception
done flag
When F161_MRCV (see page 755) is
completed, it is set/reset.
Reading completed: 1
Data not yet read: 0 Note 1)
X4 X5 Transmissi
on done
flag
When transmission is available: 1
During transmission: 0 Note 2)
When transmission is completed: 1
X6 X7 Reception
error
When F161_MRCV (see page 755) is
completed, it is set/reset.
Errors exist in the data read: 1
No error exists in the data read: 0 Note 1)
Program controlled communication
X8 X9 CTS signal
monitor
Status of the CTS signal sent from the device
being communicated with.
Transmission from MCU is possible: 0
Transmission from MCU is not possible: 1
The RTS signal from the MCU is controllable
by Y18 and Y19.
Effective only when setting the
RS/CS to be valid and using the
communication block AFP2803
XA XC Latest
reception
error
Set when an error occurs during the
reception of data by the MCU
No reception error: 0
Reception error: 1
The details of the reception error can be
confirmed by reading them to the PLC using
the F161_MRD_STATUS (see page 729)
instr
uction.
Check X6/X7 to see wh
ether or not there are
errors in each receive buffer during multiple
reception.
Program controlled communication
(Reception)
XB XD Setting
error
Operation mode switch setting error
Usage restrictions for the unit
All operation modes
XE XF CH reset
done
Communication channels can be reset by
turning on Y1E or Y1F. The flag is reset upon
completion.
At completion: 1
When Y1E/Y1F is off: 0
Program controlled communication