Siemens SINUMERIK 840C User Manual
Page 1131

12 Functional Descriptions
01.99
12.35 Uninterruptible power supply (UPS) (as from SW 6.3) (Express shutdown)
Example ”Express shutdown”
Notes
1.
A detailed description of the I codes as well as the FX73/74 is contained in the Win-OEM
document.
Only the I code 042F (Express shutdown) is currently implemented for the FlexOS control.
The use of the FX73 and FX74 is limited to this one function.
2.
Acknowledgement bytes (3x FY)
The error numbers are contained in the Win-OEM document (FX73/74).
The following setting up applies:
1st byte
Error bit
x.0
If the bit is ”0”, then the other two bytes are valid.
To start with, evaluation of this bit (Error Yes/No) in the user program
will suffice.
2nd byte
Coupling error (while accessing the mailbox)
3rd byte
User error (incorrect parameterization, incorrect user data, etc.)
3.
Express shutdown
Described in the Win-OEM documentation.
Take note of the fact that (contrary to the description) the low and the high byte are to be
swapped on the I code and the control flag!
4.
OEM information bit (FX74 OEM-EMPF)
The PLC MD 137 is monitored for a valid input only by the system (<25 / >254).
Permitted are according to the Win-OEM documentation (FX74) FW 25 ... 198.
If another FW is entered (e.g. 220) there will be no error message.
”Express shutdown” is implemented, the I code, however, will not be acknowledged!
Structure of the user data blocks for the OEM-SEND (FX73)
DW x
Length of package
Format: KF
(ideally reserve with 10 i.e. length: 10 DW).
The FX does no explicitly check the package length. A value of > 1 and < 30
must be entered.
DW x+1
Task sender
Format: KH
"0201H" - PLC
DW x+2
Task receiver
Format: KH
"0319" - mailbox MMC
DW x+3
Task data structure
Format: KH
always enter ”1”
DW x+4
Task number
Format: KH
"5F02H"
DW x+5
I code
Format: KH
"2F04H" (express shutdown)
DW x+6
Control flag
Format: KH
"0090H"
12–356
© Siemens AG 1992 All Rights Reserved 6FC5197- AA50
SINUMERIK 840C (IA)