Siemens Sinumerik 840D sl Function Manual page 305

Sinumerik safety integrated
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

10/15
Table 7-9
An IF condition can be programmed in the block in front of the jump instruction.
Program branch
CASE(<expression>)
OF <constant_1>
GOTOF <jump designa-
tion_1> <constant_2>
GOTOF<jump destina-
tion_2...>
DEFAULT GOTOF <jump
designation 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
REPEAT, UNTIL
Program flow
STOPRE
DELAYSTON
DELAYSTOF
Comparison operators
<>, ==, >=, <, >, <=
Bit- -by- -bit logic operator
B_AND
B_OR
B_NOT
B_XOR
Logic operator
AND
OR
NOT
XOR
For the logic operations, the following applies to the BOOL, CHAR, INT and REAL data
types: 0 corresponds to FALSE; not equal to 0, corresponds to TRUE
© Siemens AG 2015 All Rights Reserved
SINUMERIK 840D sl/SINAMICS S120 SINUMERIK Safety Integrated (FBSI sl) - - 10.2015 Edition
Permissible language commands for SAFE.SPF, continued
;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
;Program loop with condition at end of loop
;Preprocessing stop
;Start of a stop delay area
;End of a stop delay area
Connecting Sensors/Actuators
7.5 Safe programmable logic (SPL)
7-305

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics s120

Table of Contents