The Horner APG XL4 all in one controller has several different ports for communications. We have both serial and Ethernet type ports that can be used for many different protocols. These protocols can be downloaded from the Horner APG website and transferred into the controller. We will be looking at Modbus RTU protocol. Using the serial RS485 port on the XL4 we will communicate to a Solo process temperature controller. We will read the process value (PV) into the Horner APG XL4 controller and write the set value (SV) back into the process temperature controller. This is all accomplished without any ladder logic in the PLC. The Horner APG XL4 is one of the easiest networks to set up. Continue Reading!
The Horner APG XL4 all in one controller has a feature to generate text reports. These reports can consist of text and data from memory locations in the controller. Reports can be printed using a serial interface printer through any of the serial ports of the unit or can be saved on the removable micro SD media card attached to the device. We will be taking our process mixing tank and generating a report that will show when the batch started, filled the tank and when the batch was finished emptying. This report will be saved on the removable micro SD media card attached to the unit. Continue Reading!
The Horner APG XL4 all in one controller has recipe instructions. Recipes allow you to send or update multiple registers in your program from the removable micro SD memory card. Each recipe can have 250 ingredients and 1024 products. The number of recipes will be limited to the size of the removable memory card. We will be looking at applying recipes to our process mixer application. Editing, Save, Load and View instructions for the recipe will be discussed. Continue Reading!
The Horner APG XL4 all in one controller has several different instructions to shift and rotate the bits, bytes, words or double words in the memory. We will be discussing the bitwise operations of the shift and rotate instructions. Looking further into the move operations we will look at the Element Rotate and Element Shift instructions as they pertain to a conveyor belt tracking application. Continue Reading!
Math instructions in the Horner APG XL4 OCS all-in-one controller are broken down into Basic Math Operations and Advanced Math Operations.
Basic Math Operations include the following:
Math Equation Element, Add, Subtract, Multiply, Divide, Modulo, Square Root, Absolute Value
Advanced Math Operations include the following:
Power of X, Base 10 Logarithm, Power of e, Natural Logarithm, Sine, Cosine, Tangent, Inverse Sine, Inverse Cosine, Inverse Tangent, Convert to Radians, Convert to Degrees, Scale
We will be looking at the expression and scaling math functions. Continue Reading!
Compare and move instructions in the Horner XL4 OCS all-in-one controller can be very powerful. We will be looking at how to use these instructions. Combining these two instructions to build a sequencer, we will apply this to an application example. Our application will be a simple traffic light. The HMI screen will show a picture of each of the lights. Continue Reading!
Timers and counters are used in the majority of PLC programs. We will not look at how timers and counters can be programmed in the Horner XL4 OCS all-in-one controller. Continue Reading!
We will now look at the Horner XL4 user interface. The HMI (Human Machine Interface) part of the XL4 all in one controller will be what the operator views. We will look at the features of the display and learn how our program will control what the display will show. Continue Reading!
We will now look at the Horner XL4 numbering system and addressing. Data is stored into different memory type locations called registers. The registers can be either bits or words (16bit). Multiple registers can be used together to store a 32 bit value. (Double word) This all in one controller has several additional registers to handle some of the HMI communication. Let’s look at all of the areas in the controller. Continue Reading!
We program the Horner XL4 OCS all-in-one controller by using Cscape. We will now use our Cscape software to establish communication. Last time we customized Cscape with icons to make it easier to find, communicate and control the unit. There are two different ways to communicate to the XL4 OCS controller, Ethernet and Serial. There are several different methods within these two ways that the XL4 will communicate. The Cscape software package will communicate both of these ways. We will look at establishing communication using Ethernet, USB (Serial) and Serial RS232.Another two serial ways to communicate would be RS485/RS422 (Serial) and CAN Bus (Serial). These two methods allow multiple controllers connected to the communication network. This is similar to Ethernet. Continue Reading!