2 calling the signals in the plc, 3 function of the keys, Calling the signals in the plc – Lenze ETC Motion Control User Manual

Page 76: Function of the keys, Getting started

Advertising
background image

Getting started

PLC keys in the ETC−MMI
Calling the signals in the PLC

2

2.14
2.14.2

l

76

EDSTCXN EN 2.0

Key 00: Texts 2800 and 2801 from the file lenze.txt are used for the first PLC
key.

2 texts for one key automatically contain a toggle function. This means that
the system is switched on when F1 is pressed and switched off when F1 is
pressed again. The output value in the PLC is switched over every time the
key is pressed.

Key 03: Text 2805 (Lower tool) of the file "lenze.txt" applies.

Key 04: Text 2806 (Lift tool) of the file "lenze.txt" applies.

Representation in the ETC−MMI:

ETCN039

2.14.2

Calling the signals in the PLC

ETCN040

In the example, an absolute assignment is made to the word variable:

MMI_PLC_key_DRIVES_ON

W

%MX1.121.0 (X=bit) accesses bit 0 of the

DW212 in the DB1.

Access to the symbolic system variable is also possible:

DB1_AW212_mmi2plc_jog_key_aw [0].0

DB2_MMI2SPS_TASTEN_AW [0].0

2.14.3

Function of the keys

The keys in the ETC−MMI have the same function as the M−functions M14
and M15; i.e.they can be used to lower and lift the tool. The input or the
signal of the visualisation must be applied within 5 s. Otherwise, an error
message appears.

Advertising