08/2005 Commissioning HMI Advanced (IM4)
2 Setting Functions and Parameters
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D Installation and Start-Up HMI (IAM) - 08/2005 Edition
IM4/2-19
Configuration
The current task number is transferred to the PLC in a data block area that can be
specified in display machine data element 9032: HMI_MONITOR as follows in the
form of a string:
DBxx.DBByy
where:
xx is the number of a data block
yy is the byte number of the 1st byte of the transfer area (word limit)
The transfer area is 8 bytes long.
The transfer takes place in the 1st byte. Bytes 2 to 8 are reserved.
Note
Check that the specified area is not already occupied by input bytes, output bytes
or flag bytes.
The block numbers and byte area are not checked.
Updating
The task number in the first byte is updated:
• On every task change by the HMI
• When the connection is changed to a different NC in M:N
For the duration of indeterminate states (e.g., during changeover to another NC in
M:N), special value 255 is transferred as the task number.
Value range
The task number can assume values from 0 to 95, including the operating areas
configured by the user.
As a result, all visible tasks of the main menu (0 to 31) and the hidden child tasks
(32 to 95) are displayed.
2.1.3 Channel/Spindle Selection via the PLC
Channel selection
Channel selection and display is initiated as follows (display in "Channel name"
field):
DB 19, DBB 32 = 01000001 [binary] Channel selection
DB 19, DBB 33 = <channel number> Channel number
FF for next channel
Spindle selection
Spindle selection is initiated as follows (display in spindle window):
DB 19, DBB 32 = 01000010 [binary] Spindle selection
DB 19, DBB 33 = <spindle number> Spindle no. to be displayed