Programming PLC Functions
4.4 Configuring the display of messages in the header
HMI Advanced (IM4)
Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
121
Acknowledgement mechanism between HMI ↔ PLC
For the Start DBBx, there is an acknowledgment mechanism that ensures that the HMI and
PLC are coordinated:
The PLC sets Bit 0 to 1 "Display user text in header". The function request can only be set
by the PLC if Bit 0 has the value zero.
After displaying the text in the header, the HMI writes zero again in bit 0 and the interface is
enabled for the PLC for the next action.
Behavior for M: N (only SINUMERIK powerline)
For the function M : N, both text lines for passive switching must be deleted. In active
switching, as in area switching, the content of the variables is evaluated and displayed.
Task:
In the header of the JOG and MDA modes, the text "Handwheel acts on axis..." should be
output in the field "Program name" in the first line together with the appropriate axis names;
the text "slides ... active" should be output with the corresponding slide number in the second
line.
Procedure:
1.
Identify the PLC ↔ HMI interface in the HEADER.INI file, e.g. DB60.DBB10
2.
Enter name of the PLC user text file in MBDDE.INI, e.g.:
[TextFiles]
UserPLC=alpu_
3.
Enter texts in PLC user text file, e.g.:
700100 0 0 "Handwheel acts on axis %2"
700101 0 0 "Slides %1 active"
4.
Initiate text display from the PLC and describe the interface, e.g. for the first display line:
DB60.DBW11 = 100
DB60.DBB14 = 2
DB60.DBB10 = 1
e.g. for the second display line:
DB60.DBW31 = 101
DB60.DBB33 = 1
DB60.DBB30 = 1
Result
For an assumed axis configuration of
MD 20080 AXCONF_CHANAX_NAME_TAB[0] = "X"
MD 20080 AXCONF_CHANAX_NAME_TAB[1] = "Y"
MD 20080 AXCONF_CHANAX_NAME_TAB[2] = "Z"
the display is then as follows:
"Handwheel acting on Y axis" (first display line)
"Slide 1 active" (second display line)
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...