P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
899
Figure 13-17 840D sl: PROFIBUS connection
MCP failure normally switches the PLC to the STOP state. If this is undesirable, OB 82, OB 86 can be used to
avoid a stop. The basic program has, as standard, the OB 82 and OB 86 call. FC5 is called in these OBs. This
FC5 checks whether the failed slave is an MCP. If this is the case, no PLC stop is triggered. Setting "MCPxStop"
:= TRUE causes the basic program to deactivate the MCP as a slave via SFC 12. If the PLC does not switch to
the stop state following the failure of or a fault on the MCP, an alarm message will be generated via the basic
program. The interrupt is deleted when the station recovers.
Relevant parameters (FB 1)
MCP
HHU
MCPNum = 1 or 2 (number of MCPs)
HHU = 5 (via CP 840D sl)
MCP1In
MCP2In
BHGIn
MCP1Out
MCP2Out
BHGOut
MCP1StatSend (n.r.)
MCP2StatSend (n.r.)
BHGStatSend
MCP1StatRec
MCP2StatRec
BHGStatRec
MCP1BusAdr
MCP2BusAdr
BHGInLen
MCP1Timeout
MCP2Timeout
BHGOutLen
MCP1Cycl (n.r.)
MCP2Cycl
BHGTimeout (n.r.)
MCPMPI = FALSE
BHGCycl (n.r.)
MCP1Stop
MCP2Stop
BHGRecGDNo
MCPBusType = b#16#33
BHGRecGBZNo (n.r.)
BHGRecObjNo (n.r.)
MCPSDB210= FALSE
BHGSendGDNo (n.r.)
MCPCopyDB77 = FALSE
BHGSendGBZNo (n.r.)
BHGSendObjNo (n.r.)
BHGMPI = FALSE
BHGStop
03,'3
'3
++8
1&.
(WKHUQHW
0&3
0&3
'
3
5
352),%86FRQILJ
IRU0&3++8
&3
'VO
LQW3/&
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...