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
-
... ... @@ -1944,105 +1944,202 @@ 1944 1944 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 -(% class="wikigeneratedid" %) 1948 -= Create communication with XINJE** PLC** = 1947 += **MODBUS** = 1949 1949 1950 -== ** XCserial protocol** ==1949 +== **MODBUS RTU Master** == 1951 1951 1952 - **1)HMISettings**1951 +Supported Series: MODBUS RTU CONTROLLER 1953 1953 1954 - **2)Address List**1953 +HMI works as MODBUS SLAVE connecting with MASTER 1955 1955 1956 -**3)Configure the communication protocol** 1955 +(% style="text-align:center" %) 1956 +[[image:12.PLC Protocol_html_44425b313b0a6b96.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]] 1957 1957 1958 -**4)Cable Wiring** 1959 1959 1960 -== **XD serial protocol** == 1959 +(% style="text-align:center" %) 1960 +[[image:12.PLC Protocol_html_b56b9da32c3caaa.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 1961 1961 1962 -**1)HMI Settings** 1963 1963 1964 -**2)Address List** 1963 +(% style="text-align:center" %) 1964 +[[image:12.PLC Protocol_html_67cd25458b9c72a6.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 1965 1965 1966 -** 3)Configurethecommunicationprotocol**1966 +**HMI Settings** 1967 1967 1968 -**4)Cable Wiring** 1968 +(% class="table-bordered" %) 1969 +|**Items**|**Settings**|**Note** 1970 +|Protocol|MODBUS RTU Master| 1971 +|Connection|RS485/RS232| 1972 +|Baud rate|2400~~187500| 1973 +|Data bit|8| 1974 +|Parity|Even/ Odd/ None| 1975 +|Stop bit|1/2| 1976 +|Station No.|0~~255| 1969 1969 1978 +**Address List** 1970 1970 1971 -= Create communication with Inovance** PLC** = 1980 +(% class="table-bordered" %) 1981 +|**Type**|**HMI address**|**MODBUS code**|**Range** 1982 +|Bit|HDX3000.0~~HDX3499.15|0|0~~7999 1983 +|Word|HDW3500~~HDW7999|4|0~~4499 1972 1972 1973 - ==**H3U serialprotocol**==1985 +**Cable Wiring** 1974 1974 1987 +* **RS485** 1975 1975 1976 -**1)HMI Settings** 1989 +(% style="text-align:center" %) 1990 +[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 1977 1977 1978 -**2)Address List** 1992 +(% style="text-align:center" %) 1993 +[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 1979 1979 1980 -**3 )Configure the communication protocol**1995 +* **RS232** 1981 1981 1982 -**4)Cable Wiring** 1997 +(% style="text-align:center" %) 1998 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]] 1983 1983 1984 - = Createcommunicationwith Panasonic**PLC**=2000 +**✎Note:** COM3 only available in PI8000/PI9000 series. 1985 1985 1986 -== ** FPserialprotocol** ==2002 +== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** == 1987 1987 1988 - **1)HMISettings**2004 +Supported Series: MODBUS RTU CONTROLLER 1989 1989 1990 - **2)AddressList**2006 +HMI works as MODBUS MASTER connecting with SLAVE. 1991 1991 1992 - **3)Configure thecommunicationprotocol**2008 +The addresses in [All function] start from 0, while the addresses in [All function OneBaseAddress] start from 1 (offset 1). 1993 1993 1994 -**4)Cable Wiring** 2010 +(% style="text-align:center" %) 2011 +[[image:12.PLC Protocol_html_7236139c887defad.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]] 1995 1995 1996 -= Create communication with LS** PLC** = 1997 1997 1998 -== **XBG serial protocol** == 2014 +(% style="text-align:center" %) 2015 +[[image:12.PLC Protocol_html_de80207f2b495c17.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 1999 1999 2000 -**1)HMI Settings** 2001 2001 2002 -**2)Address List** 2018 +(% style="text-align:center" %) 2019 +[[image:12.PLC Protocol_html_4e9e8eff81c7ff8b.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 2003 2003 2004 -** 3)Configurethecommunicationprotocol**2021 +**HMI Settings** 2005 2005 2006 -**4)Cable Wiring** 2023 +(% class="table-bordered" %) 2024 +|**Items**|**Settings**|**Note** 2025 +|Protocol|MODBUS RTU Slave (All function)/( All function OneBaseAddress)| 2026 +|Connection|RS485/RS232| 2027 +|Baud rate|2400~~187500| 2028 +|Data bit|8| 2029 +|Parity|Even/ Odd/ None| 2030 +|Stop bit|1/2| 2031 +|PLC station No.|0~~255| 2007 2007 2033 +**Address List** 2008 2008 2009 -== **XGK FEnet Ethernet protocol** == 2035 +(% class="table-bordered" %) 2036 +|**Type**|**Address Type**|**Function code & Description** 2037 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers) 2038 +|06 (write single register: write a binary value to a holding register) 2039 +|10 (write values to multiple addresses ) 2040 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers) 2041 +|06 (write single register: write a binary value to a holding register) 2042 +|10 (write values to multiple addresses ) 2043 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers) 2044 +|06 (write single register: write a binary value to a holding register) 2045 +|10 (write values to multiple addresses ) 2046 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers) 2047 +|10 (write values to multiple addresses ) 2048 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state) 2049 +|05 (Force a single coil to force the on/off state of a logic coil) 2050 +|0F (Write multiple bits, ie write continuously) 2051 +|(% rowspan="3" %)1|02 (Read the input state) 2052 +|05 (Force a single coil to force the on/off state of a logic coil) 2053 +|0F (Write multiple bits) 2054 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils) 2055 +|05 (Force a single coil to force the on/off state of a logic coil) 2056 +|0F (Write multiple bits) 2057 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils) 2058 +|0F (Write multiple bits) 2010 2010 2011 - Supported Series:LS XGT series XGK CPU with XGL-EFMT Ethernet module2060 +**✎Note:** 2012 2012 2013 -**HMI Settings** 2062 +* Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats. 2063 +* The function codes sent out are the same as those that read and write words. 2014 2014 2065 +**Station number for more than one slaves** 2066 + 2067 +If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows. 2068 + 2069 +(% style="text-align:center" %) 2070 +[[image:12.PLC Protocol_html_31f028c6d80be344.png||data-xwiki-image-style-alignment="center" height="515" width="485" class="img-thumbnail"]] 2071 + 2072 +**Cable Wiring** 2073 + 2074 +* **RS485** 2075 + 2076 +(% style="text-align:center" %) 2077 +[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 2078 + 2079 +(% style="text-align:center" %) 2080 +[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 2081 + 2082 +* **RS232** 2083 + 2084 +(% style="text-align:center" %) 2085 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]] 2086 + 2087 +**✎Note:** COM3 only available in PI8000/PI9000 series. 2088 + 2089 +== **MODBUS TCP Slave (All function)** == 2090 + 2091 +Supported series: MODBUS TCP controller 2092 + 2093 +HMI works as MODBUS TCP MASTER connecting with TCP SLAVE 2094 + 2095 +(% style="text-align:center" %) 2096 +[[image:12.PLC Protocol_html_8877cb7f39c2b607.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]] 2097 + 2098 +(% style="text-align:center" %) 2099 +[[image:12.PLC Protocol_html_e7e1f06f127a9175.png||data-xwiki-image-style-alignment="center" height="426" width="553" class="img-thumbnail"]] 2100 + 2101 + 2102 +(% style="text-align:center" %) 2103 +[[image:12.PLC Protocol_html_60bbfe5de79417a6.png||data-xwiki-image-style-alignment="center" height="163" width="553" class="img-thumbnail"]] 2104 + 2105 +**HMI Setting** 2106 + 2107 +(% class="table-bordered" %) 2015 2015 |**Items**|**Settings**|**Note** 2016 -|Protocol| LGXGKFEnet(Ethernet)|2109 +|Protocol|MODBUS TCP Slave (All function)| 2017 2017 |Connection|Ethernet| 2018 -|Port No.|2004| 2111 +|Port No.|502| 2112 +|PLC station No.|1| 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 2116 +(% class="table-bordered" %) 2117 +|**Type**|**Register**|**Function code & Description** 2118 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers) 2119 +|06 (write single register: write a binary value to a holding register) 2120 +|10 (write values to multiple addresses ) 2121 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers) 2122 +|06 (write single register: write a binary value to a holding register) 2123 +|10 (write values to multiple addresses ) 2124 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers) 2125 +|06 (write single register: write a binary value to a holding register) 2126 +|10 (write values to multiple addresses ) 2127 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers) 2128 +|10 (write values to multiple addresses ) 2129 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state) 2130 +|05 (Force a single coil to force the on/off state of a logic coil) 2131 +|0F (Write multiple bits, ie write continuously) 2132 +|(% rowspan="3" %)1|02 (Read the input state) 2133 +|05 (Force a single coil to force the on/off state of a logic coil) 2134 +|0F (Write multiple bits) 2135 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils) 2136 +|05 (Force a single coil to force the on/off state of a logic coil) 2137 +|0F (Write multiple bits) 2138 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils) 2139 +|0F (Write multiple bits) 2037 2037 2038 -** ✎Note:**2141 +**Communication Settings** 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; 2043 - 2044 -**Communication settings in HMI** 2045 - 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"]]2151 +[[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"]] 2155 +(% style="text-align:center" %) 2156 +[[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 2166 +(% 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 2175 +(% 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 ==2219 +== **{{id name="_Toc23422"/}}SR90** == 2120 2120 2121 2121 Supported series: SHIMADEN SR90 series 2122 2122 2123 2123 **HMI Setting** 2124 2124 2225 +(% 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 2234 +(% 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) ==2272 +== **{{id name="_Toc22635"/}}MR13 series(standard protocol)** == 2171 2171 2172 2172 Supported series: SHIMADEN MR13 series 2173 2173 2174 2174 **HMI Setting** 2175 2175 2278 +(% 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 2287 +(% 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**=2332 += **User Defined Protocol** = 2229 2229 2230 - ==**MODBUSRTUMaster**==2334 +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|2340 +|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| 2343 +|Stop bits|1/ 2| 2344 +|Data bits|7/ 8| 2345 +|Parity|None/ Even/ ODD| 2258 2258 2259 -** Address List**2347 +**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 2349 +Select [User defined protocol]; 2265 2265 2266 - **CableWiring**2351 +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"]]2354 +[[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"]] 2356 +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"]]2359 +[[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. 2361 +(% class="table-bordered" %) 2362 +|**No**|**Item**|**Description** 2363 +|1|Instruction edit|The required command. 2364 +|2|Mode|Write to address or read from the address. 2365 +|3|Format|Encode format: HEX or ASCII. 2366 +|4|Other|((( 2367 +**No receiving: **HMI does not respond to the receiving command. 2282 2282 2283 -== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** == 2369 +**Send after receiving:** HMI responds to the receiving command. 2370 +))) 2371 +|5|Manually send|((( 2372 +Respond once after trigger the address. 2284 2284 2285 -Supported Series: MODBUS RTU CONTROLLER 2374 +Address: set the trigger address. 2375 +))) 2376 +|6|Add|Save this setting. 2377 +|7|Cancel|Cancel current settings. 2378 +|(% rowspan="4" %)8|Add|Add a new command. 2379 +|Edit|Edit the selected command. 2380 +|Delete|Delete the selected command. 2381 +|Clear|Clear all the commands. 2382 +|9|Instruction list|Display all current commands. 2383 +|10|Address List|Display all the addresses added. 2384 +|(% rowspan="5" %)11|Import|Import the command files to the instruction list. 2385 +|Export|Export current command settings to local storage. 2386 +|Browse|Browse local command files. 2387 +|Advanced|Combine two commands. 2388 +|Exit|Complete editing and exit setting. 2286 2286 2287 - HMI works as MODBUS MASTER connectingwith SLAVE.2390 +**Operating Procedures** 2288 2288 2289 - The addressesin[All function]start from0, whilehe addressesin[All functionOneBaseAddress]start from 1 (offset 1).2392 +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"]]2395 +[[image:12.PLC Protocol_html_463f2cd3a8c338fc.png||data-xwiki-image-style-alignment="center" height="116" width="88" class="img-thumbnail"]] 2293 2293 2397 +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"]]2400 +[[image:12.PLC Protocol_html_a48eba3aa30b612d.png||data-xwiki-image-style-alignment="center" height="80" width="121" class="img-thumbnail"]] 2297 2297 2402 +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"]]2405 +[[image:12.PLC Protocol_html_b36d990e126365d.png||data-xwiki-image-style-alignment="center" height="77" width="179" class="img-thumbnail"]] 2301 2301 2302 - **HMISettings**2407 +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| 2409 +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**2411 +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"]]2414 +[[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** 2416 +(% class="table-bordered" %) 2417 +|**No**|**Items**|**Description** 2418 +|1|Add checking|Add checking command when receiving the data. 2419 +|(% rowspan="2" %)2|Back checking|Add control character in ASCII format. 2420 +|Differ with send check|Set return checking. 2421 +|(% rowspan="2" %)3|(% rowspan="2" %)Add control character|Start position: select the start position of the data which need to check. 2422 +|Length: The data length need to be checked. 2354 2354 2355 - ***RS485**2424 +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"]]2427 +[[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"]] 2429 +(% class="table-bordered" %) 2430 +|**No**|**Items**|**Description** 2431 +|(% rowspan="3" %)1|(% rowspan="3" %)Object settings|Object type: bit or word address; 2432 +|Address: the triggering address; 2433 +|Note: description to object; 2434 +|2|Byte order|The numerical display order; 2362 2362 2363 - ***RS232**2436 +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"]]2439 +[[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. 2441 +(% class="table-bordered" %) 2442 +|**No**|**Item**|**Description** 2443 +|(% rowspan="2" %)1|(% rowspan="2" %)Return data|Position: the start position of the return data. 2444 +|Length: the return data length. 2445 +|(% rowspan="2" %)2|(% rowspan="2" %)Write data|Position: the start position of the write data. 2446 +|Length: the write data length. 2369 2369 2370 - == **MODBUS TCP Slave (All function)**==2448 +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"]]2451 +[[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| 2454 +|**No**|**Item**|**Description** 2455 +|1|Send length|The instruction data will only send designated data length. 2456 +|2|Return length|The responds data length. 2457 +|3|End code|Instruction will not be terminated until receiving [End code]; 2394 2394 2395 -** AddressList**2459 +**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) 2461 +* **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"]]2464 +[[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"]]2467 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 2433 2433 2434 -* *CableWiring**2469 +* **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"]]2472 +[[image:12.PLC Protocol_html_5de71638aab8e40d.png||data-xwiki-image-style-alignment="center" height="205" width="385" class="img-thumbnail"]] 2438 2438 2474 +**✎Note:** COM3 only available in PI8000/PI9000 series. 2475 + 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 2905 += **LG XGK FEnet Ethernet** = 2906 + 2907 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module 2908 + 2909 +**HMI Settings** 2910 + 2911 +(% class="table-bordered" %) 2912 +|**Items**|**Settings**|**Note** 2913 +|Protocol|LG XGK FEnet(Ethernet)| 2914 +|Connection|Ethernet| 2915 +|Port No.|2004| 2916 + 2917 +**Address List** 2918 + 2919 +(% class="table-bordered" %) 2920 +|**Type**|**Register**|**Range**|**Format**|**Note** 2921 +|(% rowspan="14" %)Word|P|0~~2047|P d| 2922 +|M|0~~2047|M d| 2923 +|K|0~~2047|K d| 2924 +|F|0~~2047|F d| 2925 +|T|0~~2047|T d| 2926 +|C|0~~2047|C d| 2927 +|Z|0~~127|Z d| 2928 +|S|0~~127|S d| 2929 +|L|0~~11263|L d| 2930 +|N|0~~21503|N d| 2931 +|D|0~~32767|D d| 2932 +|R|0~~32767|R d| 2933 +|ZR|0~~65535|ZR d| 2934 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31 2935 + 2936 +**✎Note:** 2937 + 2938 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC; 2939 +* 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; 2940 +* All bit registers are in the form of bits in word, and the range is the same as the word register; 2941 + 2942 +**Communication settings in HMI** 2943 + 2944 +Enable HMI Ethernet in [Project Settings]; 2945 + 2946 +(% style="text-align:center" %) 2947 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2948 + 2949 +Set PLC IP in [Device IP] settings; 2950 + 2951 +(% style="text-align:center" %) 2952 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] 2953 + 2954 +**Cable Wiring** 2955 + 2956 +[[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"]] 2957 + 2958 + 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. ... ... @@ -3028,142 +3028,3 @@ 3028 3028 [[image:12.PLC Protocol_html_fccede84efcbdc22.png||data-xwiki-image-style-alignment="center" height="111" width="391" class="img-thumbnail"]] 3029 3029 3030 3030 **✎Note:** The address interval between each frame need to be more than a word address; 3031 - 3032 - 3033 -= **User Defined Protocol** = 3034 - 3035 -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. 3036 - 3037 -**HMI Settings** 3038 - 3039 -|**Items**|**Settings**|**Note** 3040 -|Protocol|User defined protocol| 3041 -|Connection|RS485/RS232| 3042 -|Baud rate|2400~~187500| 3043 -|Stop bits|1/ 2| 3044 -|Data bits|7/ 8| 3045 -|Parity|None/ Even/ ODD| 3046 - 3047 -**Operating Procedures** 3048 - 3049 -Select [User defined protocol]; 3050 - 3051 -Click [User defined protocol] button to open setting window as below; 3052 - 3053 -(% style="text-align:center" %) 3054 -[[image:12.PLC Protocol_html_5ca13817ac812cf0.png||data-xwiki-image-style-alignment="center" height="367" width="437" class="img-thumbnail"]] 3055 - 3056 -Configure user defined command; 3057 - 3058 -(% style="text-align:center" %) 3059 -[[image:12.PLC Protocol_html_11441e69f21e243d.png||data-xwiki-image-style-alignment="center" height="525" width="553" class="img-thumbnail"]] 3060 - 3061 -|**No**|**Item**|**Description** 3062 -|1|Instruction edit|The required command. 3063 -|2|Mode|Write to address or read from the address. 3064 -|3|Format|Encode format: HEX or ASCII. 3065 -|4|Other|((( 3066 -**No receiving: **HMI does not respond to the receiving command. 3067 - 3068 -**Send after receiving:** HMI responds to the receiving command. 3069 -))) 3070 -|5|Manually send|((( 3071 -Respond once after trigger the address. 3072 - 3073 -Address: set the trigger address. 3074 -))) 3075 -|6|Add|Save this setting. 3076 -|7|Cancel|Cancel current settings. 3077 -|(% rowspan="4" %)8|Add|Add a new command. 3078 -|Edit|Edit the selected command. 3079 -|Delete|Delete the selected command. 3080 -|Clear|Clear all the commands. 3081 -|9|Instruction list|Display all current commands. 3082 -|10|Address List|Display all the addresses added. 3083 -|(% rowspan="5" %)11|Import|Import the command files to the instruction list. 3084 -|Export|Export current command settings to local storage. 3085 -|Browse|Browse local command files. 3086 -|Advanced|Combine two commands. 3087 -|Exit|Complete editing and exit setting. 3088 - 3089 -**Operating Procedures** 3090 - 3091 -Click [Add] to create a new command, as below shows; 3092 - 3093 -(% style="text-align:center" %) 3094 -[[image:12.PLC Protocol_html_463f2cd3a8c338fc.png||data-xwiki-image-style-alignment="center" height="116" width="88" class="img-thumbnail"]] 3095 - 3096 -Select mode, [Read] or [Write], and then select Format, there are two options [Hex] and [ASCII]. As below shows; 3097 - 3098 -(% style="text-align:center" %) 3099 -[[image:12.PLC Protocol_html_a48eba3aa30b612d.png||data-xwiki-image-style-alignment="center" height="80" width="121" class="img-thumbnail"]] 3100 - 3101 -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 3102 - 3103 -(% style="text-align:center" %) 3104 -[[image:12.PLC Protocol_html_b36d990e126365d.png||data-xwiki-image-style-alignment="center" height="77" width="179" class="img-thumbnail"]] 3105 - 3106 -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]. 3107 - 3108 -Instruction edit, when the data format is HEX, please use two numbers to represent one 16-bit number. ASCII format using characters to input; 3109 - 3110 -Check settings; 3111 - 3112 -(% style="text-align:center" %) 3113 -[[image:12.PLC Protocol_html_5ac7075d9e8dad8d.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 3114 - 3115 -|**No**|**Items**|**Description** 3116 -|1|Add checking|Add checking command when receiving the data. 3117 -|(% rowspan="2" %)2|Back checking|Add control character in ASCII format. 3118 -|Differ with send check|Set return checking. 3119 -|(% rowspan="2" %)3|(% rowspan="2" %)Add control character|Start position: select the start position of the data which need to check. 3120 -|Length: The data length need to be checked. 3121 - 3122 -Object settings; 3123 - 3124 -(% style="text-align:center" %) 3125 -[[image:12.PLC Protocol_html_1e776a838316fb5.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 3126 - 3127 -|**No**|**Items**|**Description** 3128 -|(% rowspan="3" %)1|(% rowspan="3" %)Object settings|Object type: bit or word address; 3129 -|Address: the triggering address; 3130 -|Note: description to object; 3131 -|2|Byte order|The numerical display order; 3132 - 3133 -Data length settings; 3134 - 3135 -(% style="text-align:center" %) 3136 -[[image:12.PLC Protocol_html_6959664a46b03b69.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 3137 - 3138 -|**No**|**Item**|**Description** 3139 -|(% rowspan="2" %)1|(% rowspan="2" %)Return data|Position: the start position of the return data. 3140 -|Length: the return data length. 3141 -|(% rowspan="2" %)2|(% rowspan="2" %)Write data|Position: the start position of the write data. 3142 -|Length: the write data length. 3143 - 3144 -Instruction length settings 3145 - 3146 -(% style="text-align:center" %) 3147 -[[image:12.PLC Protocol_html_7e0d8613c5e12f7b.png||data-xwiki-image-style-alignment="center" height="185" width="554" class="img-thumbnail"]] 3148 - 3149 -|**No**|**Item**|**Description** 3150 -|1|Send length|The instruction data will only send designated data length. 3151 -|2|Return length|The responds data length. 3152 -|3|End code|Instruction will not be terminated until receiving [End code]; 3153 - 3154 -**Cable Wiring** 3155 - 3156 -* **RS485** 3157 - 3158 -(% style="text-align:center" %) 3159 -[[image:12.PLC Protocol_html_5e9a81a14106da9e.png||data-xwiki-image-style-alignment="center" height="223" width="392" class="img-thumbnail"]] 3160 - 3161 -(% style="text-align:center" %) 3162 -[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]] 3163 - 3164 -* **RS232** 3165 - 3166 -(% style="text-align:center" %) 3167 -[[image:12.PLC Protocol_html_5de71638aab8e40d.png||data-xwiki-image-style-alignment="center" height="205" width="385" class="img-thumbnail"]] 3168 - 3169 -**✎Note:** COM3 only available in PI8000/PI9000 series.