XPY (X To The Power Of Y) Ladder Logic Instruction

The XPY instruction is a ladder logic rung output instruction that takes the Source X to the power of Source Y and places the result 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. Example: X to the power … Read more

XOR (Bitwise Exclusive OR) Ladder Logic Instruction

The Bitwise XOR instruction is a ladder logic rung output instruction that performs an XOR operation on Source A and Source B and places the result in the Destination tag. The instruction is enabled when the preceding logic is true and disabled otherwise. The values can be constants, tags or any combination. XOR truth table … Read more

XIO (Examine If Open) Ladder Logic Instruction

Ladder logic input instruction that evaluates bit data referenced by an associated tag. The instruction output is true if the value is 0 and false if the value is 1. List of arguments: BOOL TAG

XIC (Examine If Closed) Ladder Logic Instruction

Ladder logic input instruction that evaluates bit data referenced by an associated tag. The instruction output is true if the value is 1 and false if the value is 0. List of arguments: BOOL TAG

UIE (User Interrupt Enable) Ladder Logic Instruction

The (UIE) User Interrupt Enable instruction is used in conjunction with a (UID) User Interrupt Disable instruction. When enabled, the UID instruction prevents tasks with higher priority from interrupting the execution of the current task. The UIE instruction enables other tasks to interrupt the current task. The task fault routine and the Controller fault handler are not … Read more

UID (User Interrupt Disable) Ladder Logic Instruction

The (UID) User Interrupt Disable instruction is used in conjunction with a (UIE) User Interrupt Enable instruction. When enabled, the UID instruction prevents tasks with higher priority from interrupting the current task. The UIE instruction allows other tasks to interrupt the current task. The task fault routine and the Controller fault handler are not disabled by the UID instruction. … Read more

TRN (Truncate) Ladder Logic Instruction

The Truncate instruction removes the fractional part of a number stored in a Real data type and places the truncated value in the destination. The Source data remains unchanged Example             Source data =              357.06             Destination data =      357      (After truncate) List of possible arguments SOURCE can be one of the following data types. … Read more

TOF (Timer Off) Ladder Logic Instruction

The Timer Off instruction is a non-retentive timer that is enabled when the preceding logic is false. The timer is reset when the preceding logic is true. The timer can be compared to a stop watch. A value is entered into the preset and an accumulator keeps track of the time. When the accumulator reaches … Read more

TOD (To Binary-Coded Decimal BCD) Ladder Logic Instruction

The TOD instruction is a ladder logic rung output instruction that takes decimal value from the Source and places the Binary-Coded 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 a decimal … Read more

TND (Temporary End) Ladder Logic Instruction

The Temporary End ladder instruction is intended for debugging and troubleshooting. The instruction can be placed on a rung before the end of a routine. Logic before the TND instruction is scanned normally and logic after the instruction is skipped.  Note: Great instruction for debugging code line by line or block by block.