# Horner XL4 Recipe Instruction

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!

# 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 Math Instructions

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!

# Horner XL4 Compare and Move Instructions

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!

# Horner XL4 Timers and Counters

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!

# Horner XL4 User Interface

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!

# Horner XL4 Numbering System and Addressing

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!

# Horner XL4 Establishing Communication

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!

# Horner XL4 Cscape Software Setup

The Horner XL4 OCS all-in-one controller is programmed using Csape. Cscape (Control Station Central Application Programming Environment) We will now setup the Cscape software so we can easily communicate and program our controller. Continue Reading!

# Horner XL4 Installing the Software Cscape

The Horner XL4 OCS all-in-one controller is programmed using Csape. Cscape (Control Station Central Application Programming Environment) This single programming software package is designed to be easy to use and maintain. We will now install this programming package onto our computer. Continue Reading!