RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
521
innovators for industry
Ctrl Command stepper_rel_no
Function
triggers set-position movements to the specified relative set positions via the desired
stepper motor output.
Call
stepper_rel_no( No, dPos, WaitTime )
Parameters
No
See
.
dPos
Relative set position in CLOCK pulse units as a signed 32-bit value;
allowed range: [–2
31
… +(2
31
-1)]
WaitTime
See
.
Comments
• The desired set positions should be specified relative to the current internal set-position
values (the internal set-position values will correspondingly get newly set) and a set-
position movement will only be performed at the stepper motor output specified by
No
.
Otherwise the command is identical to
(see comments there).
RTC
®
4
RTC
®
5 new command
Version info
• See
.
References
Undelayed
Short
List Command
stepper_rel_no_list
Function
(see above), but a list command and without
WaitTime
parameter
Call
stepper_rel_no_list( No, dPos )
Parameters
No
Number of the stepper motor output as an unsigned 32-bit value;
allowed values:
= 1:
Stepper motor output 1
= 2:
Stepper motor output 2
If the value is invalid, then the command will, already during loading, be
replaced by a
RTC5_PARAM_ERROR
).
dPos
See
.
Comments
• See
• During performance of a reference movement (see
), execution of
stepper_rel_no_list
will be delayed until the reference movement completes.
RTC
®
4
RTC
®
5 new command
Version info
• Available beginning with version DLL 527, OUT 529, RBF 519
• For older RTC
®
5 boards with DSP version numbers < 2 (
bits #16-23),
the command is neither executed nor replaced by
(
return code
:
RTC5_TYPE_REJECTED
).
References