Math instructions are used to perform mathematical calculations. The BRX Do-More PLC has math instructions that can be used in a wide variety of applications. We will be looking at the INC increment, DEC decrement, LERP linear Interpolation, RANDSEED Random Number Seed, and the MATH Calculated Expression instructions. The automation system that you implement may involve some or all of these instructions. As a system integrator, you will require the use of these instructions in your commissioned programs.
Let’s get started with the BRX Do-More PLC Math Instructions. Continue Reading!
Compare instruction is often used in PLC programs to test pairs of values. The output of this comparison conditions the logical continuity of a rung. The BRX Do-More series of programmable logic controllers have the following compare contact instructions.
= (if Equal contact)
<> (if Not Equal contact)
> (if Greater Than contact)
>= (if Greater Than or Equal contact)
< (if Less Than contact)
<= (if Less Than or Equal contact)
Besides this instruction, the BRX Do-More PLC will also have to compare instructions for the built-in real-time clock of the system. We will be looking at these instructions along with some programming examples. As a system integrator, this ability can prove very useful to you in the field when commissioning your automation system.
Let’s get started with the BRX Do-More PLC Compare Instructions. Continue Reading!
We will apply the five steps to a PLC example program development of a sorting station. The program will use shift registers to track coloured parts down a conveyor and sort depending on colour into one of three locations.
Recently I was asked to demonstrate communication between a BRX PLC and Click PLC using Modbus RTU. Both PLCs are available from automation direct com. Modbus serial communication (Modbus RTU) is a standard protocol used in many automation devices. It works on a Master / Slave configuration. You can have only one master per network on Modbus RTU (Remote Terminal Unit). A maximum of 32 devices (Nodes) on the network can communicate to the master. A review of the Modbus RTU protocol (RTU frames) can be seen at the following URL. http://www.rtautomation.com/technologies/modbus-rtu/
Using the BRX PLC as a Master, we will be communicating to the Click PLC (Slave). Our example will read 10 registers from the Click PLC and write 10 registers from the BRX PLC. Let’s get started! Continue Reading!
The BRX Do-More series of programmable logic controllers has built in high speed inputs and outputs. Every CPU will have either 6 or 10 high speed inputs (HSI) available depending on the model. These inputs can be used for input frequencies from 0 to 250Khz. 250Khz represents 250000 input counts per second that can be coming from devices connected to your PLC like an encoder. Every BRX Do-More CPU unit also has 2, 4 or 8 high speed outputs (HSO) available depending on the model. The outputs can send a frequency of pulses out up to 250Khz. Due to the speed of the IO, these functions available on the BRX Do-More PLC will operate asynchronous with the PLC scan time.
We will be looking at sending an output of pulses at different frequencies from our BRX Do-More PLC and inputting these back into the high speed inputs of the PLC. So our output will be wired back into our input. We will then display the frequency of the input pulses and the count. As a system integrator, this ability to send and receive high speed inputs and outputs can prove very useful to you in the field when commissioning your automation system.
Let’s get started with the BRX Do-More PLC High Speed IO. Continue Reading!