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

Interface PLC <˘> NC operating system
Definitions
Data block 2
5.1
5.1.3
l
269
EDSTCXN EN 2.0
For the ETC−MMI, the assignment of the DB2 listed in the table below is used.
This assignment is a recommendation for the use of the DB2. Within the
areas data word 0 ... 127 and 128 ... 191 a freely definable assignment is pos-
sible.
Data word
Name
Direction
000.00 – 007.15
008.00 – 015.15
016.00 – 079.15
080.00 – 095.15
096.00 – 096.15
097.00 – 097.15
098.00 – 125.15
126.00 – 126.15
127.00 – 127.15
128.00 – 128.15
129.00 – 143.15
144.00 – 159.15
160.00 – 160.15
161.00 – 161.15
162.00 – 189.15
190.00 – 190.15
191.00 – 191.15
224.00 – 255.15
States (28 bits)
Key control (128 bits)
Displays (64 data word)
Notes/static errors (256 bits)
Message buffer: acknowledgement counter
Message buffer: counter 1
Message buffer: user data (28 data words)
Message buffer: counter 2
Monitoring of PLC is running
Sub mode
States (256 bits)
Keys (256 bits)
Message buffer: acknowledgement counter
Message buffer: counter 1
Message buffer: user data (28 data word)
Message buffer: counter 2
Monitoring of HMI is running
Freely available machine constants
PLC
→
HMI
PLC
→
HMI
PLC
→
HMI
PLC
→
HMI
PLC
→
HMI
PLC
→
HMI
PLC
→
HMI
PLC
→
HMI
PLC
→
HMI
PLC
←
HMI
PLC
←
HMI
PLC
←
HMI
PLC
←
HMI
PLC
←
HMI
PLC
←
HMI
PLC
←
HMI
PLC
←
HMI
PLC
←
NC
If the key control is activated (DB1.31.4), the 128 bits from DB2.8.0 to
DB2.15.15 correspond to the MMI keys DB1.212.0 to DB1.219.15.
DW080.00−095.15
Signal state "1" has the effect that a text is displayed in the PLC
messages window on the MMI. The texts are stored in a file
(default:Lenze.txt). DW080.00 is linked with the entry
01020001, DW080.01 with the entry 01020002 etc.
DW128
If the ETC−MMI is used, the selected sub mode is stored here:
0: no sub mode selected; operating mode (DW131) = 1
Operating mode (DW131) = 1
1: step travel
2: modal traveling
3: target point traveling
4: handwheel
5: manual homing
6: automatic homing
7: zero points
Operating mode (DW131) = 3
1: block search
Operating mode (DW131) = 4
1: teaching
DW127.00−127.15,
DW191.00−191.15
The data words are used for mutual control of PLC and MMI.
This way, they can monitor whether the counterpart is still
"alive".
Operating mode:
PLC: DW127 := DW191;
HMI: DW191 := DW127 + 1;
If the data words do not differ over a certain period, the PLC can
detect that the MMI is no longer "alive".
DW224.00−255.15
The values of the machine constants MK_DW224_255 are
stored one−to−one in these data words.
Assignment
Explanation