EasyManuals Logo

Siemens SINUMERIK 840D sl Programming Manual

Siemens SINUMERIK 840D sl
1334 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 #1001 background imageLoading...
Page #1001 background image
Program code
N100 ENDIF
N200 PHASE=4
N210 IF EXTDEVICE
N220 OUTPUT=SPRINT("End phase: %D",PHASE)
N230 WRITE(RESULT,"LOCAL_DRIVE/my_file.txt",OUTPUT)
N240 ENDIF
See also
String operations (Page 447)
Write file (WRITE) (Page 565)
3.23.5 Alarms (SETAL)
Alarms can be set in an NC program. Alarms are displayed in a separate field at the user
interface. An alarm always goes hand in hand with a response from the control according to the
alarm category.
Syntax
SETAL(<No>[,<String>])
Meaning
SETAL(...): Predefined procedure for setting an alarm
SETAL must be programmed in a separate NC block.
<No>: Alarm number
Data type: INT
Range of val‐
ues:
60000 ... 64999 (reserved) Alarms for SIEMENS cycles
65000 ... 69999 Alarms for user cycles
<String>: Character string (optional)
Data type: STRING
When programming user cycle alarms, a character string with up to four parameters
can be specified.
Variable user texts can be defined in these parameters.
The following predefined parameters are available:
%1 Channel number
%2 Block number, label
%3 Text index for cycle alarms
%4 Additional alarm parameters
Work preparation
3.23 Additional functions
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 1001

Table of Contents

Other manuals for Siemens SINUMERIK 840D sl

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 840D sl Specifications

General IconGeneral
Control TypeCNC
Number of AxesUp to 31
Max Number of Channels10
InterfacesEthernet, PROFIBUS, PROFINET, USB
Interpolation5-axis interpolation
Operating Temperature0°C to 45°C
Relative HumidityUp to 95% (non-condensing)
DisplayTFT color display, various sizes
Programming LanguagesDIN/ISO
Safety FeaturesSafety Integrated
PLCIntegrated PLC S7-300
Drive InterfaceSINAMICS S120
Data StorageCF card, USB
Operating SystemWindows-based

Related product manuals