Changes for page 12 PLC Protocol OLD

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

From version 135.1
edited by Ben
on 2022/08/30 14:56
Change comment: There is no comment for this version
To version 144.1
edited by Ben
on 2022/08/30 15:36
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1800,8 +1800,6 @@
1800 1800  
1801 1801  [[image:image-20220830143511-2.png]]
1802 1802  
1803 -
1804 -
1805 1805  **4)Cable Wiring**
1806 1806  
1807 1807  Pin Definition Diagram
... ... @@ -1808,11 +1808,24 @@
1808 1808  
1809 1809  [[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"]]
1810 1810  
1809 +== **CP1E/CP1H serial protocol** ==
1810 +
1811 +Supported device: OMRON CS1(CP1E/CP1H)
1812 +
1813 +**1)HMI Settings**
1814 +
1815 +**2)Address List**
1816 +
1817 +**3)Configure the communication protocol**
1818 +
1819 +**4)Cable Wiring**
1820 +
1821 +
1811 1811  == **EC55 Protocol** ==
1812 1812  
1813 1813  Supported device: EC55 temperature instrument
1814 1814  
1815 -**HMI Settings**
1826 +**1)HMI Settings**
1816 1816  
1817 1817  |**Items**|**Settings**|**Note**
1818 1818  |Protocol|Omron EC55|
... ... @@ -1820,7 +1820,7 @@
1820 1820  |Port No.|None|
1821 1821  |PLC station No.|0|
1822 1822  
1823 -**Address List**
1834 +**2)Address List**
1824 1824  
1825 1825  |**Type**|**Register**|**Device range**|**HMI range**|**Function**
1826 1826  |(% rowspan="3" %)Double word|C0|0-13 (Hex)|0-19|Set read only parameter for area 0
... ... @@ -1833,7 +1833,7 @@
1833 1833  |CS|-|0-2|Read controller states
1834 1834  |CA|-|0-17|Action command
1835 1835  
1836 -**Device Settings**
1847 +**3)Device Settings**
1837 1837  
1838 1838  Omron E5CC PLC configuration
1839 1839  
... ... @@ -1933,202 +1933,108 @@
1933 1933  
1934 1934  [[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"]]
1935 1935  
1936 -= **MODBUS** =
1947 +(% class="wikigeneratedid" %)
1948 += =
1937 1937  
1938 -== **MODBUS RTU Master** ==
1950 +(% class="wikigeneratedid" %)
1951 += Create communication with XINJE** PLC** =
1939 1939  
1940 -Supported Series: MODBUS RTU CONTROLLER
1953 +== **XC serial protocol** ==
1941 1941  
1942 -HMI works as MODBUS SLAVE connecting with MASTER
1955 +**1)HMI Settings**
1943 1943  
1944 -(% style="text-align:center" %)
1945 -[[image:12.PLC Protocol_html_44425b313b0a6b96.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
1957 +**2)Address List**
1946 1946  
1959 +**3)Configure the communication protocol**
1947 1947  
1948 -(% style="text-align:center" %)
1949 -[[image:12.PLC Protocol_html_b56b9da32c3caaa.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
1961 +**4)Cable Wiring**
1950 1950  
1963 +== **XD serial protocol** ==
1951 1951  
1952 -(% style="text-align:center" %)
1953 -[[image:12.PLC Protocol_html_67cd25458b9c72a6.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
1965 +**1)HMI Settings**
1954 1954  
1955 -**HMI Settings**
1967 +**2)Address List**
1956 1956  
1957 -(% class="table-bordered" %)
1958 -|**Items**|**Settings**|**Note**
1959 -|Protocol|MODBUS RTU Master|
1960 -|Connection|RS485/RS232|
1961 -|Baud rate|2400~~187500|
1962 -|Data bit|8|
1963 -|Parity|Even/ Odd/ None|
1964 -|Stop bit|1/2|
1965 -|Station No.|0~~255|
1969 +**3)Configure the communication protocol**
1966 1966  
1967 -**Address List**
1971 +**4)Cable Wiring**
1968 1968  
1969 -(% class="table-bordered" %)
1970 -|**Type**|**HMI address**|**MODBUS code**|**Range**
1971 -|Bit|HDX3000.0~~HDX3499.15|0|0~~7999
1972 -|Word|HDW3500~~HDW7999|4|0~~4499
1973 1973  
1974 -**Cable Wiring**
1974 += Create communication with Inovance** PLC** =
1975 1975  
1976 -* **RS485**
1976 +== **H3U serial protocol** ==
1977 1977  
1978 -(% style="text-align:center" %)
1979 -[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
1980 1980  
1981 -(% style="text-align:center" %)
1982 -[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
1979 +**1)HMI Settings**
1983 1983  
1984 -* **RS232**
1981 +**2)Address List**
1985 1985  
1986 -(% style="text-align:center" %)
1987 -[[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**
1988 1988  
1989 -**✎Note:** COM3 only available in PI8000/PI9000 series.
1985 +**4)Cable Wiring**
1990 1990  
1991 -== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** ==
1987 += Create communication with Panasonic** PLC** =
1992 1992  
1993 -Supported Series: MODBUS RTU CONTROLLER
1989 +== **FP serial protocol** ==
1994 1994  
1995 -HMI works as MODBUS MASTER connecting with SLAVE.
1991 +**1)HMI Settings**
1996 1996  
1997 -The addresses in [All function] start from 0, while the addresses in [All function OneBaseAddress] start from 1 (offset 1).
1993 +**2)Address List**
1998 1998  
1999 -(% style="text-align:center" %)
2000 -[[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**
2001 2001  
1997 +**4)Cable Wiring**
2002 2002  
2003 -(% style="text-align:center" %)
2004 -[[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** =
2005 2005  
2001 +== **XBG serial protocol** ==
2006 2006  
2007 -(% style="text-align:center" %)
2008 -[[image:12.PLC Protocol_html_4e9e8eff81c7ff8b.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2003 +**1)HMI Settings**
2009 2009  
2010 -**HMI Settings**
2005 +**2)Address List**
2011 2011  
2012 -(% class="table-bordered" %)
2013 -|**Items**|**Settings**|**Note**
2014 -|Protocol|MODBUS RTU Slave (All function)/( All function OneBaseAddress)|
2015 -|Connection|RS485/RS232|
2016 -|Baud rate|2400~~187500|
2017 -|Data bit|8|
2018 -|Parity|Even/ Odd/ None|
2019 -|Stop bit|1/2|
2020 -|PLC station No.|0~~255|
2007 +**3)Configure the communication protocol**
2021 2021  
2022 -**Address List**
2009 +**4)Cable Wiring**
2023 2023  
2024 -(% class="table-bordered" %)
2025 -|**Type**|**Address Type**|**Function code & Description**
2026 -|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2027 -|06 (write single register: write a binary value to a holding register)
2028 -|10 (write values to multiple addresses )
2029 -|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2030 -|06 (write single register: write a binary value to a holding register)
2031 -|10 (write values to multiple addresses )
2032 -|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2033 -|06 (write single register: write a binary value to a holding register)
2034 -|10 (write values to multiple addresses )
2035 -|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2036 -|10 (write values to multiple addresses )
2037 -|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2038 -|05 (Force a single coil to force the on/off state of a logic coil)
2039 -|0F (Write multiple bits, ie write continuously)
2040 -|(% rowspan="3" %)1|02 (Read the input state)
2041 -|05 (Force a single coil to force the on/off state of a logic coil)
2042 -|0F (Write multiple bits)
2043 -|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2044 -|05 (Force a single coil to force the on/off state of a logic coil)
2045 -|0F (Write multiple bits)
2046 -|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2047 -|0F (Write multiple bits)
2048 2048  
2049 -**✎Note:**
2012 +== **XGK FEnet Ethernet protocol** ==
2050 2050  
2051 -* Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats.
2052 -* 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
2053 2053  
2054 -**Station number for more than one slaves**
2016 +**HMI Settings**
2055 2055  
2056 -If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows.
2057 -
2058 -(% style="text-align:center" %)
2059 -[[image:12.PLC Protocol_html_31f028c6d80be344.png||data-xwiki-image-style-alignment="center" height="515" width="485" class="img-thumbnail"]]
2060 -
2061 -**Cable Wiring**
2062 -
2063 -* **RS485**
2064 -
2065 -(% style="text-align:center" %)
2066 -[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2067 -
2068 -(% style="text-align:center" %)
2069 -[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2070 -
2071 -* **RS232**
2072 -
2073 -(% style="text-align:center" %)
2074 -[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]
2075 -
2076 -**✎Note:** COM3 only available in PI8000/PI9000 series.
2077 -
2078 -== **MODBUS TCP Slave (All function)** ==
2079 -
2080 -Supported series: MODBUS TCP controller
2081 -
2082 -HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
2083 -
2084 -(% style="text-align:center" %)
2085 -[[image:12.PLC Protocol_html_8877cb7f39c2b607.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2086 -
2087 -(% style="text-align:center" %)
2088 -[[image:12.PLC Protocol_html_e7e1f06f127a9175.png||data-xwiki-image-style-alignment="center" height="426" width="553" class="img-thumbnail"]]
2089 -
2090 -
2091 -(% style="text-align:center" %)
2092 -[[image:12.PLC Protocol_html_60bbfe5de79417a6.png||data-xwiki-image-style-alignment="center" height="163" width="553" class="img-thumbnail"]]
2093 -
2094 -**HMI Setting**
2095 -
2096 -(% class="table-bordered" %)
2097 2097  |**Items**|**Settings**|**Note**
2098 -|Protocol|MODBUS TCP Slave (All function)|
2019 +|Protocol|LG XGK FEnet(Ethernet)|
2099 2099  |Connection|Ethernet|
2100 -|Port No.|502|
2101 -|PLC station No.|1|
2021 +|Port No.|2004|
2102 2102  
2103 2103  **Address List**
2104 2104  
2105 -(% class="table-bordered" %)
2106 -|**Type**|**Register**|**Function code & Description**
2107 -|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2108 -|06 (write single register: write a binary value to a holding register)
2109 -|10 (write values to multiple addresses )
2110 -|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2111 -|06 (write single register: write a binary value to a holding register)
2112 -|10 (write values to multiple addresses )
2113 -|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2114 -|06 (write single register: write a binary value to a holding register)
2115 -|10 (write values to multiple addresses )
2116 -|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2117 -|10 (write values to multiple addresses )
2118 -|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2119 -|05 (Force a single coil to force the on/off state of a logic coil)
2120 -|0F (Write multiple bits, ie write continuously)
2121 -|(% rowspan="3" %)1|02 (Read the input state)
2122 -|05 (Force a single coil to force the on/off state of a logic coil)
2123 -|0F (Write multiple bits)
2124 -|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2125 -|05 (Force a single coil to force the on/off state of a logic coil)
2126 -|0F (Write multiple bits)
2127 -|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2128 -|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
2129 2129  
2130 -**Communication Settings**
2041 +**✎Note:**
2131 2131  
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 +
2132 2132  Enable HMI Ethernet in [Project Settings];
2133 2133  
2134 2134  (% style="text-align:center" %)
... ... @@ -2137,12 +2137,11 @@
2137 2137  Set PLC IP in [Device IP] settings;
2138 2138  
2139 2139  (% style="text-align:center" %)
2140 -[[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"]]
2141 2141  
2142 2142  **Cable Wiring**
2143 2143  
2144 -(% style="text-align:center" %)
2145 -[[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"]]
2146 2146  
2147 2147  = **SHIMADEN** =
2148 2148  
... ... @@ -2152,7 +2152,6 @@
2152 2152  
2153 2153  **HMI Setting**
2154 2154  
2155 -(% class="table-bordered" %)
2156 2156  |**Items**|**Settings**|**Note**
2157 2157  |Protocol|SHIMADEN FP23 series|
2158 2158  |Connection|RS485 (9600, 1, 7, EVEN)|
... ... @@ -2161,7 +2161,6 @@
2161 2161  
2162 2162  **Address List**
2163 2163  
2164 -(% class="table-bordered" %)
2165 2165  |**Device address**|**HMI register**|**Address range**|**Type**
2166 2166  |0040-0043(HEX)|FP040|100064-200067|Read only
2167 2167  |0100-010B(HEX)|FP100|100256-200267|Read only
... ... @@ -2205,13 +2205,12 @@
2205 2205  
2206 2206  **✎Note:** COM3 only available in PI8000/PI9000 series.
2207 2207  
2208 -== **{{id name="_Toc23422"/}}SR90** ==
2122 +== **{{id name="_Toc23422"/}}**SR90 ==
2209 2209  
2210 2210  Supported series: SHIMADEN SR90 series
2211 2211  
2212 2212  **HMI Setting**
2213 2213  
2214 -(% class="table-bordered" %)
2215 2215  |**Items**|**Settings**|**Note**
2216 2216  |Protocol|SHIMADEN SR90 protocol|
2217 2217  |Connection|RS485 (1200, 1, 7, EVEN)|
... ... @@ -2220,7 +2220,6 @@
2220 2220  
2221 2221  **Address List**
2222 2222  
2223 -(% class="table-bordered" %)
2224 2224  |**Device address**|**HMI register**|**Address range**|**Type**
2225 2225  |0040-0043 (HEX)|SR040|100064-100067|Read only
2226 2226  |0100-010A(HEX)|SR0100|100256-100266|Read only
... ... @@ -2258,13 +2258,12 @@
2258 2258  
2259 2259  **✎Note:** COM3 only available in PI8000/PI9000 series.
2260 2260  
2261 -== **{{id name="_Toc22635"/}}MR13 series(standard protocol)** ==
2173 +== **{{id name="_Toc22635"/}}**MR13 series(standard protocol) ==
2262 2262  
2263 2263  Supported series: SHIMADEN MR13 series
2264 2264  
2265 2265  **HMI Setting**
2266 2266  
2267 -(% class="table-bordered" %)
2268 2268  |**Items**|**Settings**|**Note**
2269 2269  |Protocol|SHIMADEN standard protocol|
2270 2270  |Connection|RS485 (1200, 1, 7, EVEN)|
... ... @@ -2273,7 +2273,6 @@
2273 2273  
2274 2274  **Address List**
2275 2275  
2276 -(% class="table-bordered" %)
2277 2277  |**Device address**|**HMI register**|**Address range**|**Type**
2278 2278  |0100-010B(HEX)|MR100|100256-300267|Read only
2279 2279  |0111-0126(HEX)|MR111|100273-300294|Read only
... ... @@ -2318,6 +2318,217 @@
2318 2318  
2319 2319  **✎Note:** COM3 only available in PI8000/PI9000 series.
2320 2320  
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 +
2321 2321  = **User Defined Protocol** =
2322 2322  
2323 2323  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.
... ... @@ -2891,60 +2891,6 @@
2891 2891  (% style="text-align:center" %)
2892 2892  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2893 2893  
2894 -= **LG XGK FEnet Ethernet** =
2895 -
2896 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2897 -
2898 -**HMI Settings**
2899 -
2900 -(% class="table-bordered" %)
2901 -|**Items**|**Settings**|**Note**
2902 -|Protocol|LG XGK FEnet(Ethernet)|
2903 -|Connection|Ethernet|
2904 -|Port No.|2004|
2905 -
2906 -**Address List**
2907 -
2908 -(% class="table-bordered" %)
2909 -|**Type**|**Register**|**Range**|**Format**|**Note**
2910 -|(% rowspan="14" %)Word|P|0~~2047|P d|
2911 -|M|0~~2047|M d|
2912 -|K|0~~2047|K d|
2913 -|F|0~~2047|F d|
2914 -|T|0~~2047|T d|
2915 -|C|0~~2047|C d|
2916 -|Z|0~~127|Z d|
2917 -|S|0~~127|S d|
2918 -|L|0~~11263|L d|
2919 -|N|0~~21503|N d|
2920 -|D|0~~32767|D d|
2921 -|R|0~~32767|R d|
2922 -|ZR|0~~65535|ZR d|
2923 -|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2924 -
2925 -**✎Note:**
2926 -
2927 -* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2928 -* 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;
2929 -* All bit registers are in the form of bits in word, and the range is the same as the word register;
2930 -
2931 -**Communication settings in HMI**
2932 -
2933 -Enable HMI Ethernet in [Project Settings];
2934 -
2935 -(% style="text-align:center" %)
2936 -[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2937 -
2938 -Set PLC IP in [Device IP] settings;
2939 -
2940 -(% style="text-align:center" %)
2941 -[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2942 -
2943 -**Cable Wiring**
2944 -
2945 -[[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"]]
2946 -
2947 -
2948 2948  = **OpenCAN** =
2949 2949  
2950 2950  OpenCan is based on CAN2.0 standard; OpenCAN protocols that could be configured autonomously to accept and send frames.