Panasonic FP7 Series Command Reference Manual page 844

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

15.7 RECV (MODBUS Master: Function Code Specification)
I/O number
Y70 to Y7F
Sent flag
(Note 1)
Each contact is used for reading the operation state. Do not write over it with a user program.
Precautions during programming (in the case of CPU with built-in ET-LAN)
● Use the UNITSEL instruction immediately before the SEND/RECV instruction to specify a
target connection number for communication.
● Master communication is only enabled when MEWTOCOL or MODBUS is selected. Confirm
that the "master communication clear to send flags" (X90 to X9F) are ON for the
corresponding connection, and execute the SEND/RECV instruction.
● The SEND or RECV instruction cannot be executed for the connection for which the master
communication is in progress. Confirm that the "master communication sending flags" (Y90
to Y9F) are OFF, and execute the instruction.
● The SEND or RECV instruction cannot be executed for the connection for which the slave
communication is in progress.
● Up to 16 SEND/RECV instructions can be executed simultaneously for differing connections.
● In the MODBUS-TCP mode, specify the partner station number as operand for the SEND/
RECV instruction.
Flag operations
Name
SR7
SR8
(ER)
15-50
Name
Description
To be set in the case of out-of-range in indirect access (index modification).
To be set when the destination range is outside the accessible range.
COM port or connection specified by UNITSEL does not exist, or communication is not
possible in the specified connection.
Partner station number specified by [S1] is out of the range.
Partner unit sender data device specified by [S2] is invalid.
Sent data amount specified by [n] is invalid.
Data device of the receiver data area in the master unit specified by [D1] is invalid, or
exceeds the area.
Result storage device specified by [D2] is invalid.
Integer specification for [S2] is only available for the MODBUS address direct specification
type. It is invalid for other types.
Reports completion result of sending data in genera-purpose
communication or master communication.
(Normal completion: 0, Abnormal completion: 1)
Description
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents