Wiki source code of RTU Slave

Version 5.1 by Leo Wei on 2023/08/24 14:11

Hide last authors
Leo Wei 2.1 1 = {{id name="HRTUSlave"/}}**RTU Slave ** =
2
3 Supported series: EC10 series
4
5 **1)V-BOX setting**
6
7 |**Items**|**Settings**|**Note**
8 |Protocol|Emerson 984 RTU Slave MODBUS|
9 |Connection|RS485|
10 |Baud rate|19200|
11 |Data bit|8|
12 |Parity|EVEN|
13 |Stop bit|1|
14 |Device station No.|1|Need to be same as the PLC setting
15
16 **2)PLC Setting**
17
18 Remember to use the Control Star to enable the Modbus RTU communication for port 1 in system block before dowload into PLC.
19
20 {{id name="IControlStarSystemBlock.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_332e232d9e6f6690.png||alt="ControlStarSystemBlock.png" height="571" width="1366"]]
21
22 {{id name="IControlStarCommunicate.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_f45ff35c65a6ba78.png||alt="ControlStarCommunicate.png" height="587" width="445"]]
23
24 {{id name="IControlStarModbus.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_370b85fa0b46806e.png||alt="ControlStarModbus.png" height="587" width="445"]]
25
26 **3)Address List**
27
28 |**Type**|**Device registers**|**Format**|**Range**|**Note**
29 |(% rowspan="12" %)Bit|Y|YOOO|0~~377|
30 |X|XOOO|0~~377|
31 |M0|M0DDDD|0~~2047|
32 |M1|M1DDDDD|2048~~10239|
33 |SM0|SM0DDD|0~~255|
34 |SM1|SM1DDD|256~~511|
35 |S0|S0DDDD|0~~1023|
36 |S1|S1DDDD|1024~~4095|
37 |T0|T0DDD|0~~255|
38 |T1|T1DDD|256~~511|
39 |C0|C0DDD|0~~255|
40 |C1|C1DDD|256~~306|
41 |(% rowspan="7" %)Word|D|DDDDD|0~~7999|
42 |Z|ZDD|0~~15|
43 |TW0|TW0DDD|0~~255|
44 |TW1|TW1DDD|256~~511|
45 |SD0|SD0DDD|0~~255|
46 |SD1|SD1DDD|256~~511|
47 |CW|CWDDD|0~~306|
48 |(% rowspan="2" %)Double Word|CW0|CW0DDD|200~~255|
49 |CW1|CW1DDDDD|256~~99999|
50
51 **4) Cable Wiring**
52
53 {{id name="IEmerson.png"/}}[[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_32b583d99b34093a.png||alt="Emerson.png" height="247" width="400"]]