MVM (Masked Move) Ladder Logic Instruction

The Masked Move instruction is a ladder logic rung output instruction that copies the Source value through a mask and places the masked copy in the Destination tag. The Source remains unchanged. The instruction is enabled when the preceding logic is true and disabled otherwise. The values can be constants, tags or any combination. Constant … Read more

MUL (Multiply) Ladder Logic Instruction

The Multiply instruction is a ladder logic rung output instruction that multiplies two values. The instruction is enabled when the preceding logic is true and disabled otherwise.  Source A is multiplied with Source B and placed in the Destination tag. The values can be constants, tags or any combination. List of possible arguments SOURCE A and SOURCE … Read more

MOV (Move) Ladder Logic Instruction

The Move instruction is a ladder logic rung output instruction that copies the Source value and places a copy in the Destination tag. The Source remains unchanged. The instruction is enabled when the preceding logic is true and disabled otherwise. The values can be constants, tags or any combination. List of possible arguments SOURCE and DESTINATION can be … Read more

MOD (Modulo) Ladder Logic Instruction

The Modulo instruction is a ladder logic rung output instruction that divides two values and retains the remainder. The instruction is enabled when the preceding logic is true and disabled otherwise.  Source A is divided by Source B and the remainder is placed in the Destination tag. The values can be constants, tags or any combination. A minor … Read more

MEQ (Mask Equal To) Ladder Logic Instruction

The Mask Equal To instruction is a ladder logic rung input instruction that compares a source value to a compare value through a mask. If the adjusted source and compare values are equal the logic to the right of the instruction, or rung-condition-out, is enabled and disabled if otherwise. The Source value, Mask value and Compare value can be constants, … Read more

MCR (Master Control Reset) Ladder Logic Instruction

The MCR instruction is used as a soft emergency stop. Rungs placed between two MCR instructions can be disabled; or rather the outputs of the rungs are disabled when the MCR instruction is false and enabled when true. There are a couple of rules to follow:             Don’t jump into an MCR zone as unexpected … Read more

LOG (Log Base 10) Ladder Logic Instruction

The Natural Log instruction is a ladder logic rung output instruction that takes the log base 10 of the Source value 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 The Source value should … Read more

LN (Natural Log) Ladder Logic Instruction

The Natural Log instruction is a ladder logic rung output instruction that takes the natural log of the Source value 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. The Source value should be … Read more

LIM (Limit) Ladder Logic Instruction

The Limit instruction is a ladder logic rung input instruction that compares a test value against a high and low limit. If the test value is in range logic to the right of the instruction, or rung-condition-out, is enabled and disabled if the test value is out of range. The high limit, low limit and … Read more

LES (Less Than) Ladder Logic Instruction

The Less Than instruction is a ladder logic rung input instruction that compares two values. If Source A is less 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