Siemens SINUMERIK 840D sl Function Manual page 279

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

Advertisement

SIRELOUT: This language command assigns the input quantities A0, A1, A2 and A3 to the
safety relay x (x = 1...4). The return value "status" contains the number of the first incorrect
parameter; a value of 0 indicates that the parameter assignment is correct.
Syntax: SIRELOUT (x,status,"A0","A1","A2",A3")
The transfer parameters A0 to A3 are strings and must therefore be entered in quotation marks
(" "). The following system variables are permissible as output quantities:
$A_MARKERSI[ ]
$A_OUTSE[ ]
$A_OUTSI[ ]
$A_PLCSIOUT[ ]
A1 to A3 are optional. If these parameters are not specified, then the corresponding outputs
are not supplied. However, if A1 is specified, the initialization value for timer 1 (TI1) must also
be parameterized via SIRELTIME. The same applies for A2 and timer 2 (TI2) and A3 and timer
3 (T!3).
SIRELTIME: This language command assigns the times - for the timers required - to safety
relay x (x=1..4). These include the timer limit value TM1 and the timer initialization values TI1,
TI2 and TI3. The return value contains the number of the first incorrect parameter; a value of
0 indicates that the parameter assignment is correct.
Syntax: SIRELTIME (x,status,TM1,TI1,TI2,TI3)
Transfer parameters TM1 to TI3 are REAL numbers (times in seconds). TI1 to TI3 are optional.
If these parameters are not specified, the corresponding outputs A1 to A3 are not supplied.
However, if TI1 is specified, output A1 must also be parameterized via SIRELOUT. The same
applies for TI2 and A2 and TI3 and A3.
Note
● The initialization language commands must be directly included in the part program (e.g.
SAFE.SPF); they may not be used in synchronized actions! If this condition is violated,
Alarm 12571, "Channel 1 Block %2 %3 not permitted in motion synchronizing action" is
triggered.
● As described above, there is an interdependency between the number of the optional
parameters for the language commands SIRELTIME and SIRELOUT. This
interdependency is checked in the language command that comes later in the part program
sequence. If, for example, A2 is no longer parameterized in SIRELOUT, but TI2 is specified
in SIRELTIME, then this parameter is identified as being incorrect!
Cyclic sequence
The correctly timed call in the SPL is made using the language command SIRELAY. A calling
parameter is not required in the cyclic section except to select the required relay x (x = 1...4).
Initialization must be carried out beforehand. If this is not correctly done, then this is indicated
in the return value of the language command SIRELAY. The cyclic section must be integrated
in the synchronized actions of the SPL.
Syntax: status = SIRELAY(x)
Safety Integrated
Function Manual, 12/2017, 6FC5397-4BP40-6BA1
Connecting sensors and actuators
8.5 Safe programmable logic
279

Advertisement

Table of Contents
loading

Table of Contents