Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 370 of 909
CTA(points,seglen[,location])
Cam Table Attribute
APPLICATION: Motion control
DESCRIPTION: Creates a new Cam table in memory: number of records, seg-
ment length, memory area (volatile or nonvolatile)
EXECUTION: Immediate
CONDITIONAL TO: Any pre-existing tables in nonvolatile memory
LIMITATIONS: N/A
READ/REPORT: N/A
WRITE: Write only
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES:
Input:
points: 2-2147483647
seglen: 0-65535
location: 0, 1
TYPICAL VALUES: Input:
points: 2-750
seglen: 0-65535
location: 0, 1
DEFAULT VALUE: See details.
Parameter 3 (location) is optional; if omitted, then location 1 is
used.
FIRMWARE VERSION: 5.x and later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
This command adds a Cam table to memory with the supplied parameters. The table can use
either EEPROM memory (default) or the data variable space. After this table has been added,
the CTW command will write data points into it (CTW writes to the most recent table).
l
Parameter 1 "points": Specifies the number of points in the table.
l
Parameter 2 "Segment length": Specifies the master encoder distance between each
point. If exp2 is set to 0, then the distance is specified per data record through the CTW
command.
Part 2: Commands: CTA(points,seglen[,location])