beautypg.com

1 preset depending on different telegrams, 2 absolute preset with negative value, 4 error state – HEIDENHAIN PROFINET User Manual

Page 108: 5 error acknowledgement, 6 start up, Preset depending on different telegrams, Absolute preset with negative value, Error state, Error acknowledgement, Start up

background image

Encoder state machine

108

10.3.1

Preset depending on different telegrams

When using standard telegram 81-83, the acyclic encoder param-

eter 65000 Preset value 32 bit shall be used to set a preset value

(<=32 bit) for the encoder. If the acyclic encoder parameter 65002

Preset value 64 bit is used in this case, an error message will be

returned. With telegram 81-83 the operating status must be read

by encoder parameter 65001 Operating status 32 bit.

With telegram 84, the acyclic encoder parameter 65002 Preset

value 64 bit shall be used to set a preset value (<=64 bit) for the

encoder. If the acyclic encoder parameter 65000 Preset value 32

bit is used in this case, an error message will be returned. With

telegram 84 the operating status must be read by encoder pa-

rameter 65003 Operating status 64 bit.

10.3.2

Absolute preset with negative value

Preset data sent with acyclic encoder parameter 65000 or 65002

are signed values. The relative preset mode uses signed preset

values, but with the absolute preset mode no preset will be made

if a negative preset value (set with encoder parameter 65000 or

65002) is used while trying to initiate an absolute preset.

10.4

Error state

This state is reached when an error has occurred. The encoder

can enter this state from both the normal operation state and the

set/shift home position state. If an error occurs, the Status word

bit 15 Sensor error is set, and the error code is displayed in

G1_XIST2 instead of the position value.

10.5

Error acknowledgement

This state is reached when an error has occurred, and Control

word bit 15 Acknowledging a sensor error has been set. The Sta-

tus word bit 11 Requirement of error acknowledgment detected

and Status word bit 15 Sensor error are set to 1.

10.6

Start up

This state is only reached when Control word bit 14 Activate park-

ing sensor are cleared (=0). Once the Control word bit 14 are

cleared, it takes about 500ms before the Status word bit 14 Park-

ing sensor active are set to zero (=0).The reason for the delay is

that before the encoder goes to normal operation mode, an initial-

izing of the encoder is made.