06.03
5.7.5
Connecting and disconnecting an HT 6 during running operation
References
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
MCPNum:
INT:= 1;
MCP1In:
P#E 0.0;
MCP1Out:
P#A A 0.0;
MCP1StatSend:
P#A 8.0;
MCP1StatRec:
P#A 12.0;
MCP1BusAdr:
INT:= 14;
MCP1Timeout:
S5TIME:= S5T#700MS; // should be kept
MCP1Cycl:
S5TIME:= S5T#200MS; // should be kept
MCPMPI:
BOOL:= FALSE;
MCP1Stop:
BOOL:= FALSE;
MCP1NotSend:
BOOL:= FALSE;
3. Insert block FC 26 into the cyclic part of the PLC program (see Fig. 5-16).
4. Load the modified blocks into the PLC and then restart the PLC.
5. After communication with the PLC has been established, the message
"Waiting for PLC ..." will disappear from the HT 6 main screen.
The MMC user interface is displayed.
To be able to connect an HT 6 to or disconnect from an automation system with-
out any trouble during operation, make the following arrangements:
S
The EMERGENCY STOP of the HT 6 must be enabled or jumpered,
S
The HT 6 must be connected to the MPI bus through a PROFIBUS repeater.
For a detailed description of the actions to be taken and the devices required,
please refer to:
/BH/
Operator Components Manual
Section: Handheld Terminal HT 6
Connecting and disconnecting the HT 6 during operation.
5 MPI Communication
5.7 Handheld terminal HT 6
// one HT 6 exists
// P# = pointer to
// address of input data (8 bytes)
// address of input data (8 bytes)
// address of the send status data (4 bytes)
// address of receive status data (4 bytes)
// default MPI address of the HT 6
// the HT 6 is operated at the "extended"
// MPI bus
5-167