Siemens SINUMERIK 840D sl Function Manual page 868

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.10 Structure and functions of the basic program
Activation
Each component is activated either via the number of machine control panels ("MCPNum"
parameter) or, in the case of the handheld unit, via the "HHU" parameter. The MCP and HHU
connection settings are entered in FB1 parameters "MCPMPI", "MCPBusType" or "BHG",
"BHGMPI".
Handheld unit (HT 2)
In the handheld unit the addressing is done via a parameter of the GD parameter set. This
was necessary for reasons of compatibility of the parameter names.
Configuration
Essentially, there are various communication mechanisms for transferring data between the
MCP/HHU and PLC. These mechanisms are characterized by the bus connection of the MCP
and HHU. In one case (Ethernet), data is transported via the "CP 840D sl".
The mechanism is parameterized completely via the MCP/HHU parameters in FB1.
In the other case the transmission is via the PLC operating system through the PROFIBUS
configuration.
The parameter setting is done via STEP 7 in HW-Config. To enable the basic program to
access the data and failure monitoring of MCP/HHU, the addresses set in FB1 parameters
must be made available to the basic program.
An overview of the various coupling mechanisms is shown below. Mixed operation can also
be configured.
If an error is detected due to a timeout monitor, an entry is made in the alarm buffer of the PLC
CPU (alarms 400260 to 400262). In this case, the input signals from the MCP or from the
handheld unit (MCP1In/MCP2In or BHGIn) are reset to 0. If it is possible to resynchronize the
PLC and MCP/HHU, communication is resumed automatically and the error message reset
by the GP.
Note
The abbreviation "(n.r.)" in the tables below means "Not relevant".
Ethernet connection (MCPBusType = 5)
Without further configuration settings being made, communication takes place directly from
the PLC GP via the CP 840D sl. The FB1 parameters listed below are used for
parameterization.
The numeric part of the logical name of the component must be entered in "MCP1 BusAdr",
"MCP2 BusAdr" or "BHGRecGDNo" (corresponds to the bus address of the node). The logical
name is defined via switches on the MCP or terminal box.
868
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents