Siemens SINUMERIK 840Di Manual page 165

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

Advertisement

06.03
Setting the
communication
parameters (FB 1)
References
 Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
The HT 6 is parameterized as a machine control panel (MCP) in organization
block OB 100 in the call parameters of function block FB 1.
The HT 6 can be operated either as an MCP substitute or, in addition to an
MCP, as a 2nd operator component.
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:= 14;
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/HT 6 a
HT 6 is additionally 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 FB1,
please refer to:
/FB1/
Description of Functions, Basic Machine: P3, Basic PLC Program
Section: FB 1: RUN_UP Basic program, start-up section
5 MPI Communication
5.7 Handheld terminal HT 6
// 1: 1 operator component MCP/HT 6 (default)
// 2: Two operator components MCP/HT 6
// address of the MCP/HT 6 1 input signals
// address of the MCP/HT 6 1 output signals
// Addr. of the send status data MCP/HT 6 1
// Addr. of the MCP1 receive status data MCP/
// HT 6 1
// default MPI address of the HT 6
// 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
// 0: Start transfer of the MCP/HT 6 signals
// 1: Start transfer of the MCP/HT 6 signals
// 0: Send and receive mode is active
// 1: Only reception of the MCP/HT 6 signals
5-165

Advertisement

Table of Contents
loading

Table of Contents