75
C74 Display of angular position of main shaft, incremental encoder test
Options: Press “+/-” key to switching over between position reading and reading of incremental encoder ! ags, and
vice versa.
Press “RETURN” key to reset the incremental encoder ! ags.
Special function: Reset of incremental encoder ! ags
Description: Once this code is called up, the angular position and incremental encoder status register are display
continuously.
On digital machines the angular position is displayed in initially. Pressing the Option key toggles the right-hand display
between angular location and status register.
For a short tes t t urn the main sha ft at least 2 turns in bo th directions, the sta tus re gister then
must show 2 3F . For detailed status information see below.
Angular position:
As long as the incremental encoder has not jet synchronized with the zero reference, the angular location reading is
“- - -”.
After synchronization the angular position is display as a value in a range between 0 and 511.
Status register:
The status register is read out in form of a three-digit hexadecimal code XYZ:
X signals the status of the incremental encoder:
0 not initialised (only in case of an software malfunction)
1 not synchronised
2 synchronised
YZ covers the 8 ! ags er, ev, sr, sv, ba, ab, b, a
a A channel signal available
b B channel signal available
ab phase sequence channel A before B identi" ed (reverse rotation)
ba phase sequence channel B before A identi" ed (foreward rotation)
sv zero reference identi" ed in forward rotation
sr zero reference identi" ed in backward rotation
ev synchronising error in forward rotation
er synchronising error in backward rotation
Pressing the Special Function key will reset the YZ part of the reading to 00, the X part will not be reset.
Characteristic values of the status register (YZ part)
-00 after switching power on (main shaft not moved at all), or after pressing the Special function key
-07 after 2 turns backward à A- and B channel signals are OK, but there is no synchronisation in backward
direction
-0b after 2 turns forward à A and B channel signals are OK, but there is no synchronisation in forward direction
-1b after 2 turns forward backward à A and B channel signals are OK, synchronisation in forward rotation is OK as
well.
-1F after 2 turns in each direction à A and B channel signals are OK, but synchronisation was made in forward
direction only
-27 after 2 turns backward à A and B channel signals are OK, synchronisation in backward direction is OK as well
-2F after 2 turns in each direction à A and B channel signals are OK, but synchronisation was made in backward
direction only
23F Incremental encoder was rotated by more than 2 turns in each direction and performs properly.
>-40 Synchronisation error in forward direction
>-80 Synchronisation error in backward direction.
Comments: If this test fails (no 23F) please check
• the cabling of the optoencoder – micro-controller
• the connectors of the cable
• clean the incremental encoder sleeve
C75 Display values from AD converter
Options: Choosing the AD channel