Insert sub-string (ins), C.7.8 insert sub-string (ins) – Nematron Pointe Controller User Manual

Page 419

Advertising
background image

Pointe Controller User Guide

Appendix C: Ladder Diagram Block Reference

417

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
Value

req

signed*

The result of comparing the input
strings.

* Any signed (B, W, D) Input, Output, or Memory tag. For more information, see “

Defining Input,

Output, Memory tags

” on page 114

.

C.7.8 Insert sub-string (INS)

When used in a Ladder Diagram, the INS block inserts a sub-string into an input
string (variable or literal) at a specified position and sends the resulting string 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.

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.

Advertising