Changes for page 1 Communication

Last modified by Hunter on 2024/07/01 10:54

From version 213.1
edited by Hunter
on 2023/02/04 11:21
Change comment: There is no comment for this version
To version 200.1
edited by Bob
on 2022/12/17 14:40
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Hunter
1 +XWiki.Bob
Content
... ... @@ -176,137 +176,16 @@
176 176  
177 177  The above are all the steps for establishing ethernet communication between V-BOX with LX5V PLC.
178 178  
179 -(% class="wikigeneratedid" %)
180 -= Create communication with ABB PLC =
181 -
182 -== **AC500 Protocol** ==
183 -
184 -Support Series: ABB AC500
185 -
186 -**1) V-Box Settings**
187 -
188 -|=(% scope="row" %)Item|=Recommended |=Note
189 -|=Protocol|ABB|
190 -|=Connection| |
191 -|=Baud rate| |
192 -|=Stop bits| |
193 -|=Data bits| |
194 -|=Parity| |
195 -|=PLC Station No.| |
196 -|=HMI Station No.| |
197 -
198 -
199 -
200 200  = Create communication with **Rockwell PLC** =
201 201  
202 -== **DF1 Advanced Protocol** ==
181 +== (% id="cke_bm_5621S" style="display:none" %)** **(%%)**MicroLogix Protocol** ==
203 203  
204 -MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05; PLC-5
205 -
206 -**1) V-Box Settings**
207 -
208 -|=Item|=Recommended |=Note
209 -|=Protocol|Allen Bradley DF1 Advanced|
210 -|=Connection|RS232|
211 -|=Baud rate|19200|
212 -|=Stop bits|1|
213 -|=Data bits|8|
214 -|=Parity|None|
215 -|=PLC Station No.|1|
216 -|=HMI Station No.|0|
217 -
218 -**2) Address List**
219 -
220 -|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note
221 -|(% colspan="1" rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1
222 -|O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0
223 -|S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2
224 -|B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3
225 -|BN|BNddddd.dd|0.0~~99255.15|(((
226 -Bit data file B0~~B99
227 -
228 -First two digits is for file number
229 -
230 -For example, BN13001.00 represents file number B13, address 001, the 0th bit.
231 -)))
232 -|N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7
233 -|NN|NNddddd.dd|0.0~~99255.15|(((
234 -Integer data file bit format N0~~N99
235 -
236 -First two digits is for file number
237 -
238 -For example, NN13001.00 represents file number N13, address 001, the 0th bit.
239 -)))
240 -|(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2
241 -|T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value)
242 -|T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value)
243 -|TNS|TNSddddd|0~~99255|(((
244 -Timer Preset Value
245 -
246 -First two digits is for file number
247 -
248 -For example, TNS99255 represents file number T99, address 255.
249 -)))
250 -|TNP|TNPddddd|0~~99255|(((
251 -Timer Accumulator Value
252 -
253 -First two digits is for file number
254 -
255 -For example, TNP99255 represents file number T99, address 255.
256 -)))
257 -|C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value)
258 -|C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value)
259 -|CNS|CNSddddd|0~~99255|(((
260 -Counter Preset Value
261 -
262 -First two digits is for file number
263 -
264 -For example, CNS99255 represents file number C99, address 255.
265 -)))
266 -|CNP|CNPddddd|0~~99255|(((
267 -Counter Accumulator Value
268 -
269 -First two digits is for file number
270 -
271 -For example, CNP99255 represents file number C99, address 255.
272 -)))
273 -|N7|N7ddd|0~~255|Only able to communicate with file number N7
274 -|NN|NNddd|0~~99255|(((
275 -Integer data file
276 -
277 -First two digits is for file number
278 -
279 -For example, NN99255 represents file number N99, address 255.
280 -)))
281 -|(% colspan="1" rowspan="3" %)Double Word|F8|F8ddd|0~~255|(((
282 -Only able to communicate with file number N7
283 -)))
284 -|FN|FNddddd|0~~99255|(((
285 -Floating point data file
286 -
287 -First two digits is for file number
288 -
289 -For example, FN99255 represents file number F99, address 255.
290 -)))
291 -|LN|LNddddd|0~~99255|Long
292 -
293 -**3) Cable Wiring**
294 -
295 -(% style="text-align:center" %)
296 -[[image:ABRS232.gif]]
297 -
298 -(% class="wikigeneratedid" id="HMicroLogixA0Protocol" %)
299 -(% id="cke_bm_5621S" style="display:none" %)** **
300 -
301 -== **MicroLogix Protocol** ==
302 -
303 -(% class="wikigeneratedid" %)
304 304  MicroLogix 1000/1100/1200/1400/1500; SLC 5/03 5/04 5/05 PLC-5
305 305  
306 306  **1)V-BOX setting**
307 307  
308 308  |**Item**|**Settings**|**Note**
309 -|Protocol|Allen-Bradley DF1 Advanced|
188 +|Protocol|Allen-Bradlley DF1 Advanced|
310 310  |Connection|RS232|
311 311  |Baud rate|19200|
312 312  |Data bit|8|
... ... @@ -729,97 +729,6 @@
729 729  
730 730  [[image:image-20220824162342-2.png]]
731 731  
732 -== **LOGO Ethernet Protocol** ==
733 -
734 -Supported Series: Siemens Logo 0BA0, 0BA1 series
735 -
736 -**V-BOX Settings**
737 -
738 -
739 -|**Items**|**Settings**|**Note**
740 -|Protocol|Siemens LOGO|
741 -|Connection|Ethernet|
742 -|Port No.|102|
743 -|PLC station No.|2|
744 -
745 -**Address List**
746 -
747 -
748 -|**Number**|**Address Type**|**Data Type**|**Range**|**DB Address**|**PLC Address**
749 -|1|RTC|Word|1-7|DB1.DBX984.0|0x001ec0
750 -|2|VB|Byte|0-1469|DB1.DBX0.0|0x000000
751 -|3|VD|Double Word|0-1466|DB1.DBX0.0|0x000000
752 -|4|VW|Word|0-1468|DB1.DBX0.0|0x000000
753 -|5|NAQ|Word|1-32|DB1.DBX1406.0|0x002bf0
754 -|6|NAI|Word|1-64|DB1.DBX1262.0|0x002770
755 -|7|AM|Word|1-64|DB1.DBX1118.0|0x0022f0
756 -|8|AQ|Word|1-16|DB1.DBX1072.0|0x002180
757 -|9|AI|Word|1-16|DB1.DBX1032.0|0x002040
758 -|10|I|Bit|1-64|DB1.DBX1024.0|0x002000
759 -|11|Q|Bit|1-64|DB1.DBX1064.0|0x002140
760 -|12|M|Bit|1-112|DB1.DBX1104.0|0x002280
761 -|13|NI|Bit|1-128|DB1.DBX1246.0|0x0026f0
762 -|14|NQ|Bit|1-128|DB1.DBX1390.0|0x002b70
763 -|15|V|Bit|0-14697|DB1.DBX0.0|0x000000
764 -
765 -**PLC Settings in LOGO Software:**
766 -
767 -Click [Tools]~-~-[Ethernet Connections],shown as below.
768 -
769 -(% style="text-align:center" %)
770 -[[image:PIStudio.12\.PLC protocols.WebHome@12.PLC Protocol_html_8b9d2322edf89519.png]]
771 -
772 -Set Ethernet connection parameter. IP, Subnet Mask, shown as below.
773 -
774 -(% style="text-align:center" %)
775 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228142937-4.png]]
776 -
777 -**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.
778 -
779 -(% style="text-align:center" %)
780 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143047-5.png]]
781 -
782 - **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.
783 -
784 -(% style="text-align:center" %)
785 -[[image:PIStudio.12\.PLC protocols.WebHome@image-20221228143246-6.png]]
786 -
787 -**V-BOX Communication Settings**
788 -
789 -Set PLC IP in [IP Address] settings;
790 -
791 -(% style="text-align:center" %)
792 -[[image:LldwDGntf4.png]]
793 -
794 -Enable V-BOX Ethernet in [Network];
795 -
796 -(% style="text-align:center" %)
797 -[[image:WgvjfWbQif.png]]
798 -
799 -TSAP setting
800 -
801 -* The initialization script needs to set the source TSAP address and the target TSAP address, otherwise the communication will not be successful.
802 -
803 -{{code language="LUA"}}
804 -function init.main()
805 -addr_setword("@W_0#HSW1200",8192) -- Set the source TSAP address
806 -addr_setword("@W_0#HSW1201",4096) -- Set the destination TSAP address
807 -end
808 -{{/code}}
809 -
810 -Note: The name of the test script is init, 8192 and 4096 are the data used for the test, there is no HSW address in the register option, but you can directly set the value of the corresponding address through the code.
811 -
812 -**✎Note:**
813 -
814 -* **Communication port configuration: **
815 -** Continuous length needs to be set to 0.
816 -** Integration interval needs to be set to 1. (no change may result in data errors)
817 -** Set Port and Device Station NO.
818 -** Other set as defaulted.
819 -* **Notes on the use of registers:**
820 -** Register VD: Use only registers that are multiples of 4, such as 0, 4, 8, etc.
821 -** Register VW: Use only registers thay are multiples of 2, such as 0, 2, 4 etc. (Using an odd-length register may result in data errors, such as 2 3 4 )
822 -
823 823  = Create communication with **Mitsubishi PLC** =
824 824  
825 825  == **FX1S,1N,2N Serial Protocol** ==
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