Changes for page 12 PLC Protocol OLD

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

From version 145.1
edited by Ben
on 2022/08/30 15:37
Change comment: There is no comment for this version
To version 128.1
edited by Ben
on 2022/08/30 14:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1800,6 +1800,8 @@
1800 1800  
1801 1801  [[image:image-20220830143511-2.png]]
1802 1802  
1803 +
1804 +
1803 1803  **4)Cable Wiring**
1804 1804  
1805 1805  Pin Definition Diagram
... ... @@ -1806,24 +1806,32 @@
1806 1806  
1807 1807  [[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"]]
1808 1808  
1809 -== **CP1E/CP1H serial protocol** ==
1811 +(% class="wikigeneratedid" %)
1812 +== ==
1810 1810  
1811 -Supported device: OMRON CS1(CP1E/CP1H)
1814 +(% class="wikigeneratedid" %)
1815 +== ==
1812 1812  
1813 -**1)HMI Settings**
1817 +(% class="wikigeneratedid" %)
1818 +== ==
1814 1814  
1815 -**2)Address List**
1820 +(% class="wikigeneratedid" %)
1821 +== ==
1816 1816  
1817 -**3)Configure the communication protocol**
1823 +(% class="wikigeneratedid" %)
1824 +== ==
1818 1818  
1819 -**4)Cable Wiring**
1826 +(% class="wikigeneratedid" %)
1827 +== ==
1820 1820  
1829 +(% class="wikigeneratedid" %)
1830 +== ==
1821 1821  
1822 1822  == **EC55 Protocol** ==
1823 1823  
1824 1824  Supported device: EC55 temperature instrument
1825 1825  
1826 -**1)HMI Settings**
1836 +**HMI Settings**
1827 1827  
1828 1828  |**Items**|**Settings**|**Note**
1829 1829  |Protocol|Omron EC55|
... ... @@ -1831,7 +1831,7 @@
1831 1831  |Port No.|None|
1832 1832  |PLC station No.|0|
1833 1833  
1834 -**2)Address List**
1844 +**Address List**
1835 1835  
1836 1836  |**Type**|**Register**|**Device range**|**HMI range**|**Function**
1837 1837  |(% rowspan="3" %)Double word|C0|0-13 (Hex)|0-19|Set read only parameter for area 0
... ... @@ -1844,7 +1844,7 @@
1844 1844  |CS|-|0-2|Read controller states
1845 1845  |CA|-|0-17|Action command
1846 1846  
1847 -**3)Device Settings**
1857 +**Device Settings**
1848 1848  
1849 1849  Omron E5CC PLC configuration
1850 1850  
... ... @@ -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** =
1957 += **MODBUS** =
1949 1949  
1950 -== **XC serial protocol** ==
1959 +== **MODBUS RTU Master** ==
1951 1951  
1952 -**1)HMI Settings**
1961 +Supported Series: MODBUS RTU CONTROLLER
1953 1953  
1954 -**2)Address List**
1963 +HMI works as MODBUS SLAVE connecting with MASTER
1955 1955  
1956 -**3)Configure the communication protocol**
1965 +(% style="text-align:center" %)
1966 +[[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** ==
1969 +(% style="text-align:center" %)
1970 +[[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**
1973 +(% style="text-align:center" %)
1974 +[[image:12.PLC Protocol_html_67cd25458b9c72a6.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
1965 1965  
1966 -**3)Configure the communication protocol**
1976 +**HMI Settings**
1967 1967  
1968 -**4)Cable Wiring**
1978 +(% class="table-bordered" %)
1979 +|**Items**|**Settings**|**Note**
1980 +|Protocol|MODBUS RTU Master|
1981 +|Connection|RS485/RS232|
1982 +|Baud rate|2400~~187500|
1983 +|Data bit|8|
1984 +|Parity|Even/ Odd/ None|
1985 +|Stop bit|1/2|
1986 +|Station No.|0~~255|
1969 1969  
1988 +**Address List**
1970 1970  
1971 -= Create communication with Inovance** PLC** =
1990 +(% class="table-bordered" %)
1991 +|**Type**|**HMI address**|**MODBUS code**|**Range**
1992 +|Bit|HDX3000.0~~HDX3499.15|0|0~~7999
1993 +|Word|HDW3500~~HDW7999|4|0~~4499
1972 1972  
1973 -== **H3U serial protocol** ==
1995 +**Cable Wiring**
1974 1974  
1997 +* **RS485**
1975 1975  
1976 -**1)HMI Settings**
1999 +(% style="text-align:center" %)
2000 +[[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**
2002 +(% style="text-align:center" %)
2003 +[[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**
2005 +* **RS232**
1981 1981  
1982 -**4)Cable Wiring**
2007 +(% style="text-align:center" %)
2008 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]
1983 1983  
1984 -= Create communication with Panasonic** PLC** =
2010 +**✎Note:** COM3 only available in PI8000/PI9000 series.
1985 1985  
1986 -== **FP serial protocol** ==
2012 +== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** ==
1987 1987  
1988 -**1)HMI Settings**
2014 +Supported Series: MODBUS RTU CONTROLLER
1989 1989  
1990 -**2)Address List**
2016 +HMI works as MODBUS MASTER connecting with SLAVE.
1991 1991  
1992 -**3)Configure the communication protocol**
2018 +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**
2020 +(% style="text-align:center" %)
2021 +[[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** ==
2024 +(% style="text-align:center" %)
2025 +[[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**
2028 +(% style="text-align:center" %)
2029 +[[image:12.PLC Protocol_html_4e9e8eff81c7ff8b.png||data-xwiki-image-style-alignment="center" height="462" width="600" class="img-thumbnail"]]
2003 2003  
2004 -**3)Configure the communication protocol**
2031 +**HMI Settings**
2005 2005  
2006 -**4)Cable Wiring**
2033 +(% class="table-bordered" %)
2034 +|**Items**|**Settings**|**Note**
2035 +|Protocol|MODBUS RTU Slave (All function)/( All function OneBaseAddress)|
2036 +|Connection|RS485/RS232|
2037 +|Baud rate|2400~~187500|
2038 +|Data bit|8|
2039 +|Parity|Even/ Odd/ None|
2040 +|Stop bit|1/2|
2041 +|PLC station No.|0~~255|
2007 2007  
2043 +**Address List**
2008 2008  
2009 -== **XGK FEnet Ethernet protocol** ==
2045 +(% class="table-bordered" %)
2046 +|**Type**|**Address Type**|**Function code & Description**
2047 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2048 +|06 (write single register: write a binary value to a holding register)
2049 +|10 (write values to multiple addresses )
2050 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2051 +|06 (write single register: write a binary value to a holding register)
2052 +|10 (write values to multiple addresses )
2053 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2054 +|06 (write single register: write a binary value to a holding register)
2055 +|10 (write values to multiple addresses )
2056 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2057 +|10 (write values to multiple addresses )
2058 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2059 +|05 (Force a single coil to force the on/off state of a logic coil)
2060 +|0F (Write multiple bits, ie write continuously)
2061 +|(% rowspan="3" %)1|02 (Read the input state)
2062 +|05 (Force a single coil to force the on/off state of a logic coil)
2063 +|0F (Write multiple bits)
2064 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2065 +|05 (Force a single coil to force the on/off state of a logic coil)
2066 +|0F (Write multiple bits)
2067 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2068 +|0F (Write multiple bits)
2010 2010  
2011 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2070 +**✎Note:**
2012 2012  
2013 -**HMI Settings**
2072 +* Modbus can also support getting bit from the word, which could access the address such as 100.1 and other formats.
2073 +* The function codes sent out are the same as those that read and write words.
2014 2014  
2075 +**Station number for more than one slaves**
2076 +
2077 +If there are more than one slaves connected to HMI, please set slave station number during editing address, as below shows.
2078 +
2079 +(% style="text-align:center" %)
2080 +[[image:12.PLC Protocol_html_31f028c6d80be344.png||data-xwiki-image-style-alignment="center" height="515" width="485" class="img-thumbnail"]]
2081 +
2082 +**Cable Wiring**
2083 +
2084 +* **RS485**
2085 +
2086 +(% style="text-align:center" %)
2087 +[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2088 +
2089 +(% style="text-align:center" %)
2090 +[[image:12.PLC Protocol_html_cbeb90cb4faaa8bc.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
2091 +
2092 +* **RS232**
2093 +
2094 +(% style="text-align:center" %)
2095 +[[image:12.PLC Protocol_html_9030ba679545793b.png||data-xwiki-image-style-alignment="center" height="241" width="387" class="img-thumbnail"]]
2096 +
2097 +**✎Note:** COM3 only available in PI8000/PI9000 series.
2098 +
2099 +== **MODBUS TCP Slave (All function)** ==
2100 +
2101 +Supported series: MODBUS TCP controller
2102 +
2103 +HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
2104 +
2105 +(% style="text-align:center" %)
2106 +[[image:12.PLC Protocol_html_8877cb7f39c2b607.png||data-xwiki-image-style-alignment="center" height="571" width="544" class="img-thumbnail"]]
2107 +
2108 +(% style="text-align:center" %)
2109 +[[image:12.PLC Protocol_html_e7e1f06f127a9175.png||data-xwiki-image-style-alignment="center" height="426" width="553" class="img-thumbnail"]]
2110 +
2111 +
2112 +(% style="text-align:center" %)
2113 +[[image:12.PLC Protocol_html_60bbfe5de79417a6.png||data-xwiki-image-style-alignment="center" height="163" width="553" class="img-thumbnail"]]
2114 +
2115 +**HMI Setting**
2116 +
2117 +(% class="table-bordered" %)
2015 2015  |**Items**|**Settings**|**Note**
2016 -|Protocol|LG XGK FEnet(Ethernet)|
2119 +|Protocol|MODBUS TCP Slave (All function)|
2017 2017  |Connection|Ethernet|
2018 -|Port No.|2004|
2121 +|Port No.|502|
2122 +|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
2126 +(% class="table-bordered" %)
2127 +|**Type**|**Register**|**Function code & Description**
2128 +|(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers)
2129 +|06 (write single register: write a binary value to a holding register)
2130 +|10 (write values to multiple addresses )
2131 +|(% rowspan="3" %)4|03 (read holding register: read current binary value in one or more holding registers)
2132 +|06 (write single register: write a binary value to a holding register)
2133 +|10 (write values to multiple addresses )
2134 +|(% rowspan="3" %)W6|03 (read holding register: read current binary value in one or more holding registers)
2135 +|06 (write single register: write a binary value to a holding register)
2136 +|10 (write values to multiple addresses )
2137 +|(% rowspan="2" %)W16|03 (read holding register: read current binary value in one or more holding registers)
2138 +|10 (write values to multiple addresses )
2139 +|(% rowspan="11" %)Bit|(% rowspan="3" %)0|01 (Read coil state)
2140 +|05 (Force a single coil to force the on/off state of a logic coil)
2141 +|0F (Write multiple bits, ie write continuously)
2142 +|(% rowspan="3" %)1|02 (Read the input state)
2143 +|05 (Force a single coil to force the on/off state of a logic coil)
2144 +|0F (Write multiple bits)
2145 +|(% rowspan="3" %)W5|01 (Read coil state to obtain the current state of a set of logic coils)
2146 +|05 (Force a single coil to force the on/off state of a logic coil)
2147 +|0F (Write multiple bits)
2148 +|(% rowspan="2" %)W15|01 (Read coil state to obtain the current state of a set of logic coils)
2149 +|0F (Write multiple bits)
2037 2037  
2038 -**✎Note:**
2151 +**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"]]
2161 +[[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"]]
2165 +(% style="text-align:center" %)
2166 +[[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  
2176 +(% 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  
2185 +(% 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 ==
2229 +== **{{id name="_Toc23422"/}}SR90** ==
2120 2120  
2121 2121  Supported series: SHIMADEN SR90 series
2122 2122  
2123 2123  **HMI Setting**
2124 2124  
2235 +(% 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  
2244 +(% 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) ==
2282 +== **{{id name="_Toc22635"/}}MR13 series(standard protocol)** ==
2171 2171  
2172 2172  Supported series: SHIMADEN MR13 series
2173 2173  
2174 2174  **HMI Setting**
2175 2175  
2288 +(% 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  
2297 +(% 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,6 @@
2225 2225  
2226 2226  **✎Note:** COM3 only available in PI8000/PI9000 series.
2227 2227  
2228 -= Create communication with **MODBUS** =
2229 -
2230 -== **MODBUS RTU Master** ==
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 -**HMI Settings**
2248 -
2249 -(% class="table-bordered" %)
2250 -|**Items**|**Settings**|**Note**
2251 -|Protocol|MODBUS RTU Master|
2252 -|Connection|RS485/RS232|
2253 -|Baud rate|2400~~187500|
2254 -|Data bit|8|
2255 -|Parity|Even/ Odd/ None|
2256 -|Stop bit|1/2|
2257 -|Station No.|0~~255|
2258 -
2259 -**Address List**
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
2265 -
2266 -**Cable Wiring**
2267 -
2268 -* **RS485**
2269 -
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"]]
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"]]
2275 -
2276 -* **RS232**
2277 -
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"]]
2280 -
2281 -**✎Note:** COM3 only available in PI8000/PI9000 series.
2282 -
2283 -== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** ==
2284 -
2285 -Supported Series: MODBUS RTU CONTROLLER
2286 -
2287 -HMI works as MODBUS MASTER connecting with SLAVE.
2288 -
2289 -The addresses in [All function] start from 0, while the addresses in [All function OneBaseAddress] start from 1 (offset 1).
2290 -
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"]]
2293 -
2294 -
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"]]
2297 -
2298 -
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"]]
2301 -
2302 -**HMI Settings**
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|
2313 -
2314 -**Address List**
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 -(% 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"]]
2352 -
2353 -**Cable Wiring**
2354 -
2355 -* **RS485**
2356 -
2357 -(% style="text-align:center" %)
2358 -[[image:12.PLC Protocol_html_68dfb6d383f0edd9.png||data-xwiki-image-style-alignment="center" height="244" width="394" class="img-thumbnail"]]
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"]]
2362 -
2363 -* **RS232**
2364 -
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"]]
2367 -
2368 -**✎Note:** COM3 only available in PI8000/PI9000 series.
2369 -
2370 -== **MODBUS TCP Slave (All function)** ==
2371 -
2372 -Supported series: MODBUS TCP controller
2373 -
2374 -HMI works as MODBUS TCP MASTER connecting with TCP SLAVE
2375 -
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"]]
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 -(% 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|
2394 -
2395 -**Address List**
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)
2421 -
2422 -**Communication Settings**
2423 -
2424 -Enable HMI Ethernet in [Project Settings];
2425 -
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"]]
2428 -
2429 -Set PLC IP in [Device IP] settings;
2430 -
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"]]
2433 -
2434 -**Cable Wiring**
2435 -
2436 -(% style="text-align:center" %)
2437 -[[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
2438 -
2439 2439  = **User Defined Protocol** =
2440 2440  
2441 2441  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.
... ... @@ -3009,6 +3009,60 @@
3009 3009  (% style="text-align:center" %)
3010 3010  [[image:12.PLC Protocol_html_2297240b57346b2a.png||data-xwiki-image-style-alignment="center" height="170" width="401" class="img-thumbnail"]]
3011 3011  
2915 += **LG XGK FEnet Ethernet** =
2916 +
2917 +Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2918 +
2919 +**HMI Settings**
2920 +
2921 +(% class="table-bordered" %)
2922 +|**Items**|**Settings**|**Note**
2923 +|Protocol|LG XGK FEnet(Ethernet)|
2924 +|Connection|Ethernet|
2925 +|Port No.|2004|
2926 +
2927 +**Address List**
2928 +
2929 +(% class="table-bordered" %)
2930 +|**Type**|**Register**|**Range**|**Format**|**Note**
2931 +|(% rowspan="14" %)Word|P|0~~2047|P d|
2932 +|M|0~~2047|M d|
2933 +|K|0~~2047|K d|
2934 +|F|0~~2047|F d|
2935 +|T|0~~2047|T d|
2936 +|C|0~~2047|C d|
2937 +|Z|0~~127|Z d|
2938 +|S|0~~127|S d|
2939 +|L|0~~11263|L d|
2940 +|N|0~~21503|N d|
2941 +|D|0~~32767|D d|
2942 +|R|0~~32767|R d|
2943 +|ZR|0~~65535|ZR d|
2944 +|UxDD|0~~6331|UxDD nndd|nn: 0~~63, dd: 0~~31
2945 +
2946 +**✎Note:**
2947 +
2948 +* In addition to the "UxDD" register, the others correspond to the PLC register one by one. UxDD corresponds to U in the PLC;
2949 +* 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;
2950 +* All bit registers are in the form of bits in word, and the range is the same as the word register;
2951 +
2952 +**Communication settings in HMI**
2953 +
2954 +Enable HMI Ethernet in [Project Settings];
2955 +
2956 +(% style="text-align:center" %)
2957 +[[image:12.PLC Protocol_html_43b671f18153910d.png||data-xwiki-image-style-alignment="center" height="107" width="405" class="img-thumbnail"]]
2958 +
2959 +Set PLC IP in [Device IP] settings;
2960 +
2961 +(% style="text-align:center" %)
2962 +[[image:12.PLC Protocol_html_a2a19b5003ad4090.png||data-xwiki-image-style-alignment="center" height="189" width="554" class="img-thumbnail"]]
2963 +
2964 +**Cable Wiring**
2965 +
2966 +[[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"]]
2967 +
2968 +
3012 3012  = **OpenCAN** =
3013 3013  
3014 3014  OpenCan is based on CAN2.0 standard; OpenCAN protocols that could be configured autonomously to accept and send frames.