Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 663 of 909
PTSD
Position Target, Synchronized Distance
APPLICATION: Motion control
DESCRIPTION: Gets the synchronized target move linear distance
EXECUTION: Immediate
CONDITIONAL TO: PTS or PRTS command
LIMITATIONS: N/A
READ/REPORT: RPTSD
WRITE: Read only
LANGUAGE ACCESS: Formulas and conditional testing
UNITS: Encoder counts
RANGE OF VALUES: -2147483648 to 2147483647
TYPICAL VALUES: -2147483648 to 2147483647
DEFAULT VALUE: 0
FIRMWARE VERSION: 5.x series only; not available in version 5.32.x.x
COMBITRONIC: N/A
DETAILED DESCRIPTION:
The PTSDcommand reports the linear distance of the synchronized target move. This distance
represents the vector distance of 2- or 3-dimensional moves computed by the PTS() or PRTS()
command.
After a PTS() or PRTS() command, the combined distance is stored in the PTSD variable so
that it may be read by the programmer.
For more details, see Synchronized Motion on page 175.
EXAMPLE: (Assign a value for a frame of reference)
d=PTSD 'Assign to "d" the vector sum distance in encoder counts
'of a predefined synchronized move
RELATED COMMANDS:
ADTS=formula Acceleration/Deceleration Target, Synchronized (see page 259)
GS Start Synchronized Motion (GO Synchronized) (see page 467)
PRTS(...) Position, Relative Target, Synchronized (see page 654)
PTS(...) Position Target, Synchronized (see page 660)
R
PTST Position Target, Synchronized Time (see page 666)
TSWAIT Trajectory Synchronized Wait (see page 749)
VTS=formula Velocity Target, Synchronized Move (see page 791)
Part 2: Commands: PTSD