Ethernet communication
7.5 MCP 483C IE
Manual
196
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
7.5.4
Linking to the basic PLC and user program
This Chapter describes how to link the MCP 483C IE:
●
to the PLC basic program for transferring standard I/O data to the VDI interface
●
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.
PLC basic program
To transfer standard MCP 483C IE input/output data via the PLC basic program, 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 module FB 1:
The communication 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 483C IE on a SINUMERIK 840Di sl, the following parameters are
relevant:
MCPNum:
INT
// Number of MCP
MCP1In:
POINTER
// Address of input signals
MCP1Out:
POINTER
// Address of output signals
MCP1BusAdr
Byte
// MCP address (switch S2)
The MCP2... parameters are only needed if a 2nd MCP is used in addition to the 1st MCP:
MCP2In:
POINTER
// Address of input signals
MCP2Out:
POINTER
// Address of output signals
MCP2BusAdr
Byte
// MCP address (switch S2)
Bus type via which the MCP is connected:
MCPBusType
Byte
// 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/ Function Manual - Basic Functions; P3 Basic PLC Program, Chapter "FB 1: RUN_UP
Basic program, startup section