Attribute
Mandatory/
optional
(+default
value)
Value range/
allowed values
Description
revolutions O; default = 1 Integer >0 Number of
revolutions
that are used
when
calculating
valid positions,
for example, if
there is a gear.
osetRev O; default = 0 Float Desired end
rotor position
relative to the
nearest
physical
position. The
reference-
position is
determined by
the absolute
position at the
beginning of
this segment
and the
partition/
revolutions.
Given in
revolutions of
the axis.
Table 2.39 Attributes for compensateRounding
Action: Log Value
This action is used to log values at specic points in the
CAM for later readout. All parameters that are available in
the object dictionary can be logged.
There are 16 memory cells available for logging. The
information is not automatically read out. This must be
done by the application. Memory cells are in object 0x3870
(see chapter 7.14.16 Parameter: Logged Values (0x3870)).
<logValue index="0x2020" sub-index="0x01"
memory="1"/>
The data must be interpreted according to the data type
of the value.
Attribute
Mandatory/
optional
(+default
value)
Value range/
allowed values
Description
index M Existing
parameter
index
Index of the
parameter to
be logged.
Sub-index O; default = 0 Existing sub-
index
Sub-index of
the parameter
to be logged.
memory M Integer: [1;16] Memory cell
the parameter
should be
logged to.
Table 2.40 Attributes for logValue
Action: Digital Input Counter
These actions control the counters of the digital input.
<resetCounter input="1"/>
Element resetCounter resets the counter value to 0.
Attribute
Mandatory/
optional
(+default
value)
Value range/
allowed values
Description
input M 1/2 Selects if the
1
st
or the 2
nd
digital input
counter is
aected.
Table 2.41 Attributes for resetCounter
<startCounter input="1" edge="rising"/>
Element startCounter starts the counting of the specied
digital input events of the specied digital input.
Attribute
Mandatory/
optional
(+default
value)
Value range/
allowed values
Description
input M 1/2 Selects if the
1
st
or the 2
nd
digital input
counter is
aected.
edge M Rising/falling/
both
Indicates which
input events
are counted.
Table 2.42 Attributes for startCounter
<stopCounter input="1"/>
Element stopCounter stops the counting of any digital
input events of the specied digital input.
Servo Drive Operation Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 71
2 2