8.2 List of MODBUS RTU Supported Commands
8.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 Contact 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 instructions to be used.
■
Correspondence table for MODBUS reference No. and device No.
MODBUS reference No. Data on BUS
(hexadecimal)
PLC device number
Coil
000001 to 002048 0000 to 07FF Y0 to Y127F
002049 to 034816 0800 to 87FF R0 to R2047F
Input 100001 to 108192 0000 to 1FFF X0 to X511F
Holding register 400001 to 465536 0000 to FFFF DT0 to DT65535
Input register
300001 to 301024 0000 to 03FF WL0 to WL1023
302001 to 318384 07D0 to 47CF LD0 to 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.
8.2 List of MODBUS RTU Supported Commands
WUME-FP7COM-07 8-3