Panasonic FP Series Programming Manual page 774

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F146_READ_DATA
Use this instruction to request data from a slave via the serial port (COM1 or COM2) using
Description
MEWTOCOL or Modbus RTU protocol (see communication mode (see page 712)), as defined in
the system register settings (see page 1273) of port used. Master and slave must both use the
same protocol. The master must be configured in Master/Slave mode. The slave can be configured
either in Master/Slave mode or in Slave mode only.
The data specfied by MasterWordAddress is requested by the master from the slave area
specified by SlaveWordAddress. The variable SlaveAddress determines the slave's station
number and the slave's COM port (1 or 2).
General programming information for F145 and F146 (see page 766)
Availability of F146_READ_DATA (see page 1321)
PLC types
Data types
Variable
Port
SlaveAddress
SlaveData
MasterData
Operands
For
Port
Slave
Address
Master
Data
Slave Data
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
Read Data from Slave
Data
Function
type
Specifies the slave's COM port (1 or 2) via system
variable:
SYS_COM1_PORT
ANY16
SYS_COM2_PORT
Address of the remote station (1-99).
The data of the slave to which the data is written.
ANY
The data of the master to which the data (read by the
slave) is written.
Relay
WX
WY
WR
WL
WX
WY
WR
WL
WX
WY
WR
WL
WX
WY
WR
WL
Set
permanently
permanently
Data transfer via communication ports
T/C
Register
-
-
DT
LD
FL
-
-
DT
LD
FL
-
-
DT
LD
FL
-
-
DT
LD
FL
If
 port 0 (global transmission) gets no
response from COM1 or COM2.
 slave data or master data exceeds the
available address range.
 the communication mode (see page 712)
is not set to MEWTOCOL-COM
Master/Slave or Modbus RTU
Master/Slave.
 the COM port selected requires a
communication cassette that has not
been installed.
Constant
-
dec. or hex.
-
-
773

Advertisement

Table of Contents
loading

Table of Contents