Siemens SINUMERIK 840D sl Function Manual page 1349

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

Advertisement

2.7.12
Switchover of handheld device
Only Ethernet variants support switchover/deactivation of the machine control panel (MCP)
or handheld unit (HHU) as standard. On MPI and PROFIBUS variants, this function is either
not supported at all or can only be implemented in restricted format requiring additional effort
on the part of the user. For example, with the PROFIBUS variant of the MCP, the DB77 data
area specified for MCP1, MCP2 or HHU can be used for the MCP pointer on FB1. The MCP
slave bus address must be set correctly under MCPxBusAdr as this is used as the basis for
monitoring. A user program copy routine to copy the signals of the active MCP from the I/O
area configured in HW Config to DB77. This enables a number of MCPs on the PROFIBUS
to be switched via signals. Set the MCPxStop parameter to True for the switchover phase
from one MCP to another.
One method will be outlined now with the Ethernet variants of MCP and HHU.
Control signals
Parameters MCP1Stop, MCP2Stop and BHGStop can be used to stop communication with
individual components (parameter setting = 1). This function is available only on Ethernet
variants. This stop or activation of communication can be applied in the current cycle.
However, the change in value must be implemented through the symbolic notation of the
parameters and not by means of another FB 1 call.
Example of stopping transfer from the first machine control panel:
SET;
S gp_par.MCP1Stop;
Setting parameters MCP1Stop, MCP2Stop, BHGStop also results in a suppression or
deletion of interrupts 400260 to 400262.
Switchover of Bus address
An existing connection with a machine control panel (MCPl) or handheld unit (HHU) can be
aborted. Another MCP or HHU component already connected to the bus (different address)
can then be activated. Proceed as follows to switch addresses:
1. Stop communication with component to be decoupled via parameter MCP1Stop or
2. Following checkback in DB10 byte 104 (relevant bits 0, 1 and 2 are set to 0), the bus
3. In this PLC cycle, communication with the new component can now be activated again by
4. Communication with the new component is taking place when the checkback is in DB10
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
MCP2Stop or BHGStop = 1.
address (with MCP, this is the FB1 parameter "MCP1BusAdr" or "MCP2BusAdr") is
changed; with HHU Ethernet variant, the bus address is set at FB1 parameter
"BHGRecGDNo") of this unit is changed to the new component.
means of parameter MCP1Stop or MCP2Stop or BHGStop = 0.
byte 104 (relevant bits 0, 1, 2 are set to 1).
2.7 Structure and functions of the basic program
Detailed description
75

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