
▌4
10 I/O signal assignment list......................................................................................................223
10-1 Input signals...............................................................................................................................................223
10-2 Output signals ...........................................................................................................................................224
4 Method of control via Modbus RTU (RS-485 communication)
1 Specication of Modbus RTU...............................................................................................228
1-1 Communication specications............................................................................................................228
1-2 Communication timing..........................................................................................................................232
2 Message structure..................................................................................................................233
2-1 Query ............................................................................................................................................................233
2-2 Response .....................................................................................................................................................235
3 Function codes........................................................................................................................238
3-1 Reading from a holding register(s) (03h).........................................................................................238
3-2 Writing to a holding register (06h).....................................................................................................239
3-3 Diagnosis (08h)..........................................................................................................................................240
3-4 Writing to multiple holding registers (10h) ....................................................................................241
4 Flow of setting required for Modbus communication ....................................................243
5 Guidance ..................................................................................................................................244
6 Setting of switches.................................................................................................................248
6-1 Protocol........................................................................................................................................................248
6-2 Address number (slave address).........................................................................................................249
6-3 Transmission rate......................................................................................................................................250
6-4 Termination resistor.................................................................................................................................250
7 Setting of RS-485 communication ......................................................................................252
7-1 Parameters reected when turning on the power.......................................................................252
7-2 Parameters reected immediately after rewriting .......................................................................253
7-3 Forcible return of parameters to initial values (default function)...........................................254
8 Example of data setting in Modbus RTU mode ................................................................255
8-1 Remote I/O command ............................................................................................................................255
8-2 Positioning operation .............................................................................................................................257
8-3 Continuous operation.............................................................................................................................260
8-4 High-speed return-to-home operation............................................................................................262
9 Data setting method..............................................................................................................264
9-1 Overview of setting method ................................................................................................................264
9-2 Direct reference.........................................................................................................................................264
9-3 Indirect reference .....................................................................................................................................265
10 Direct data operation ............................................................................................................272
10-1 Overview of direct data operation.....................................................................................................272
10-2 Guidance .....................................................................................................................................................273
10-3 Commands required for direct data operation .............................................................................277
11 Group send ..............................................................................................................................282