Siemens SINUMERIK 840D sl Function Manual page 273

Safety integrated
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

MINVAL( )
MAXVAL( )
BOUND( )
Predefined safety functions
SIRELIN( )
SIRELOUT( )
SIRELTIME( )
SIRELAY
Predefined functions and procedures
ITOR( )
ITOB( )
RTOI( )
RTOB( )
BTOI( )
BTOR( )
SETAL( )
MSG(<<)
Program jumps
GOTOB
GOTOF( )
GOTO
GOTOC
An IF condition can be programmed in the block in front of the jump instruction.
Program branch
CASE(<expression>)
OF <constant_1>
GOTOF <jump destination_1>
<constant_2>
GOTOF<jump destina‐
tion_2...>
DEFAULT GOTOF <jump
destination n>
Program repetition
REPEAT LableA P=n
REPEAT LableA LableB P=n
REPEATB LableA P=n
Control structures
IF, ELSE, ENDIF
LOOP, ENDLOOP
FOR, TO, ENDFOR
WHILE; ENDWHILE
Safety Integrated
Function Manual, 12/2017, 6FC5397-4BP40-6BA1
;Lower value of two variables
;Larger value of two variables
;Variable value within the defined value range
;Assign input quantities
;Assign output quantities
;Assign times for timer
;
;Conversion, integer to real
;Conversion, integer to bool
;Conversion, real to integer
;Conversion, real to bool
;Conversion, bool to integer
;Conversion, bool to real
;Set alarm
;Output message with contents of variables
;Jump instruction with jump destination towards the beginning of pro‐
gram
;Jump instruction with jump destination towards the end of program
;Jump instruction with jump destination search. The search
;is first made towards the end of the program, then towards the begin‐
ning of the program.
;Same effect as for GOTO, with the difference that Alarm
;14080 "Jump designation not found" is suppressed.
;Repeat program section
;Repeat program section
;Repeat block
;Program loop with alternative
;Endless program loop
;Count loop
;Program loop with condition at start of loop
Connecting sensors and actuators
8.5 Safe programmable logic
273

Advertisement

Table of Contents
loading

Table of Contents