6.2 List of MODBUS TCP Supported Commands
6.2 List of MODBUS TCP Supported Commands
6.2.1 List of MODBUS Function Codes
Table of supported commands
Code
Name (MODBUS)
Name
Remarks
(Reference no.)
FP7 supported
functions
01
Read Coil Status
Read Y and R Coils
0X
●
02
Read Input Status
Read X Input
1X
●
03
Read Holding Registers
Read DT
4X
●
04
Read Input Registers
Read WL and LD
3X
●
05
Force Single Coil
Write Single Y and R
0X
●
06
Preset Single Register
Write DT 1 Word
4X
●
08
Diagnostics
Loopback Test
-
-
15
Force Multiple Coils
Write Multiple Y's and R's
0X
●
16
Preset Multiple Registers
Write DT Multiple Words
4X
●
22
Mask Write 4X Register
Write DT Mask
4X
-
23
Read/Write 4X Registers
Read/Write DT
4X
-
(Note 1) Types of MODBUS function codes vary by commands to be used.
Table for MODBUS reference No. and device No.
MODBUS reference no.
Data on BUS
(hexadecimal)
PLC device number
Coil
000001-002048
0000-07FF
Y0-Y127F
002049-034816
0800-87FF
R0-R2047F
Input
100001-108192
0000-1FFF
X0-X511F
Holding register
400001-465536
0000-FFFF
DT0-DT65535
Input register
300001-301024
0000-03FF
WL0-WL1023
302001-318384
07D0-47CF
LD0-LD16383
(Note 1) The table above indicates correspondence between the MODBUS reference numbers for accessing from a
higher device to FP7 using the MODBUS protocol, and the operation device numbers of FP7.
6-3
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: ......