Autonics ARM Series User Manual Download Page 9

 

 

1 Modbus RTU protocol 

© Copyright Reserved Autonics Co., Ltd. 

 

1

 

Modbus RTU protocol   

1.1

 

Read Coil Status(Func 01–01H) 

Reads output(OX reference, Coil) ON/OFF status in the Slave device. 

(1)

 

Query (Master) 

Slave Address  Function 

Starting Address 

No. of Points 

Error Check(CRC16) 

Hi(Upper) 

Lo(Lower) 

Hi(Upper) 

Lo(Lower) 

Lo(Lower) 

Hi(Upper) 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

 

(2)

 

Response (Slave) 

Slave Address  Function 

Byte Count 

Data 
(Data) 

Data 
(Data) 

Data 
(Data) 

Error Check(CRC16) 
Lo(Lower) 

Hi(Upper) 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

1Byte 

 
 
If reading the output status(ON: 1, OFF: 0) of 10 within coil 000001(0000 H) to 000010(0009 H) 

on Slave (Address 17) from Master. 

  Query (Master) 

Slave Address  Function 

Starting Address 

No. of Points 

Error Check(CRC16) 

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) 

Slave Address  Function 

Byte Count 

Data 

(000008 to 000001) 

Data 

(000010 to 000009) 

Error Check(CRC16) 
Lo(Lower) 

Hi(Upper) 

11 H 

01 H 

02 H 

CD H 

01 H 

## H 

## H

 

 
 
 
 
 
 
 
 
 
 

CRC16 

CRC16 

Summary of Contents for ARM Series

Page 1: ... Copyright Reserved Autonics Co Ltd i USER MANUAL For COMMUNICATION ...

Page 2: ...ii Copyright Reserved Autonics Co Ltd ...

Page 3: ...erved Autonics Co Ltd iii Preface Thank you for purchasing an Au to nics product Please s to re this manual in a place where user can find easily because it contains the guidance for the product and how to correctly use it ...

Page 4: ...roduced in either part or whole without permission A user manual is not provided as part of the product package Please visit our home page www au to nics com to download a copy The manual s content may vary depending on changes to the product s software and other unforeseen developments within Au to nics and is subject to change without prior notice Upgrade notice is provided through our homepage ...

Page 5: ...s Symbol Description Supplementary information for a particular feature Failure to follow instructions can result in serious injury or death Failure to follow instructions can lead to a minor injury or product damage An example of the concerned feature s use 1 Annotation mark ...

Page 6: ...rial residue from flowing in to the unit Failure to follow this instruction may result in electric shock fire malfunction of the unit Do not use the unit outdoors Failure to follow this instruction may result in electric shock or shorten the life cycle of the unit Do not use the unit where flammable or explosive gas may be present Failure to follow this instruction may result in fire or explosion ...

Page 7: ...t 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 Force single coil Func 05 05H 13 1 6 Preset Single Registers Func 06 06H 14 1 7 Preset Multiple Registers Func 16 10H 15 1 8 Exception Response Error Code 16 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 ...

Page 8: ...1 Modbus RTU protocol 8 Copyright Reserved Autonics Co Ltd ...

Page 9: ...yte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte If reading the output status ON 1 OFF 0 of 10 within coil 000001 0000 H to 000010 0009 H on Slave Address 17 from Master Query Master Slave Address Function Starting Address No of Points Error Check CRC16 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 ...

Page 10: ...e 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte If reading the input status ON 1 OFF 0 of 10 range 100001 0000 H to 100010 0009 H in the Slave Address 17 from the Master Query Master Slave Address Function Starting Address No of Points Error Check CRC16 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 If the values range 100008 0007 H to 100001 0000 H on slave are ON O...

Page 11: ... Lo Lower Hi Upper Lo Lower Lo Lower Hi Upper 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte If reading the values of 2 from Holding Register 400001 0000 H to 400002 0001 H in Slave Address 17 from the Master Query Master Slave Address Function Starting Address No of Points Error Check CRC16 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 ...

Page 12: ...Lower Hi Upper 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte If reading the values of 2 range from Input Register 300001 0000 H to 300002 0001 H on Slave Address 17 from Master Query Master Slave Address Function Starting Address No of Points Error Check CRC16 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...

Page 13: ...e 1Byte 2 Response Slave Slave address Function Starting address Preset data Error check CRC16 High Low High Low Low High 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte If Coil 000001 0000 H turns ON of Slave Address 17 from Master Query Master Slave address Function Starting address Preset data Error check CRC16 High Low High Low Low High 11 H 05 H 00 H 00 H FFH 00 H H H Response Slave Slave add...

Page 14: ...tion Register Address Preset Data Data Error Check CRC16 Hi Upper Lo Lower Hi Upper Lo Lower Lo Lower Hi Upper 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte 1Byte If writing 10 A H to Holding Register 400001 0000 H on Slave Address 17 from Master Query Master Slave Address Function Starting Address Preset Data Data Error Check CRC16 Hi Upper Lo Lower Hi Upper Lo Lower Lo Lower Hi Upper 11 H 06 H 00 H ...

