Siemens SINUMERIK 840Di sl Commissioning Manual page 265

Hide thumbs Also See for SINUMERIK 840Di sl:
Table of Contents

Advertisement

/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)
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
MCP1In
MCP1Out
MCP1StatRec
MCP1BusAdr
MCP1Timeout
MCPMPI
MCP1Stop
MCPSDB210
MCPCopyDB77
MCPBusType
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.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
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.
:= 1
// Number of MCP
:= P#E0.0
// Address: Input data
:= P#A0.0
// Address: Output data
:= P#A8190.0
// Configured diagnostic address
:= 5
// PROFIBUS address of the MCP DP slave
:= S5T#700MS
// Default setting
:= FALSE
// No MPI bus
:= FALSE
// Deactivation of the DP slave MCP
:= FALSE
// No SDB210 for MCP
:= FALSE
// No copying to DB 77
:= B#16#33
// PROFIBUS
PROFIBUS DP Communication
8.6 DP slave MCP 310
265

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840die sl control

Table of Contents