Fb10: Safety Relay (Si Relay) - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

SPB MCP;
// Route the stored override to the interface of the switched MCP
// until the override values match
JC smth2;
S
// When override values match, call the MCP program again
MCP: CALL "MCP_IFM"(
wei2: NOP
13.17.8

FB10: Safety relay (SI relay)

Function
The SPL function block FB10 "Safety relay" for "Safety Integrated" is the PLC equivalent of
the NC function of the same name. The standard SPL "Safety relay" block is designed to
support the implementation of an emergency stop function with safe programmable logic.
However, it can also be used to implement other similar safety functions, e.g., control of a
protective door.
The function contains 3 input parameters ("In1", "In2", "In3"). On switchover of one of these
parameters to the value 0, the output "Out0" is deactivated without delay and outputs "Out1",
"Out2", and "Out3" are deactivated via the parameterized timer values (parameters
"TimeValue1", "TimeValue2", "TimeValue3"). The outputs are activated again without delay if
inputs "In1" to "In3" take on value 1 and a positive edge change is detected at one of the
acknowledgment inputs "Ack1", "Ack2".
Call bit memory
To bring the outputs to their basic setting (values = 0) after booting, the parameter "FirstRun"
must be configured as follows. The parameter "FirstRun" must be switched to the value TRUE
via a retentive data (memory bit, bit in data block) on the 1st run after control booting. This
data can be preset, e.g., in OB100. The parameter "FirstRun" is reset to FALSE when FB10
is executed for the first time. Separate data must be used for parameter "FirstRun" for each
call with its own instance.
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
L EB28;
T DB21.DBB4;
L EB3;
<>i;
M
100.3;
BAGNo
:= B#16#1,
ChanNo
:= B#16#1,
SpindleIFNo
:= B#16#0,
FeedHold
:= M 101.0,
SpindleHold
:= M 101.1);
0;
P3: Basic PLC program for SINUMERIK 840D sl
//Call MCP program
//Buffer storage open
//Route override interface
//Override input byte for feed
//Match?
//No, jump
//Yes, set auxiliary flag 2
//FC19
13.17 Block descriptions
979

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents