We will now look at the click plc modbus ascii protocol. This communication will happen in PLC ladder logic and communicate through the serial port (RS485) to a Solo process temperature controller. Modbus ASCII will be the communication protocol.
Modbus is a communication method used for transmitting 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 Click PLC to a Solo process temperature controller. This will be done using the Modbus ASCII protocol over 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. Keep on Reading!
We will now look at the P1AM Arduino expansion analog modules. This analog expansion is part of the P1000 cards that the P1AM Arduino can use as it’s inputs and outputs. The productivity open P1AM I/O interface chip-set supports the full suite of Productivity 1000 I/O expansion modules. These modules are industry approved and proven in the industrial environment. Modern industrial signal levels for digital and analog inputs and outputs are used.
P1000 modules available to you include the following:
• High-speed Input
We will be wiring and programming our P1-4ADL2DAL-1 combination analog input and output module that came with the P1AM-START1 ProductivityOpen starter kit with Ethernet. Let’s get started. Continue Reading!
We will now look at the capacitive pushbutton sensor switch and indicator.
Normal pushbuttons on a panel are usually a mechanical device. They can become “sticky” when too much dirt or oil is present. Capacitive push buttons do not have moving parts to stick, so the life expectancy is increased. Disinfectant sprays can be applied directly to a capacitive pushbutton and left to dry so it can be more effective for the safety of your operators.
Captron pushbutton sensor switches use capacitive sensing to detect when a hand or body part nears the device surface; built-in or stand-alone indicators provide multi-color signaling options. The robust IP69K design provides wear-free operation, plus resistance to water, oil, and harsh environments. These PNP NO DC-operated devices are available in 22mm, 50mm, and 60mm mounting diameters. Construction materials include plastic and stainless steel, aluminum, or polycarbonate. The corresponding 22mm LED signal indicator lights are also IP69K rated and have a 20mm diameter illuminated area; green, red, yellow, white, orange, and magenta signal colors are available.
We will be wiring a 22mm captron pushbutton to a click plc. Upon activating the sensor for half a second output on the click plc will turn on. The green LED on the captron will turn solid green. When the sensor is selected again, the output will turn off. The Green LED will then blink indicating that the output is off.
Let’s get started! Continue Reading!
Time instructions in our productivity blocks programming (Arduino sketches) consist of runtime (ms), runtime (us), delay ms, and delay microseconds us.
We will be looking at each of these instructions that are available for our program using productivity blocks. Delay instructions in our sketches should be used with caution. They will pause our program for the delayed time, not allowing other parts of the program to function. We will be looking at this and the method to do the exact same delay functions without pausing your program.
A sample program will be discussed to demonstrate the time functions in our program. Let’s get started. Continue Reading!
We will now look at the productivity 1000 plc modbus tcp rtu communication to the BX-MBIO controller.
The Productivity 1000 PLC can communicate to a remote I/O (input and output) controller modules using the Modbus protocol for communications. The BX-MBIO provides both Modbus RTU and Modbus TCP interfaces. Modbus RTU is a serial communication and Modbus TCP is an Ethernet communication. Modbus RTU is supported over an RS-485 serial connection. Modbus TCP is supported over an Ethernet connection. They function as listening/replying devices (slave, server) and can connect with any mastering (master, client) device that communicates using the Modbus protocol.
Previously we looked at the BX-MBIO Modbus RTU TCP Remote IO Controller wiring and configuration.
Modbus RTU TCP Remote IO Controller BX-MBIO
– BX-MBIO Hardware Video
– BX-MBIO Powering and Configuring Video
We will connect the Productivity 1000 PLC to the Modbus remote IO. This will be done using the Modbus TCP and Modbus RTU protocol. Ethernet and serial RS485 communication to the BX-MBIO unit will be the media.
The BX-MBIO remote I/O expansion units feature the following:
• RJ45 Ethernet port for communications via Modbus TCP
• RS485 serial port for communications via Modbus RTU
• Supports up to 8 additional Expansion Modules (Add the discrete or analog I/O you require)
• AC and DC powered units available
• AC powered units include an integral 24VDC auxiliary output power supply
• Power connector and serial port connector included
Let’s get started. Keep on Reading!