7 Configuring example
11.03
7.3 Safety Integrated with SPL
© Siemens AG 2003 All Rights Reserved
7-376
SINUMERIK 840D/SIMODRIVE 611 digital SINUMERIK Safety Integrated (FBSI) - Edition 11.03
On the PLC, the I/O input and output bits must be assigned in SPL interface
DB18.
External PLC inputs
DB18.DBX38.0 ... DB18.DBX41.7 :
$A_INSEP[1..32]
DB18.DBX42.0 ... DB18.DBX45.7 :
$A_INSEP[33..64]
External PLC outputs
DB18.DBX46.0 ...DB18.DBX49.7 :
$A_OUTSEP[1..32]
DB18.DBX50.0 ...DB18.DBX53.7 :
$A_OUTSEP[33..64]
They are assigned bitwise in the user program.
Configuration example:
Program excerpt FC96 - Assignment as shown in the
table
//
//
Supply I/Os ==> SPL_DATA_INSEP
//
//
U
E 76.0
// EMERGENCY STOP switch
=
"SPL".NOT_HALTE
//
U
E 76.1
// Door switch
=
"SPL".TUERZUVER
//
U E 76.3 // EMERGENCY STOP
acknowledgement
= "SPL".NOT_QUIT
//
U E 76.5
= "SPL".SCHLUESSEL // Key-operated switch
//
(SBH
de-selection)
//
// The logic operations are located here (SPL)
//
//
Supply SPL_DATA_OUTSEP ==> I/Os
//
U
"SPL".NOT_HALT1K
// EMERGENCY STOP 1K
=
A 48.2
// EMERGENCY STOP contactor K1
//
The same procedure is applied to the internal SPL inputs or outputs:
Internal SPL inputs
DB18.DBX54.0 ... DB18.DBX57.7 :
$A_INSIP[1..32]
DB18.DBX58.0 ... DB18.DBX61.7 :
$A_INSIP[33..64]
The SGAs are output signals of the SI function and can be mapped to the DB18
variables $A_INSIP[n]. These can be read in the PLC-SPL and used as inputs
for the logic operations.
Internal SPL outputs
DB18.DBX62.0 ...DB18.DBX65.7 :
$A_OUTSIP[1..32]
DB18.DBX66.0 ...DB18.DBX69.7 :
$A_OUTSIP[33..64]
The SGEs are input signals of the SI function and their values are assigned
from the DB18 variables $A_OUTSIP[n]. These can be written in the PLC-SPL.
$A_INSEP /
$A_OUTSEP PLC
$A_INSIP /
$A_OUTSIP PLC