Panasonic FP Series Programming Manual page 776

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F146_READ_DATA_
TYPE_OFFS
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 is read from the memory area of the slave specified by SlaveAddressType and
SlaveAddressOffs. It is stored in the area of the master specified by MasterWordAddress.
General programming information for F145 and F146 (see page 766)
Availability of F146_READ_DATA_TYPE_OFFS (see page 1321)
PLC types
Data types
Variable
Port
SlaveAddress
SlaveWordAddressType
SlaveWordAddressOffs
NumberOfWords_
BitsInWords
MasterWordData
Read Data from Slave with Type and Offset
Data type
Function
Specifies the slave's COM port (1 or 2) via system variable:
SYS_COM1_PORT
SYS_COM2_PORT
Address of the remote station (1-99).
Address type in the slave from which data is read.
ANY16
The offset for the starting slave address whose type is
defined by SlaveWordAddressType and to which the data
is written.
Number of word units to be read by the master (if the
highest bit is not set) or bits in word (if the highest bit is set).
Is identical to the lower word of s1_ControlData.
ANY
The master data which is written to the slave.
Data transfer via communication ports
775

Advertisement

Table of Contents
loading

Table of Contents