Instruction Manual
Pointe Controller User Guide Appendix C: Ladder Diagram Block Reference
411
Configuration Reference
The parameters of this block are described in the following table:
Param Name Config Var Type Description
EN Enable no - The state of the rung (off/on)
received from the left.
ENO Enable
Out
no - The state of the rung (off/on)
passed to the right.
IN Input
String
req String
Literal
The input string. Literals must be
enclosed in single quotes (‘ ’).
LEN Length req unsigned*
Numeric
The length (i.e., the number of
characters) of the sub-string to be
extracted.
OUT Output
String
req String The result of extracting the sub-
string. The output is always NULL-
terminated.
* Any unsigned (UB, UW, UD) Input, Output, or Memory tag. For more information, see “Defining
Input, Output, Memory tags” on page 114.
NOTE: If the configured length of the string variable assigned to OUT is smaller
than the result of the function, then the result is truncated to fit. No overflow
error is generated.
C.7.4 Extract sub-string from right (RIGHT)
When used in a Ladder Diagram, the RIGHT block extracts a sub-string of
specified length from the right end of a string (variable or literal) and sends the
result to an output.
Select the
tool (from the String Blocks toolbar) and click on a ladder rung to
insert the following block:
Once the block is inserted, you can double-click on it to configure it.