Ctrl Command stepper_abs
Function
triggers set-position movements to the specified absolute set positions via both stepper
motor outputs.
Call
stepper_abs( Pos1, Pos2, WaitTime )
Parameters
Pos1,
Pos2
WaitTime
Comments
• For programming the stepper motor signals, see
• stepper_abs sets the new set-position values even if a previously started set-position
movement is still in progress:
– If Pos1/Pos2 in the current direction of movement lies in front of the internal position
variable's value, then the movement will continue and the Busy status remains set.
– If Pos1/Pos2 equals the current value of the internal position variable, then the move-
ment will stop. The Busy status gets reset.
– If Pos1/Pos2 in the current direction of movement already lies past the internal posi-
tion variable's value, then the corresponding stepper motor's direction of movement
will reverse (see note on
• If no set-position movement is in progress, then one will start and the Busy status will
get set.
• During performance of a reference movement (Init status set, see stepper_init), the
command stepper_abs will not execute
RTC5_PARAM_ERROR).
• If the CLOCK pulse period was set to 0 via stepper_init,
stepper_control_list, then no stepper motor movement will occur at the corre-
sponding stepper motor output.
• If WaitTime = 0, then the command returns immediately so that system control is
restored to the application.
®
®
RTC
4 RTC
5 new command
Version info
• Available beginning with version DLL 527, OUT 529, RBF 519
• For older RTC
the command is not executed
References
stepper_abs_no, stepper_rel, stepper_rel_no,
®
RTC
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
Absolute set positions in CLOCK pulse units for stepper motor outputs 1 and
2 as signed 32-bit values; allowed range: [–2
This parameter (an unsigned 32-bit value) determines when, at the latest, the
function will return.
1 bit equals 1 s. Allowed range: [0 ... +(2
page
205). The Busy status remains set.
®
5 boards with DSP version numbers < 2
(get_last_error
31
31
... +(2
-1)]
32
-1)]
page
205.
(get_last_error
return code:
stepper_control
(get_rtc_version
return code: RTC5_TYPE_REJECTED).
stepper_abs_list
or
bits #16-23),
513
Need help?
Do you have a question about the RTC 5 PC Interface Board and is the answer not in the manual?