06.03
5.7 Handheld terminal HT 6
5-167
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
MCPNum:
INT:= 1;
// one HT 6 exists
// P# = pointer to
MCP1In:
P#E 0.0;
// address of input data (8 bytes)
MCP1Out:
P#A A 0.0;
// address of input data (8 bytes)
MCP1StatSend:
P#A 8.0;
// address of the send status data (4 bytes)
MCP1StatRec:
P#A 12.0;
// address of receive status data (4 bytes)
MCP1BusAdr:
INT:= 14;
// default MPI address of the HT 6
MCP1Timeout:
S5TIME:= S5T#700MS; // should be kept
MCP1Cycl:
S5TIME:= S5T#200MS; // should be kept
MCPMPI:
BOOL:= FALSE;
// the HT 6 is operated at the “extended”
// MPI bus
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.
5.7.5
Connecting and disconnecting an HT 6 during running operation
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.
References
5 MPI Communication