Siemens SINUMERIK 828D Function Manual page 901

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

MCP failure normally switches the PLC to the STOP state. If this is unwanted, OB 82, OB 86 can be used to
avoid a PLC 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 alarm is deleted when the station returns.
840D sl: PROFINET connection
In case of a PROFINET connection of the MCP, this component must be parameterized in the hardware
configuration of STEP 7. The MCP is coupled with the PROFINET module of the CPU.
When parameterizing the MCP in HW Config, the addresses should be placed in the input and output mapping
area. These start addresses must also be stored in the pointer parameters (MCPxIn and MCPxOut) of FB1. This
is because signals are transferred between the MCP and basic program via these parameters. The MCP is also
monitored using parameter MCPxIn. The is the reason that parameter MCPxBusAdr is not relevant for this MCP
version.
Enter the pointer to the configured diagnostic address (e.g. P#A8190.0) in MCPxStatRec.
The PROFINET-MCP has its own type, which should be applied for parameter MCPBusType.
The FB1 parameters listed below are used for further parameter assignment. There is no Profibus variant of the
HHU. An Ethernet port for the HHU is shown in the diagram.
Figure 13-19 840D sl: PROFINET connection
Relevant parameters (FB1)
MCP
MCPNum = 1 or 2 (number of MCPs)
MCP1In
MCP1Out
MCP1StatSend (n.r.)
MCP1StatRec (n.r.)
MCP1BusAdr (n.r.)
MCP1Timeout
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
MCP2In
MCP2Out
MCP2StatSend (n.r.)
MCP2StatRec (n.r.)
MCP2BusAdr (n.r.)
MCP2Timeout
P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
HHU
HHU = 5 (via CP 840D sl)
BHGIn
BHGOut
BHGStatSend
BHGStatRec
BHGInLen
BHGOutLen
901

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents