Siemens SINUMERIK 840C User Manual
Page 1133

12 Functional Descriptions
01.99
12.35 Uninterruptible power supply (UPS) (as from SW 6.3) (Express shutdown)
Example: PLC program for the initiation of an ”Express shutdown”
A
DB255
User DB
L
KF 10
Package length
T
DW 10
L
KH 0201
Sender (PLC)
T
DW 11
L
KH 0319
Receiver (MBX)
T
DW 12
L
KH 001
Task data structure
T
DW 13
L
KH 5F02
Task number
T
DW 14
L
KH 2F04
I code
T
DW 15
L
KH 0090
Control flag
T
DW 16
BA
FX73
OEM-SEND
DBTY
KC
DB
DBNR
KF
255
DWNR
KF
10
QTTG
KF
192
.
.
.
Scanning of the OEM information bit (PLC-MD 137).
Only once bit ”0” or ”1” has been set, then data
(acknowledgement) are present in the mailbox.
In this dependency the FX74 is called up.
BA
FX74
OEM-EMPF
DBTY
KC
DB
DBNR
KF
255
DWNR
KF
20
OEMN
KF
0
QTTG
KF
195
Data received:
(as acknowledgement, ”Express shutdown” implemented, the I code is returned)
DB 255
DW20
KH = 0004
Package length
DW21
KH = 0319
Sender (MBX)
DW22
KH = 0201
Receiver (PLC)
DW23
KH = 0001
Task data structure
DW24
KH = 0000
Task number
DW25
KH = 2F04
I code
DW26
KH = 0094
Control flag
12–358
© Siemens AG 1992 All Rights Reserved 6FC5197- AA50
SINUMERIK 840C (IA)