Tag Archives: hmi training

Horner XL4 Modbus TCP AdvancedHMI Communication

Advanced HMI is a powerful, adaptable HMI/SCADA (Supervisory Control and Data Acquisition) development package that takes advantage of Visual Studio. There is no coding required and you can simply drag and drop items onto the page. The best thing is that the software is free. We will look at using AdvancedHMI with the Horner APG XL4 Controller. Using the program on the process tank application we created previously, we will be controlling and displaying information to the network. The AdvancedHMI package will communicate Modbus TCP over Ethernet to the PLC. We will be able to start and stop our process tank and monitor the parameters via the AdvancedHMI window. Continue Reading!

Horner XL4 HTTP Web Server

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 Modbus RTU Instructions

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!

Horner XL4 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 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!