EasyManuals Logo

Siemens SINUMERIK Commissioning Manual

Siemens SINUMERIK
736 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #124 background imageLoading...
Page #124 background image
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.

Table of Contents

Other manuals for Siemens SINUMERIK

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK and is the answer not in the manual?

Siemens SINUMERIK Specifications

General IconGeneral
InterfaceEthernet, PROFIBUS, PROFINET, USB
Programming LanguagesDIN/ISO
DisplayTFT color display
CompatibilitySiemens drives and motors
SoftwareSINUMERIK Operate
Control Unit TypeCNC (Computer Numerical Control)
Safety FunctionsIntegrated safety functions up to SIL 3/PLe

Related product manuals