Changes for page 12 PLC Protocol OLD

Last modified by Mora Zhou on 2024/12/05 14:53

From version 137.1
edited by Ben
on 2022/08/30 15:29
Change comment: There is no comment for this version
To version 146.1
edited by Ben
on 2022/08/30 15:37
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1945,9 +1945,6 @@
1945 1945  [[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
1946 1946  
1947 1947  (% class="wikigeneratedid" %)
1948 -= =
1949 -
1950 -(% class="wikigeneratedid" %)
1951 1951  = Create communication with XINJE** PLC** =
1952 1952  
1953 1953  == **XC serial protocol** ==
... ... @@ -1971,7 +1971,7 @@
1971 1971  **4)Cable Wiring**
1972 1972  
1973 1973  
1974 -= Create communication with XINJE** PLC** =
1971 += Create communication with Inovance** PLC** =
1975 1975  
1976 1976  == **H3U serial protocol** ==
1977 1977  
... ... @@ -1996,7 +1996,7 @@
1996 1996  
1997 1997  **4)Cable Wiring**
1998 1998  
1999 -= Create communication with LS** PLC** =
1996 += Create communication with LS** PLC** =
2000 2000  
2001 2001  == **XBG serial protocol** ==
2002 2002  
... ... @@ -2009,203 +2009,43 @@
2009 2009  **4)Cable Wiring**
2010 2010  
2011 2011  
2009 +== **XGK FEnet Ethernet protocol** ==
2012 2012  
2013 -= Create communication with **MODBUS** =
2011 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2014 2014  
2015 -== **MODBUS RTU Master** ==
2016 -
2017 -Supported Series: MODBUS RTU CONTROLLER
2018 -
2019 -HMI works as MODBUS SLAVE connecting with MASTER
2020 -
2021 -(% style="text-align:center" %)
2022 -[[image:12.PLC Protocol_html_44425b313b0a6b96.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2023 -
2024 -
2025 -(% style="text-align:center" %)
2026 -[[image:12.PLC Protocol_html_b56b9da32c3caaa.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2027 -
2028 -
2029 -(% style="text-align:center" %)
2030 -[[image:12.PLC Protocol_html_67cd25458b9c72a6.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2031 -
2032 2032  **HMI Settings**
2033 2033  
2034 -(% class="table-bordered" %)
2035 2035  |**Items**|**Settings**|**Note**
2036 -|Protocol|MODBUS RTU Master|
2037 -|Connection|RS485/RS232|
2038 -|Baud rate|2400~~187500|
2039 -|Data bit|8|
2040 -|Parity|Even/ Odd/ None|
2041 -|Stop bit|1/2|
2042 -|Station No.|0~~255|
2016 +|Protocol|LG XGK FEnet(Ethernet)|
2017 +|Connection|Ethernet|
2018 +|Port No.|2004|
2043 2043  
2044 2044  **Address List**
2045 2045  
2046 -(% class="table-bordered" %)
2047 -|**Type**|**HMI address**|**MODBUS code**|**Range**
2048 -|Bit|HDX3000.0~~HDX3499.15|0|0~~7999
2049 -|Word|HDW3500~~HDW7999|4|0~~4499
2022 +|**Type**|**Register**|**Range**|**Format**|**Note**
2023 +|(% rowspan="14" %)Word|P|0~~2047|P d|
2024 +|M|0~~2047|M d|
2025 +|K|0~~2047|K d|
2026 +|F|0~~2047|F d|
2027 +|T|0~~2047|T d|
2028 +|C|0~~2047|C d|
2029 +|Z|0~~127|Z d|
2030 +|S|0~~127|S d|
2031 +|L|0~~11263|L d|
2032 +|N|0~~21503|N d|
2033 +|D|0~~32767|D d|
2034 +|R|0~~32767|R d|
2035 +|ZR|0~~65535|ZR d|
2036 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2050 2050  
2051 -**Cable Wiring**
2052 -
2053 -* **RS485**
2054 -
2055 -(% style="text-align:center" %)
2056 -[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2057 -
2058 -(% style="text-align:center" %)
2059 -[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2060 -
2061 -* **RS232**
2062 -
2063 -(% style="text-align:center" %)
2064 -[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]
2065 -
2066 -**✎Note:** COM3 only available in PI8000/PI9000 series.
2067 -
2068 -== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** ==
2069 -
2070 -Supported Series: MODBUS RTU CONTROLLER
2071 -
2072 -HMI works as MODBUS MASTER connecting with SLAVE.
2073 -
2074 -The addresses in [All function] start from 0, while the addresses in [All function OneBaseAddress] start from 1 (offset 1).
2075 -
2076 -(% style="text-align:center" %)
2077 -[[image:12.PLC Protocol_html_7236139c887defad.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2078 -
2079 -
2080 -(% style="text-align:center" %)
2081 -[[image:12.PLC Protocol_html_de80207f2b495c17.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2082 -
2083 -
2084 -(% style="text-align:center" %)
2085 -[[image:12.PLC Protocol_html_4e9e8eff81c7ff8b.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2086 -
2087 -**HMI Settings**
2088 -
2089 -(% class="table-bordered" %)
2090 -|**Items**|**Settings**|**Note**
2091 -|Protocol|MODBUS RTU Slave (All function)/( All function OneBaseAddress)|
2092 -|Connection|RS485/RS232|
2093 -|Baud rate|2400~~187500|
2094 -|Data bit|8|
2095 -|Parity|Even/ Odd/ None|
2096 -|Stop bit|1/2|
2097 -|PLC station No.|0~~255|
2098 -
2099 -**Address List**
2100 -
2101 -(% class="table-bordered" %)
2102 -|**Type**|**Address Type**|**Function code & Description**
2103 -|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2104 -|06 (write single register: write a binary value to a holding register)
2105 -|10 (write values to multiple addresses )
2106 -|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2107 -|06 (write single register: write a binary value to a holding register)
2108 -|10 (write values to multiple addresses )
2109 -|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2110 -|06 (write single register: write a binary value to a holding register)
2111 -|10 (write values to multiple addresses )
2112 -|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2113 -|10 (write values to multiple addresses )
2114 -|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2115 -|05 (Force a single coil to force the on/off state of a logic coil)
2116 -|0F (Write multiple bits, ie write continuously)
2117 -|(% rowspan="3" %)1|02 (Read the input state)
2118 -|05 (Force a single coil to force the on/off state of a logic coil)
2119 -|0F (Write multiple bits)
2120 -|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2121 -|05 (Force a single coil to force the on/off state of a logic coil)
2122 -|0F (Write multiple bits)
2123 -|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2124 -|0F (Write multiple bits)
2125 -
2126 2126  **✎Note:**
2127 2127  
2128 -* Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats.
2129 -* The function codes sent out are the same as those that read and write words.
2040 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2041 +* 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;
2042 +* All bit registers are in the form of bits in word, and the range is the same as the word register;
2130 2130  
2131 -**Station number for more than one slaves**
2044 +**Communication settings in HMI**
2132 2132  
2133 -If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows.
2134 -
2135 -(% style="text-align:center" %)
2136 -[[image:12.PLC Protocol_html_31f028c6d80be344.png||data-xwiki-image-style-alignment="center" height="515" width="485" class="img-thumbnail"]]
2137 -
2138 -**Cable Wiring**
2139 -
2140 -* **RS485**
2141 -
2142 -(% style="text-align:center" %)
2143 -[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2144 -
2145 -(% style="text-align:center" %)
2146 -[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2147 -
2148 -* **RS232**
2149 -
2150 -(% style="text-align:center" %)
2151 -[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]
2152 -
2153 -**✎Note:** COM3 only available in PI8000/PI9000 series.
2154 -
2155 -== **MODBUS TCP Slave (All function)** ==
2156 -
2157 -Supported series: MODBUS TCP controller
2158 -
2159 -HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
2160 -
2161 -(% style="text-align:center" %)
2162 -[[image:12.PLC Protocol_html_8877cb7f39c2b607.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2163 -
2164 -(% style="text-align:center" %)
2165 -[[image:12.PLC Protocol_html_e7e1f06f127a9175.png||data-xwiki-image-style-alignment="center" height="426" width="553" class="img-thumbnail"]]
2166 -
2167 -
2168 -(% style="text-align:center" %)
2169 -[[image:12.PLC Protocol_html_60bbfe5de79417a6.png||data-xwiki-image-style-alignment="center" height="163" width="553" class="img-thumbnail"]]
2170 -
2171 -**HMI Setting**
2172 -
2173 -(% class="table-bordered" %)
2174 -|**Items**|**Settings**|**Note**
2175 -|Protocol|MODBUS TCP Slave (All function)|
2176 -|Connection|Ethernet|
2177 -|Port No.|502|
2178 -|PLC station No.|1|
2179 -
2180 -**Address List**
2181 -
2182 -(% class="table-bordered" %)
2183 -|**Type**|**Register**|**Function code & Description**
2184 -|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2185 -|06 (write single register: write a binary value to a holding register)
2186 -|10 (write values to multiple addresses )
2187 -|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2188 -|06 (write single register: write a binary value to a holding register)
2189 -|10 (write values to multiple addresses )
2190 -|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2191 -|06 (write single register: write a binary value to a holding register)
2192 -|10 (write values to multiple addresses )
2193 -|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2194 -|10 (write values to multiple addresses )
2195 -|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2196 -|05 (Force a single coil to force the on/off state of a logic coil)
2197 -|0F (Write multiple bits, ie write continuously)
2198 -|(% rowspan="3" %)1|02 (Read the input state)
2199 -|05 (Force a single coil to force the on/off state of a logic coil)
2200 -|0F (Write multiple bits)
2201 -|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2202 -|05 (Force a single coil to force the on/off state of a logic coil)
2203 -|0F (Write multiple bits)
2204 -|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2205 -|0F (Write multiple bits)
2206 -
2207 -**Communication Settings**
2208 -
2209 2209  Enable HMI Ethernet in [Project Settings];
2210 2210  
2211 2211  (% style="text-align:center" %)
... ... @@ -2214,12 +2214,11 @@
2214 2214  Set PLC IP in [Device IP] settings;
2215 2215  
2216 2216  (% style="text-align:center" %)
2217 -[[image:12.PLC Protocol_html_4bd3cc8348adecf8.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2054 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2218 2218  
2219 2219  **Cable Wiring**
2220 2220  
2221 -(% style="text-align:center" %)
2222 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2058 +[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
2223 2223  
2224 2224  = **SHIMADEN** =
2225 2225  
... ... @@ -2229,7 +2229,6 @@
2229 2229  
2230 2230  **HMI Setting**
2231 2231  
2232 -(% class="table-bordered" %)
2233 2233  |**Items**|**Settings**|**Note**
2234 2234  |Protocol|SHIMADEN FP23 series|
2235 2235  |Connection|RS485 (9600, 1, 7, EVEN)|
... ... @@ -2238,7 +2238,6 @@
2238 2238  
2239 2239  **Address List**
2240 2240  
2241 -(% class="table-bordered" %)
2242 2242  |**Device address**|**HMI register**|**Address range**|**Type**
2243 2243  |0040-0043(HEX)|FP040|100064-200067|Read only
2244 2244  |0100-010B(HEX)|FP100|100256-200267|Read only
... ... @@ -2282,13 +2282,12 @@
2282 2282  
2283 2283  **✎Note:** COM3 only available in PI8000/PI9000 series.
2284 2284  
2285 -== **{{id name="_Toc23422"/}}SR90** ==
2119 +== **{{id name="_Toc23422"/}}**SR90 ==
2286 2286  
2287 2287  Supported series: SHIMADEN SR90 series
2288 2288  
2289 2289  **HMI Setting**
2290 2290  
2291 -(% class="table-bordered" %)
2292 2292  |**Items**|**Settings**|**Note**
2293 2293  |Protocol|SHIMADEN SR90 protocol|
2294 2294  |Connection|RS485 (1200, 1, 7, EVEN)|
... ... @@ -2297,7 +2297,6 @@
2297 2297  
2298 2298  **Address List**
2299 2299  
2300 -(% class="table-bordered" %)
2301 2301  |**Device address**|**HMI register**|**Address range**|**Type**
2302 2302  |0040-0043 (HEX)|SR040|100064-100067|Read only
2303 2303  |0100-010A(HEX)|SR0100|100256-100266|Read only
... ... @@ -2335,13 +2335,12 @@
2335 2335  
2336 2336  **✎Note:** COM3 only available in PI8000/PI9000 series.
2337 2337  
2338 -== **{{id name="_Toc22635"/}}MR13 series(standard protocol)** ==
2170 +== **{{id name="_Toc22635"/}}**MR13 series(standard protocol) ==
2339 2339  
2340 2340  Supported series: SHIMADEN MR13 series
2341 2341  
2342 2342  **HMI Setting**
2343 2343  
2344 -(% class="table-bordered" %)
2345 2345  |**Items**|**Settings**|**Note**
2346 2346  |Protocol|SHIMADEN standard protocol|
2347 2347  |Connection|RS485 (1200, 1, 7, EVEN)|
... ... @@ -2350,7 +2350,6 @@
2350 2350  
2351 2351  **Address List**
2352 2352  
2353 -(% class="table-bordered" %)
2354 2354  |**Device address**|**HMI register**|**Address range**|**Type**
2355 2355  |0100-010B(HEX)|MR100|100256-300267|Read only
2356 2356  |0111-0126(HEX)|MR111|100273-300294|Read only
... ... @@ -2395,150 +2395,217 @@
2395 2395  
2396 2396  **✎Note:** COM3 only available in PI8000/PI9000 series.
2397 2397  
2398 -= **User Defined Protocol** =
2228 += Create communication with **MODBUS** =
2399 2399  
2400 -If the device does not support MODBUS standard, and the protocol is not list in PIStudio, then user can define the protocol by following instruction to realize simply communication functions like sending and receiving commands.
2230 +== **MODBUS RTU Master** ==
2401 2401  
2232 +Supported Series: MODBUS RTU CONTROLLER
2233 +
2234 +HMI works as MODBUS SLAVE connecting with MASTER
2235 +
2236 +(% style="text-align:center" %)
2237 +[[image:12.PLC Protocol_html_44425b313b0a6b96.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2238 +
2239 +
2240 +(% style="text-align:center" %)
2241 +[[image:12.PLC Protocol_html_b56b9da32c3caaa.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2242 +
2243 +
2244 +(% style="text-align:center" %)
2245 +[[image:12.PLC Protocol_html_67cd25458b9c72a6.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2246 +
2402 2402  **HMI Settings**
2403 2403  
2404 2404  (% class="table-bordered" %)
2405 2405  |**Items**|**Settings**|**Note**
2406 -|Protocol|User defined protocol|
2251 +|Protocol|MODBUS RTU Master|
2407 2407  |Connection|RS485/RS232|
2408 2408  |Baud rate|2400~~187500|
2409 -|Stop bits|1/ 2|
2410 -|Data bits|7/ 8|
2411 -|Parity|None/ Even/ ODD|
2254 +|Data bit|8|
2255 +|Parity|Even/ Odd/ None|
2256 +|Stop bit|1/2|
2257 +|Station No.|0~~255|
2412 2412  
2413 -**Operating Procedures**
2259 +**Address List**
2414 2414  
2415 -Select [User defined protocol];
2261 +(% class="table-bordered" %)
2262 +|**Type**|**HMI address**|**MODBUS code**|**Range**
2263 +|Bit|HDX3000.0~~HDX3499.15|0|0~~7999
2264 +|Word|HDW3500~~HDW7999|4|0~~4499
2416 2416  
2417 -Click [User defined protocol] button to open setting window as below;
2266 +**Cable Wiring**
2418 2418  
2268 +* **RS485**
2269 +
2419 2419  (% style="text-align:center" %)
2420 -[[image:12.PLC Protocol_html_5ca13817ac812cf0.png||data-xwiki-image-style-alignment="center" height="367" width="437" class="img-thumbnail"]]
2271 +[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2421 2421  
2422 -Configure user defined command;
2273 +(% style="text-align:center" %)
2274 +[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2423 2423  
2276 +* **RS232**
2277 +
2424 2424  (% style="text-align:center" %)
2425 -[[image:12.PLC Protocol_html_11441e69f21e243d.png||data-xwiki-image-style-alignment="center" height="525" width="553" class="img-thumbnail"]]
2279 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]
2426 2426  
2427 -(% class="table-bordered" %)
2428 -|**No**|**Item**|**Description**
2429 -|1|Instruction edit|The required command.
2430 -|2|Mode|Write to address or read from the address.
2431 -|3|Format|Encode format: HEX or ASCII.
2432 -|4|Other|(((
2433 -**No receiving: **HMI does not respond to the receiving command.
2281 +**✎Note:** COM3 only available in PI8000/PI9000 series.
2434 2434  
2435 -**Send after receiving:** HMI responds to the receiving command.
2436 -)))
2437 -|5|Manually send|(((
2438 -Respond once after trigger the address.
2283 +== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** ==
2439 2439  
2440 -Address: set the trigger address.
2441 -)))
2442 -|6|Add|Save this setting.
2443 -|7|Cancel|Cancel current settings.
2444 -|(% rowspan="4" %)8|Add|Add a new command.
2445 -|Edit|Edit the selected command.
2446 -|Delete|Delete the selected command.
2447 -|Clear|Clear all the commands.
2448 -|9|Instruction list|Display all current commands.
2449 -|10|Address List|Display all the addresses added.
2450 -|(% rowspan="5" %)11|Import|Import the command files to the instruction list.
2451 -|Export|Export current command settings to local storage.
2452 -|Browse|Browse local command files.
2453 -|Advanced|Combine two commands.
2454 -|Exit|Complete editing and exit setting.
2285 +Supported Series: MODBUS RTU CONTROLLER
2455 2455  
2456 -**Operating Procedures**
2287 +HMI works as MODBUS MASTER connecting with SLAVE.
2457 2457  
2458 -Click [Add] to create a new command, as below shows;
2289 +The addresses in [All function] start from 0, while the addresses in [All function OneBaseAddress] start from 1 (offset 1).
2459 2459  
2460 2460  (% style="text-align:center" %)
2461 -[[image:12.PLC Protocol_html_463f2cd3a8c338fc.png||data-xwiki-image-style-alignment="center" height="116" width="88" class="img-thumbnail"]]
2292 +[[image:12.PLC Protocol_html_7236139c887defad.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2462 2462  
2463 -Select mode, [Read] or [Write], and then select Format, there are two options [Hex] and [ASCII]. As below shows;
2464 2464  
2465 2465  (% style="text-align:center" %)
2466 -[[image:12.PLC Protocol_html_a48eba3aa30b612d.png||data-xwiki-image-style-alignment="center" height="80" width="121" class="img-thumbnail"]]
2296 +[[image:12.PLC Protocol_html_de80207f2b495c17.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2467 2467  
2468 -Other settings: [No receiving] means HMI only sends command, and it would not process the reply command which from device. [Send after receiving] means HMI will be receiving the command which from device firstly, and then sending the command to device. From example, when HMI receiving [00 FF 00] firstly and then send command, as below shows
2469 2469  
2470 2470  (% style="text-align:center" %)
2471 -[[image:12.PLC Protocol_html_b36d990e126365d.png||data-xwiki-image-style-alignment="center" height="77" width="179" class="img-thumbnail"]]
2300 +[[image:12.PLC Protocol_html_4e9e8eff81c7ff8b.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2472 2472  
2473 -Check [Manually send], and then please set the address for trigging, the setting range is 1~~10, and please put Bit switch in project screen for it, and [OneCtrlBit] register is for [Manually send].
2302 +**HMI Settings**
2474 2474  
2475 -Instruction edit, when the data format is HEX, please use two numbers to represent one 16-bit number. ASCII format using characters to input;
2304 +(% class="table-bordered" %)
2305 +|**Items**|**Settings**|**Note**
2306 +|Protocol|MODBUS RTU Slave (All function)/( All function OneBaseAddress)|
2307 +|Connection|RS485/RS232|
2308 +|Baud rate|2400~~187500|
2309 +|Data bit|8|
2310 +|Parity|Even/ Odd/ None|
2311 +|Stop bit|1/2|
2312 +|PLC station No.|0~~255|
2476 2476  
2477 -Check settings;
2314 +**Address List**
2478 2478  
2316 +(% class="table-bordered" %)
2317 +|**Type**|**Address Type**|**Function code & Description**
2318 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2319 +|06 (write single register: write a binary value to a holding register)
2320 +|10 (write values to multiple addresses )
2321 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2322 +|06 (write single register: write a binary value to a holding register)
2323 +|10 (write values to multiple addresses )
2324 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2325 +|06 (write single register: write a binary value to a holding register)
2326 +|10 (write values to multiple addresses )
2327 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2328 +|10 (write values to multiple addresses )
2329 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2330 +|05 (Force a single coil to force the on/off state of a logic coil)
2331 +|0F (Write multiple bits, ie write continuously)
2332 +|(% rowspan="3" %)1|02 (Read the input state)
2333 +|05 (Force a single coil to force the on/off state of a logic coil)
2334 +|0F (Write multiple bits)
2335 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2336 +|05 (Force a single coil to force the on/off state of a logic coil)
2337 +|0F (Write multiple bits)
2338 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2339 +|0F (Write multiple bits)
2340 +
2341 +**✎Note:**
2342 +
2343 +* Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats.
2344 +* The function codes sent out are the same as those that read and write words.
2345 +
2346 +**Station number for more than one slaves**
2347 +
2348 +If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows.
2349 +
2479 2479  (% style="text-align:center" %)
2480 -[[image:12.PLC Protocol_html_5ac7075d9e8dad8d.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]]
2351 +[[image:12.PLC Protocol_html_31f028c6d80be344.png||data-xwiki-image-style-alignment="center" height="515" width="485" class="img-thumbnail"]]
2481 2481  
2482 -(% class="table-bordered" %)
2483 -|**No**|**Items**|**Description**
2484 -|1|Add checking|Add checking command when receiving the data.
2485 -|(% rowspan="2" %)2|Back checking|Add control character in ASCII format.
2486 -|Differ with send check|Set return checking.
2487 -|(% rowspan="2" %)3|(% rowspan="2" %)Add control character|Start position: select the start position of the data which need to check.
2488 -|Length: The data length need to be checked.
2353 +**Cable Wiring**
2489 2489  
2490 -Object settings;
2355 +* **RS485**
2491 2491  
2492 2492  (% style="text-align:center" %)
2493 -[[image:12.PLC Protocol_html_1e776a838316fb5.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]]
2358 +[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2494 2494  
2495 -(% class="table-bordered" %)
2496 -|**No**|**Items**|**Description**
2497 -|(% rowspan="3" %)1|(% rowspan="3" %)Object settings|Object type: bit or word address;
2498 -|Address: the triggering address;
2499 -|Note: description to object;
2500 -|2|Byte order|The numerical display order;
2360 +(% style="text-align:center" %)
2361 +[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2501 2501  
2502 -Data length settings;
2363 +* **RS232**
2503 2503  
2504 2504  (% style="text-align:center" %)
2505 -[[image:12.PLC Protocol_html_6959664a46b03b69.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]]
2366 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]
2506 2506  
2507 -(% class="table-bordered" %)
2508 -|**No**|**Item**|**Description**
2509 -|(% rowspan="2" %)1|(% rowspan="2" %)Return data|Position: the start position of the return data.
2510 -|Length: the return data length.
2511 -|(% rowspan="2" %)2|(% rowspan="2" %)Write data|Position: the start position of the write data.
2512 -|Length: the write data length.
2368 +**✎Note:** COM3 only available in PI8000/PI9000 series.
2513 2513  
2514 -Instruction length settings
2370 +== **MODBUS TCP Slave (All function)** ==
2515 2515  
2372 +Supported series: MODBUS TCP controller
2373 +
2374 +HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
2375 +
2516 2516  (% style="text-align:center" %)
2517 -[[image:12.PLC Protocol_html_7e0d8613c5e12f7b.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]]
2377 +[[image:12.PLC Protocol_html_8877cb7f39c2b607.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2518 2518  
2379 +(% style="text-align:center" %)
2380 +[[image:12.PLC Protocol_html_e7e1f06f127a9175.png||data-xwiki-image-style-alignment="center" height="426" width="553" class="img-thumbnail"]]
2381 +
2382 +
2383 +(% style="text-align:center" %)
2384 +[[image:12.PLC Protocol_html_60bbfe5de79417a6.png||data-xwiki-image-style-alignment="center" height="163" width="553" class="img-thumbnail"]]
2385 +
2386 +**HMI Setting**
2387 +
2519 2519  (% class="table-bordered" %)
2520 -|**No**|**Item**|**Description**
2521 -|1|Send length|The instruction data will only send designated data length.
2522 -|2|Return length|The responds data length.
2523 -|3|End code|Instruction will not be terminated until receiving [End code];
2389 +|**Items**|**Settings**|**Note**
2390 +|Protocol|MODBUS TCP Slave (All function)|
2391 +|Connection|Ethernet|
2392 +|Port No.|502|
2393 +|PLC station No.|1|
2524 2524  
2525 -**Cable Wiring**
2395 +**Address List**
2526 2526  
2527 -* **RS485**
2397 +(% class="table-bordered" %)
2398 +|**Type**|**Register**|**Function code & Description**
2399 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2400 +|06 (write single register: write a binary value to a holding register)
2401 +|10 (write values to multiple addresses )
2402 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2403 +|06 (write single register: write a binary value to a holding register)
2404 +|10 (write values to multiple addresses )
2405 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2406 +|06 (write single register: write a binary value to a holding register)
2407 +|10 (write values to multiple addresses )
2408 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2409 +|10 (write values to multiple addresses )
2410 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2411 +|05 (Force a single coil to force the on/off state of a logic coil)
2412 +|0F (Write multiple bits, ie write continuously)
2413 +|(% rowspan="3" %)1|02 (Read the input state)
2414 +|05 (Force a single coil to force the on/off state of a logic coil)
2415 +|0F (Write multiple bits)
2416 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2417 +|05 (Force a single coil to force the on/off state of a logic coil)
2418 +|0F (Write multiple bits)
2419 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2420 +|0F (Write multiple bits)
2528 2528  
2529 -(% style="text-align:center" %)
2530 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]]
2422 +**Communication Settings**
2531 2531  
2424 +Enable HMI Ethernet in [Project Settings];
2425 +
2532 2532  (% style="text-align:center" %)
2533 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
2427 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2534 2534  
2535 -* **RS232**
2429 +Set PLC IP in [Device IP] settings;
2536 2536  
2537 2537  (% style="text-align:center" %)
2538 -[[image:12.PLC Protocol_html_5de71638aab8e40d.png||data-xwiki-image-style-alignment="center" height="205" width="385" class="img-thumbnail"]]
2432 +[[image:12.PLC Protocol_html_4bd3cc8348adecf8.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]
2539 2539  
2540 -**✎Note:** COM3 only available in PI8000/PI9000 series.
2434 +**Cable Wiring**
2541 2541  
2436 +(% style="text-align:center" %)
2437 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2438 +
2542 2542  = **Printer** =
2543 2543  
2544 2544  == **TSPL label printer** ==
... ... @@ -2968,60 +2968,6 @@
2968 2968  (% style="text-align:center" %)
2969 2969  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2970 2970  
2971 -= **LG XGK FEnet Ethernet** =
2972 -
2973 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2974 -
2975 -**HMI Settings**
2976 -
2977 -(% class="table-bordered" %)
2978 -|**Items**|**Settings**|**Note**
2979 -|Protocol|LG XGK FEnet(Ethernet)|
2980 -|Connection|Ethernet|
2981 -|Port No.|2004|
2982 -
2983 -**Address List**
2984 -
2985 -(% class="table-bordered" %)
2986 -|**Type**|**Register**|**Range**|**Format**|**Note**
2987 -|(% rowspan="14" %)Word|P|0~~2047|P d|
2988 -|M|0~~2047|M d|
2989 -|K|0~~2047|K d|
2990 -|F|0~~2047|F d|
2991 -|T|0~~2047|T d|
2992 -|C|0~~2047|C d|
2993 -|Z|0~~127|Z d|
2994 -|S|0~~127|S d|
2995 -|L|0~~11263|L d|
2996 -|N|0~~21503|N d|
2997 -|D|0~~32767|D d|
2998 -|R|0~~32767|R d|
2999 -|ZR|0~~65535|ZR d|
3000 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
3001 -
3002 -**✎Note:**
3003 -
3004 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
3005 -* 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;
3006 -* All bit registers are in the form of bits in word, and the range is the same as the word register;
3007 -
3008 -**Communication settings in HMI**
3009 -
3010 -Enable HMI Ethernet in [Project Settings];
3011 -
3012 -(% style="text-align:center" %)
3013 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
3014 -
3015 -Set PLC IP in [Device IP] settings;
3016 -
3017 -(% style="text-align:center" %)
3018 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
3019 -
3020 -**Cable Wiring**
3021 -
3022 -[[image:https://docs.we-con.com.cn/bin/download/PIStudio/12.PLC%20protocols/WebHome/12.PLC%20Protocol_html_2297240b57346b2a.png?width=401&height=170&rev=1.1||alt="12.可编程逻辑控制器Protocol_html_2297240b57346b2a.png" height="170" width="401"]]
3023 -
3024 -
3025 3025  = **OpenCAN** =
3026 3026  
3027 3027  OpenCan is based on CAN2.0 standard; OpenCAN protocols that could be configured autonomously to accept and send frames.