Siemens SINUMERIK 840D sl Function Manual page 281

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

Advertisement

E3), then time t4i is allocated the measured time t4. For additional measurements, while A0
remains at 0, t4i is only re-saved if the measured time t4 is greater than the old value of t4i.
Supplementary conditions
The language commands SIRELIN, SIRELOUT and SIRELTIME may not be used in
synchronized actions.
The language command SIRELAY may only be used in synchronized actions of the SPL
(SAFE.SPF). The connection must be specified beforehand using the language commands
SIRELIN, SIRELOUT and SIRELTIME.
Example
Example of an Emergency Stop implemented using NCK-SPL in SAFE.SPF:
DEF
N10 DEFINE IE_NH_E
N20 DEFINE IE_NH_Q
N30 DEFINE MI_NH_Q
N40 DEFINE MI_C_ABW
N50 DEFINE MI_A_ABW_A
N60 DEFINE MI_A_ABW_S
N70 DEFINE M_STATUS_1
;------------------------------------------------------------------
N200 SIRELIN(1,RESULT_IN,"IE_NH_Q","MI_NH_Q","IE_NH_E")
N210 SIRELOUT(1,RESULT_OUT,"MI_C_ABW","MI_A_ABW_A","MI_A_ABW_S")
N220 SIRELTIME(1,RESULT_TIME,0.4, 2.2, 3.5)
;------------------------------------------------------------------
N300 IDS=10 DO M_STATUS_1 = SIRELAY(1)
-------------------- Error handling -------------------------------------------------------------------------
N310 IDS=11 EVERY M_STATUS_1 < > DO . . . . . .
Function_Block FB10
Declaration of the function
VAR_INPUT
Safety Integrated
Function Manual, 12/2017, 6FC5397-4BP40-6BA1
In1 : BOOL:= True;
In2 : BOOL := True ;
In3 : BOOL := True ;
Ackn1 : BOOL;
Ackn2 : BOOL;
TimeValue1 : TIME := T#0ms ; //
TimeValue2 : TIME := T#0ms ; //
TimeValue3 : TIME := T#0ms ; //
Connecting sensors and actuators
INT RESULT_IN, RESULT_OUT, RESULT_TIME
AS $A_INSE[1]
AS $A_INSE[2]
AS $A_MARKERSI[1]
AS $A_MARKERSI[2]
AS $A_MARKERSI[3]
AS $A_MARKERSI[4]
AS $AC_MARKER[1]
//
Input 1
//
Input 2
//
Input 3
//
Ackn1 signal
//
Ackn2 signal
TimeValue for output 1
TimeValue for output 2
TimeValue for output 3
8.5 Safe programmable logic
281

Advertisement

Table of Contents
loading

Table of Contents