beautypg.com

4 f o rm ulas – HEIDENHAIN ND 2100G User Manual

Page 256

background image

256

2 Installation and Specifications

2.4 F

o

rm

ulas

Relay function appended to formula.

Relay function syntax appended to a formula

A = Formula;Relay(Relay number, state, delay)

Where:

Relay number =

1 or 2.

State =

0 (off/low/de-energized) or 1 (on/
high/energized).

Delay =

The time in seconds that the relay
will be in the new state before
returning to the previous state.

Example:

A = C3;Relay(1,1,2sec)

A = C3 and Relay number 1 will be energized for 2 seconds.