01/2007
7.5 MCP 483C IE
7-169
© Siemens AG 2007 All Rights Reserved
SINUMERIK 840Di sl Manual (HBIsl) – 01/2007 Edition
7.5.4 Linking to the basic PLC and user program
This section describes how to link DP slave: MCP 483
S to the PLC basic program for transferring standard I/O data to the VDI inter-
face
S to the PLC user program (optional) to implement a user–specific response to
a module failure
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.
To transfer standard MCP 483C IE input/output data IE via the PLC basic pro-
gram, the MCP address configured by means of the S2 switch on the module
must be entered in the communication parameters of the FB 1 function block.
Function block FB 1
The communication parameters of the MCP are called MCPx... (x = 1 or 2) in
function block FB 1. 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 483C IE on a SINUMERIK 840Di sl, the following parame-
ters 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.
PLC basic
program
7 Ethernet Communication