Tag Archives: programmable logic controller training free

Modbus RTU TCP Remote IO Controller BX-MBIO

We will be looking at the Modbus remote IO BX-MBIO-M controller. This is the Do-More Modbus Remote I/O supported protocol unit. We will discuss the hardware and then connect and configure the unit to work with our existing BRX Do-more PLC. Let’s get started.

The BX-MBIO Modules are remote I/O controller modules that provide a remote input and output (I/O) using the Modbus protocol for communications. They provide both Modbus RTU and Modbus TCP interface. Modbus RTU is a serial communication and Modbus TCP is an Ethernet communication. They function as listening/replying devices (slave, server) and can connect with any mastering (master, client) device that communicates using the Modbus protocol.
Modbus RTU is supported over an RS-485 serial connection. Modbus TCP is supported over an Ethernet connection. Any Modbus RTU master and Modbus TCP client that adheres to the Modbus.Org standards, and support the function codes listed can communicate with the BX-MBIO.
The 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
Modbus RTU TCP Remote IO Controller BX-MBIO

Continue Reading!

BRX Do-More PLC to Stride Field IO Modbus TCP

We will now look at the BRX Do-More PLC Modbus TCP remote io using Stride Field io. The BRX Do-More PLC can use remote inputs and outputs from Stride. The Stride Field I/O Modules are simple and compact. They provide an economical means to connect inputs and outputs to an Ethernet Modbus TCP communication network. Every module operates as a standalone Modbus TCP server and can be configured via a built-in web server.
Previously we looked at the Stride Field Remote IO Modules Modbus TCP Ethernet wiring and configuration.
Stride Field Remote IO Modules Modbus TCP Ethernet
Unboxing SIO MB12CDR and SIO MB04ADS Video
Powering and Configuring Video
We will be connecting two Stride remote inputs and outputs to the BRX Do-More PLC. Modbus TCP will be the protocol over Ethernet to communicate to the SIO-MB12CDR and SIO-MB04ADS units.
BRX Do-More PLC Modbus Remote IO
– STRIDE discrete combo module, Input: 8-point, 12-24 VDC, sinking, Output: 4-point, relay, (4) Form C (SPDT) relays, 2A/point, (1) Ethernet (RJ45) port(s), Modbus TCP server.
– STRIDE analog input module, 4-channel, current/voltage, 16-bit, isolated, input current signal range(s) of +/- 20 mA, input voltage signal range(s) of +/- 10 VDC, (1) Ethernet (RJ45) port(s), Modbus TCP server.
We will be reading an analog voltage into the BRX Do-More PLC from the remote IO unit. We will then set an output to pulse on and off at a time range indicated by this analog signal. The output will be on the other remote IO unit and will trigger the input to signal. We will look at the Frequency, Count, and Status of this input. Our BRX Do-More PLC program will also take into consideration watchdog (communication time out) and power-up events for the Stride remote input and output units.
Let’s get started. Continue Reading!

BRX Do-More Simulator MQTT Publish Subscribe

MQTT stands for Message Queuing Telemetry Transport. It is a simple publish and subscribe communication protocol that does not take too many resources.
Constrained devices with low bandwidth are ideal for MQTT. This protocol provides machine to machine (M2M) connectivity which is ideal for the Internet of Things (IoT) or Industrial Internet of Things. (IIoT)
BRX Do-More Simulator MQTT Publish Subscribe
We will be using a free on-line public MQTT broker from HiveMQ. Messages will be published and subscribed to by two clients. The first will be an MQTT Browser Client by HiveMQ. The Do-More Designer Simulator PLC will be the second MQTT Client. Information in the form of bits and words will be published and sent to both clients. Let’s get started. Continue Reading!

BRX (Do-More) PLC PID Ramp Soak Profile

The purpose of a ramp soak profile is to make gradual, controlled changes in temperature (Ramp), followed by a temperature hold (Soak) period.
We will be using our Do-More Proportional-Integral-Derivative PID Instruction with PWM output that we looked at last time to apply the ramp/soak profile. This will be done on the BRX Do-More PLC.
Using the immersion heater in a cup of water to keep the temperature at a constant value, we will be adjusting the profile of the temperature as we increase the setpoint (Ramp) and hold that set point for a predetermined time. (Soak) We will then decrease that temperature back to the original setting. (Ramp)
BRX (Do-More) PLC PID Ramp Soak Profile
We will be modifying our existing program from our PID with PWM Output post. Let’s get started. Continue Reading!

BRX (Do-More) PLC PID with PWM Output

A Proportional-Integral-Derivative algorithm is a generic Control Loop feedback formula widely used in industrial control systems. A PID algorithm attempts to correct the error between a measured process variable and the desired setpoint by calculating and then outputting a corrective action that can adjust the process accordingly and rapidly, to keep the Error to a minimum.
BRX (Do-More) PLC PID with PWM Output
Here are some references on PID control:
PID without a Ph.D. By Tim Wescott
Understanding PID in 4 minutes
PID Control – A brief introduction
PID Controllers Explained
Who Else Wants to Learn about On-Off and PID Control?
We will be using an immersion heater in a cup of water to keep the temperature at a constant value. Using the Do-More Designer software we will perform an autotune on our PID instruction.
Our immersion heater will be controlled through a relay using time proportional control from our PID output. Let’s get started! Continue Reading!