Programmable logic controllers (PLC) use a cyclic scan. The time that it takes to complete one scan is called Scan Time. Typical scan times range from 10 milliseconds to 10 microseconds. This translates from 0.01 to 0.0001 seconds per PLC scan. Understanding how the program scan will help us in programming and troubleshooting the PLC.
The simplest scan cycle of a PLC consists of 4 steps. Read inputs, execute program, diagnostics, and communication, and update outputs.
We will be looking at each of these steps in a little more detail as we discuss the PLC program cyclic scan. Let’s get started. Keep on Reading!
Data logging does not have to be complicated anymore. The BRX Do-More Series PLC can log your specific data up to 32 Gigabits on a Micro SD Card. It will store your data for future data analysis in a CSV (Comma Separated Value) Txt file based on time and/or event.
This is all accomplished with just one instruction in the BRX PLC. Excel is just one program that you can import and analyze this CSV Text file.
Do-More Designer has a Browse PLC File Systems window that will allow you to copy, create and delete the files from the connected computer. This will save you from going to each controller, removing and copying the files on the Micro SD Card.
We will be looking at the data logging instruction in the BRX Series PLC and how to retrieve and view this information. Let’s get started. Continue Reading!
We will now look at the drum instruction in our BRX Do-More Controller. Drum instructions are great tools when you have a simple sequence of events that need to occur at a set time interval or as a result of an event. They mimic an electromagnetic drum sequencer. The BRX Series PLC has a drum in the instruction set.
Have you ever seen the mechanisms of a music box? Ok, so it’s a little drum with pegs that catch and flick the chimes in a particular sequence to play whatever tune is on the drum. So in the PLC, you can have a drum driven by an event, (input from a limit switch or button), or by time.
We will discuss the drum instruction and look at an example of controlling traffic lights with a cross walk signal. Continue Reading!
We will now look at shifting instructions in the BRX Do-More controller. PLC shifting instructions will move bits in memory areas a fixed amount when instructed. Bits are on/off, 1 or 0, and are usually associated together to form a memory location. The memory location can be used for numbers or positions.
PLC BITS NUMBERS AND POSITION is a post that will review the different methods that the PLC will interpret the information in memory
We will be looking at the shifting (moving) of the bits within the memory location in several different ways. ROTL rotate left, ROTR rotate right, Math shift left operator, Math shift right operator, Math unsigned shift right operator and SR shift register are some of the instructions in our BRX Do-More PLC that will shift bits.
Let’s look at some samples of each of the above-mentioned instructions. Continue Reading!
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!