User`s manual

55
FX3U Series Programmable Controllers
User’s Manual - MODBUS Serial Communication Edition
7 MODBUS Standard Commands
7.9 Write Single Register (Command Code: 0x06)
1
Outline
2
Specifications
3
System
Configuration
4
Wiring
5
Communication
Setup
6
Related
Devices and
Comm. Status
7
MODBUS
Standard
Commands
8
Master
Specification
9
Slave
Specification
10
Creating
Programs
7.9 Write Single Register (Command Code: 0x06)
Writes a value to one holding register.
1) Request message format (Master Slave)
2) Response message format (Slave Master)
(When completed normally)
The slave returns the request message received from the master without change.
(When completed with an error)
*1. Exception and error codes are stored in special data registers and special auxiliary relays in the case
of error completion. Refer to Chapter 6 for storage location, confirmation methods, and other detailed
contents.
Data
(L) (L)
Function code
Function
code
(06
H)
Holding register number
(0000
H to FFFFH)
Write data
(0000H to FFFFH)
(H)
(H)
Data
Function code
Function
code
(86
H)
Exception
code*
1