Tag Archives: horner plc programming examples

Horner XL4 Data Logging – All In One Controller

Data logging is the ability to save and view data from the PLC in a format that we can utilize elsewhere on the network. The Horner APG XL4 has this feature in its design to periodically log registers to removable media. (Micro SD) This data is stored in .CSV (comma-separated value) format which is compatible with many computer applications such as Microsoft Excel.
Horner provides one of the easiest methods that I have seen to get data logging. You can log 30 registers in a log group and have 10 separate groups. Each group has its own configurable timer that determines the automatic reading and logging of the variables (registers). The group also has a manual trigger bit that can be set to log the variables.
This all-in-one controller provides the easiest way to log data. We will look at how to configure and utilize this feature of the PLC. Continue Reading!

Horner XL4 HTTP Web Server – All In One

The Horner APG XL4 all in one controller through the Ethernet port can set up a HTTP server. This HTTP (Hypertext Transfer Protocol) server can be used for distributed and controlled information presented to and from the controller to the network. The server can have security for the information presented. We use HTML (Hypertext Mark-up Language) on the server to create this Client / Server communication. Using the program on the process tank application we created previously, we will be controlling and displaying information to the network. A web browser on a computer, tablet, smart tv, or phone can be used to view and control this information in our Horner APG XL4 controller. Continue Reading!

Horner XL4 FTP File Transfer Protocol Server

The Horner APG XL4 all in one controller through the Ethernet port can set up a FTP server. This FTP (File Transfer Protocol) server can be used to move files from the controller to the network. The server can have different security for reading and writing the files. We will use the program on the process tank to move the recipe file and report files to another location on the network. The command line prompt, automated batch file, windows explorer and a free windows FTP client software will be used. Continue Reading!

Horner XL4 Recipe Instruction – All In One

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!