Download SNAP PAC MOTION CONTROL USER'S GUIDE

Transcript
COMMANDS IN ALPHABETICAL ORDER
GetCommandedAcceleration
Syntax
GetCommandedAcceleration, axis
Arguments
axis
Returned Data
Data Structure
Range
unsigned 8 bits
0 to 3
4 to 7
8 to B
C to F
Name
Type
acceleration
signed 32 bits
Board Address
0
1
2
3
Range
-2
31
Scaling
31
to 2 -1
1/2
16
Units
counts/cycle2
microsteps/cycle
GetCommandedAcceleration
P1 read
P2 read
Description
Type
First data word
acceleration (high-order part)
31
Second data word
acceleration (low-order part)
15
16
0
GetCommandedAcceleration returns the commanded acceleration value for the specified axis.
Commanded acceleration is the instantaneous acceleration value output by the trajectory
generator.
Scaling example: If a value of 114,688 is retrieved using this command then this corresponds to
114,688/ 65,536 = 1.750 counts/cycle2 acceleration value. See “SNAP-SCM-MCH16 Conversion
Formulas” on page 113.
OptoScript
Example
See Also
44
Status=TransmitReceiveString
(“>GetCommandedAcceleration,5”,ComHandle,ResponseString)
GetCommandedPosition (page 45), GetCommandedVelocity (page 46)
SNAP PAC Motion Control User’s Guide