欢迎图片

Wiki source code of LS

Last modified by xingzhi lin on 2025/10/02 10:30

Hide last authors
Wecon 1.1 1 = {{id name="HLS"/}}LS =
2
3 == {{id name="HXGBSerial"/}}**XGB Serial** ==
4
5 **HMI Settings**
6
7 |=**Item**|=**Settings**|=**Note**
8 |Protocol|LS XGB CPU DRIECT|
9 |Connection|RS232|
10 |Baud rate|115200|
11 |Data bit|8|
12 |Parity|NONE|
13 |Stop bit|1|
14 |PLC station No.|1|
15
16 **Address List**
17
18 |=(% style="width: 165px;" %)**Type**|=(% style="width: 325px;" %)**Device registers**|=**Format**|=**Range**|=**Note**
19 |(% colspan="1" rowspan="10" style="width:165px" %)Bit|(% style="width:325px" %)P|P DDDD.f|0~~2047|
20 |(% style="width:325px" %)M|M DDDD.f|0~~2047|
21 |(% style="width:325px" %)L|L DDDDD.f|0~~11263|
22 |(% style="width:325px" %)K|K DDDD.f|0~~2559|
23 |(% style="width:325px" %)F|F DDDD.f|0~~2047|
24 |(% style="width:325px" %)S|S DDDDD|0~~12799|
25 |(% style="width:325px" %)D|D DDDDD.f|0~~32767|
26 |(% style="width:325px" %)U|U FFFF.f|0~~7f31|
27 |(% style="width:325px" %)T|T DDDD.f|0~~2047|
28 |(% style="width:325px" %)C|C DDDD.f|0~~2047|
29 |(% colspan="1" rowspan="16" style="width:165px" %)Word|(% style="width:325px" %)P|P DDDD|0~~2047|
30 |(% style="width:325px" %)M|M DDDD|0~~2047|
31 |(% style="width:325px" %)L|L DDDDD|0~~11263|
32 |(% style="width:325px" %)K|K DDDD|0~~2559|
33 |(% style="width:325px" %)F|F DDDD|0~~2047|
34 |(% style="width:325px" %)C|C DDDD|0~~2047|
35 |(% style="width:325px" %)T|T DDDD|0~~2047|
36 |(% style="width:325px" %)D|D DDDDD|0~~32767|
37 |(% style="width:325px" %)N|N DDDDD|0~~21503|
38 |(% style="width:325px" %)U|U FFFF|0~~7f31|
39 |(% style="width:325px" %)Z|Z DDD|0~~127|
40 |(% style="width:325px" %)R|R DDDDD|0~~32767|
41 |(% style="width:325px" %)ZR|Z DDDDD|0~~32767|
42 |(% style="width:325px" %)TS|TS DDDD|0~~2047|
43 |(% style="width:325px" %)CS|CS DDDD|0~~2047|
44 |(% style="width:325px" %)S|S DDDDD|0~~12799|
45
xingzhi lin 2.1 46 For example: M10.0 in HMI correspond to M100 in PLC
47
Wecon 1.1 48 **Configure the communication protocol**
49
50 {{id name="Iimage-20221028174410-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_62289e8acf423981.png||alt="image-20221028174410-1.png" height="574" width="540"]]
51
52 {{id name="Iimage-20221028174753-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_e8fc0d8e9d300978.png||alt="image-20221028174753-2.png" height="706" width="909"]]
53
54 {{id name="Iimage-20221028181125-4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_efa69a925458a542.png||alt="image-20221028181125-4.png" height="706" width="909"]]
55
56 **Pin Definition Diagram**
57
58 {{id name="Iimage-20221028180930-3.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_916d5d7ba16627b9.png||alt="image-20221028180930-3.png" height="251" width="404"]]
59
60 == {{id name="HXBCSerial"/}}**XBC Serial** ==
61
62 **HMI Settings**
63
64 |=**Item**|=**Settings**|=**Note**
65 |Protocol|LS XBC CNet|
66 |Connection|RS232/RS485|
67 |Baud rate|115200|
68 |Data bit|8|
69 |Parity|NONE|
70 |Stop bit|1|
71 |PLC station No.|1|
72
73 **Address List**
74
75 |=**Type**|=(% style="width: 295px;" %)**Device registers**|=(% style="width: 239px;" %)**Format**|=(% style="width: 247px;" %)**Range**|=**Note**
76 |(% colspan="1" rowspan="8" %)Bit|(% style="width:295px" %)P|(% style="width:239px" %)P d|(% style="width:247px" %)0~~2047|
77 |(% style="width:295px" %)M|(% style="width:239px" %)M d|(% style="width:247px" %)0~~2047|
78 |(% style="width:295px" %)L|(% style="width:239px" %)L d|(% style="width:247px" %)0~~11263|
79 |(% style="width:295px" %)K|(% style="width:239px" %)K d|(% style="width:247px" %)0~~16183|
80 |(% style="width:295px" %)F|(% style="width:239px" %)F d|(% style="width:247px" %)0~~2047|
81 |(% style="width:295px" %)D|(% style="width:239px" %)D d|(% style="width:247px" %)0~~32767|
82 |(% style="width:295px" %)R|(% style="width:239px" %)R d|(% style="width:247px" %)0~~32767|
83 |(% style="width:295px" %)U|(% style="width:239px" %)U d|(% style="width:247px" %)0~~4095|
84 |(% colspan="1" rowspan="13" %)Word|(% style="width:295px" %)P|(% style="width:239px" %)P d|(% style="width:247px" %)0~~2047|
85 |(% style="width:295px" %)M|(% style="width:239px" %)M d|(% style="width:247px" %)0~~2047|
86 |(% style="width:295px" %)L|(% style="width:239px" %)L d|(% style="width:247px" %)0~~11263|
87 |(% style="width:295px" %)K|(% style="width:239px" %)K d|(% style="width:247px" %)0~~16183|
88 |(% style="width:295px" %)F|(% style="width:239px" %)F d|(% style="width:247px" %)0~~2047|
89 |(% style="width:295px" %)C|(% style="width:239px" %)C d|(% style="width:247px" %)0~~2047|
90 |(% style="width:295px" %)T|(% style="width:239px" %)T d|(% style="width:247px" %)0~~2047|
91 |(% style="width:295px" %)D|(% style="width:239px" %)D d|(% style="width:247px" %)0~~32767|
92 |(% style="width:295px" %)N|(% style="width:239px" %)N d|(% style="width:247px" %)0~~21503|
93 |(% style="width:295px" %)R|(% style="width:239px" %)R d|(% style="width:247px" %)0~~32767|
94 |(% style="width:295px" %)U|(% style="width:239px" %)U d|(% style="width:247px" %)0~~4095|
95 |(% style="width:295px" %)Z|(% style="width:239px" %)Z d|(% style="width:247px" %)0~~127|
96 |(% style="width:295px" %)S|(% style="width:239px" %)S d|(% style="width:247px" %)0~~127|
97
98 **Configure the communication protocol**
99
100 {{id name="Iimage-20220831170807-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_c08169bb9b5d62b8.png||alt="image-20220831170807-1.png" height="735" width="616"]]
101
102 {{id name="Iimage-20220830174733-2.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_50979759c27bf871.png||alt="image-20220830174733-2.png" height="905" width="1038"]]
103
104 **PLC Setting:**
105
106 ①PLC Default Parameters:
107
108 1.[Network Configuration] → [NevPLC [BOSO Internal Cnet]] → [Basic Settings] → [Connection Settings]→[CH1]Type:RS232C;Baud Rate:115200; Station No:1;[Operation mode]CH1: XGT server
109 2.[Advanced Settings]: [Data bit]8, [Stop bit]1,[Parity]NONE→[OK].
110 Note:The serial port parameters should be set depending on field requirements
111
112 (% style="text-align:center" %)
113 [[image:1.3.png]]
114
115 ②PC and PLC connection:
116
117 [Online]→[Connection Settings]→[Settng Options] Manual Settng→[Connection Settngs] →Type:USB→[OK]
118 Please select according to the actual connection between PC and PLC.
119
120 (% style="text-align:center" %)
121 [[image:1.4.png]]
122
123 **Cable Wiring**
124
125 {{id name="Iimage-20220830174659-1.png"/}}
126
127 (% style="text-align:center" %)
128 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_2c560179ab57676e.png||alt="image-20220830174659-1.png" height="159" width="724"]]
129
130 Pin Definition Diagram
131
132 {{id name="Iimage-20220830173402-8.png"/}}
133
134 (% style="text-align:center" %)
135 [[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ddb0f5f5330f3e43.png||alt="image-20220830173402-8.png" height="192" width="358"]]
136
137 (% style="text-align:center" %)
138 [[image:Picture1.png||height="200" width="412"]]
139
140 == {{id name="HXGKFEnet28Ethernet29"/}}**XGK FEnet(Ethernet)** ==
141
142 Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
143
144 **HMI Settings**
145
146 |**Items**|**Settings**|**Note**
147 |Protocol|LG XGK FEnet(Ethernet)|
148 |Connection|Ethernet|
149 |Port No.|2004|
150
151 **Address List**
152
153 |**Type**|**Register**|**Range**|**Format**|**Note**
154 |(% rowspan="14" %)Word|P|0~~2047|P d|
155 |M|0~~2047|M d|
156 |K|0~~2047|K d|
157 |F|0~~2047|F d|
158 |T|0~~2047|T d|
159 |C|0~~2047|C d|
160 |Z|0~~127|Z d|
161 |S|0~~127|S d|
162 |L|0~~11263|L d|
163 |N|0~~21503|N d|
164 |D|0~~32767|D d|
165 |R|0~~32767|R d|
166 |ZR|0~~65535|ZR d|
167 |UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
168
169 **✎Note:**
170
171 * In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
172 * The [UxDD] register, defined in the PLC is Ux.dd, x represents the block, and dd represents 0-31 of each block. There are 64 blocks in the PLC;
173 * All bit registers are in the form of bits in word, and the range is the same as the word register;
174
175 **Communication settings in HMI**
176
177 Enable HMI Ethernet in [Project Settings];
178
179 {{id name="I12.PLCProtocol_html_43b671f18153910d.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="107" width="405"]]
180
181 Set PLC IP in [Device IP] settings;
182
183 {{id name="I12.PLCProtocol_html_a2a19b5003ad4090.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_160dbb872dac8a95.png||alt="12.PLC Protocol_html_a2a19b5003ad4090.png" height="189" width="554"]]
184
185 **Cable Wiring**
186
187 {{id name="ICommonEthernet.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="CommonEthernet.png" height="170" width="401"]]