Page 15: ... 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 Slave Address Functio n Starting Address No of Register Byte Count Data Data Data Data Error Check CRC16 Hi Upper Lo Lower Hi Upper Lo Lower Hi Upper Lo Lower Hi Upper Lo Lower Lo Hi 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 Slave Address Fu...

Page 16: ...nconsistent with transmittable address from the device ILLRGAL DATA VALUE Exception Code 03 H Numbers of queried data are inconsistent with the numbers of transmittable transferable data from the device SLAVE DEVICE FAILURE Exception Code 04 H Not properly completed the queried command order If reading the output status of non existing coil 001001 03E8 H ON 1 OFF 0 on Slave Address 17 from Master ...

Page 17: ...11 01 05 R W POINT 18 DO output value 0 OFF 1 ON 000019 0012 01 05 R W POINT 19 DO output value 0 OFF 1 ON 000020 0013 01 05 R W POINT 20 DO output value 0 OFF 1 ON 000021 0014 01 05 R W POINT 21 DO output value 0 OFF 1 ON 000022 0015 01 05 R W POINT 22 DO output value 0 OFF 1 ON 000023 0016 01 05 R W POINT 23 DO output value 0 OFF 1 ON 000024 0017 01 05 R W POINT 24 DO output value 0 OFF 1 ON 000...

Page 18: ...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 ...

Page 19: ...100019 0012 02 R POINT 19 DI input value 0 OFF 1 ON 100020 0013 02 R POINT 20 DI input value 0 OFF 1 ON 100021 0014 02 R POINT 21 DI input value 0 OFF 1 ON 100022 0015 02 R POINT 22 DI input value 0 OFF 1 ON 100023 0016 02 R POINT 23 DI input value 0 OFF 1 ON 100024 0017 02 R POINT 24 DI input value 0 OFF 1 ON 100025 0018 02 R POINT 25 DI input value 0 OFF 1 ON 100026 0019 02 R POINT 26 DI input v...

Page 20: ...t 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 ...

Page 21: ...del name 5 N 300110 006D 04 R Model name 6 4S 300111 006E 04 R Model name 7 300112 006F 04 R Model name 8 300113 0070 04 R Model name 9 300114 0071 04 R Model name 10 300115 0072 to 300117 0074 04 R Reserved 300118 0075 04 R Coil status Start Address 0000 300119 0076 04 R Coil status Quantity 0 300120 0077 04 R Input status Start Address 0000 300121 0078 04 R Input status Quantity 0 300122 0079 04...

Page 22: ...o 65535 0 300233 00E8 to 300240 00EF 04 R Extension Unit 4 Count POINT 33 to 40 Input Count 0 to 65535 0 300241 00F0 to 300248 00F7 04 R Extension Unit 5 Count POINT 41 to 48 Input Count 0 to 65535 0 300249 00F8 to 300256 00FF 04 R Extension Unit 6 Count POINT 49 to 56 Input Count 0 to 65535 0 300257 0100 to 300264 0107 04 R Extension Unit 7 Count POINT 57 to 64 Input Count 0 to 65535 0 300301 012...

Page 23: ... R Expand unit Spec 6 Connected CH6 extension unit Spec 301009 03F0 04 R Expand unit Spec 7 Connected CH7 extension unit Spec 301010 03F1 04 R Read In port Size Connected input point number 0 to 64 301011 03F2 04 R Read Out port Size Connected output point number 0 to 64 301012 03F3 to 301023 03FE 04 R Reserved 301024 03FF 04 R Module status Error MS Led Error lamp for unit status 0 Normal 1 Error...

Page 24: ...ved 301034 0409 04 R Reseved 301035 040A 04 R Counter Function Flag Counter opreation 0 Stop 1 Continue 2 Restart 0 301036 040B to 301100 044B 04 R Reseved Bit data structure of 301002 to 301009 address 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 Type In size Out size 0 IN NPN 1 IN PNP 0 to 8 0 to 8 2 OUT NPN 3 OUT PNP 1 byte 1 byte 301033 Status...

Page 25: ... 401027 0402 03 06 16 R W Reseved 401028 0403 03 06 16 R W Auto Baudrate Communication speed setting 0 Set value 1 Auto Baudrate 0 401029 0404 03 06 16 R W EEPROM MacID Inner MacID setting 0 to 255 1 401030 0405 03 06 16 R W Baudrate Communication speed 0 2400 1 4800 2 9600 3 19200 4 38400 5 57600 6 115200 2 401031 0406 03 06 16 R W Parity bit 0 None 1 Odd 2 Even 0 401032 0407 03 06 16 R W Stop Bi...

Page 26: ...epresents 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 By in the EEPROM for 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 addre...

Page 27: ... 7 Counter Start Value POINT 57 to 64 Input Counter Start Value 0 to 65535 0 400301 012C to 400308 0133 03 06 16 R W Base Unit Cumulative Count POINT 1 to 8 Cumulative Input Counter Start Value 0 to 65535 0 Designates cumulative counter start value by each point Entering 0 cumulative counter is clear 400309 0134 to 400316 013B 03 06 16 R W Extension Unit 1 Cumulative Counter Start Value POINT 9 to...

Page 28: ...2 Modbus Mapping Table 30 Copyright Reserved Autonics Co Ltd MOO ARMC1 V1 2 1701US ...

Reviews: