13 Operator Panel Interface (DB 40)
01.93
13.3 Softkey function signals
Relevant PLC program in a statement list:
.
.
C
DB40
L
DW9
Function signals 8 ... 15
T
FW224
Load
L
DL1
Dynamic signals customer keys
T
FY226
1 ... 8 load
L
DL42
Menu number change
T
FY227
Load
A
F 224.6
Coolant on, dynamic
O
F 227.1
Coolant off, static
R
F 225.7
A
F224.7
O
F 227.1
Coolant off, dynamic
R
F 225.6
Coolant on, static
A
F 226.7
A
F 225.6
Function COOLANT ON
S
Q 1.1
Activate
A
F 226.7
A
F 225.7
Function COOLANT OFF
S
Q 1.1
Activate
.
.
.
.
The user can also send back the number of a dialog text line and a function result
(to DB 40).Both values returned refer to the function number of the softkey pressed. The
dialog text line number and/or function result must be entered in the same PLC cycle in which
the SOFTKEY FUNCTION NUMBER is made available in DB 40/DW 49. In this way, dialog
texts can be displayed at the operator panel and/or subsequent menus stated that also have to
be generated via a programming workstation.
If a softkey with configured softkey function number is pressed on the operator panel, this
SOFTKEY FUNCTION NUMBER is transferred (DW 41) and a strobe bit (DB 40, DW 49,
bit 14) set to "1".
The user can now obtain the function number and send back a function result (DL 50) and a
dialog text number (DR 50) to DB 40 in the same PLC cycle; these are declared valid by
means of an acknowledgement bit (DB 40, DW 49, bit 15).
13–8
© Siemens AG 1991 All Rights Reserved 6ZB5 410-0HE02
SINUMERIK 880 (PJ)