Summary
Keywords
Full Transcript
An array is a storage area for common data type tags. They usually have some relationship with each other and must be manipulated as a group. We can use arrays for motion control, recipe management, sequencing (indirect addressing), math, etc. The Productivity 2000 Series PLC uses arrays programmed using the Productivity Suite Software. Previously, we defined an array and used this in an indirect addressing program. It indirectly sequenced bits on an output card. We then looked at the following instructions: Array Statistics (STA), Copy Array (CPA), Fill Array (FLA), and Shift / Rotate Array (SRA). We will now look at the final four array instructions: Pack Boolean Array (PBA) – Pack an Array of Boolean tags into a destination Word Array Pack Word Array (PWA) – Convert one 8-bit or 16-bit Array into a 16 or 32-bit Destination Array tag. UnPack Boolean Array (UPBA) – Unpack an Array of Word tags into a destination Boolean Array. UnPack Word Array (UPWA) – Convert one 32 or 16-bit array source tag into four eight or 16-bit array tags. Let's start with our final look at our Productivity 2000 Series PLC arrays. Detailed information can be found on our website. The post for this video is located here: https://accautomation.ca/productivity-2000-plc-array-functions-part-3/ 00:00 Productivity 2000 PLC Array Functions Part 3 02:04 Creating our Productivity Database Arrays 03:04 Pack Boolean Array (PBA) 04:14 Pack Word Array (PWA) 05:17 UnPack Boolean Array (UPBA) 06:08 UnPack Word Array (UPWA) The Productivity 2000 Series PLC is located here: https://accautomation.ca/series/productivity-2000-series-plc-p2000/ Previously in this Productivity 2000 series PLC, we have discussed the following: Productivity Suite Programming Software Install https://accautomation.ca/productivity-2000-series-plc-software-install/ https://youtu.be/4MTOIrWA1L8 Productivity 2000 Series PLC Communication https://accautomation.ca/productivity-2000-series-plc-communication/ https://youtu.be/UoHoMwk-zi0 First Program https://accautomation.ca/productivity-2000-series-plc-first-program/ https://youtu.be/RLwPofIkIxA PLC Debug Mode https://accautomation.ca/productivity-2000-series-plc-debug-mode/ https://youtu.be/cHtrMaQIS-c PLC Program Documentation https://accautomation.ca/productivity-2000-series-plc-program-documentation/ https://youtu.be/OiZKZnjyMew PLC CPU Display https://accautomation.ca/productivity-2000-series-plc-cpu-display/ https://youtu.be/OWEK2p7NbuE PLC Online Programming https://accautomation.ca/productivity-2000-series-plc-online-programming/ https://youtu.be/vHQDFvU6Z0M PLC Tag Database https://accautomation.ca/productivity-2000-series-plc-tag-database/ https://youtu.be/rontLQnSSsE P2000 PLC Data Handling Part 1 https://accautomation.ca/productivity-2000-plc-data-handling-part-1/ https://youtu.be/jo0ciPGpZqQ P2000 Data Handling Part 2 https://accautomation.ca/productivity-2000-plc-data-handling-part-2/ https://youtu.be/aayu2kXWZuk P2000 PLC Array Functions Part 1 https://accautomation.ca/productivity-2000-plc-array-functions-part-1/ https://youtu.be/gLYIiJAYsBs P2000 PLC Array Functions Part 2 https://accautomation.ca/productivity-2000-plc-array-functions-part-2/ https://youtu.be/4u3T90qzDyA There are several reasons why we are using the Productivity 2000 Series Controller. Here are just a few. - CPU with 5 communication ports - 50MB user memory - Can handle very complex applications quickly. - Limitless PID – Autotuning – Individual or Cascade Mode - etc - OLED message display on the CPU module - Plenty of discrete and analog I/O modules - Status displays on all discrete I/O modules - I/O Modules have QR codes. This can be scanned to have the module's latest specifications/wiring diagrams. - OLED data display on analog modules - P2-RS remote I/O expansion module, or use the Productivity1000 P1-RX remote expansion module to add even lower-cost remote I/O to your system - FREE full-featured Productivity Suite software - Programming with several ports - USB, Ethernet, Serial - Hardware auto-discovery - Hot-swappable I/O - Remove cards with power on the system - Choose from three wiring options - Slim DIN rail density form factor: - hardware - power supply, CPU, and seven modules in only 10-1/2 inches - All project files (program, tag name database, and all the program documentation) in the CPU - Run-time editing and debug mode on CPU - Easy data logging with micro SD on CPU - Secure Web server to access data files and system tags - Easy drive and motion controller integration - Coordinate motion control with PS-AMC allows management of up to 16 axes and synchronization of up to 4 axes - Two-Year Warranty The Productivity 2000 series of programmable logic controllers currently has all these features built into the P2-550 CPU. This CPU (Central Processing Unit) is also known as PAC (Programmable Automation Controller) because of its communication capabilities. ACC Automation https://www.accautomation.ca
