Summary
Keywords
Full Transcript
Master Modbus ASCII communication between Productivity 1000 PLC and Solo temperature controller. Stop struggling with serial protocols - finally understand LRC! Modbus is a communication protocol used to transmit information over serial lines between electronic devices. The device requesting the information is called the Modbus Master (Client), and the devices supplying information are Modbus Slaves (Servers). This protocol was originally developed by Modicon Systems. Modbus protocol comes in basically three different types. Ethernet (Modbus TCP) or Serial (Modbus RTU or Modbus ASCII). Modbus TCP and Modbus RTU come as standard protocols in the productivity series of PLCs. We will connect the Productivity 1000 PLC to a Solo process temperature controller. This will be done using the Modbus ASCII protocol over a serial RS485 communication wire. (Media) The present and set values (PV / SV) will be read from the Solo controller, and the set value will be written when required. Let's get started. 📖 FULL WRITTEN TUTORIAL + DOWNLOADS https://accautomation.ca/productivity-1000-series-plc-modbus-ascii-protocol ⏱️ TIMESTAMPS 0:00 - Introduction to Modbus ASCII Protocol 0:35 - Three Types of Modbus Protocol 1:25 - Hardware Setup and Wiring 2:19 - Solo Temperature Controller Configuration 3:40 - PLC Hardware Configuration Setup 5:14 - ASCII Output Command Structure 7:02 - ASCII Input and Data Reception 9:40 - Unpacking Received Data Values 12:01 - Writing Set Value to Controller 14:15 - LRC Calculation Process 16:25 - String Packing for Write Command 📚 WHAT YOU'LL LEARN ✅ Configure Productivity 1000 PLC for Modbus ASCII communication over RS-485 ✅ Calculate LRC (Longitudinal Redundancy Check) for data integrity ✅ Read present value and set value from Solo temperature controller ✅ Write new set values to remote devices using proper ASCII protocol formatting 🔗 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 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 with 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 so you can have the latest specifications/wiring diagrams for the module. - Limitless PID – Autotuning – 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 an MPU (Multi-Processing Unit) due to its communication capabilities. Regards, Garry ACC Automation https://www.accautomation.ca
