06.03
5.6 Handheld unit (HHU)
5-160
Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
HHU:=
2
// (the HHU is operated on an MPI bus
HHUMPI:=
FALSE
// with 1.5 Mbaud)
HHUIn
P#E 0.0
// address of input data
HHUOut:
P#A 8.0
// address of input data
// (Notice! see below: Note)
BHGInLen:=
B#16#6
// length of input data (6 bytes)
BHGOutLen:=
B#16#14
// length of output data (20 bytes)
BHGStatSend
P#A 28.0
// Addr. of send status data (4 bytes)
HHUStatRec
P#A 32.0
// Addr. of receive status data (4 bytes)
BHGTimeout:=
S5T#700MS
BHGCycl:=
S5T#400MS
BHGRecGDNo:=
2
// acc. to the GD circle parameters
BHGRecGBZNo:= 2
// of the HHU for sending
BHGRecObjNo:=
1
BHGSendGDNo:= 2
// acc. to the GD circle parameters
HHUSendGBZNo:= 1
// of the HHU for receiving
BHGSendObjNo:= 1
Notice
BIT7 in the 1st output byte (parameter: HHUOut; in the example, A 8.7), must
be set to fixed value 1.
7. Load the modified function block into the PLC and then restart the PLC.
8. After communication with the PLC has been established, the message
“Waiting for PLC ...” will disappear from the HHU display.
Now, the display set by way of the block FC13 will appear on the display.
References:
/FB1/ Description of Functions, Basic Machine: P3,
Basic PLC Program
Section: FC 13: HHUDisp Display control for
handheld unit
5 MPI Communication
Содержание SINUMERIK 840Di
Страница 1: ...Manual 06 2003 Edition SINUMERIK 840Di ...
Страница 2: ......
Страница 522: ...06 03 A 522 Siemens AG 2003 All rights reserved SINUMERIK 840Di Manual HBI 06 03 Edition A Abbreviations Notes ...
Страница 548: ...06 03 Index 548 Siemens AG 2003 All rights reserved SINUMERIK 840Di Manual HBI 06 03 Edition Index ...
Страница 550: ......