The CPT block implements the
CPT ladder logic
instruction. When the rung conditions are true, the block evaluates the expression
Expr and outputs the result to the destination
The CPT ladder diagram instruction does not support direct operand calls. Currently MOD, AND, XOR, FTD, and TOD instructions are unsupported as CPT operands.
EnableIn— Enable Input
Controls the execution of the block. EnableIn reflects the rung state preceding the block. If the rung state preceding the block is false, EnableIn is false, the block does not execute and the outputs are not updated.
EnableOut— Enable Output
By default, EnableOut follows the state of EnableIn. If the EnableIn input to the block is false, the logic implemented by the block is not executed and EnableOut signal is set to false.
dest— Output Signal
The result obtained after computing the expression is placed at the destination.
Expression to Evaluate— Expression to evaluate
Specify the expression to be evaluated. An expression consisting of
tags and/or immediate values separated by operators. In Ladder
Diagrams, tags (variables) are used for representing all inputs, outputs, and internal
memory with attributes such as
size. To change the attributes of the
Expression to Evaluate, open the Program
Variables table within the Ladder Diagram Program
|Type: character vector|
|Value: character vector|