PROFIBUS DP Communication
8.6 DP slave MCP 310
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
265
/FB1/ Function Manual - Basic Functions: P3 PLC Basic Program, Chapter "FB 1: RUN_UP
Basic Program", Startup section
VDI interface parameter assignment
The following function modules are available for assigning the VDI interface parameters:
●
FC 24: Machine control panel MCP 310, version M (milling)
NOTICE
Function blocks FC 19, FC 24 and FC 25 are part of the PLC basic program. It is the
user's (machine manufacturer's) responsibility to call the block correctly or assign the
interface the appropriate parameters.
References:
A detailed description of the function blocks for transferring machine control panel signals to
the VDI interface can be found in:
/FB1/ Function Manual - Basic Functions: P3 PLC Basic Program, Section "FC 19:
MCP_IFM ...", Section "FC 24: MCP_IFM2 ...", Section "FC 25: MCP_IFT ..."
Example
The following example shows the communication parameter settings for function block FB 1
for an MCP:
MCPNum
:= 1
// Number of MCP
MCP1In
:= P#E0.0
// Address: Input data
MCP1Out
:= P#A0.0
// Address: Output data
MCP1StatRec
:= P#A8190.0
// Configured diagnostic address
MCP1BusAdr
:= 5
// PROFIBUS address of the MCP DP slave
MCP1Timeout
:= S5T#700MS
// Default setting
MCPMPI
:= FALSE
// No MPI bus
MCP1Stop
:= FALSE
// Deactivation of the DP slave MCP
MCPSDB210
:= FALSE
// No SDB210 for MCP
MCPCopyDB77
:= FALSE
// No copying to DB 77
MCPBusType
:= B#16#33
// PROFIBUS
PLC user program
If an MCP is connected via PROFIBUS DP, the basic PLC program does not check for
module failure.
In this case the MCP is monitored by a standard mechanism to monitor the active DP slave:
●
PLC operating system
●
PROFIBUS controller
On detecting a failure of an MCP 310 DP slave, the PLC is switched to the STOP state by
default.