Wiki source code of Inovance

Version 9.1 by Theodore Xu on 2023/10/26 16:35

Hide last authors
Theodore Xu 8.1 1 == **H3U (serial)** ==
Leo Wei 2.1 2
Theodore Xu 7.1 3 **V-BOX Settings**
Leo Wei 2.1 4
5 |**Item**|**Settings**|**Note**
6 |Protocol|INOVANCE H3U PLC|
7 |Connection|RS422|
8 |Baud rate|9600|
9 |Data bit|7|
10 |Parity|EVEN|
11 |Stop bit|1|
12 |PLC station No.|0|
13
Theodore Xu 7.1 14 **Address List**
Leo Wei 2.1 15
Theodore Xu 8.1 16 |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
17 |Bit|X|X OOOOOO|0~~303237|
18 |Bit|Y|Y OOOOOO|0~~303237|
19 |Bit|M|M DDDDD|0~~99999|
20 |Bit|T|T DDDDD|0~~99999|
21 |Bit|C|C DDDDD|0~~99999|
22 |Bit|SM|SM DDDD|8000~~9999|
23 |Bit|S|S DDDDD|0~~99999|
24 |Bit|Lamp|Lamp0|0~~0|(((
25 Communication Indicator Lamp
Leo Wei 2.1 26
Theodore Xu 8.1 27 0: Connected
Leo Wei 2.1 28
Theodore Xu 8.1 29 1: Disconnected
30 )))
31 |Word|X|X OOOOOO|0~~303237|
32 |Word|Y|Y OOOOOO|0~~303237|
33 |Word|M|M DDDDD|0~~99999|
34 |Word|T|T DDDDD|0~~99999|
35 |Word|C|C DDD|0~~199|
36 |Word|D|D DDDD|0~~7999|
37 |Word|S|S DDDDD|0~~99999|
38 |Word|SD|SD DDDD|8000~~9999|
39 |Word|R|R DDDDD|0~~32767|
40 |Double Word|CH|CH DDD|200~~255
Leo Wei 2.1 41
Theodore Xu 8.1 42
43 **PLC Settings**
44
45 Create the new project, and select Series and models as H3U.
46
47 (% style="text-align:center" %)
48 [[image:AutoShop01createprj.png]]
49
50 Configure the COM0 settings from [Communication Config]-[COM0(Download/HMI Monitor Protocol)], the default communication parameters we could see it is 9600,1,7,EVEN. After setting finished, click OK to save the settings.
51
52 (% style="text-align:center" %)
53 [[image:AutoShop02setupCOM0.png]]
54
55 Program the PLC project, and click compile.
56
57 (% style="text-align:center" %)
58 [[image:AutoShopPrg.png]]
59
60
61 Connect PLC with PC via USB cable or RS422-USB converter cable, and test the connection status. If it shows like the below, which means the connection is set up successfully. And click OK.
62
63 (% style="text-align:center" %)
64 [[image:AutoShop03pcconnect.png]]
65
66 Download PLC program into PLC.
67
68 (% style="text-align:center" %)
69 [[image:AutoShop04Download.png]]
70
Theodore Xu 7.1 71 **Cable Wiring**
Leo Wei 2.1 72
73 Figure
74
Theodore Xu 7.1 75 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_addddf687771b2a9.png||alt="image-20220831164646-2.png" height="258" width="100"]] [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_63add2bcd04520f6.png||alt="image-20220831164700-3.png" height="191" width="496"]]
Leo Wei 2.1 76
77 Pin Definition Diagram
78
Theodore Xu 7.1 79 [[image:xwiki_V-BOX_V-Net_Training_1+Communication_WebHome_d332c6eb75105461.png||alt="image-20220831164731-4.png" height="168" width="330"]]
Theodore Xu 8.1 80
81 == **H3U PLC Ethernet** ==
82
83 Support Series: INOVANCE H3U Series
84
85 **HMI Settings**
86
87 |=**Item**|=**Settings**|=**Note**
88 |Protocol|INOVANCE H3U PLC Ethernet|
89 |Connection|Ethernet|
90 |Port No.|502|
91 |Device No.|1|
92 |HMI No.|0|
93
94 **Address List**
95
96 |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
97 |Bit|M|M DDDD|0~~8511|
98 |Bit|SM|SM DDDD|0~~1023|
99 |Bit|S|S DDDD|0~~4095|
100 |Bit|T|T DDD|0~~511|
101 |Bit|C|C DDD|0~~255|
102 |Bit|X|X OOO|0~~571|
103 |Bit|Y|Y OOO|0~~571|
104 |Word|D|D DDDD|0~~8511|
105 |Word|SD |SD DDDD|0~~1023|
106 |Word|R|R DDDDD|0~~32767|
107 |Word|T|T DDD|0~~255|
108 |Word|C|C DDD|0~~199|
109 |Double Word|C|C DDD|200~~255|
110
111 **PLC Settings**
112
113 Create the new project, and select Series and models as H3U.
114
115 (% style="text-align:center" %)
116 [[image:AutoShop01createprj.png]]
117
118 Configure the Ethernet settings from [Communication Config]-[Ethernet].
119
120 (% style="text-align:center" %)
121 [[image:AutoShopEthernetSetup.png]]
122
123 Program the PLC project, and click compile.
124
125 (% style="text-align:center" %)
126 [[image:AutoShopPrg.png]]
127
128 Connect PLC with PC via USB cable or RS422-USB converter cable, and test the connection status. If it shows like the below, which means the connection is set up successfully. And click OK.
129
130 (% style="text-align:center" %)
131 [[image:AutoShop03pcconnect.png]]
132
133 If don't want to change the IP, user could also read the IP parameter from the PLC after the PC connection is set up successfully.
134
135 (% style="text-align:center" %)
136 [[image:AutoShopreadip.png]]
137
138 Download PLC program into PLC.
139
140 (% style="text-align:center" %)
141 [[image:AutoShop04Download.png]]
142
143 **Cable Wiring**
144
145 (% style="text-align:center" %)
146 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png]]