JMP (Jump to Label) Ladder Logic Instruction

The JMP instruction is used in conjunction with a LBL Label instruction. When the JMP instruction is enabled the code between the JMP and LBL instruction is not executed. Code execution begins immediately after the LBL instruction. When the JMP instruction is disabled the code between the JMP and LBL instruction is executed normally. A … Read more

IOT (Immediate Output) Ladder Logic Instruction

The IOT instruction is a ladder logic output instruction that updates output data immediately rather than waiting for the RPI of the module or tag to update the data. Use the instruction to update the output data of an entire output module. For instance, when you use the instruction to update an output card, address … Read more

GRT (Greater Than) Ladder Logic Instruction

The Greater Than instruction is a ladder logic rung input instruction that compares two values. If Source A is greater than Source B the logic to the right of the instruction, or rung-condition-out, is enabled and disabled otherwise. The values can be constants, tags or any combination. Strings can be compared. The software compares the … Read more

GEQ (Greater Than or Equal To) Ladder Logic Instruction

The Greater Than or Equal To instruction is a ladder logic rung input instruction that compares two values. If Source A is greater than or equal to Source B the logic to the right of the instruction, or rung-condition-out, is enabled and disabled otherwise. The values can be constants, tags or any combination. Strings can … Read more

FSC(File Search & Compare) Ladder Logic Instruction

The FSC instruction is a ladder logic rung output instruction that compares data in an array, element by element. The instruction uses a Control data type in conjunction with a user defined expression.  The instruction is enabled when the preceding logic is true and disabled otherwise. Insure the Length and Position does not travel outside … Read more

FRD (From Binary-Coded Decimal BCD) Ladder Logic Instruction

The FRD instruction is a ladder logic rung output instruction that takes a binary coded decimal value from the Source and places the decimal equivalent in the Destination. The instruction is enabled when the preceding logic is true and disabled otherwise. The values can be constants, tags or any combination. In BCD each byte represents … Read more

FOR Ladder Logic Instruction

Use the For instruction to scan a Ladder routine repeatedly. The For instruction is handy for populating elements in arrays as an example. The instruction will repeatedly scan a routine until the Index Value exceeds the Terminal Value. List of possible arguments Routine Name             ROUTINE                             Routine to call Index                              DINT                                      Routine run count … Read more

FLL (Fill File) Ladder Logic Instruction

The Fill File instruction is a ladder logic rung output instruction that copies data from the Source to the Destination x amount of elements long The Source data remains unchanged. Insure the Length does not travel outside of the array boundaries. Use the SIZE instruction to determine how many elements are in an array. The instruction … Read more

FAL (File Arithmetic and Logic) Ladder Logic Instruction

The File Arithmetic and Logic instruction is a ladder logic instruction that can perform copy, arithmetic and logic functions on data in an array. The instruction uses a Control data type in conjunction with a user defined expression. The instruction is enabled when the preceding logic is true and disabled otherwise. Insure the Length and … Read more

EVENT Ladder Logic Instruction

The Event instruction is used to trigger an Event task. The task is run one time for each trigger. Make sure the event has enough time to complete before calling the task again. The instruction is enabled when the preceding logic is true and disabled otherwise. Arithmetic flags are not affected. Note: Check the task overlap … Read more