User Manual For Communication
User Manual For Communication
for Communication
Preface
Thank you for purchasing an Autonics product.
Please store this manual in a place where user can find easily, because it contains the guidance
for the product and how to correctly use it.
Symbol Description
※1 Annotation mark.
Safety Precautions
Following these safety precautions will ensure the safe and proper use of the product and
help prevent accidents and minimize hazards.
Safety precautions are categorized as Warnings and Cautions, as defined below:
Cases that may cause serious injury or fatal accident if
Warning
instructions are not followed.
Fail-safe device must be installed when using the unit with machinery that may cause
serious injury or substantial economic loss. (e.g. nuclear power control, medical equipment,
ships, vehicles, railways, aircraft, combustion apparatus, safety equipment, crime/disaster
prevention devices, etc.)
Failure to follow this instruction may result in personal injury, fire, or economic loss.
Do not connect, repair, or inspect the unit while connected to a power source.
Failure to follow this instruction may result in electric shock, or fire.
Do not disassemble or modify the unit. Please contact us if necessary.
Failure to follow this instruction may result in electric shock, or fire.
Keep material residue from flowing into the unit.
Failure to follow this instruction may result in electric shock, fire, malfunction of the unit.
※The above specifications are subject to change and some models may be
discontinued without notice.
Table of Contents
Preface .............................................................................................................................iii
User Manual Guide ......................................................................................................... iv
User Manual Symbols ...................................................................................................... v
Safety Precautions .......................................................................................................... vi
Table of Contents ........................................................................................................... viii
1 Modbus RTU protocol ............................................................................... 9
1.1 Read Coil Status(Func 01–01H) ........................................................................ 9
1.2 Read Input Status(Func 02–02H) ................................................................... 10
1.3 Read Holding Registers(Func 03–03H) ......................................................... 11
1.4 Read Input Registers(Func 04–04H).............................................................. 12
1.5 Preset Single Registers(Func 06–06H) .......................................................... 13
1.6 Preset Multiple Registers(Func 16–10H) ....................................................... 14
1.7 Exception Response-Error Code.................................................................... 15
2 Modbus Mapping Table ......................................................................... 17
2.1 Read Coil Status(Func: 01, RW: R/W) ........................................................... 17
2.2 Read Input Status (Func: 02, RW: R) ............................................................. 19
2.3 Read Input Register (Func: 04, RW: R) ......................................................... 21
2.4 Read Holding Register (Func: 03) .................................................................. 25
CRC16
CRC16
If reading the output status(ON: 1, OFF: 0) of 10EA within coil 000001(0000 H) to 000010(0009
H) on Slave (Address 17) from Master.
Query (Master)
Starting Address No. of Points Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 01 H 00 H 00 H 00 H 0A H ## H ## H
If the values range from coil 000008(0007 H) to 000001(0000 H) on the slave are “ON-ON-OFF-
OFF-ON-ON-OFF-ON”, and the values from 000010(0009 H) to 000009(0008 H)are respectively
“OFF-ON”.
Response (Slave)
CRC16
CRC16
If reading the input status(ON: 1, OFF: 0) of 10EA range 100001(0000 H)to100010(0009 H)in the
Slave(Address 17) from the Master.
Query (Master)
Starting Address No. of Points Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 02 H 00 H 00 H 00 H 0A H ## H ## H
Response (Slave)
Data Data Error Check(CRC16)
Slave Address Function Byte Count
(00008 to 00001) (00010 to 00009) Lo(Lower) Hi(Upper)
11 H 02 H 02 H CD H 01 H ## H ## H
CRC16
CRC16
If reading the values of 2EA, from Holding Register 400001(0000 H) to 400002(0001 H), in
Slave(Address 17) from the Master.
Query (Master)
Starting Address No. of Points Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 03 H 00 H 00 H 00 H 02 H ## H ## H
If the value of 400001(0000 H) on Slave is “555(22B H)” and the value of 400002(0001 H) is
“100(64 H)”.
Response (Slave)
Data(Data) Data(Data) Error Check(CRC16)
Slave Address Function Byte Count
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 03 H 04 H 02 H 2B H 00 H 64 H ## H ## H
CRC16
Error Check(CRC16)
Slave Address Function Byte Count Data Data Data
Lo(Lower) Hi(Upper)
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte
CRC16
If reading the values of 2EA range from Input Register 300001(0000 H) to 300002(0001 H) on
Slave (Address 17) from Master.
Query (Master)
Starting Address No. of Points Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 04 H 00 H 00 H 00 H 02 H ## H ## H
If the values of 300001(0000 H) on Slave is “10(A H)” and the values of 300002(0001 H) on
Slave is “20(14 H)”.
Response (Slave)
Data(Data) Data(Data) Error Check(CRC16)
Slave Address Function Byte Count
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 04 H 04 H 00 H 0A H 00 H 14 H ## H ## H
CRC16
CRC16
If writing “10(A H)” to Holding Register 400001(0000 H) on Slave(Address 17) from Master.
Query (Master)
Starting Address Preset Data(Data) Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 06 H 00 H 00 H 00 H 0A H ## H ## H
Response (Slave)
Starting Address Preset Data(Data) Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 06 H 00 H 00 H 00 H 0A H ## H ## H
Error Check
Starting Address No. of Register Data(Data) Data(Data)
Slave Byte Count (CRC16)
Function
Address Hi Lo Hi Lo Hi Lo Hi Lo
Lo Hi
(Upper) (Lower) (Upper) (Lower) (Upper) (Lower) (Upper) (Lower)
1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte
CRC16
CRC16
If writing “10(A H)” in common to the range of Holding Register 400001(0000 H) to 400002(0001
H) on Slave(Address 17) from Master.
Query (Master)
Error Check
Starting Address No. of Register Data(Data) Data(Data)
Slave Functio (CRC16)
Byte Count
Address n Hi Lo Hi Lo Hi Lo Hi Lo
Lo Hi
(Upper) (Lower) (Upper) (Lower) (Upper) (Lower) (Upper) (Lower)
11 H 10 H 00 H 00 H 00 H 02 H 04 H 00 H 0A H 00 H 0A H ## H ## H
Response (Slave)
Starting Address No. of Register Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 10 H 00 H 00 H 00 H 02 H ## H ## H
Please use the Single Register Write function rather than Multi Register Write function if you use
the slave(device) connecting with external devices such as PLC, Graphic Panel, except in the
case of download that presets the minimum/maximum or basic value of parameter by Input
specifications in PC Loader Program.
CRC16
Query (Master)
Starting Address No. of Points Error Check(CRC16)
Slave Address Function
Hi(Upper) Lo(Lower) Hi(Upper) Lo(Lower) Lo(Lower) Hi(Upper)
11 H 01 H 03 H E8 H 00 H 01 H ## H ## H
Response (Slave)
Function Error Check(CRC16)
Slave Address Exception Code
+80 H Lo(Lower) Hi(Upper)
11 H 81 H 02 H ## H ## H
Defau
No(Address) Func R/W Parameter Description Set range Unit Note
lt
000042(0029) 01/05 R/W - POINT 42 DO Output Value 0 : OFF 1 : ON -
000043(002A) 01/05 R/W - POINT 43 DO Output Value 0 : OFF 1 : ON -
000044(002B) 01/05 R/W - POINT 44 DO Output Value 0 : OFF 1 : ON -
000045(002C) 01/05 R/W - POINT 45 DO Output Value 0 : OFF 1 : ON -
000046(002D) 01/05 R/W - POINT 46 DO Output Value 0 : OFF 1 : ON -
000047(002E) 01/05 R/W - POINT 47 DO Output Value 0 : OFF 1 : ON -
000048(002F) 01/05 R/W - POINT 48 DO Output Value 0 : OFF 1 : ON -
000049(0030) 01/05 R/W - POINT 49 DO Output Value 0 : OFF 1 : ON -
000050(0031) 01/05 R/W - POINT 50 DO Output Value 0 : OFF 1 : ON -
000051(0032) 01/05 R/W - POINT 51 DO Output Value 0 : OFF 1 : ON -
000052(0033) 01/05 R/W - POINT 52 DO Output Value 0 : OFF 1 : ON -
000053(0034) 01/05 R/W - POINT 53 DO Output Value 0 : OFF 1 : ON -
000054(0035) 01/05 R/W - POINT 54 DO Output Value 0 : OFF 1 : ON -
000055(0036) 01/05 R/W - POINT 55 DO Output Value 0 : OFF 1 : ON -
000056(0037) 01/05 R/W - POINT 56 DO Output Value 0 : OFF 1 : ON -
000057(0038) 01/05 R/W - POINT 57 DO Output Value 0 : OFF 1 : ON -
000058(0039) 01/05 R/W - POINT 58 DO Output Value 0 : OFF 1 : ON -
000059(003A) 01/05 R/W - POINT 59 DO Output Value 0 : OFF 1 : ON -
000060(003B) 01/05 R/W - POINT 60 DO Output Value 0 : OFF 1 : ON -
000061(003C) 01/05 R/W - POINT 61 DO Output Value 0 : OFF 1 : ON -
000062(003D) 01/05 R/W - POINT 62 DO Output Value 0 : OFF 1 : ON -
000063(003E) 01/05 R/W - POINT 63 DO Output Value 0 : OFF 1 : ON -
000064(003F) 01/05 R/W - POINT 64 DO Output Value 0 : OFF 1 : ON -
000065to000100 Reserved
Defau
No(Address) Func R/W Parameter Description Set range Unit Note
lt
100044(002B) 02 R - POINT 44 DI Input Value 0 : OFF 1 : ON -
100045(002C) 02 R - POINT 45 DI Input Value 0 : OFF 1 : ON -
100046(002D) 02 R - POINT 46 DI Input Value 0 : OFF 1 : ON -
100047(002E) 02 R - POINT 47 DI Input Value 0 : OFF 1 : ON -
100048(002F) 02 R - POINT 48 DI Input Value 0 : OFF 1 : ON -
100049(0030) 02 R - POINT 49 DI Input Value 0 : OFF 1 : ON -
100050(0031) 02 R - POINT 50 DI Input Value 0 : OFF 1 : ON -
100051(0032) 02 R - POINT 51 DI Input Value 0 : OFF 1 : ON -
100052(0033) 02 R - POINT 52 DI Input Value 0 : OFF 1 : ON -
100053(0034) 02 R - POINT 53 DI Input Value 0 : OFF 1 : ON -
100054(0035) 02 R - POINT 54 DI Input Value 0 : OFF 1 : ON -
100055(0036) 02 R - POINT 55 DI Input Value 0 : OFF 1 : ON -
100056(0037) 02 R - POINT 56 DI Input Value 0 : OFF 1 : ON -
100057(0038) 02 R - POINT 57 DI Input Value 0 : OFF 1 : ON -
100058(0039) 02 R - POINT 58 DI Input Value 0 : OFF 1 : ON -
100059(003A) 02 R - POINT 59 DI Input Value 0 : OFF 1 : ON -
100060(003B) 02 R - POINT 60 DI Input Value 0 : OFF 1 : ON -
100061(003C) 02 R - POINT 61 DI Input Value 0 : OFF 1 : ON -
100062(003D) 02 R - POINT 62 DI Input Value 0 : OFF 1 : ON -
100063(003E) 02 R - POINT 63 DI Input Value 0 : OFF 1 : ON -
100064(003F) 02 R - POINT 64 DI Input Value 0 : OFF 1 : ON -
100065to100100 Reserved
No(Address) Func R/W Parameter Description Set range Unit Default Note
No(Address) Func R/W Parameter Description Set range Unit Default Note
No(Address) Func R/W Parameter Description Set range Unit Default Note
Bit F Bit E Bit D Bit C Bit B Bit A Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
No(Address) Func R/W Parameter Description Set range Unit Default Note
No(Address) Func R/W Parameter Description Set range Unit Default Note
0 :2400, 1 :4800,
2 :9600
03/06 3 :19200, 4:
401030(0405) R/W Baudrate Communication speed 2
/16 38400
5 :57600, 6:
115200
03/06 0:None, 1 :Odd,
401031(0406) R/W Parity bit - 0
/16 2:Even
03/06
401032(0407) R/W Stop Bit - 1 :1Stop, 2:2Stop 2
/16
※ MacID setting
① Two rotary switches are used for setting address. X10 switch represents tens digit and
X1 switch represents ones digit. The address can be set 01 to 99.
② After setting the desired address, re-supply the unit power for applying the changed address.
① During communicate status with upper system (PLC or PC), set the desired address on the
41029 EEPROM MAC ID parameter.
②The set address is changed after unit power is supplied. Re-supply the unit power for applying
the changed address.
MOO-ARMC1-V1.0-1503US