Nematron Pointe Controller User Manual

Page 433

Advertising
background image

Pointe Controller User Guide

Appendix C: Ladder Diagram Block Reference

431

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 Value (IN) is
converted into an equivalent string and the result is sent to the Output Value
(OUT).

For example, the numeric value 123 is converted into a three-character string
‘123’.

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.

IN

Input
Value

req

any Input

any Memory

any Output

Numeric

String

The input value.

OUT

Output
Value

req

String

The result of converting the input
value into an equivalent string. The
output is always NULL-terminated.

NOTE: No restrictions are placed on the size of the output string. If the string
resulting from a non-string IN is longer than the defined Element Length of the
String variable configured to OUT, then a NULL string is placed in OUT. String-to-
string “conversions will simply truncate excess characters. In neither case will an
overflow error be generated.

Advertising