Siemens SINUMERIK 840D sl Function Manual page 1055

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Configuring
Essentially, there are two communication mechanisms for transferring data between the
MCP/HHU and PLC. These mechanisms are determined by the connection of the MCP and
HHU. With the first mechanism, data are transported via the COM module (840D/810D). The
parameter setting is thereby done completely via the MSTT/BHG parameter in the FB1.
In the second case, data are transferred via the PLC operating system (FM-NC) by means of
the evaluation of SDB210 (global data) or via the Profibus configuration. The mechanism is
parameterized via STEP7 -> Global Data or in HW Config. To allow the basic program to
access these data and implement MCP/HHU failure monitoring, the addresses set via
SDB210 (global data) must be declared in the FB1 parameters in the basic program.
An overview of the various interfacing options as a function of the NC type used is given
below. In each case, the parameter set of FB1 and the valid status information relevant for
the respective data transmission method are specified.
If an error is detected due to a timeout monitor, a corresponding entry is made in the
diagnostic buffer of the PLC CPU (errors 400260 to 400262). In this case, the input signals
from the MCP or from the handheld unit (MCP1In/MCP2In or BHGIn) are initialized with 0. If
it is possible to resynchronize the PLC and MCP/HHU, communication is resumed
automatically and the error message reset by the BP.
840D: OPI/MPI connection
Communication starts from the PLC BP via the NCK and COM mode, i.e., even a link via the
MPI does not require an SDB210. Parameter settings are made via the relevant parameters
in FB1.
Figure 2-15
Relevant parameters (FB1)
MCP
MCPNum=1 or 2 (number of MCPs)
MCP1In
MCP1Out
MCP1StatSend
MCP1StatRec
MCP1BusAdr
MCP1Timeout
MCP1Cycl
MCPMPI = FALSE (OPI), TRUE (MPI)
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
840D: OPI/MPI connection
MCP2In
MCP2Out
MCP2StatSend
MCP2StatRec
MCP2BusAdr
MCP2Timeout
MCP2Cycl
2.7 Structure and functions of the basic program
HHU
BHG=2
(transfer via COM module)
BHGIn
BHGOut
BHGStatSend
BHGStatRec
BHGInLen
BHGOutLen
BHGTimeout
BHGCycl
Detailed description
71

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents