Changes for page 12 PLC Protocol OLD
Last modified by Mora Zhou on 2024/12/05 14:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1945,6 +1945,9 @@ 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" %) 1948 1948 = Create communication with XINJE** PLC** = 1949 1949 1950 1950 == **XC serial protocol** == ... ... @@ -1968,7 +1968,7 @@ 1968 1968 **4)Cable Wiring** 1969 1969 1970 1970 1971 -= Create communication with novance**1974 += Create communication with XINJE** PLC** = 1972 1972 1973 1973 == **H3U serial protocol** == 1974 1974 ... ... @@ -1993,7 +1993,7 @@ 1993 1993 1994 1994 **4)Cable Wiring** 1995 1995 1996 -= Create communication with LS** 1999 += Create communication with LS** PLC** = 1997 1997 1998 1998 == **XBG serial protocol** == 1999 1999 ... ... @@ -2006,43 +2006,203 @@ 2006 2006 **4)Cable Wiring** 2007 2007 2008 2008 2009 -== **XGK FEnet Ethernet protocol** == 2010 2010 2011 - SupportedSeries: LS XGT seriesXGK CPUwithXGL-EFMTEthernet module2013 += Create communication with **MODBUS** = 2012 2012 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 + 2013 2013 **HMI Settings** 2014 2014 2034 +(% class="table-bordered" %) 2015 2015 |**Items**|**Settings**|**Note** 2016 -|Protocol|LG XGK FEnet(Ethernet)| 2017 -|Connection|Ethernet| 2018 -|Port No.|2004| 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| 2019 2019 2020 2020 **Address List** 2021 2021 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 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 2037 2037 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 + 2038 2038 **✎Note:** 2039 2039 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; 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. 2043 2043 2044 -** CommunicationsettingsinHMI**2131 +**Station number for more than one slaves** 2045 2045 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 + 2046 2046 Enable HMI Ethernet in [Project Settings]; 2047 2047 2048 2048 (% style="text-align:center" %) ... ... @@ -2051,11 +2051,12 @@ 2051 2051 Set PLC IP in [Device IP] settings; 2052 2052 2053 2053 (% style="text-align:center" %) 2054 -[[image:12.PLC Protocol_html_ a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]2217 +[[image:12.PLC Protocol_html_4bd3cc8348adecf8.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 2055 2055 2056 2056 **Cable Wiring** 2057 2057 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"]] 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"]] 2059 2059 2060 2060 = **SHIMADEN** = 2061 2061 ... ... @@ -2065,6 +2065,7 @@ 2065 2065 2066 2066 **HMI Setting** 2067 2067 2232 +(% class="table-bordered" %) 2068 2068 |**Items**|**Settings**|**Note** 2069 2069 |Protocol|SHIMADEN FP23 series| 2070 2070 |Connection|RS485 (9600, 1, 7, EVEN)| ... ... @@ -2073,6 +2073,7 @@ 2073 2073 2074 2074 **Address List** 2075 2075 2241 +(% class="table-bordered" %) 2076 2076 |**Device address**|**HMI register**|**Address range**|**Type** 2077 2077 |0040-0043(HEX)|FP040|100064-200067|Read only 2078 2078 |0100-010B(HEX)|FP100|100256-200267|Read only ... ... @@ -2116,12 +2116,13 @@ 2116 2116 2117 2117 **✎Note:** COM3 only available in PI8000/PI9000 series. 2118 2118 2119 -== **{{id name="_Toc23422"/}} **SR90 ==2285 +== **{{id name="_Toc23422"/}}SR90** == 2120 2120 2121 2121 Supported series: SHIMADEN SR90 series 2122 2122 2123 2123 **HMI Setting** 2124 2124 2291 +(% class="table-bordered" %) 2125 2125 |**Items**|**Settings**|**Note** 2126 2126 |Protocol|SHIMADEN SR90 protocol| 2127 2127 |Connection|RS485 (1200, 1, 7, EVEN)| ... ... @@ -2130,6 +2130,7 @@ 2130 2130 2131 2131 **Address List** 2132 2132 2300 +(% class="table-bordered" %) 2133 2133 |**Device address**|**HMI register**|**Address range**|**Type** 2134 2134 |0040-0043 (HEX)|SR040|100064-100067|Read only 2135 2135 |0100-010A(HEX)|SR0100|100256-100266|Read only ... ... @@ -2167,12 +2167,13 @@ 2167 2167 2168 2168 **✎Note:** COM3 only available in PI8000/PI9000 series. 2169 2169 2170 -== **{{id name="_Toc22635"/}} **MR13 series(standard protocol) ==2338 +== **{{id name="_Toc22635"/}}MR13 series(standard protocol)** == 2171 2171 2172 2172 Supported series: SHIMADEN MR13 series 2173 2173 2174 2174 **HMI Setting** 2175 2175 2344 +(% class="table-bordered" %) 2176 2176 |**Items**|**Settings**|**Note** 2177 2177 |Protocol|SHIMADEN standard protocol| 2178 2178 |Connection|RS485 (1200, 1, 7, EVEN)| ... ... @@ -2181,6 +2181,7 @@ 2181 2181 2182 2182 **Address List** 2183 2183 2353 +(% class="table-bordered" %) 2184 2184 |**Device address**|**HMI register**|**Address range**|**Type** 2185 2185 |0100-010B(HEX)|MR100|100256-300267|Read only 2186 2186 |0111-0126(HEX)|MR111|100273-300294|Read only ... ... @@ -2225,217 +2225,150 @@ 2225 2225 2226 2226 **✎Note:** COM3 only available in PI8000/PI9000 series. 2227 2227 2228 -= Createcommunication with**MODBUS**=2398 += **User Defined Protocol** = 2229 2229 2230 - ==**MODBUSRTUMaster**==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. 2231 2231 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 - 2247 2247 **HMI Settings** 2248 2248 2249 2249 (% class="table-bordered" %) 2250 2250 |**Items**|**Settings**|**Note** 2251 -|Protocol| MODBUS RTU Master|2406 +|Protocol|User defined protocol| 2252 2252 |Connection|RS485/RS232| 2253 2253 |Baud rate|2400~~187500| 2254 -|Data bit|8| 2255 -|Parity|Even/ Odd/ None| 2256 -|Stop bit|1/2| 2257 -|Station No.|0~~255| 2409 +|Stop bits|1/ 2| 2410 +|Data bits|7/ 8| 2411 +|Parity|None/ Even/ ODD| 2258 2258 2259 -** Address List**2413 +**Operating Procedures** 2260 2260 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 2415 +Select [User defined protocol]; 2265 2265 2266 - **CableWiring**2417 +Click [User defined protocol] button to open setting window as below; 2267 2267 2268 -* **RS485** 2269 - 2270 2270 (% style="text-align:center" %) 2271 -[[image:12.PLC Protocol_html_ 68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]2420 +[[image:12.PLC Protocol_html_5ca13817ac812cf0.png||data-xwiki-image-style-alignment="center" height="367" width="437" class="img-thumbnail"]] 2272 2272 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"]] 2422 +Configure user defined command; 2275 2275 2276 -* **RS232** 2277 - 2278 2278 (% style="text-align:center" %) 2279 -[[image:12.PLC Protocol_html_ 9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]2425 +[[image:12.PLC Protocol_html_11441e69f21e243d.png||data-xwiki-image-style-alignment="center" height="525" width="553" class="img-thumbnail"]] 2280 2280 2281 -**✎Note:** COM3 only available in PI8000/PI9000 series. 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. 2282 2282 2283 -== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** == 2435 +**Send after receiving:** HMI responds to the receiving command. 2436 +))) 2437 +|5|Manually send|((( 2438 +Respond once after trigger the address. 2284 2284 2285 -Supported Series: MODBUS RTU CONTROLLER 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. 2286 2286 2287 - HMI works as MODBUS MASTER connectingwith SLAVE.2456 +**Operating Procedures** 2288 2288 2289 - The addressesin[All function]start from0, whilehe addressesin[All functionOneBaseAddress]start from 1 (offset 1).2458 +Click [Add] to create a new command, as below shows; 2290 2290 2291 2291 (% style="text-align:center" %) 2292 -[[image:12.PLC Protocol_html_ 7236139c887defad.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]2461 +[[image:12.PLC Protocol_html_463f2cd3a8c338fc.png||data-xwiki-image-style-alignment="center" height="116" width="88" class="img-thumbnail"]] 2293 2293 2463 +Select mode, [Read] or [Write], and then select Format, there are two options [Hex] and [ASCII]. As below shows; 2294 2294 2295 2295 (% style="text-align:center" %) 2296 -[[image:12.PLC Protocol_html_ de80207f2b495c17.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]2466 +[[image:12.PLC Protocol_html_a48eba3aa30b612d.png||data-xwiki-image-style-alignment="center" height="80" width="121" class="img-thumbnail"]] 2297 2297 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 2298 2298 2299 2299 (% style="text-align:center" %) 2300 -[[image:12.PLC Protocol_html_ 4e9e8eff81c7ff8b.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]2471 +[[image:12.PLC Protocol_html_b36d990e126365d.png||data-xwiki-image-style-alignment="center" height="77" width="179" class="img-thumbnail"]] 2301 2301 2302 - **HMISettings**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]. 2303 2303 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| 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; 2313 2313 2314 - **AddressList**2477 +Check settings; 2315 2315 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 - 2350 2350 (% style="text-align:center" %) 2351 -[[image:12.PLC Protocol_html_ 31f028c6d80be344.png||data-xwiki-image-style-alignment="center" height="515" width="485" class="img-thumbnail"]]2480 +[[image:12.PLC Protocol_html_5ac7075d9e8dad8d.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 2352 2352 2353 -**Cable Wiring** 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. 2354 2354 2355 - ***RS485**2490 +Object settings; 2356 2356 2357 2357 (% style="text-align:center" %) 2358 -[[image:12.PLC Protocol_html_68 dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]2493 +[[image:12.PLC Protocol_html_1e776a838316fb5.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 2359 2359 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"]] 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; 2362 2362 2363 - ***RS232**2502 +Data length settings; 2364 2364 2365 2365 (% style="text-align:center" %) 2366 -[[image:12.PLC Protocol_html_ 9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]2505 +[[image:12.PLC Protocol_html_6959664a46b03b69.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 2367 2367 2368 -**✎Note:** COM3 only available in PI8000/PI9000 series. 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. 2369 2369 2370 - == **MODBUS TCP Slave (All function)**==2514 +Instruction length settings 2371 2371 2372 -Supported series: MODBUS TCP controller 2373 - 2374 -HMI works as MODBUS TCP MASTER connecting with TCP SLAVE 2375 - 2376 2376 (% style="text-align:center" %) 2377 -[[image:12.PLC Protocol_html_ 8877cb7f39c2b607.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]2517 +[[image:12.PLC Protocol_html_7e0d8613c5e12f7b.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 2378 2378 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 - 2388 2388 (% class="table-bordered" %) 2389 -|**Items**|**Settings**|**Note** 2390 -|Protocol|MODBUS TCP Slave (All function)| 2391 -|Connection|Ethernet| 2392 -|Port No.|502| 2393 -|PLC station No.|1| 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]; 2394 2394 2395 -** AddressList**2525 +**Cable Wiring** 2396 2396 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) 2527 +* **RS485** 2421 2421 2422 -**Communication Settings** 2423 - 2424 -Enable HMI Ethernet in [Project Settings]; 2425 - 2426 2426 (% style="text-align:center" %) 2427 -[[image:12.PLC Protocol_html_ 43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]2530 +[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 2428 2428 2429 -Set PLC IP in [Device IP] settings; 2430 - 2431 2431 (% style="text-align:center" %) 2432 -[[image:12.PLC Protocol_html_ 4bd3cc8348adecf8.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]2533 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2433 2433 2434 -* *CableWiring**2535 +* **RS232** 2435 2435 2436 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"]]2538 +[[image:12.PLC Protocol_html_5de71638aab8e40d.png||data-xwiki-image-style-alignment="center" height="205" width="385" class="img-thumbnail"]] 2438 2438 2540 +**✎Note:** COM3 only available in PI8000/PI9000 series. 2541 + 2439 2439 = **Printer** = 2440 2440 2441 2441 == **TSPL label printer** == ... ... @@ -2865,6 +2865,60 @@ 2865 2865 (% style="text-align:center" %) 2866 2866 [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2867 2867 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 + 2868 2868 = **OpenCAN** = 2869 2869 2870 2870 OpenCan is based on CAN2.0 standard; OpenCAN protocols that could be configured autonomously to accept and send frames.