01/2007
8.6 DP slave: MCP 310
8-204
© Siemens AG 2007 All Rights Reserved
SINUMERIK 840Di sl Manual (HBIsl) – 01/2007 Edition
Notice
Processing of additional I/O data is the sole responsibility of the user (machine
manufacturer) and is not supported by the PLC basic program.
In order to transfer standard input/output data of DP slave: MCP 310 with the
PLC basic program, the I/O address range in question must be entered in the
communications parameters of function block FB1.
Function block FB1
The communications parameters of the MCP are called MCPx... (x = 1 or 2) in
function block FB1. A maximum of 2 machine control panels are supported by
the basic PLC program.
To synchronize several MCPs, the PLC program must be adapted accordingly.
This is the user’s (machine manufacturer’s) responsibility.
To operate an MCP 310 as a DP slave on a SINUMERIK 840Di sl, the following
parameters are relevant:
MCPNum: INT // Number of the MCPs
MCP1In: POINTER // Address of the input signals
MCP1Out: POINTER // Address of the output signals
MCP1BusAdr Byte // PROFIBUS address of the DP slave MCP
The MCP2... parameters are only needed if a 2nd MCP is used in addition to
the 1st MCP:
MCP2In: POINTER // Address of the input signals
MCP2Out: POINTER // Address of the output signals
MCP2BusAdr Byte // PROFIBUS address of the DP slave MCP
Bus type via which the MCP is connected:
MCPBusTyp Byte // MPI = 0
// PROFIBUS = B#16#33
// Ethernet = B#16#55
Notice
Parameters: MCPxStop and MCPxNotSend are of no significance.
References
For a detailed description of the PLC basic program or of function block FB 1,
please refer to:
/FB1/ Description of Functions, Basic Functions: PLC Basic Program P3
Section: FB 1: RUN_UP Basic program, startup section
The following function blocks can be used to assign the VDI interface:
S FC 24: Machine control panel MCP 310, version M (milling)
PLC basic
program
VDI interface
parameter
assignment
8 PROFIBUS DP Communication