Recv Instruction (Modbus Function Code Unspecified Type) - Panasonic AFP7CPS4E User Manual

Fp7 series, programmable controller
Table of Contents

Advertisement

MODBUS RTU
Master/Slave Communication

8.3.3 RECV Instruction (MODBUS Function Code Unspecified Type)

 Instruction format
 Operand
Items
Settings
i
Specify the operation unit.
S1
Specify the partner station no.
Specify the device initial address of the source node data area in the
S2
partner node.
n
Specify the No. of sent data.
Specify the device initial address of the receiver node data area in the
D1
source node.
Specify the device area in the source node to save the execution result
D2
code (one word).
(Note 1) Types of devices and transmission methods to be specified for operands [S2] and [D1], and MODBUS
function codes to be used for instruction execution vary.
Device to be specified
for [S2] and [D1]
16 bit device
WX, WY, WR, WL, DT, LD
1 bit device
X, Y, R, L, DT, n, LD, n
(Note 2) Bit device L; DT, n; and LD, n cannot be specified for the header of the sender data in the partner node.
(Note 3) The No. of sent data is on a word basis for register transmission, and on a bit basis for bit transmission.
(Note 4): Device that can be specified for D1 are: WX, WY, WR, WL, DT, LD.
(Note 5): Device that can be specified for D2 are: WX, WY, WR, WL, DT, LD. Saved as one word in the specified area.
0: Normal completion
1: Communication port is being used for master communication
2: Communication port is being used for slave communication
3: No. of master communication instructions that can be used simultaneously has been exceeded
4: Sending timeout
5: Response reception timeout
6: Received data error
8-8
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Transmission
method
Read Coil Status (01)
Read Input Status (02)
Register
transmission
Read Holding Registers (03)
Read Input Registers (04)
Read Coil Status (01)
Bit transmission
Read Input Status (02)
Setting range
US / SS
H1 - HF7 (1 - 247)
H0 - HFFFF (0 - 65535)
(Note 1) (Note 2)
1 - 127 words
1 - 2040 bits
(Note 3)
(Note 1) (Note 4)
(Note 5)
MODBUS function codes
to be used for instruction execution

Advertisement

Table of Contents
loading

Table of Contents