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

Page 253

Advertising
background image

Interface PLC <˘> NC operating system

Definitions

Data block 1

5

5.1

5.1.2

l

253

EDSTCXN EN 2.0

Data word

Name

Direction

Type of signal

018.00

Q bit signal 0

PLC

NC

static

...

...

...

...

021.15

Q bit signal 63

PLC

NC

static

Application and program−specific signals for controlling the program flow in
the NC control. The meaning of the values must be defined individually. The
values depend on the inputs of the PLC and internal links.

Effect in the NC: The signals are stored unchanged in the internal "Q−Feld"
("Q field") as Q0 ... Q63. Individual entries of the Q field can be accessed in the
program to ensure that it is possible to control the program flow.

Fast inputs: If fast inputs are configured (see DW36.0 ... 37.15), the corres-
ponding Q bits are not read from the Q field but directly from the correspon-
ding inputs E0.0 ... E3.7. This makes it possible to react more quickly to an ex-
ternal event as it is not diverted via the integrated PLC.

Data word

Name

Direction

Type of signal

031.00 − 15

Enable MMI

PLC

NC

static

Up until now this data word is only used in connection with the standard
HMI. It is used to signal MMI which PLC functions are supported by the loa-
ded PLC (coded in bits).

Bit number

Meaning (PLC support)

0

Teaching

1

Block search

2

Interrupt

3

Version output

4

Key control

By setting bits 0 ... 2, a corresponding soft key is shown on the HMI. If bit 3 is
set, HMI requests a version string via the message interface in the DB2. If bit
4 is set, PLC is in control of the keys via the PLC keys provided in the ETC−MMI
(

268).

Effect in the NC: none

Advertising