The Switches element itself contains 1–100 switch
elements.
Attribute Mandatory/
optional
(+default value)
Value
range/
allowed
values
Description
CamSwitchMode M Position/
time
Position and
time-based
switches are
possible and a
mixture of both
can be used.
Possible values
are:
•
Position:
Position
based.
Attribute
LastOnPo-
sition is
mandatory,
attribute
Duration is
not used.
•
Time: Time
based.
Attribute
LastOnPo-
sition is not
used,
attribute
Duration is
mandatory.
FirstOnPosition M If unit =
User:
integer ≥0
If unit =
Revolutions:
oat ≥0
Lower boundary
where the
switch is ON.
The unit of this
value depends
on the Unit
attribute of the
Switches
element.
LastOnPosition M if
CamSwitchMode
= Position; not
used otherwise
If unit =
User:
integer >0
If unit =
Revolutions:
oat >0
Upper boundary
where the
switch is ON.
The unit of this
value depends
on the Unit
attribute of the
Switches
element.
Attribute Mandatory/
optional
(+default value)
Value
range/
allowed
values
Description
AxisDirection M Both/
positive/
negative
Denes in
which directions
the switches are
used:
•
Both: Switch
is active in
both
directions.
•
Positive:
Switch is
only active,
when the
servo drive
moves in
positive
direction.
•
Negative:
Switch is
only active,
when the
servo drive
moves in
negative
direction.
Duration M if
CamSwitchMode
= Time; not
used otherwise
integer >0 Duration that
the output is
ON. Given in
milliseconds.
Table 2.60 Attributes for Switches Element
Illustration 2.121 Example 1
Servo Drive Operation Programming Guide
MG36D102 Danfoss A/S © 01/2017 All rights reserved. 81
2 2