Summary
Keywords
Full Transcript
Master 7 advanced Productivity 1000 PLC data instructions! Stop struggling with lookup tables, pack/unpack bits, shift rotate, & sign magnitude operations. Data handling instructions are used to move and manipulate memory in the programmable logic controller. The Productivity 1000 Series PLC offers fifteen data handling instructions for a wide variety of applications. In this second part, we will be looking at the following instructions: Lookup Table (LKUP) - Find a value within an XY Table by looking at the intercept of a referenced X Axis value and Y-Axis value. Pack Bits (PKB) - Convert up to 32 Boolean Tag Bits or Constant Bits into an Output Integer Tag. Pack Word (PKW) - Convert up to four 8-bit tags or two 16-bit tags, or four Constants into a 16 or 32-bit Destination Tag. Shift / Rotate Bits (SFR) - Shift or Rotate Bits of a Tag or Constant value. Sign Magnitude (SMAG) - Convert Sign Plus Magnitude data type values to 2's Complement or convert 2's Complement data type values to Sign Plus Magnitude. UnPack Bits (UPKB) - Convert up to a 32 Bit Integer Tag or Constant into Boolean Tags. UnPack Word (UPKW) - Convert one 32-bit or 16-bit source tag into four 8-bit tags or two 16-bit tags. A review of data handling instructions, part 1, is provided below, along with a link to the video. Let's get started with the Productivity 1000 Series PLC data handling instructions, part 2. ๐ FULL WRITTEN TUTORIAL + DOWNLOADS https://accautomation.ca/productivity-1000-series-plc-data-handling-instructions-part-2 โฑ๏ธ TIMESTAMPS 0:00 - Introduction - Data Handling Instructions Part 2 0:37 - Lookup Table Instruction Setup 1:43 - Testing Lookup Table with Live PLC 3:20 - Pack Bits Instruction 4:55 - Pack Word Instruction 6:47 - Shift and Rotate Bits 8:34 - Sign Magnitude Instruction 10:03 - Unpack Bits Function 11:16 - Unpack Word Instruction 13:00 - Wrap Up and Resources ๐ WHAT YOU'LL LEARN โ Configure lookup tables for motor curves and special functions using X/Y coordinates โ Pack and unpack individual bits into words for efficient data handling โ Use shift and rotate operations for bit manipulation and data processing โ Convert between sign magnitude and two's complement number formats โ Separate packed words into individual 8-bit or 16-bit destinations ๐ MORE RESOURCES โถ Series: https://accautomation.ca/series/productivity-plc/ โถ PLC Beginners Guide: https://accautomation.ca/programming/plc-beginners-guide/ โถ Free eBooks: https://accautomation.ca (subscribe for download) ๐ RECOMMENDED HARDWARE โถ Training Kits: https://accautomation.ca/series/productivity-plc/ ๐ฌ Questions? Drop a comment below. ๐ New tutorials every Monday โ Subscribe and hit the bell! #PLC #HMI #IndustrialAutomation #LadderLogic #AutomationDirect #PLCProgramming #ACCAutomation Data Handling Instructions Part 1 http://accautomation.ca/productivity-1000-series-plc-data-handling-instructions-part-1 Data Handling Instructions Part 1 Video https://youtu.be/ARK8F2q-kJU There are several reasons why we are using the Productivity 1000 Series Controller. Here are just a few. - 50MB user memory - Can handle very complex applications easily. - 4 built-in communication ports โ Easy connectivity to your network. - Data logging up to 32 GB on a microSD card - Add up to 8 IP modules to communicate to your field sensors. This will give you a total of 128 discrete IO points or 32 analog IO channels. - Free Software and 30 days of free training with every CPU from Automation Direct. - Interactive PLC Configuration Tool - Tag Names - Auto discovery IO โ Physical I/O tags will be generated based on each module's position in the base. - I/O Modules have QR codes under the wiring cover. This can be scanned to provide the latest specifications / wiring diagrams for the module. - Limitless PID โ Auto tuning โ Individual or Cascade Mode - etc - Web Server and Mobile Access - Advanced Software instruction set The Productivity 1000 series of programmable logic controllers currently includes all of these features in the P1-540 CPU. This CPU (Central Processing Unit) is also known as MPU (Multi-Processing Units) because of its communication capabilities. http://www.accautomation.ca
