DMC-18x6 Command Reference
88
EW
FUNCTION: ECAM Widen Segment
DESCRIPTION:
The EW command allows widening the length of one or two ECAM segments beyond the width
specified by EP. For ECAM tables with one or two long linear sections, this allows placing
more points in the curved sections of the table.
There are only two widened segments, and if used they are common for all ECAM axes.
Remember that the widened segment lengths must be taken into account when determining
the modulus (EM) for the master. The segments chosen should not be the first or last
segments, or consecutive segments.
ARGUMENTS: EP m1=n1,m2=n2
where
m1 is the index of the first widened segment. m1 is a positive integer between 1 and 255.
n1 is the length of the first widened segment in master counts. n1 is an integer between 1 and
2,147,483,647.
m2 is the index of the second widened segment. m2 is a positive integer between 3 and 255.
n2 is the length of the second widened segment in master counts. n2 is an integer between 1 and
2,147,483,647.
If m1 or m2 is set to -1, there is no widened segment. The segment number m2 must be greater
than m1, and m2 may not be used unless m1 is used.
USAGE: DEFAULTS:
While Moving
No
Default Value
-1, 0 -1, 0
In a Program
Yes
Default Format
Command Line
Yes
Controller Usage
ALL CONTROLERS
OPERAND USAGE:
_EW0 contains m1, the index of the first widened segment.
_EW1 contains n1, the length of the first widened segment.
_EW2 contains m2, the index of the second widened segment
_EW3 contains n2, the length of the second widened segment.
RELATED COMMANDS:
ECAM master positions
Choose ECAM master
Enable ECAM
Set ECAM table index
Engage ECAM Slave
Specify ECAM cycle
Disengage ECAM Slave
ECAM table
EXAMPLES:
EW 41=688
:'Widen segment 41 to 688 master counts
EW 41=688, 124=688
:'Widen segments 41 and 124 to 688 master counts