Wiki source code of LS

Version 15.1 by Devin Chen on 2023/09/19 11:06

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