Encoder
Parameters/Attributes
Dec 2021
ATM60 / ATM90 / KHK53
27
Constant activation results in the current position value (process data) constantly
and repeatedly being set to the preset value.
•
Meanwhile, the input data (position value) in the Master Module remains un-
changed.
•
The EEPROM in the encoder can be destroyed by this!
6.4 Data Assemblies/Data Components
This part describes the individual data components which the encoder can support. Each of the
data components is allocated a certain processing mode.
•
Input data is ‘produced’ by the encoder.
•
Output data is ‘consumed’ by the encoder.
The individual data components are combined to a so-called data assembly and selected via
the configuration required.
Overview of the data components - (I: input, O: output)
I-1
UDINT
Position value (4 bytes)
Encoder profile
I-2
INT
Speed value (2 bytes – signed)
Manufacturer-specific
I-3
UINT
Time stamp (2 bytes)
Manufacturer-specific
O-1
UDINT
Preset value (4 bytes)
Encoder profile
6.4.1 Position Value
The scaled numerical value is calculated according to the equation below. If the scaling function
is not active, the value for Scf is set to one (1), and the value CMR corresponds with PMR. The
offset value is stored in the EEPROM and always adapted by activating the preset function.
Pos_Scal = (Pos_Phy
-
"Offset value")
x
ScF
+
"Preset value"
Definition from the position value (4 bytes) with a maximum resolution of 'nn' bits. -- (2**
nn
).
Byte_1 (MSB)
Byte_2
Byte_3
Byte_4 (LSB)
31 30 29 28 27 26 25 24
23 22 21 20 19 18 17 16
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Number of revolutions (1...8192)
CPR (1...8192)-[steps per rev.]
[CMR]
Example: -- Seen as UDINT value in the "Big Endian" data format.
Byte_1 (MSB)
Byte_2
Byte_3
Byte_4 (LSB)
0 0 0 1 4 0 1 2
81,938
D
== [00.01.40.12]
hex