Nematron Pointe Controller User Manual

Page 417

Advertising
background image

Pointe Controller User Guide

Appendix C: Ladder Diagram Block Reference

415

Functional Description

This block always passes the Enable input state (EN) through to the Enable Out
output state (ENO) without change; when EN becomes on, ENO is turned on, and
when EN becomes off, ENO is turned off.

When EN becomes on, the block function is executed: the Input Strings 1 and 2
(IN1 and IN2) are concatenated and the resulting string is placed in the Output
String (OUT).

For example:

IN1: ‘Hello world.’

IN2: ‘ This is PointeControl.’

OUT: ‘Hello world. This is PointeControl.’

NOTE: This function does not insert any spaces between the concatenated strings.

The block function is executed every time the ladder is

scanned

, so long as EN

remains on. If EN becomes off, then OUT remains at its last calculated value until
EN becomes on and the block function is executed again.

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 first input string. Literals must
be enclosed in single quotes (‘ ’).

IN2

Input
String 2

req

String

Literal

The second input string. Literals
must be enclosed in single quotes (‘
’).

OUT

Output
String

req

String

The result of concatenating the
input strings. The output is always
NULL-terminated.

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