Datalogic AMT58 Series Manual page 84

Absolute encoders
Hide thumbs Also See for AMT58 Series:
Table of Contents

Advertisement

5.3 Setting the
Preset
Example
The encoder having device address 1 transmits the
the Master.
It is loaded into variables ED 100 ... ED103 (4 bytes).
The
Preset
value is sent to the encoder by using the variables AD
100 ... AD103 (4 bytes).
The current position of the encoder is 0000 2268hex.
To set the
Preset
value = 0000 0500hex, set the bit 31 of the variable
AD 100 = "1" (8000 0500hex). See also the example in the paragraph
"Preset" on page 38.
Finally click the Command variables button in the Toolbar
(see the right icon).
Now the position of the encoder is 0000 0500hex.
To close the "Preset" procedure set the bit 31 of the variable AD 100
back to "0" and then click the Command variables button again.
NOTE
It may occur that some data variables having index higher than 127
or data greater than 4 bytes are not treated properly in STEP7
software. Should this happen, we recommend "MD" reference
operators (pointers) to be used for encoder position and Preset
value.
value
AMT58x-PB Profibus®
Position
value to
27

Advertisement

Chapters

Table of Contents
loading

Table of Contents