Siemens SINUMERIK 840Di sl Programming Manual page 68

Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

Fundamental Principles of NC Programming
2.2 Language elements of the programming language
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)
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 =
%2 =
%3 =
%4 =
68
;Set alarm no. 65000
Channel number
Block number, label
Text index for cycle alarms
Additional alarm parameters
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents