Changes for page 1 Communication
Last modified by Hunter on 2024/07/01 10:54
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bob1 +XWiki.Hunter - Content
-
... ... @@ -178,102 +178,6 @@ 178 178 179 179 = Create communication with **Rockwell PLC** = 180 180 181 -== **DF1 Advanced Protocol** == 182 - 183 -MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5 184 - 185 -**1) V-Box Settings** 186 - 187 -|=Item|=Recommended |=Note 188 -|=Protocol|Allen Bradley DF1 Advanced| 189 -|=Connection|RS232| 190 -|=Baud rate|19200| 191 -|=Stop bits|1| 192 -|=Data bits|8| 193 -|=Parity|None| 194 -|=PLC Station No.|1| 195 -|=HMI Station No.|0| 196 - 197 -**2) Address List** 198 - 199 -|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note 200 -|(% colspan="1" rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1 201 -|O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0 202 -|S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2 203 -|B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3 204 -|BN|BNddddd.dd|0.0~~99255.15|((( 205 -Bit data file B0~~B99 206 - 207 -First two digits is for file number 208 - 209 -For example, BN13001.00 represents file number B13, address 001, the 0th bit. 210 -))) 211 -|N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7 212 -|NN|NNddddd.dd|0.0~~99255.15|((( 213 -Integer data file bit format N0~~N99 214 - 215 -First two digits is for file number 216 - 217 -For example, NN13001.00 represents file number N13, address 001, the 0th bit. 218 -))) 219 -|(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2 220 -|T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value) 221 -|T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value) 222 -|TNS|TNSddddd|0~~99255|((( 223 -Timer Preset Value 224 - 225 -First two digits is for file number 226 - 227 -For example, TNS99255 represents file number T99, address 255. 228 -))) 229 -|TNP|TNPddddd|0~~99255|((( 230 -Timer Accumulator Value 231 - 232 -First two digits is for file number 233 - 234 -For example, TNP99255 represents file number T99, address 255. 235 -))) 236 -|C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value) 237 -|C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value) 238 -|CNS|CNSddddd|0~~99255|((( 239 -Counter Preset Value 240 - 241 -First two digits is for file number 242 - 243 -For example, CNS99255 represents file number C99, address 255. 244 -))) 245 -|CNP|CNPddddd|0~~99255|((( 246 -Counter Accumulator Value 247 - 248 -First two digits is for file number 249 - 250 -For example, CNP99255 represents file number C99, address 255. 251 -))) 252 -|N7|N7ddd|0~~255|Only able to communicate with file number N7 253 -|NN|NNddd|0~~99255|((( 254 -Integer data file 255 - 256 -First two digits is for file number 257 - 258 -For example, NN99255 represents file number N99, address 255. 259 -))) 260 -|(% colspan="1" rowspan="3" %)Double Word|F8|F8ddd|0~~255|((( 261 -Only able to communicate with file number N7 262 -))) 263 -|FN|FNddddd|0~~99255|((( 264 -Floating point data file 265 - 266 -First two digits is for file number 267 - 268 -For example, FN99255 represents file number F99, address 255. 269 -))) 270 -|LN|LNddddd|0~~99255|Long 271 - 272 -**3) Cable Wiring** 273 - 274 -(% style="text-align:center" %) 275 -[[image:ABRS232.gif]] 276 - 277 277 == (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** == 278 278 279 279 MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5 ... ... @@ -281,7 +281,7 @@ 281 281 **1)V-BOX setting** 282 282 283 283 |**Item**|**Settings**|**Note** 284 -|Protocol|Allen-Bradley DF1 Advanced| 188 +|Protocol|Allen-Bradlley DF1 Advanced| 285 285 |Connection|RS232| 286 286 |Baud rate|19200| 287 287 |Data bit|8| ... ... @@ -704,86 +704,6 @@ 704 704 705 705 [[image:image-20220824162342-2.png]] 706 706 707 -== **LOGO Ethernet Protocol** == 708 - 709 -Supported Series: Siemens Logo 0BA0, 0BA1 series 710 - 711 -**V-BOX Settings** 712 - 713 - 714 -|**Items**|**Settings**|**Note** 715 -|Protocol|Siemens LOGO| 716 -|Connection|Ethernet| 717 -|Port No.|102| 718 -|PLC station No.|2| 719 - 720 -**Address List** 721 - 722 - 723 -|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address** 724 -|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0 725 -|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000 726 -|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000 727 -|4|VW|Word|0-1468|DB1.DBX0.0|0x000000 728 -|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0 729 -|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770 730 -|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0 731 -|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180 732 -|9|AI|Word|1-16|DB1.DBX1032.0|0x002040 733 -|10|I|Bit|1-64|DB1.DBX1024.0|0x002000 734 -|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140 735 -|12|M|Bit|1-112|DB1.DBX1104.0|0x002280 736 -|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0 737 -|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70 738 -|15|V|Bit|0-14697|DB1.DBX0.0|0x000000 739 - 740 -**PLC Settings in LOGO Software:** 741 - 742 -Click [Tools]~-~-[Ethernet Connections],shown as below. 743 - 744 -(% style="text-align:center" %) 745 -[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]] 746 - 747 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below. 748 - 749 -(% style="text-align:center" %) 750 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]] 751 - 752 -**TSAP set**:The value set by local TSAP is the remote TSAP set in HMI. PLC's remote TSAP is the opposite,shown as below. 753 - 754 -(% style="text-align:center" %) 755 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]] 756 - 757 - **Download Project**: Click "Address book" to add the IP address to be downloaded (fi."Detect" to check whether the IP address can be detected. Then click “ok”, and the system will prompt that PLC will be "STOP" mode. Click “YES” to start download. 758 - 759 -(% style="text-align:center" %) 760 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]] 761 - 762 -**V-BOX Communication Settings** 763 - 764 -Set PLC IP in [IP Address] settings; 765 - 766 -(% style="text-align:center" %) 767 -[[image:LldwDGntf4.png]] 768 - 769 -Enable V-BOX Ethernet in [Network]; 770 - 771 -(% style="text-align:center" %) 772 -[[image:WgvjfWbQif.png]] 773 - 774 -TSAP setting 775 - 776 -* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful. 777 - 778 -{{code language="LUA"}} 779 -function init.main() 780 - addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address 781 - 782 - addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address 783 - 784 -end 785 -{{/code}} 786 - 787 787 = Create communication with **Mitsubishi PLC** = 788 788 789 789 == **FX1S,1N,2N Serial Protocol** == ... ... @@ -1981,7 +1981,7 @@ 1981 1981 1982 1982 **2)Address List** 1983 1983 1984 -| =**Type**|=**Data Type**|=**Function code & Description**1808 +|**Type**|**Register**|**Function code & Description** 1985 1985 |(% rowspan="11" %)Word|(% rowspan="3" %)3|04 (read input register: read current binary value in one or more input registers) 1986 1986 |06 (write single register: write a binary value to a holding register) 1987 1987 |10 (write values to multiple addresses )
- 0Il1q9GZgk.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.6 KB - Content
- AB.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.3 KB - Content
- ABRS232.gif
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Hunter - Size
-
... ... @@ -1,1 +1,0 @@ 1 -7.3 KB - Content
- LldwDGntf4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.3 KB - Content
- WgvjfWbQif.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bob - Size
-
... ... @@ -1,1 +1,0 @@ 1 -36.3 KB - Content