beautypg.com

Nematron Pointe Controller User Manual

Page 422

background image

Appendix C: Ladder Diagram Block Reference

Pointe Controller User Guide

420

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 (‘ ’).

POS

Position

req

unsigned*

Numeric

The starting position of the sub-
string to be extracted. The first
character corresponds to a Position
of 1.

LEN

Length

req

unsigned*

Numeric

The length (i.e., the number of
characters) of the sub-string to be
deleted.

OUT

Output
String

req

String

The result of deleting 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.