... |
... |
@@ -173,346 +173,77 @@ |
173 |
173 |
|
174 |
174 |
{{id name="I12.PLCProtocol_html_58205bdf82c06d4.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_32d8ab10ec374ea6.png||alt="12.PLC Protocol_html_58205bdf82c06d4.png" height="307" width="500"]] |
175 |
175 |
|
176 |
|
-== {{id name="HMicroLogix1200"/}}**MicroLogix 1200** == |
|
176 |
+== {{id name="HEtherNet2FIP28CompactLogixSeries29"/}}**EtherNet/IP(CompactLogix Series)** == |
177 |
177 |
|
178 |
|
-The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extension modules or other special conditions, refer to allen-Bradley PLC instruction manual. The following is an example of allen-bradley MicroLogix1200. |
|
178 |
+Allen-Brandly Compact Logix Free Tag |
179 |
179 |
|
180 |
|
-* **Bit address I:** The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal). |
181 |
|
-* **Bit address B:** The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal). |
182 |
|
-* **Word address S:** The word address ranges from 0 to 255 (decimal). |
183 |
|
-* **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal). |
|
180 |
+**HMI Settings** |
184 |
184 |
|
185 |
|
-**✎Note: **Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table. |
186 |
|
- |
187 |
|
-|**PLC bit address type**|**Address format**|**Address range** |
188 |
|
-|I|dd.dd|I 0.0 ~~ 255.15 |
189 |
|
-|O|dd.dd|O 0.0 ~~ 255.15 |
190 |
|
-|B|fff.dd|B 000.0 ~~ fff.15 |
191 |
|
-|S|dd.dd|S 0.0 ~~ 255.15 |
192 |
|
-|N|ffff.dd|N 000.0 ~~ fff.15 |
193 |
|
-|**PLC word address type**|**Address format**|**Address range** |
194 |
|
-|S|ddd|S0 ~~ 255 |
195 |
|
-|TS|ffff|TS0 ~~ FFFF |
196 |
|
-|TP|ffff|TP0 ~~ FFFF |
197 |
|
-|CS|ffff|CS0 ~~ FFFF |
198 |
|
-|CP|ffff|CP0 ~~ FFFF |
199 |
|
-|N|ffff|N0 ~~ FFFF |
200 |
|
-|F|ffff|F0 ~~ FFFF |
201 |
|
- |
202 |
|
-== **Ethernet/IP DF1** == |
203 |
|
- |
204 |
|
-Supported Series: Rockwell MicroLogix 1100, 1400, SLC5/05 Ethernet port. MicroLogix1000,1200,1500,SLC 5/03, 5/04 with 1761-NET-ENI |
205 |
|
- |
206 |
206 |
|**Items**|**Settings**|**Note** |
207 |
|
-|Protocol|Rockwell Ethernet/IP DF1| |
|
183 |
+|Protocol|EtherNet/IP(CompactLogix Series)| |
208 |
208 |
|Connection|Ethernet| |
209 |
209 |
|Port No.|44818| |
210 |
|
-|PLC station No.|1| |
211 |
211 |
|
212 |
|
-**Address List** |
|
187 |
+**PLC Setting** |
213 |
213 |
|
214 |
|
-|=**Type**|=**Device registers**|=**Format**|=**Range**|=Note |
215 |
|
-|(% rowspan="7" %)Bit|I1|I1ddd.dd|0.0~~255.15|Only able to communicate with file number I1 |
216 |
|
-|O0|O0ddd.dd|0.0~~255.15|Only able to communicate with file number O0 |
217 |
|
-|S2|S2ddd.dd|0.0~~255.15|Only able to communicate with file number S2 |
218 |
|
-|B3|B3ddd.dd|0.0~~255.15|Only able to communicate with file number B3 |
219 |
|
-|BN|BNddddd.dd|0.0~~99255.15|((( |
220 |
|
-Bit data file B0~~B99 |
|
189 |
+Create new tags |
221 |
221 |
|
222 |
|
-First two digits is for file number |
|
191 |
+{{id name="I12.PLCProtocol_html_a748a27dcf7f1124.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_75d3f4097ac67d8e.png||alt="12.PLC Protocol_html_a748a27dcf7f1124.png" height="411" width="700"]] |
223 |
223 |
|
224 |
|
-For example, BN13001.00 represents file number B13, address 001, the 0th bit. |
225 |
|
-))) |
226 |
|
-|N7|N7ddd.dd|0.0~~255.15|Only able to communicate with file number N7 |
227 |
|
-|NN|NNddddd.dd|0.0~~99255.15|((( |
228 |
|
-Integer data file bit format N0~~N99 |
|
193 |
+Export tags to CSV file. ([Tools] » [Export] » [Tags and Logic Comments]) |
229 |
229 |
|
230 |
|
-First two digits is for file number |
|
195 |
+{{id name="I12.PLCProtocol_html_151379170bb8ff3e.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_39bb299de26a0af0.png||alt="12.PLC Protocol_html_151379170bb8ff3e.png" height="352" width="700"]] |
231 |
231 |
|
232 |
|
-For example, NN13001.00 represents file number N13, address 001, the 0th bit. |
233 |
|
-))) |
234 |
|
-|(% rowspan="11" %)Word|S2|S2ddd|0~~255|Only able to communicate with file number S2 |
235 |
|
-|T4S|T4Sddd|0~~255|Only able to communicate with file number T4 (Timer Preset Value) |
236 |
|
-|T4P|T4Pddd|0~~255|Only able to communicate with file number T4 (Timer Accumulator Value) |
237 |
|
-|TNS|TNSddddd|0~~99255|((( |
238 |
|
-Timer Preset Value |
|
197 |
+Import labels, please open [Communication] window and click [Import label]; |
239 |
239 |
|
240 |
|
-First two digits is for file number |
|
199 |
+Select csv file, all tags will be displayed as belows; |
241 |
241 |
|
242 |
|
-For example, TNS99255 represents file number T99, address 255. |
243 |
|
-))) |
244 |
|
-|TNP|TNPddddd|0~~99255|((( |
245 |
|
-Timer Accumulator Value |
|
201 |
+{{id name="I12.PLCProtocol_html_af192e54dee96f38.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_4216defdc24cba39.png||alt="12.PLC Protocol_html_af192e54dee96f38.png" height="586" width="700"]] |
246 |
246 |
|
247 |
|
-First two digits is for file number |
|
203 |
+**✎Note:** |
248 |
248 |
|
249 |
|
-For example, TNP99255 represents file number T99, address 255. |
250 |
|
-))) |
251 |
|
-|C5S|C5Sddd|0~~255|Only able to communicate with file number C5 (Counter Preset Value) |
252 |
|
-|C5P|C5Pddd|0~~255|Only able to communicate with file number C5 (Counter Accumulator Value) |
253 |
|
-|CNS|CNSddddd|0~~99255|((( |
254 |
|
-Counter Preset Value |
|
205 |
+Because in different region, the separation symbol is different, we suggest you check this before you want to import your tags. To open csv file as text format. |
255 |
255 |
|
256 |
|
-First two digits is for file number |
|
207 |
+{{id name="I12.PLCProtocol_html_33df1d63ebe53726.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_24f4d658173f88a9.png||alt="12.PLC Protocol_html_33df1d63ebe53726.png" height="206" width="700"]] |
257 |
257 |
|
258 |
|
-For example, CNS99255 represents file number C99, address 255. |
259 |
|
-))) |
260 |
|
-|CNP|CNPddddd|0~~99255|((( |
261 |
|
-Counter Accumulator Value |
|
209 |
+The directory of changing system settings: [Control Panel] -> [Date, Time, Language,and Regional Options] -> [Change the format of numbers, dates, and times]->[Customize]-> [List separator]. Please select [,] and export CSV file after setting. |
262 |
262 |
|
263 |
|
-First two digits is for file number |
|
211 |
+**Communication settings in HMI** |
264 |
264 |
|
265 |
|
-For example, CNP99255 represents file number C99, address 255. |
266 |
|
-))) |
267 |
|
-|N7|N7ddd|0~~255|Only able to communicate with file number N7 |
268 |
|
-|NN|NNddd|0~~99255|((( |
269 |
|
-Integer data file |
|
213 |
+Enable HMI Ethernet in [Project Settings]; |
270 |
270 |
|
271 |
|
-First two digits is for file number |
|
215 |
+{{id name="I12.PLCProtocol_html_43b671f18153910d.png-5"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_a98ee09dac36eba3.png||alt="12.PLC Protocol_html_43b671f18153910d.png" height="106" width="400"]] |
272 |
272 |
|
273 |
|
-For example, NN99255 represents file number N99, address 255. |
274 |
|
-))) |
275 |
|
-|(% rowspan="3" %)Double Word|F8|F8ddd|0~~255|Only able to communicate with file number F8 |
276 |
|
-|FN|FNddddd|0~~99255|((( |
277 |
|
-Floating point data file |
|
217 |
+Set PLC IP in [Device IP] settings; |
278 |
278 |
|
279 |
|
-First two digits is for file number |
|
219 |
+{{id name="I12.PLCProtocol_html_27870d373581892e.png"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_10385ddd81c8baff.png||alt="12.PLC Protocol_html_27870d373581892e.png" height="206" width="600"]] |
280 |
280 |
|
281 |
|
-For example, FN99255 represents file number F99, address 255. |
282 |
|
-))) |
283 |
|
-|LN|LNddddd|0~~99255|Long |
284 |
|
- |
285 |
|
-**PLC Setting:** |
286 |
|
- |
287 |
|
-1.Open the RSLinx Classic Lite software and click [Configure Drivers...] in [Communications].[[image:1.png]] |
288 |
|
- |
289 |
|
-2.Click the drop-down menu and select EtherNet/IP driver[[image:2.png]] |
290 |
|
- |
291 |
|
-3.Click Add New and a pop-up window will pop up. Name the driver and click [OK] in the pop-up window.[[image:3.png]] |
292 |
|
- |
293 |
|
-4.The configuration driver window pops up., click on the correct network adapter option (such as the ASIX USB to Fast Ethernet Family Adapter option in this picture), and click OK |
294 |
|
- |
295 |
|
-[[image:4.png]] |
296 |
|
- |
297 |
|
-5.Click the [Close] button.[[image:5.png]] |
298 |
|
- |
299 |
|
-6.Click the [RSWho] button.[[image:6.png]] |
300 |
|
- |
301 |
|
-7.Pop up the RS Who window, indicating that the driver has been added successfully.[[image:7.png]] |
302 |
|
- |
303 |
|
-8.Open the RSLogix 500Pro software and select [System Comms...] in the [Comms] option.[[image:8.jpg]] |
304 |
|
- |
305 |
|
-9.Select the driver you have created. All device nodes in the same LAN as the computer will be scanned. Select the PLC to be connected and click [OK]. |
306 |
|
- |
307 |
|
-[[image:9.png]] |
308 |
|
- |
309 |
|
-10.Click Comms [Go Online].[[image:10.png]] |
310 |
|
- |
311 |
|
-11.Click [YES] in the pop-up window.[[image:11.png]] |
312 |
|
- |
313 |
|
-12.Enter online mode.[[image:14.jpg]] |
314 |
|
- |
315 |
315 |
**Cable Wiring** |
316 |
316 |
|
317 |
|
-(% style="text-align:center" %) |
318 |
|
-[[image:Ethernet.png]] |
|
223 |
+{{id name="I12.PLCProtocol_html_2297240b57346b2a.png-3"/}}[[image:xwiki_PIStudio_12.PLC+protocols_WebHome_ac8ece9a26719fda.png||alt="12.PLC Protocol_html_2297240b57346b2a.png" height="170" width="400"]] |
319 |
319 |
|
|
225 |
+== {{id name="HMicroLogix1200"/}}**MicroLogix 1200** == |
320 |
320 |
|
321 |
|
-== **EtherNet/IP(CompactLogix Series)** == |
|
227 |
+The operational address is determined by the connection of Allen-Bradley PLC to HMI. For extension modules or other special conditions, refer to allen-Bradley PLC instruction manual. The following is an example of allen-bradley MicroLogix1200. |
322 |
322 |
|
323 |
|
-Supported Series: Rockwell CompactLogix Series Ethernet |
|
229 |
+* **Bit address I:** The address ranges from 0.0 to 255.15. The value of the data before the decimal point ranges from 0 to 255 (decimal). The value from 0 to 15 after the decimal point is the sub address (decimal). |
|
230 |
+* **Bit address B:** The address ranges from 000.0 to fff.15. The first f from left to right represents the block number (hexadecimal); The second and third f from left to right represent the word address (hexadecimal). The value 0 to 15 after the decimal point reprensents the sub address (decimal). |
|
231 |
+* **Word address S:** The word address ranges from 0 to 255 (decimal). |
|
232 |
+* **Word address TS:** The address ranges from 000.0 to ffff. The first and second f from left to right represents the block number (hexadecimal); The third and fourth f from left to right represent the word address (hexadecimal). |
324 |
324 |
|
325 |
|
-|**Items**|**Settings**|**Note** |
326 |
|
-|Protocol|Rockwell EtherNet/IP (CompactLogix Series)| |
327 |
|
-|Connection|Ethernet| |
328 |
|
-|Port No.|44818| |
329 |
|
-|PLC station No.|1| |
|
234 |
+**✎Note: **Register address TP, CS, CP, N, F and TS address edit are same. D indicates decimal, and F indicates hexadecimal. Different PLC models may support different registers. See the following table. |
330 |
330 |
|
331 |
|
-**Support Variable Type** |
332 |
|
- |
333 |
|
-|PLC data type|Bit/Word|PIStudio data format|Memo |
334 |
|
-|BOOL|Boolean|Bit object| |
335 |
|
-|BitArray| | | |
336 |
|
-|SINT| | |-128-127 |
337 |
|
-|USINT| | |0~~255 |
338 |
|
-|INT|Integer|16-bit signed, ASCll|-32768~~32767 |
339 |
|
-|UINT| | |0~~65535 |
340 |
|
-|DINT|Double integer|32-bit signed|-2^31~~(2^31-1) |
341 |
|
-|UDINT| | |0~~4294967295 |
342 |
|
-|REAL|Single Precision Float|32-bit floating| |
343 |
|
-|LINT|Long integer|64-bit signed| |
344 |
|
-|ULINT|Long integer|64-bit unsigned| |
345 |
|
-|LREAL|Double Precision Float|64-bit double| |
346 |
|
-|STRING| | |Enable Read DWord |
347 |
|
- |
348 |
|
-**PLC Setting:** |
349 |
|
- |
350 |
|
-1.Open the RSLinx Classic Lite software and click [Configure Drivers...] in [Communications]. |
351 |
|
- |
352 |
|
-[[image:1726907484077-900.png]] |
353 |
|
- |
354 |
|
-2.Click the drop-down menu and select EtherNet/IP driver |
355 |
|
- |
356 |
|
-[[image:1726907484081-522.png]] |
357 |
|
- |
358 |
|
-3.Click Add New and a pop-up window will pop up. Name the driver and click [OK] in the pop-up window. |
359 |
|
- |
360 |
|
-[[image:1726907484084-295.png]] |
361 |
|
- |
362 |
|
-4.The configuration driver window pops up., click on the correct network adapter option (such as the ASIX USB to Fast Ethernet Family Adapter option in this picture), and click [OK]. |
363 |
|
- |
364 |
|
-[[image:1726907484085-985.png]] |
365 |
|
- |
366 |
|
-5.Click the [Close] button |
367 |
|
- |
368 |
|
-[[image:1726907484087-419.png]] |
369 |
|
- |
370 |
|
-6.Open Stuido5000 and create a new project or open an existing project. |
371 |
|
- |
372 |
|
-To create a new project: click [New Project]. |
373 |
|
- |
374 |
|
-(% style="text-align:center" %) |
375 |
|
-[[image:1726907578613-886.png]] |
376 |
|
- |
377 |
|
-7.Click the [1769-L16ER-BB1B]→ Edit Project Name → Select the file storage location → [Next] |
378 |
|
- |
379 |
|
-(% style="text-align:center" %) |
380 |
|
-[[image:1726907578645-890.png]] |
381 |
|
- |
382 |
|
-8. Select the software version →Select [Expansion I/O] number→ Security Authority → Click [Finish]. |
383 |
|
- |
384 |
|
-The software version must be the same as the PLC firmware version, and the Security Authority protection should be selected according to personal needs. |
385 |
|
- |
386 |
|
-(% style="text-align:center" %) |
387 |
|
-[[image:1726907578647-323.png]] |
388 |
|
- |
389 |
|
-**~ Create a new tag** |
390 |
|
- |
391 |
|
-1.Click the drop-down menu on the left of [Controller ABcs]→ Right-click [Controller Tags] → Click [New tag]. |
392 |
|
- |
393 |
|
-[[image:1726907578648-590.png]] |
394 |
|
- |
395 |
|
-2.Input tag name → Select tag type → Create |
396 |
|
- |
397 |
|
-(% style="text-align:center" %) |
398 |
|
-[[image:1726907578652-543.png]] |
399 |
|
- |
400 |
|
-Establishing communication |
401 |
|
- |
402 |
|
-1.Click [Communications]→Click[Who Active]. |
403 |
|
- |
404 |
|
-(% style="text-align:center" %) |
405 |
|
-[[image:6.jpg]] |
406 |
|
- |
407 |
|
-2.Select the drive → Select the corresponding PLC →Click [Go Online]. |
408 |
|
- |
409 |
|
-The driver is a new created driver from step 1.2 |
410 |
|
- |
411 |
|
-(% style="text-align:center" %) |
412 |
|
-[[image:1726908219964-183.png]] |
413 |
|
- |
414 |
|
-3.Click [Download] |
415 |
|
- |
416 |
|
-(% style="text-align:center" %) |
417 |
|
-[[image:1726908219966-477.png]] |
418 |
|
- |
419 |
|
-4.Click [Download]→ [YES]. |
420 |
|
- |
421 |
|
-(% style="text-align:center" %) |
422 |
|
-[[image:1726908219968-250.png]] |
423 |
|
- |
424 |
|
- |
425 |
|
-(% style="text-align:center" %) |
426 |
|
-[[image:1726908219970-794.png]] |
427 |
|
- |
428 |
|
- |
429 |
|
-**Export Tags** |
430 |
|
- |
431 |
|
-1.Click the drop-down menu on the left of [Controller ABcs]→Right-click [Controller Tags]→ Click [Export Tags]. |
432 |
|
- |
433 |
|
-(% style="text-align:center" %) |
434 |
|
-[[image:11.jpg]] |
435 |
|
- |
436 |
|
-2.Edit the tag file name → Select the file storage location → [Export]. |
437 |
|
- |
438 |
|
-(% style="text-align:center" %) |
439 |
|
-[[image:1726908448582-442.png]] |
440 |
|
- |
441 |
|
- **HMI Setting:** |
442 |
|
- |
443 |
|
- |
444 |
|
-**~ New project** |
445 |
|
- |
446 |
|
-1.[Home]→[New]→[New project]→Set the name,series and model of HMI→[Next]→[Screen style] →[OK]. |
447 |
|
- |
448 |
|
-[[image:1727161664493-505.png]] |
449 |
|
- |
450 |
|
-**Communication configuration** |
451 |
|
- |
452 |
|
-1.[Project]→[Communication]→[Setting] |
453 |
|
- |
454 |
|
-[[image:1726909065716-860.png]] |
455 |
|
- |
456 |
|
-2.Choose protocol: |
457 |
|
- |
458 |
|
- Device type [Rockwell]→[Rockwell EtherNet/IP(CompactLogix Series)]→[OK] |
459 |
|
- |
460 |
|
-(% style="text-align:center" %) |
461 |
|
-[[image:1726909065723-657.png]] |
462 |
|
- |
463 |
|
-3.[Setting]→[PLC IP Address]→[OK]→[Labels manage]. |
464 |
|
- |
465 |
|
-(% style="text-align:center" %) |
466 |
|
-[[image:1726909065724-657.png]] |
467 |
|
- |
468 |
|
-4.Tags import: |
469 |
|
- |
470 |
|
-[Import Tags From File]→Choose the .CSV file→[Open]→[Save]→[OK] |
471 |
|
- |
472 |
|
-(% style="text-align:center" %) |
473 |
|
-[[image:1726909065726-124.png]] |
474 |
|
- |
475 |
|
-= Rockwell Micro850 Series = |
476 |
|
- |
477 |
|
-1.Open Connected Components Workbench and create a new project or open an existing project. |
478 |
|
- |
479 |
|
-To create a new project: click [New Project]→Edit project name→Click [Browse]select project storage location→Click [Create]. |
480 |
|
- |
481 |
|
-[[image:1730714903819-264.png]] |
482 |
|
- |
483 |
|
- |
484 |
|
-2.Click the [Controllers]→ [Micro850] → Select device model → [Add To Project]. |
485 |
|
- |
486 |
|
-[[image:1730714903824-934.png]] |
487 |
|
- |
488 |
|
- |
489 |
|
-3. Double click [Global Variables]→Right click on a blank space in the table→ Click [Add Variable]. |
490 |
|
- |
491 |
|
-[[image:1730714903826-298.png]] |
492 |
|
- |
493 |
|
- |
494 |
|
-4.Right click[Micro850]→ Click [Properties]. |
495 |
|
- |
496 |
|
-[[image:1730714903828-952.png]] |
497 |
|
- |
498 |
|
-5.Select Controller → Ethernet →Configure the IP address of the PLC. |
499 |
|
- |
500 |
|
-[[image:1730714903830-866.png]] |
501 |
|
- |
502 |
|
- |
503 |
|
-6.Click [Download]→Choose your device→Click[OK]. |
504 |
|
- |
505 |
|
-[[image:1730714903835-960.png]] |
506 |
|
- |
507 |
|
- |
508 |
|
-7.Click[Download]. |
509 |
|
- |
510 |
|
-[[image:1730714903837-636.png]] |
511 |
|
- |
512 |
|
-8. Right click [Micro850]→Click [Export]→Click [Variables]. |
513 |
|
- |
514 |
|
-[[image:1730714903838-538.png]] |
515 |
|
- |
516 |
|
-9.Edit the tag file name → Select the file storage location → [Export]. |
517 |
|
- |
518 |
|
-[[image:1730714903840-999.png]] |
|
236 |
+|**PLC bit address type**|**Address format**|**Address range** |
|
237 |
+|I|dd.dd|I 0.0 ~~ 255.15 |
|
238 |
+|O|dd.dd|O 0.0 ~~ 255.15 |
|
239 |
+|B|fff.dd|B 000.0 ~~ fff.15 |
|
240 |
+|S|dd.dd|S 0.0 ~~ 255.15 |
|
241 |
+|N|ffff.dd|N 000.0 ~~ fff.15 |
|
242 |
+|**PLC word address type**|**Address format**|**Address range** |
|
243 |
+|S|ddd|S0 ~~ 255 |
|
244 |
+|TS|ffff|TS0 ~~ FFFF |
|
245 |
+|TP|ffff|TP0 ~~ FFFF |
|
246 |
+|CS|ffff|CS0 ~~ FFFF |
|
247 |
+|CP|ffff|CP0 ~~ FFFF |
|
248 |
+|N|ffff|N0 ~~ FFFF |
|
249 |
+|F|ffff|F0 ~~ FFFF |