AWE

These functions communicate with the AWE electronics which controls the Heidenhain encoders.

ONLINE> awe(device) = text_expr
ONLINE> $*$ = awe(device)

These is also a menu which is used for setup purposes, sec. 12.1:

ONLINE> gpib/awe device


Table 12.1: The AWE Menu
 
                         --- AWE MENU ---

     Device:          1
     SPECTRA:                                                            
     AWE Command:

     Position:        0
     Position:        0               [Deg]
     Poll byte:

     1. Byte:
     2. Byte:
     3. Byte:
     4. Byte:
     5. Byte:






------------------------------------------------------------------------------
  PF1 - Start , PF2 - Bus clear (DCL), PF3 - Device clear (SDC), PF4 - EXIT


Explanations:

 SPECTRA:
An ONLINE command may be entered.
 AWE Command:
An AWE command may be entered. See the AWE manual for possible commands.
 The other menu items display information which is returned from the AWEs. The poll byte contains status information, the other bytes encode the position.
 PF1:
Sends “S1X".
 PF2:
Performs a device-clear. The reference point is lost and a compensation run has to be done.
 PF3:
Selective-device-clear, needed, if the command “$*$ = awe(1)" produces a time-out (-6). The fixup procedure is:
  • PF3
  • Command “A0X" which returns: 10102.
  • Byte number 3 is equal to 1, we have to enter the command “R1X" and move the axis over 0.
  • Command “A0X" which returns: 11002.



Subsections