Nematron Pointe Controller User Manual

Page 409

Advertising
background image

Pointe Controller User Guide

Appendix C: Ladder Diagram Block Reference

407

Functional Description

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

The block function is executed every time the ladder is

scanned

, regardless of

whether SEL is on or off. The state of SEL determines which Input Value (IN0 or
IN1) is selected and placed in the Output Value (OUT). If SEL is on, then IN1 is
placed in OUT. If SEL is off, then IN0 is placed in OUT.

Configuration Reference

The parameters of this block are described in the following table:

Param

Name

Config

Var Type

Description

SEL

Select

no

-

The state of the rung (off/on)
received from the left. Also
determines which input value is
selected to place in the output.

ENO

Enable
Out

no

-

The state of the rung (off/on)
passed to the right.

IN0

Input
Value
OFF

req

any Input

any Output

any Memory

T_DONE

T_VALUE

T_PREVAL

Numeric

The input value that is selected if
the rung is off.

IN1

Input
Value ON

req

any Input

any Output

any Memory

T_DONE

T_VALUE

T_PREVAL

Numeric

The input value that is selected if
the rung is on.

OUT

Output
Value

req

any Input

any Output

any Memory

The result of selecting one of two
input values.

NOTE: This function does not check for bit register overflow. You can assign any
variables you wish, but mixing variable sizes – for example, a 32-bit input and an
8-bit output – may result in unusable output.

Advertising