Fp - feed to position, Command details, Parameter details – Applied Motion RS-232 User Manual

Page 85: Examples

Advertising
background image

85

920-0002 Rev. I

2/2013

Host Command Reference

FP - Feed to Position

Compatibility: All drives
See also:

AC, DE, DI, SP, VE commands

Executes an absolute move command. Move position comes from the last DI command. Speed, accel and decel
are from VE, AC and DE commands, respectively. Executing the FP command with no parameter initiates a feed
to position move that uses the last DI command for position. Executing the FP command with a parameter uses
the parameter for position without changing the DI command.

Command Details:

Structure

FP{Parameter #1}

Type

BUFFERED

Usage

WRITE ONLY

Non-Volatile

NO

Register Access

None

Parameter Details:

Parameter #1

Absolute position

- units

counts or steps

- range

-2,147,483,647 to 2,147,483,647

Examples:

Example: After homing the motor you want to zero the home position and move to an absolute position 8000
counts (or steps) from the new home position.

Command

Drive sends

Notes

SP0

-

Set current motor position as absolute zero

DI8000

-

Set move position to 8000 counts/steps

FP

-

Launch Feed to Position

FP8000

-

Launch Feed to Position to 8000 counts/steps without affecting the

“D” register

FP8000

-

Motor is already at position 8000, no motion occurs.

Advertising
This manual is related to the following products: