Siemens SINUMERIK 840Di Manual page 145

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

Advertisement

06.03
References
NC interface
parameter
assignment
 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;
MCP1In:
POINTER;
MCP1Out:
POINTER;
MCP1StatSend:
POINTER;
MCP1StatRec:
POINTER;
MCP1BusAdr:
INT:= 6;
MCP1Timeout:
S5TIME:= S5T#700MS; // should be kept
MCP1Cycl:
S5TIME:= S5T#200MS; // should be kept
MCPMPI:
BOOL:= FALSE;
The MCP2... parameters are only needed if in addition to the 1st MCP, a 2nd
MCP or HT 6 is used:
MCP2In:
POINTER;
MCP2Out:
POINTER;
MCP2StatSend:
POINTER;
MCP2StatRec:
POINTER;
MCP2BusAdr:
INT;
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;
MCP2Stop:
BOOL:= FALSE;
MCP1NotSend:
BOOL:= FALSE;
MCP2NotSend:
BOOL:= FALSE;
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.
5 MPI Communication
5.4 Machine control panel (MCP)
// number of active operator components
// MCP/HT 6 (default = 1; max. = 2)
// address of MCP 1 input signals
// address of MCP 1 output signals
// Addr. of the MCP1 send status data
// Addr. of the MCP1 receive status data
// default MPI address of the MCP
// MCP/HT 6 is operated at the "extended"
// MPI bus
// address of the MCP/HT 6 2 input signals
// address of the MCP/HT 6 2 output signals
// Addr. of the send status data MCP/HT 6 2
// Addr. of the MCP1 receive status data MCP/
// HT 6 2
// MPI address
// transfer of the relevant operator component:
// FALSE = start; TRUE = stop
// Send and receive mode of the corresponding
// Operator component:
// FALSE = send and receive is active
// TRUE = only receive is active
5-145

Advertisement

Table of Contents
loading

Table of Contents