Wiki source code of Inovance

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

Hide last authors
Theodore Xu 8.1 1 == ==
Leo Wei 2.1 2
Theodore Xu 8.1 3 == **H3U (serial)** ==
Leo Wei 2.1 4
Theodore Xu 7.1 5 **V-BOX Settings**
Leo Wei 2.1 6
7 |**Item**|**Settings**|**Note**
8 |Protocol|INOVANCE H3U PLC|
9 |Connection|RS422|
10 |Baud rate|9600|
11 |Data bit|7|
12 |Parity|EVEN|
13 |Stop bit|1|
14 |PLC station No.|0|
15
Theodore Xu 7.1 16 **Address List**
Leo Wei 2.1 17
Theodore Xu 8.1 18 |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
19 |Bit|X|X OOOOOO|0~~303237|
20 |Bit|Y|Y OOOOOO|0~~303237|
21 |Bit|M|M DDDDD|0~~99999|
22 |Bit|T|T DDDDD|0~~99999|
23 |Bit|C|C DDDDD|0~~99999|
24 |Bit|SM|SM DDDD|8000~~9999|
25 |Bit|S|S DDDDD|0~~99999|
26 |Bit|Lamp|Lamp0|0~~0|(((
27 Communication Indicator Lamp
Leo Wei 2.1 28
Theodore Xu 8.1 29 0: Connected
Leo Wei 2.1 30
Theodore Xu 8.1 31 1: Disconnected
32 )))
33 |Word|X|X OOOOOO|0~~303237|
34 |Word|Y|Y OOOOOO|0~~303237|
35 |Word|M|M DDDDD|0~~99999|
36 |Word|T|T DDDDD|0~~99999|
37 |Word|C|C DDD|0~~199|
38 |Word|D|D DDDD|0~~7999|
39 |Word|S|S DDDDD|0~~99999|
40 |Word|SD|SD DDDD|8000~~9999|
41 |Word|R|R DDDDD|0~~32767|
42 |Double Word|CH|CH DDD|200~~255
Leo Wei 2.1 43
Theodore Xu 8.1 44
45
46 **PLC Settings**
47
48 Create the new project, and select Series and models as H3U.
49
50 (% style="text-align:center" %)
51 [[image:AutoShop01createprj.png]]
52
53 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.
54
55 (% style="text-align:center" %)
56 [[image:AutoShop02setupCOM0.png]]
57
58 Program the PLC project, and click compile.
59
60 (% style="text-align:center" %)
61 [[image:AutoShopPrg.png]]
62
63
64 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.
65
66 (% style="text-align:center" %)
67 [[image:AutoShop03pcconnect.png]]
68
69 Download PLC program into PLC.
70
71 (% style="text-align:center" %)
72 [[image:AutoShop04Download.png]]
73
Theodore Xu 7.1 74 **Cable Wiring**
Leo Wei 2.1 75
76 Figure
77
Theodore Xu 7.1 78 [[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 79
80 Pin Definition Diagram
81
Theodore Xu 7.1 82 [[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 83
84 == **H3U PLC Ethernet** ==
85
86 Support Series: INOVANCE H3U Series
87
88 **HMI Settings**
89
90 |=**Item**|=**Settings**|=**Note**
91 |Protocol|INOVANCE H3U PLC Ethernet|
92 |Connection|Ethernet|
93 |Port No.|502|
94 |Device No.|1|
95 |HMI No.|0|
96
97 **Address List**
98
99 |=**Type**|=**Device registers**|=**Format**|=**Range**|=**Note**
100 |Bit|M|M DDDD|0~~8511|
101 |Bit|SM|SM DDDD|0~~1023|
102 |Bit|S|S DDDD|0~~4095|
103 |Bit|T|T DDD|0~~511|
104 |Bit|C|C DDD|0~~255|
105 |Bit|X|X OOO|0~~571|
106 |Bit|Y|Y OOO|0~~571|
107 |Word|D|D DDDD|0~~8511|
108 |Word|SD |SD DDDD|0~~1023|
109 |Word|R|R DDDDD|0~~32767|
110 |Word|T|T DDD|0~~255|
111 |Word|C|C DDD|0~~199|
112 |Double Word|C|C DDD|200~~255|
113
114 **PLC Settings**
115
116 Create the new project, and select Series and models as H3U.
117
118 (% style="text-align:center" %)
119 [[image:AutoShop01createprj.png]]
120
121 Configure the Ethernet settings from [Communication Config]-[Ethernet].
122
123 (% style="text-align:center" %)
124 [[image:AutoShopEthernetSetup.png]]
125
126 Program the PLC project, and click compile.
127
128 (% style="text-align:center" %)
129 [[image:AutoShopPrg.png]]
130
131 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.
132
133 (% style="text-align:center" %)
134 [[image:AutoShop03pcconnect.png]]
135
136 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.
137
138 (% style="text-align:center" %)
139 [[image:AutoShopreadip.png]]
140
141 Download PLC program into PLC.
142
143 (% style="text-align:center" %)
144 [[image:AutoShop04Download.png]]
145
146 **Cable Wiring**
147
148 (% style="text-align:center" %)
149 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png]]
150