P
ar
t
2: C
omman
d
s
Moog Animatics SmartMotor™ Developer's Guide, Rev. L
Page 377 of 909
CTW(pos[,seglen][,user])
Cam Table Write Data Points
APPLICATION:
Motion control
DESCRIPTION:
Writes data points into Cam table
EXECUTION:
Immediate
CONDITIONAL TO:
CTA command must be called before CTW
LIMITATIONS:
Data points (pos) cannot exceed a difference of +/-134217727
from one to the next.
READ/REPORT:
N/A
WRITE:
Write only
LANGUAGE ACCESS:
N/A
UNITS:
N/A
RANGE OF VALUES:
Input:
pos: -2147483648 to 2147483647
seglen (segment length): 0 to 65535
user (user bits): 0 to 255
TYPICAL VALUES:
Input:
pos: -2147483648 to 2147483647
seglen (segment length): 0 to 65535
user (user bits): 0 to 255
DEFAULT VALUE:
See details.
The seglen (segment length) and user (user bits) parameters
are optional; if omitted, then segment length must have been
defined in CTA command; user bits assume 0 if omitted.
FIRMWARE VERSION:
5.x and later
COMBITRONIC:
N/A
DETAILED DESCRIPTION:
The CTW command writes to the table addressed by the most recent CTA command. CTW
writes to either the tables stored in the EEPROM or the user array.
NOTE:
Typically, the actual Cam table would not be part of the program that
executes the mode. The SMI software contains an Import Cam tool to facilitate
Cam table generation.
l
pos (position): The position coordinate of the motor for that data point. The first point in
the table should be set to 0 to avoid confusion. When the table is run, the currently
commanded motor position seamlessly becomes the starting point of the table. The first
point of the table is kept at 0, which makes it easier to see that all of the data points are
relative to that starting point.
Part 2: Commands: CTW(pos[,seglen][,user])
Содержание SmartMotor
Страница 1: ...Developer s Guide Class 5 Later SmartMotor Technology with TM ...
Страница 909: ...PN SC80100003 002 Rev L ...