Modbus
SECTION 5 Modbus Communications Procedure
5-14
■ Variable Write, Single/Operation Command
This function performs operations such as writing to the variable area
(single) and operation commands (Communications Writing, RUN/
STOP, Bank Change, AT Execute/Cancel, Write Mode, Save RAM Data,
Software Reset, Move to Setup Area 1, Move to Protect Level, Auto/
Manual Switch, Initialize Settings, Alarm Latch Cancel, SP Mode, Invert
Direct/Reverse Operation, Program Start, and Infrared Communications
Use).
Writing is enabled in only the Two-byte Mode.
Command Frame
Response Frame
(1) Write variable address
Specify the address of the setting data that is to be written. For details
on addresses, refer to Section 6 Communications Data for Modbus.
For an operation command, specify 0000 or FFFF.
(2) Command Code and Related Information
Command
code
Command content Related information
00 Communications writ-
ing
00: OFF (disabled)
01: ON (enabled)
01 RUN/STOP 00: Run
01: Stop
02 Bank change 00: Bank 0
01: Bank 1
02: Bank 2
03: Bank 3
04: Bank 4
05: Bank 5
06: Bank 6
07: Bank 7
03 AT execute/cancel 00: AT cancel
01: 100% AT execute
02: 40% AT execute
04 Write mode 00: Backup mode
01: RAM write mode
05 Save RAM data 00
06 Software reset 00
CRC-16
11 2 2
H'06
Write data
2 bytes
Slave
address
Function
code
Write variable
address
CRC-16
11 2 2
H'06
Write data
2 bytes
Slave
address
Function
code
Write variable
address