Interface plc <˘> nc operating system – Lenze ETC Motion Control User Manual

Page 255

Advertising
background image

Interface PLC <˘> NC operating system

Definitions

Data block 1

5

5.1

5.1.2

l

255

EDSTCXN EN 2.0

Data word

Name

Direction

Type of signal

036.00−037.15

Enable of the "fast inputs"

PLC

NC

static

The PLC uses a "1" to specify the corresponding digital input as the "fast in-
put", i.e. the input signal is evaluated directly by the rough interpolator (in
rough interpolation cycle). If enable is reset again by the PLC, it can immedia-
tely use the inputs again exclusively.

)

Note!

The state of the "fast input" depends on an OR operation of the
Q bit signal of the PLC and the state of the digital input.

Use the data words "Offset of fast inputs" to position the enable (mask) in
any area of the input image as "fast input". This way, any digital input can be
specified as "fast input".

Effect in the NC: By means of corresponding DIN programming (G150, G151)
it is possible, to have time−critical digital inputs evaluated directly by the
rough interpolator as Q bits, while avoiding the PLC.

Example: With the following lines, the inputs %IX64.1, %IX64.4, %IX64.13
and %IX65.7 are configured as fast inputs.

DB1_SPS2NC_QIN_OFFSET_AB[0] := 64;

DB1_SPS2NC_QIN_OFFSET_AB[1] := 65;

DB1_SPS2NC_QIN_MASK_AW[0] := 2#0010000000010010;

DB1_SPS2NC_QIN_MASK_AW[1] := 2#0000000010000000;

Data word

Name

Direction

Type of signal

038.00−039.15

Enable the "fast outputs"

PLC

NC

static

Value "1" withdraws the control of the PLC over the corresponding output
and assigns it to the rough interpolator; i.e. an output enabled as "fast out-
put" can only be operated by the rough interpolator. As soon as the PLC with-
draws the enable command, it can use the outputs again for itself; the out-
put signal states are immediately reflected on the outputs.

Use the data words "Offset of fast outputs" to position the enable (mask) in
any area of the output image as "fast output". This way, any digital output
can be specified as "fast output".

After the control has been taken over, the last states remain intact.

Effect in the NC: By means of corresponding DIN programming (parameter
Q), it is possible have time−critical digital outputs operated directly by the
rough interpolator (in rough interpolation cycle).

Advertising