Getting The Communication Modes And Statuses Via The Input (X) Flags From The Mcu's Com Ports In Run Mode - Panasonic FP Series Programming Manual

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data transfer via communication ports
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
X0
X2
X1
X3
X4
X5
X6
X7
X8
X9
XA
XC
XB
XD
XE
XF
732
Name
Description (0: OFF, 1: ON)
Reception
When the MCU completes the data reception,
done flag
it turns on.
When waiting for the end of data reception: 0
When data reception completed: 1
PLC data
When F161_MRCV (see page 755) is
reception
completed, it is set/reset.
done flag
Reading completed: 1
Data not yet read: 0 Note 1)
Transmissi
When transmission is available: 1
on done
During transmission: 0 Note 2)
flag
When transmission is completed: 1
Reception
When F161_MRCV (see page 755) is
error
completed, it is set/reset.
Errors exist in the data read: 1
No error exists in the data read: 0 Note 1)
CTS signal
Status of the CTS signal sent from the device
monitor
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.
Latest
Set when an error occurs during the
reception
reception of data by the MCU
error
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)
instruction.
Check X6/X7 to see whether or not there are
errors in each receive buffer during multiple
reception.
Setting
Operation mode switch setting error
error
Usage restrictions for the unit
CH reset
Communication channels can be reset by
done
turning on Y1E or Y1F. The flag is reset upon
completion.
At completion: 1
When Y1E/Y1F is off: 0
Effective operation mode
Program controlled communication
Effective only when setting the
RS/CS to be valid and using the
communication block AFP2803
Program controlled communication
(Reception)
All operation modes
Program controlled communication

Advertisement

Table of Contents
loading

Table of Contents