Nematron Pointe Controller User Manual

Page 424

Advertising
background image

Appendix C: Ladder Diagram Block Reference

Pointe Controller User Guide

422

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.

IN1

Input
String 1

req

String

Literal

The input string into which the sub-
string is inserted. Literals must be
enclosed in single quotes (‘ ’).

IN2

Input
String 2

req

String

Literal

The sub-string to be inserted.
Literals must be enclosed in single
quotes (‘ ’).

POS

Position

req

unsigned*

Numeric

The starting position where the
sub-string will be replaced. 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
replaced.

OUT

Output
String

req

String

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

Advertising