Siemens SIMATIC FC 45 Function Manual page 72

Sensors
Table of Contents

Advertisement

Examples/applications
6.5 Programming a module failure
Network: 2 Reset channel 2 on error
x2:
OB 86 must also be available on the automation system in addition to OB 122 to prevent the
system from switching to STOP if a PROFIBUS slave fails. No code needs to be
programmed in OB 86 for the correct operation of FC 45.
After the error on the ASM has been corrected and the ASM is ready for operation again, the
user must send an init_run to the FC 45. The ASM is then ready for operation.
6-10
L #OB122_MEM_ADDR
L
"MOBY DB".SLG[2].ASM_address
-D
SRW 1
L 1
+D
L
"MOBY DB".SLG[2].ASM_channel
==I
SPBN x2
SET
S "MOBY DB".write/read
device[2].ASM_failure
NOP 0
// Formula:
// (#OB122_MEM_ADDR -
SLG[x].ASM_address) / 2 + 1
// Compare with config.
channel
// Power failure on ASM
Function manual, Release 03/2006 , J31069-D0167-U001-A2-7618
FC 45

Advertisement

Table of Contents
loading

Table of Contents