Siemens SINUMERIK 840Di Manual page 160

Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

5 MPI Communication
5.6 Handheld unit (HHU)
5-160
HHU:=
2
HHUMPI:=
FALSE
HHUIn
P#E 0.0
HHUOut:
P#A 8.0
BHGInLen:=
B#16#6
BHGOutLen:=
B#16#14
BHGStatSend
P#A 28.0
HHUStatRec
P#A 32.0
BHGTimeout:=
S5T#700MS
BHGCycl:=
S5T#400MS
BHGRecGDNo:=
2
BHGRecGBZNo:= 2
BHGRecObjNo:=
1
BHGSendGDNo:= 2
HHUSendGBZNo:= 1
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
// (the HHU is operated on an MPI bus
// with 1.5 Mbaud)
// address of input data
// address of input data
// (Notice! see below: Note)
// length of input data (6 bytes)
// length of output data (20 bytes)
// Addr. of send status data (4 bytes)
// Addr. of receive status data (4 bytes)
// acc. to the GD circle parameters
// of the HHU for sending
// acc. to the GD circle parameters
// of the HHU for receiving
handheld unit
 Siemens AG, 2003. All rights reserved
SINUMERIK 840Di Manual (HBI) – 06.03 Edition
06.03

Advertisement

Table of Contents
loading

Table of Contents