Wiki source code of LS

Version 9.1 by Hunter on 2023/08/24 18:12

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|
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**|=**Device registers**|=**HMI registers**|=**Format**|=**Range**|=**Note**
74 |Bit|P|P|P d|0~~2047|
75 |Bit|M|M|M d|0~~2047|
76 |Bit|L|L|L d|0~~11263|
77 |Bit|K|K|K d|0~~16183|
78 |Bit|F|F|F d|0~~2047|
79 |Bit|D|D|D d|0~~32767|
80 |Bit|R|R|R d|0~~32767|
81 |Bit|U|U|U d|0~~4095|
82 |Word|P|P|P d|0~~2047|
83 |Word|M|M|M d|0~~2047|
84 |Word|L|L|L d|0~~11263|
85 |Word|K|K|K d|0~~16183|
86 |Word|F|F|F d|0~~2047|
87 |Word|C|C|C d|0~~2047|
88 |Word|T|T|T d|0~~2047|
89 |Word|D|D|D d|0~~32767|
90 |Word|N|N|N d|0~~21503|
91 |Word|R|R|R d|0~~32767|
92 |Word|U|U|U d|0~~4095|
93 |Word|Z|Z|Z d|0~~127|
94 |Word|S|S|S d|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 **Cable Wiring**
103
104 {{id name="Iimage-20220830174659-1.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_2c560179ab57676e.png||alt="image-20220830174659-1.png" height="159" width="724"]]
105
106 Pin Definition Diagram
107
108 {{id name="Iimage-20220830173402-8.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ddb0f5f5330f3e43.png||alt="image-20220830173402-8.png" height="192" width="358"]]
109
110 == {{id name="HXGKFEnet28Ethernet29"/}}**XGK FEnet(Ethernet)** ==
111
112 Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
113
114 **HMI Settings**
115
116 |**Items**|**Settings**|**Note**
117 |Protocol|LG XGK FEnet(Ethernet)|
118 |Connection|Ethernet|
119 |Port No.|2004|
120
121 **Address List**
122
123 |**Type**|**Register**|**Range**|**Format**|**Note**
124 |(% rowspan="14" %)Word|P|0~~2047|P d|
125 |M|0~~2047|M d|
126 |K|0~~2047|K d|
127 |F|0~~2047|F d|
128 |T|0~~2047|T d|
129 |C|0~~2047|C d|
130 |Z|0~~127|Z d|
131 |S|0~~127|S d|
132 |L|0~~11263|L d|
133 |N|0~~21503|N d|
134 |D|0~~32767|D d|
135 |R|0~~32767|R d|
136 |ZR|0~~65535|ZR d|
137 |UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
138
139 **✎Note:**
140
141 * In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
142 * 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;
143 * All bit registers are in the form of bits in word, and the range is the same as the word register;
144
145 **Communication settings in HMI**
146
147 Enable HMI Ethernet in [Project Settings];
148
149 {{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"]]
150
151 Set PLC IP in [Device IP] settings;
152
153 {{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"]]
154
155 **Cable Wiring**
156
157 {{id name="ICommonEthernet.png-1"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="CommonEthernet.png" height="170" width="401"]]