MODBUS
TCP Master/Slave Communication
6.4.3 SEND Command (MODBUS Function Code Unspecified Type)
Command format
Operand
Items Settings
Setting range
i
Specify the operation unit.
US / SS
S
Specify the header of the source node data area. (Note 1)
n
Specify the No. of sent data. (Note 2)
1 - 127 words
1 - 2040 bits
D1
Specify the partner station no.
H1 - HF7 (1 - 247)
D2
Specify the initial address of the receiver node data area in the partner
node. (Note 1) (Note 3)
H0 - HFFFF (0 - 65535)
D3
Specify the device area in the source node to save the execution result
code (one word).
(Note 4)
(Note 1) Types of devices and transmission methods to be specified for operands [S] and [D2], and MODBUS
function codes to be used for command execution vary.
Types of device
to be specified in [S]
Transmission
method
MODBUS function codes
to be used for command execution
16 bit device
WX, WY, WR, WL, DT, LD
Register transmission
Force Multiple Coils (15)
Preset Multiple Registers (16)
1 bit device
X, Y, R, L, DT, n, LD, n
Bit transmission
Force Multiple Coils (15)
(Note 2) The No. of sent data [n] is on a word basis for register transmission, and on a bit basis for bit transmission.
(Note 3) 16 bit device WX and WL; and 1 bit device X; L; DT, n; and LD, n cannot be specified for the header of the
receiver data in the partner node.
(Note 4): Devices that can be specified for D3 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 commands that can be used simultaneously has been exceeded
4: Sending timeout
5: Response reception timeout
6: Received data error
6-12
Summary of Contents for FP7 CPU Unit
Page 8: ...Table of Contents vi ...
Page 9: ...1 Communication Functions of CPU Unit ...
Page 19: ...2 Installation and Wiring ...
Page 23: ...3 Configuration ...
Page 35: ...4 Setting and Operation of User Connection ...
Page 41: ...5 MEWTOCOL Master Slave Communication ...
Page 50: ...MEWTOCOL Master Slave Communication 5 10 ...
Page 51: ...6 MODBUS TCP Master Slave Communication ...
Page 63: ...7 General Purpose Communication ...
Page 74: ...General Purpose Communication 7 12 ...
Page 75: ...8 Specifications ...
Page 89: ...Record of changes Manual No Date Record of Changes WUME FP7LAN 01 Mar 2013 First Edition ...
Page 90: ......
Page 91: ......