Sie sind auf Seite 1von 11

Modbus TCP Applicaiton

Rev: 1.0

http://www.iotworkshop.com 1 Copyright © 2013 . All rights reserved


List

1. Product .................................................................................................................................. 3

2. Hardware ............................................................................................................................... 3

3. Software ................................................................................................................................ 4

4. HARDWARE connection.................................................................................................. 5

4.1. PC DIRECT .................................................................................................................. 5

4.2. YX-02T ......................................................................................................................... 7

4.3. Throughput Test ....................................................................................................... 7

4.4. Modbus poll Test ...................................................................................................... 9

http://www.iotworkshop.com 2 Copyright © 2013 . All rights reserved


1. PRODUCT
This document is applicable for the following product, the following take E11
for example.

2. HARDWARE
◼ Elfin-EE11 1 Pcs

◼ YX-02T RS485 device

◼ RS232 to RS485 conventor

http://www.iotworkshop.com 3 Copyright © 2013 . All rights reserved


3. SOFTWARE
◼ Modbus Poll
◼ Modbus Slave
◼ UART Tools

http://www.iotworkshop.com 4 Copyright © 2013 . All rights reserved


4. HARDWARE CONNECTION
4.1. PC DIRECT
⚫ Conect as following

⚫ Start IOTService and find the EE11

⚫ Enable modbus。

⚫ Open modbus salve

http://www.iotworkshop.com 5 Copyright © 2013 . All rights reserved


⚫ Open modbus poll, set EE11 IP and port information

⚫ modbus poll shows the communication status.

http://www.iotworkshop.com 6 Copyright © 2013 . All rights reserved


⚫ 在 modbus slave 中修改对应寄存器值,可以看到 poll 软件马上就更新了此内容。

4.2. YX-02T
Modbus query data:01 01 00 00 00 10 3d c6
Modbus YX-02T response:01 01 02 F8 00 FA 3C

4.3. Throughput Test


⚫ Hardware connection

⚫ Start IOTService, modify UART parameter

http://www.iotworkshop.com 7 Copyright © 2013 . All rights reserved


⚫ Use TCP&UDP to send modbus RTU data and get the device response as
following.

http://www.iotworkshop.com 8 Copyright © 2013 . All rights reserved


4.4. Modbus poll Test
⚫ Hardware connection

⚫ Start IOTService and enable modbus RTU to TCP function.

http://www.iotworkshop.com 9 Copyright © 2013 . All rights reserved


⚫ Open modbus poll and set query register.

http://www.iotworkshop.com 10 Copyright © 2013 . All rights reserved


http://www.iotworkshop.com 11 Copyright © 2013 . All rights reserved

Das könnte Ihnen auch gefallen