Changes for page 12 PLC Protocol OLD

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

From version 146.1
edited by Ben
on 2022/08/30 15:37
Change comment: There is no comment for this version
To version 135.1
edited by Ben
on 2022/08/30 14:56
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,11 @@
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** ==
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 -
1822 1822  == **EC55 Protocol** ==
1823 1823  
1824 1824  Supported device: EC55 temperature instrument
1825 1825  
1826 -**1)HMI Settings**
1815 +**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**
1823 +**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**
1836 +**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** =
1936 += **MODBUS** =
1949 1949  
1950 -== **XC serial protocol** ==
1938 +== **MODBUS RTU Master** ==
1951 1951  
1952 -**1)HMI Settings**
1940 +Supported Series: MODBUS RTU CONTROLLER
1953 1953  
1954 -**2)Address List**
1942 +HMI works as MODBUS SLAVE connecting with MASTER
1955 1955  
1956 -**3)Configure the communication protocol**
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 1957  
1958 -**4)Cable Wiring**
1959 1959  
1960 -== **XD serial protocol** ==
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 1961  
1962 -**1)HMI Settings**
1963 1963  
1964 -**2)Address List**
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 1965  
1966 -**3)Configure the communication protocol**
1955 +**HMI Settings**
1967 1967  
1968 -**4)Cable Wiring**
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 1969  
1967 +**Address List**
1970 1970  
1971 -= Create communication with Inovance** PLC** =
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
1972 1972  
1973 -== **H3U serial protocol** ==
1974 +**Cable Wiring**
1974 1974  
1976 +* **RS485**
1975 1975  
1976 -**1)HMI Settings**
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"]]
1977 1977  
1978 -**2)Address List**
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 1979  
1980 -**3)Configure the communication protocol**
1984 +* **RS232**
1981 1981  
1982 -**4)Cable Wiring**
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 1983  
1984 -= Create communication with Panasonic** PLC** =
1989 +**✎Note:** COM3 only available in PI8000/PI9000 series.
1985 1985  
1986 -== **FP serial protocol** ==
1991 +== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** ==
1987 1987  
1988 -**1)HMI Settings**
1993 +Supported Series: MODBUS RTU CONTROLLER
1989 1989  
1990 -**2)Address List**
1995 +HMI works as MODBUS MASTER connecting with SLAVE.
1991 1991  
1992 -**3)Configure the communication protocol**
1997 +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**
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 1995  
1996 -= Create communication with LS** PLC** =
1997 1997  
1998 -== **XBG serial protocol** ==
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 1999  
2000 -**1)HMI Settings**
2001 2001  
2002 -**2)Address List**
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 2003  
2004 -**3)Configure the communication protocol**
2010 +**HMI Settings**
2005 2005  
2006 -**4)Cable Wiring**
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 2007  
2022 +**Address List**
2008 2008  
2009 -== **XGK FEnet Ethernet protocol** ==
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)
2010 2010  
2011 -Supported Series: LS XGT series XGK CPU with XGL-EFMT Ethernet module
2049 +**✎Note:**
2012 2012  
2013 -**HMI Settings**
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 2014  
2054 +**Station number for more than one slaves**
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" %)
2015 2015  |**Items**|**Settings**|**Note**
2016 -|Protocol|LG XGK FEnet(Ethernet)|
2098 +|Protocol|MODBUS TCP Slave (All function)|
2017 2017  |Connection|Ethernet|
2018 -|Port No.|2004|
2100 +|Port No.|502|
2101 +|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
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)
2037 2037  
2038 -**✎Note:**
2130 +**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"]]
2140 +[[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"]]
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"]]
2059 2059  
2060 2060  = **SHIMADEN** =
2061 2061  
... ... @@ -2065,6 +2065,7 @@
2065 2065  
2066 2066  **HMI Setting**
2067 2067  
2155 +(% 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  
2164 +(% 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 ==
2208 +== **{{id name="_Toc23422"/}}SR90** ==
2120 2120  
2121 2121  Supported series: SHIMADEN SR90 series
2122 2122  
2123 2123  **HMI Setting**
2124 2124  
2214 +(% 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  
2223 +(% 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) ==
2261 +== **{{id name="_Toc22635"/}}MR13 series(standard protocol)** ==
2171 2171  
2172 2172  Supported series: SHIMADEN MR13 series
2173 2173  
2174 2174  **HMI Setting**
2175 2175  
2267 +(% 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  
2276 +(% 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 -= Create communication with **MODBUS** =
2321 += **User Defined Protocol** =
2229 2229  
2230 -== **MODBUS RTU Master** ==
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.
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|
2329 +|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|
2332 +|Stop bits|1/ 2|
2333 +|Data bits|7/ 8|
2334 +|Parity|None/ Even/ ODD|
2258 2258  
2259 -**Address List**
2336 +**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
2338 +Select [User defined protocol];
2265 2265  
2266 -**Cable Wiring**
2340 +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"]]
2343 +[[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"]]
2345 +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"]]
2348 +[[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.
2350 +(% class="table-bordered" %)
2351 +|**No**|**Item**|**Description**
2352 +|1|Instruction edit|The required command.
2353 +|2|Mode|Write to address or read from the address.
2354 +|3|Format|Encode format: HEX or ASCII.
2355 +|4|Other|(((
2356 +**No receiving: **HMI does not respond to the receiving command.
2282 2282  
2283 -== **MODBUS RTU Slave (All function)/(All function OneBaseAddress)** ==
2358 +**Send after receiving:** HMI responds to the receiving command.
2359 +)))
2360 +|5|Manually send|(((
2361 +Respond once after trigger the address.
2284 2284  
2285 -Supported Series: MODBUS RTU CONTROLLER
2363 +Address: set the trigger address.
2364 +)))
2365 +|6|Add|Save this setting.
2366 +|7|Cancel|Cancel current settings.
2367 +|(% rowspan="4" %)8|Add|Add a new command.
2368 +|Edit|Edit the selected command.
2369 +|Delete|Delete the selected command.
2370 +|Clear|Clear all the commands.
2371 +|9|Instruction list|Display all current commands.
2372 +|10|Address List|Display all the addresses added.
2373 +|(% rowspan="5" %)11|Import|Import the command files to the instruction list.
2374 +|Export|Export current command settings to local storage.
2375 +|Browse|Browse local command files.
2376 +|Advanced|Combine two commands.
2377 +|Exit|Complete editing and exit setting.
2286 2286  
2287 -HMI works as MODBUS MASTER connecting with SLAVE.
2379 +**Operating Procedures**
2288 2288  
2289 -The addresses in [All function] start from 0, while the addresses in [All function OneBaseAddress] start from 1 (offset 1).
2381 +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"]]
2384 +[[image:12.PLC Protocol_html_463f2cd3a8c338fc.png||data-xwiki-image-style-alignment="center" height="116" width="88" class="img-thumbnail"]]
2293 2293  
2386 +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"]]
2389 +[[image:12.PLC Protocol_html_a48eba3aa30b612d.png||data-xwiki-image-style-alignment="center" height="80" width="121" class="img-thumbnail"]]
2297 2297  
2391 +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"]]
2394 +[[image:12.PLC Protocol_html_b36d990e126365d.png||data-xwiki-image-style-alignment="center" height="77" width="179" class="img-thumbnail"]]
2301 2301  
2302 -**HMI Settings**
2396 +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|
2398 +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 -**Address List**
2400 +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"]]
2403 +[[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**
2405 +(% class="table-bordered" %)
2406 +|**No**|**Items**|**Description**
2407 +|1|Add checking|Add checking command when receiving the data.
2408 +|(% rowspan="2" %)2|Back checking|Add control character in ASCII format.
2409 +|Differ with send check|Set return checking.
2410 +|(% rowspan="2" %)3|(% rowspan="2" %)Add control character|Start position: select the start position of the data which need to check.
2411 +|Length: The data length need to be checked.
2354 2354  
2355 -* **RS485**
2413 +Object settings;
2356 2356  
2357 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"]]
2416 +[[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"]]
2418 +(% class="table-bordered" %)
2419 +|**No**|**Items**|**Description**
2420 +|(% rowspan="3" %)1|(% rowspan="3" %)Object settings|Object type: bit or word address;
2421 +|Address: the triggering address;
2422 +|Note: description to object;
2423 +|2|Byte order|The numerical display order;
2362 2362  
2363 -* **RS232**
2425 +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"]]
2428 +[[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.
2430 +(% class="table-bordered" %)
2431 +|**No**|**Item**|**Description**
2432 +|(% rowspan="2" %)1|(% rowspan="2" %)Return data|Position: the start position of the return data.
2433 +|Length: the return data length.
2434 +|(% rowspan="2" %)2|(% rowspan="2" %)Write data|Position: the start position of the write data.
2435 +|Length: the write data length.
2369 2369  
2370 -== **MODBUS TCP Slave (All function)** ==
2437 +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"]]
2440 +[[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|
2443 +|**No**|**Item**|**Description**
2444 +|1|Send length|The instruction data will only send designated data length.
2445 +|2|Return length|The responds data length.
2446 +|3|End code|Instruction will not be terminated until receiving [End code];
2394 2394  
2395 -**Address List**
2448 +**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)
2450 +* **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"]]
2453 +[[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"]]
2456 +[[image:12.PLC Protocol_html_1897d92be6948d58.png||data-xwiki-image-style-alignment="center" height="223" width="393" class="img-thumbnail"]]
2433 2433  
2434 -**Cable Wiring**
2458 +* **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"]]
2461 +[[image:12.PLC Protocol_html_5de71638aab8e40d.png||data-xwiki-image-style-alignment="center" height="205" width="385" class="img-thumbnail"]]
2438 2438  
2463 +**✎Note:** COM3 only available in PI8000/PI9000 series.
2464 +
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  
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 +
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.