Tag Archives: horner plc basics

Horner XL4 Modbus RTU Instructions

We will now communicate Modbus Serial RS485 from the Horner Master controller to the Solo process temperature controller. 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 the 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!

Horner XL4 Report Generator – Text / Data

We will now look at the Horner report generator. 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!

Horner XL4 Rotate and Shift Register

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!

Horner XL4 Program Control Instructions

We will now look at program control in the Horner XL4 all in one controller. PLC programs scan usually from left to right, top to bottom. The outputs from the previous rung are available for the next. This is the operation of a PLC. Program control instructions allow us to add or remove parts of our program during each scan of the controller. The Horner APG XL4 has subroutines which we can achieve this control. We will look at how to divide your main logic up and at how subroutines work. Continue Reading!

Horner XL4 Math Instructions – All In One

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!