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,202 +1944,108 @@ 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 -= **MODBUS** = 1947 +(% class="wikigeneratedid" %) 1948 += = 1948 1948 1949 -== **MODBUS RTU Master** == 1950 +(% class="wikigeneratedid" %) 1951 += Create communication with XINJE** PLC** = 1950 1950 1951 - SupportedSeries:MODBUSRTU CONTROLLER1953 +== **XC serial protocol** == 1952 1952 1953 -HMI works as MODBUSSLAVE connectingwith MASTER1955 +**1)HMI Settings** 1954 1954 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 +**2)Address List** 1957 1957 1959 +**3)Configure the communication protocol** 1958 1958 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 +**4)Cable Wiring** 1961 1961 1963 +== **XD serial protocol** == 1962 1962 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 +**1)HMI Settings** 1965 1965 1966 -** HMI Settings**1967 +**2)Address List** 1967 1967 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 +**3)Configure the communication protocol** 1977 1977 1978 -** AddressList**1971 +**4)Cable Wiring** 1979 1979 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 1984 1984 1985 - **CableWiring**1974 += Create communication with Inovance** PLC** = 1986 1986 1987 - ***RS485**1976 +== **H3U serial protocol** == 1988 1988 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"]] 1991 1991 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 +**1)HMI Settings** 1994 1994 1995 -* *RS232**1981 +**2)Address List** 1996 1996 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 +**3)Configure the communication protocol** 1999 1999 2000 -** ✎Note:**COM3 onlyavailable in PI8000/PI9000 series.1985 +**4)Cable Wiring** 2001 2001 2002 -= =**MODBUS RTU Slave(All function)/(All functionOneBaseAddress)** ==1987 += Create communication with Panasonic** PLC** = 2003 2003 2004 - SupportedSeries:MODBUSRTU CONTROLLER1989 +== **FP serial protocol** == 2005 2005 2006 -HMI works as MODBUSMASTER connectingwith SLAVE.1991 +**1)HMI Settings** 2007 2007 2008 - The addresses in [All function] start from 0, while the addressesin [All function OneBaseAddress] start from 1 (offset 1).1993 +**2)Address List** 2009 2009 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 +**3)Configure the communication protocol** 2012 2012 1997 +**4)Cable Wiring** 2013 2013 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 += Create communication with LS** PLC** = 2016 2016 2001 +== **XBG serial protocol** == 2017 2017 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 +**1)HMI Settings** 2020 2020 2021 -** HMI Settings**2005 +**2)Address List** 2022 2022 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 +**3)Configure the communication protocol** 2032 2032 2033 -** AddressList**2009 +**4)Cable Wiring** 2034 2034 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) 2059 2059 2060 -** ✎Note:**2012 +== **XGK FEnet Ethernet protocol** == 2061 2061 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 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module 2064 2064 2065 -**St ationnumber for more than oneslaves**2016 +**HMI Settings** 2066 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" %) 2108 2108 |**Items**|**Settings**|**Note** 2109 -|Protocol| MODBUSTCPSlaveAll function)|2019 +|Protocol|LG XGK FEnet(Ethernet)| 2110 2110 |Connection|Ethernet| 2111 -|Port No.|502| 2112 -|PLC station No.|1| 2021 +|Port No.|2004| 2113 2113 2114 2114 **Address List** 2115 2115 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) 2025 +|**Type**|**Register**|**Range**|**Format**|**Note** 2026 +|(% rowspan="14" %)Word|P|0~~2047|P d| 2027 +|M|0~~2047|M d| 2028 +|K|0~~2047|K d| 2029 +|F|0~~2047|F d| 2030 +|T|0~~2047|T d| 2031 +|C|0~~2047|C d| 2032 +|Z|0~~127|Z d| 2033 +|S|0~~127|S d| 2034 +|L|0~~11263|L d| 2035 +|N|0~~21503|N d| 2036 +|D|0~~32767|D d| 2037 +|R|0~~32767|R d| 2038 +|ZR|0~~65535|ZR d| 2039 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31 2140 2140 2141 -** Communication Settings**2041 +**✎Note:** 2142 2142 2043 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC; 2044 +* 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; 2045 +* All bit registers are in the form of bits in word, and the range is the same as the word register; 2046 + 2047 +**Communication settings in HMI** 2048 + 2143 2143 Enable HMI Ethernet in [Project Settings]; 2144 2144 2145 2145 (% style="text-align:center" %) ... ... @@ -2148,12 +2148,11 @@ 2148 2148 Set PLC IP in [Device IP] settings; 2149 2149 2150 2150 (% style="text-align:center" %) 2151 -[[image:12.PLC Protocol_html_ 4bd3cc8348adecf8.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]]2057 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]] 2152 2152 2153 2153 **Cable Wiring** 2154 2154 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"]] 2061 +[[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"]] 2157 2157 2158 2158 = **SHIMADEN** = 2159 2159 ... ... @@ -2163,7 +2163,6 @@ 2163 2163 2164 2164 **HMI Setting** 2165 2165 2166 -(% class="table-bordered" %) 2167 2167 |**Items**|**Settings**|**Note** 2168 2168 |Protocol|SHIMADEN FP23 series| 2169 2169 |Connection|RS485 (9600, 1, 7, EVEN)| ... ... @@ -2172,7 +2172,6 @@ 2172 2172 2173 2173 **Address List** 2174 2174 2175 -(% class="table-bordered" %) 2176 2176 |**Device address**|**HMI register**|**Address range**|**Type** 2177 2177 |0040-0043(HEX)|FP040|100064-200067|Read only 2178 2178 |0100-010B(HEX)|FP100|100256-200267|Read only ... ... @@ -2216,13 +2216,12 @@ 2216 2216 2217 2217 **✎Note:** COM3 only available in PI8000/PI9000 series. 2218 2218 2219 -== **{{id name="_Toc23422"/}}SR90 **==2122 +== **{{id name="_Toc23422"/}}**SR90 == 2220 2220 2221 2221 Supported series: SHIMADEN SR90 series 2222 2222 2223 2223 **HMI Setting** 2224 2224 2225 -(% class="table-bordered" %) 2226 2226 |**Items**|**Settings**|**Note** 2227 2227 |Protocol|SHIMADEN SR90 protocol| 2228 2228 |Connection|RS485 (1200, 1, 7, EVEN)| ... ... @@ -2231,7 +2231,6 @@ 2231 2231 2232 2232 **Address List** 2233 2233 2234 -(% class="table-bordered" %) 2235 2235 |**Device address**|**HMI register**|**Address range**|**Type** 2236 2236 |0040-0043 (HEX)|SR040|100064-100067|Read only 2237 2237 |0100-010A(HEX)|SR0100|100256-100266|Read only ... ... @@ -2269,13 +2269,12 @@ 2269 2269 2270 2270 **✎Note:** COM3 only available in PI8000/PI9000 series. 2271 2271 2272 -== **{{id name="_Toc22635"/}}MR13 series(standard protocol) **==2173 +== **{{id name="_Toc22635"/}}**MR13 series(standard protocol) == 2273 2273 2274 2274 Supported series: SHIMADEN MR13 series 2275 2275 2276 2276 **HMI Setting** 2277 2277 2278 -(% class="table-bordered" %) 2279 2279 |**Items**|**Settings**|**Note** 2280 2280 |Protocol|SHIMADEN standard protocol| 2281 2281 |Connection|RS485 (1200, 1, 7, EVEN)| ... ... @@ -2284,7 +2284,6 @@ 2284 2284 2285 2285 **Address List** 2286 2286 2287 -(% class="table-bordered" %) 2288 2288 |**Device address**|**HMI register**|**Address range**|**Type** 2289 2289 |0100-010B(HEX)|MR100|100256-300267|Read only 2290 2290 |0111-0126(HEX)|MR111|100273-300294|Read only ... ... @@ -2329,6 +2329,217 @@ 2329 2329 2330 2330 **✎Note:** COM3 only available in PI8000/PI9000 series. 2331 2331 2231 += Create communication with **MODBUS** = 2232 + 2233 +== **MODBUS RTU Master** == 2234 + 2235 +Supported Series: MODBUS RTU CONTROLLER 2236 + 2237 +HMI works as MODBUS SLAVE connecting with MASTER 2238 + 2239 +(% style="text-align:center" %) 2240 +[[image:12.PLC Protocol_html_44425b313b0a6b96.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]] 2241 + 2242 + 2243 +(% style="text-align:center" %) 2244 +[[image:12.PLC Protocol_html_b56b9da32c3caaa.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 2245 + 2246 + 2247 +(% style="text-align:center" %) 2248 +[[image:12.PLC Protocol_html_67cd25458b9c72a6.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 2249 + 2250 +**HMI Settings** 2251 + 2252 +(% class="table-bordered" %) 2253 +|**Items**|**Settings**|**Note** 2254 +|Protocol|MODBUS RTU Master| 2255 +|Connection|RS485/RS232| 2256 +|Baud rate|2400~~187500| 2257 +|Data bit|8| 2258 +|Parity|Even/ Odd/ None| 2259 +|Stop bit|1/2| 2260 +|Station No.|0~~255| 2261 + 2262 +**Address List** 2263 + 2264 +(% class="table-bordered" %) 2265 +|**Type**|**HMI address**|**MODBUS code**|**Range** 2266 +|Bit|HDX3000.0~~HDX3499.15|0|0~~7999 2267 +|Word|HDW3500~~HDW7999|4|0~~4499 2268 + 2269 +**Cable Wiring** 2270 + 2271 +* **RS485** 2272 + 2273 +(% style="text-align:center" %) 2274 +[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 2275 + 2276 +(% style="text-align:center" %) 2277 +[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 2278 + 2279 +* **RS232** 2280 + 2281 +(% style="text-align:center" %) 2282 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]] 2283 + 2284 +**✎Note:** COM3 only available in PI8000/PI9000 series. 2285 + 2286 +== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** == 2287 + 2288 +Supported Series: MODBUS RTU CONTROLLER 2289 + 2290 +HMI works as MODBUS MASTER connecting with SLAVE. 2291 + 2292 +The addresses in [All function] start from 0, while the addresses in [All function OneBaseAddress] start from 1 (offset 1). 2293 + 2294 +(% style="text-align:center" %) 2295 +[[image:12.PLC Protocol_html_7236139c887defad.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]] 2296 + 2297 + 2298 +(% style="text-align:center" %) 2299 +[[image:12.PLC Protocol_html_de80207f2b495c17.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 2300 + 2301 + 2302 +(% style="text-align:center" %) 2303 +[[image:12.PLC Protocol_html_4e9e8eff81c7ff8b.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]] 2304 + 2305 +**HMI Settings** 2306 + 2307 +(% class="table-bordered" %) 2308 +|**Items**|**Settings**|**Note** 2309 +|Protocol|MODBUS RTU Slave (All function)/( All function OneBaseAddress)| 2310 +|Connection|RS485/RS232| 2311 +|Baud rate|2400~~187500| 2312 +|Data bit|8| 2313 +|Parity|Even/ Odd/ None| 2314 +|Stop bit|1/2| 2315 +|PLC station No.|0~~255| 2316 + 2317 +**Address List** 2318 + 2319 +(% class="table-bordered" %) 2320 +|**Type**|**Address Type**|**Function code & Description** 2321 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers) 2322 +|06 (write single register: write a binary value to a holding register) 2323 +|10 (write values to multiple addresses ) 2324 +|(% rowspan="3" %)4|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="3" %)W6|03 (read holding register: read current binary value in one or more holding registers) 2328 +|06 (write single register: write a binary value to a holding register) 2329 +|10 (write values to multiple addresses ) 2330 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers) 2331 +|10 (write values to multiple addresses ) 2332 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state) 2333 +|05 (Force a single coil to force the on/off state of a logic coil) 2334 +|0F (Write multiple bits, ie write continuously) 2335 +|(% rowspan="3" %)1|02 (Read the input state) 2336 +|05 (Force a single coil to force the on/off state of a logic coil) 2337 +|0F (Write multiple bits) 2338 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils) 2339 +|05 (Force a single coil to force the on/off state of a logic coil) 2340 +|0F (Write multiple bits) 2341 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils) 2342 +|0F (Write multiple bits) 2343 + 2344 +**✎Note:** 2345 + 2346 +* Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats. 2347 +* The function codes sent out are the same as those that read and write words. 2348 + 2349 +**Station number for more than one slaves** 2350 + 2351 +If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows. 2352 + 2353 +(% style="text-align:center" %) 2354 +[[image:12.PLC Protocol_html_31f028c6d80be344.png||data-xwiki-image-style-alignment="center" height="515" width="485" class="img-thumbnail"]] 2355 + 2356 +**Cable Wiring** 2357 + 2358 +* **RS485** 2359 + 2360 +(% style="text-align:center" %) 2361 +[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 2362 + 2363 +(% style="text-align:center" %) 2364 +[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]] 2365 + 2366 +* **RS232** 2367 + 2368 +(% style="text-align:center" %) 2369 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]] 2370 + 2371 +**✎Note:** COM3 only available in PI8000/PI9000 series. 2372 + 2373 +== **MODBUS TCP Slave (All function)** == 2374 + 2375 +Supported series: MODBUS TCP controller 2376 + 2377 +HMI works as MODBUS TCP MASTER connecting with TCP SLAVE 2378 + 2379 +(% style="text-align:center" %) 2380 +[[image:12.PLC Protocol_html_8877cb7f39c2b607.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]] 2381 + 2382 +(% style="text-align:center" %) 2383 +[[image:12.PLC Protocol_html_e7e1f06f127a9175.png||data-xwiki-image-style-alignment="center" height="426" width="553" class="img-thumbnail"]] 2384 + 2385 + 2386 +(% style="text-align:center" %) 2387 +[[image:12.PLC Protocol_html_60bbfe5de79417a6.png||data-xwiki-image-style-alignment="center" height="163" width="553" class="img-thumbnail"]] 2388 + 2389 +**HMI Setting** 2390 + 2391 +(% class="table-bordered" %) 2392 +|**Items**|**Settings**|**Note** 2393 +|Protocol|MODBUS TCP Slave (All function)| 2394 +|Connection|Ethernet| 2395 +|Port No.|502| 2396 +|PLC station No.|1| 2397 + 2398 +**Address List** 2399 + 2400 +(% class="table-bordered" %) 2401 +|**Type**|**Register**|**Function code & Description** 2402 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers) 2403 +|06 (write single register: write a binary value to a holding register) 2404 +|10 (write values to multiple addresses ) 2405 +|(% rowspan="3" %)4|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="3" %)W6|03 (read holding register: read current binary value in one or more holding registers) 2409 +|06 (write single register: write a binary value to a holding register) 2410 +|10 (write values to multiple addresses ) 2411 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers) 2412 +|10 (write values to multiple addresses ) 2413 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state) 2414 +|05 (Force a single coil to force the on/off state of a logic coil) 2415 +|0F (Write multiple bits, ie write continuously) 2416 +|(% rowspan="3" %)1|02 (Read the input state) 2417 +|05 (Force a single coil to force the on/off state of a logic coil) 2418 +|0F (Write multiple bits) 2419 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils) 2420 +|05 (Force a single coil to force the on/off state of a logic coil) 2421 +|0F (Write multiple bits) 2422 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils) 2423 +|0F (Write multiple bits) 2424 + 2425 +**Communication Settings** 2426 + 2427 +Enable HMI Ethernet in [Project Settings]; 2428 + 2429 +(% style="text-align:center" %) 2430 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]] 2431 + 2432 +Set PLC IP in [Device IP] settings; 2433 + 2434 +(% style="text-align:center" %) 2435 +[[image:12.PLC Protocol_html_4bd3cc8348adecf8.png||data-xwiki-image-style-alignment="center" height="190" width="554" class="img-thumbnail"]] 2436 + 2437 +**Cable Wiring** 2438 + 2439 +(% style="text-align:center" %) 2440 +[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2441 + 2332 2332 = **User Defined Protocol** = 2333 2333 2334 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. ... ... @@ -2902,60 +2902,6 @@ 2902 2902 (% style="text-align:center" %) 2903 2903 [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]] 2904 2904 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 - 2959 2959 = **OpenCAN** = 2960 2960 2961 2961 OpenCan is based on CAN2.0 standard; OpenCAN protocols that could be configured autonomously to accept and send frames.