EasyManua.ls Logo

Siemens SINUMERIK 840Di sl - Page 68

Siemens SINUMERIK 840Di sl
560 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
Loading...
Fundamental Principles of NC Programming
2.2 Language elements of the programming language
Fundamentals
68 Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Setting alarms
You can also set alarms in addition to messages in an NC program. Alarms are displayed in
a separate field on the screen display. An alarm always goes hand in hand with a response
from the controller according to the alarm category.
Alarms are programmed by writing the keyword "SETAL" followed by the alarm number
enclosed in round brackets.
The valid range for alarm numbers is between 60,000 and 69,999, whereby 60,000 to 64,999
are reserved for SIEMENS cycles and 65,000 to 69,999 are available to the user.
Note
Alarms are always programmed in a separate block.
Example:
N100 SETAL (65000)
;Set alarm no. 65000
You will find a list of reactions associated with specific alarms in the Installation and Start-up
Guide.
The alarm text must be configured in the HMI.
Programmable cycle alarms
A character string containing up to 4 parameters can be specified in addition to the alarm
number for the predefined subroutine SETAL.
Programming
SETAL(<alarmnumber>, <string>)
Parameters
Variable user texts can be defined in these parameters. Predefined parameters with the
following meaning are also provided:
%1 = Channel number
%2 = Block number, label
%3 = Text index for cycle alarms
%4 = Additional alarm parameters

Table of Contents

Other manuals for Siemens SINUMERIK 840Di sl

Related product manuals