06.03
5.4 Machine control panel (MCP)
5-145
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
In order to synchronize several operator components, the PLC program must be
adapted accordingly. This is the user’s (machine manufacturer’s) responsibility.
MCPNum:
INT:= 1;
// number of active operator components
// MCP/HT 6 (default = 1; max. = 2)
MCP1In:
POINTER;
// address of MCP 1 input signals
MCP1Out:
POINTER; //
address
of MCP 1 output signals
MCP1StatSend:
POINTER;
// Addr. of the MCP1 send status data
MCP1StatRec:
POINTER; //
Addr.
of
the MCP1 receive status data
MCP1BusAdr:
INT:= 6;
// default MPI address of the MCP
MCP1Timeout:
S5TIME:= S5T#700MS; // should be kept
MCP1Cycl:
S5TIME:= S5T#200MS; // should be kept
MCPMPI:
BOOL:= FALSE;
// MCP/HT 6 is operated at the “extended”
// MPI bus
The MCP2... parameters are only needed if in addition to the 1st MCP, a 2nd
MCP or HT 6 is used:
MCP2In:
POINTER; //
address
of the MCP/HT 6 2 input signals
MCP2Out:
POINTER; //
address
of the MCP/HT 6 2 output signals
MCP2StatSend:
POINTER; //
Addr.
of the send status data MCP/HT 6 2
MCP2StatRec:
POINTER; //
Addr.
of the MCP1 receive status data MCP/
// HT 6 2
MCP2BusAdr:
INT;
// MPI address
MCP2Timeout:
S5TIME:= S5T#700MS; // should be kept
MCP2Cycl:
S5TIME:= S5T#200MS; // should be kept
The parameters listed below serve to synchronize two operator components:
MCP1Stop:
BOOL:= FALSE;
// transfer of the relevant operator component:
MCP2Stop:
BOOL:= FALSE;
// FALSE = start; TRUE = stop
MCP1NotSend:
BOOL:= FALSE;
// Send and receive mode of the corresponding
MCP2NotSend:
BOOL:= FALSE;
// Operator component:
// FALSE = send and receive is active
// TRUE = only receive is active
Notice
A maximum of two MCP/HT 6 can be operated on an MPI line. To be able to
use MCP and HT 6 on an automation system alternately or simultaneously, the
user (machine manufacturer) has to adapt the PLC program accordingly.
For a detailed description of the basic PLC program or of function block FB 1,
please refer to:
/FB1/
Description of Functions, Basic Machine: P3, Basic PLC Program
Section: FB 1: RUN_UP Basic program, start-up section
FC 19 (for version “M” MCP, milling) or FC 25 (for version “T” MCP, turning)
transfers the signals of the MCP to the NC through the interface.
References
NC interface
parameter
assignment
5 MPI Communication