Productivity 2000 PLC Array Functions Part 3

12K views Apr 17, 2023

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 sequenced bits in an output card indirectly. 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/

#Computer Components
  # Computer Drives & Storage
  # Computer Hardware
  # Data Sheets & Electronics Reference
  # Electronics & Electrical
  # Factory Automation
  # Internet & Telecom