Programming PLC Functions
4.3 Channel/spindle selection via the PLC
HMI Advanced (IM4)
118
Commissioning Manual, 03/2009, 6FC5397-0DP10-3BA0
4.3
Channel/spindle selection via the PLC
Channel selection
Channel selection or display is initiated as follows (display in "Channel name" field):
DB 19, DBB 32 = 01000001 [binary] channel selection
DB 19, DBB 33 = <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 number to be displayed
Error codes
The following error codes, which provide information to the HMI about errors during the
function request of the PLC, are stored in DB 19.DBB 36:
Value
Significance
0
No error
1
No function number (DBB32 bit 0-5)
2
Invalid parameter
3
Error when writing to HMI-internal variable
10
Channel not present (DBB33)
Acknowledgement mechanism between PLC ↔ HMI
Via DB19.DBB32 bits 6, 7, there is an acknowledgment mechanism that ensures that the
HMI and the PLC coordinate the channel selection:
The PLC sets Bit 6 to 1 = "Function request". The function request can only be set by the
PLC if bits 6 and 7 have the value zero.
After displaying the text in the header the HMI writes zero again in bit 6 and the interface is
enabled for the PLC for the next action.
Note
If several HMI units are assigned to one NCU/PLC unit (M:N), the PLC must first determine
from the control interface which of the HMI interfaces is presently active. Channel/spindle
displays can only be requested by the PLC for the active HMI unit. The interface for selecting
channel/spindle displays for the 2nd HMI unit is located in DB19, DBB82-86. The use is the
same as described for DBB32-36.
Содержание SINUMERIK
Страница 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 24: ...Introduction 1 5 Limits of data management HMI Advanced IM4 18 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 96: ......
Страница 338: ...List of Abbreviations B 1 Abbreviations HMI Advanced IM4 332 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Страница 464: ...Programming 2 8 Operators Expanding the user interface 2 114 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...
Страница 638: ...References for text generation Generating target language texts TX2 40 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Страница 672: ...Commissioning a system 1 4 BIOS settings PCU Basesoftware IM8 32 Commissioning Manual 03 2009 6FC5397 1DP10 4BA0 ...