DMC-18x6 Command Reference
75
EG
FUNCTION: ECAM go (engage)
DESCRIPTION:
The EG command engages an ECAM slave axis at a specified position of the master. If a value is
specified outside of the master's range, the slave will engage immediately. Once a slave
motor is engaged, its position is redefined to fit within the cycle.
ARGUMENTS: EG n,n,n,n,n,n,n,n
or
EGA=n
where
n is the ECAM master position at which the ECAM slave axis must be engaged.
n = ? Returns 1 if specified axis is engaged and 0 if disengaged.
USAGE:
DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
1.0
Command Line
Yes
Controller Usage ALL CONTROLLERS
OPERAND USAGE:
_EGn contains ECAM status for specified axis. 0 = axis is not engaged, 1 = axis is engaged.
RELATED COMMANDS:
Choose ECAM master
Enable ECAM
Set ECAM table index
Specify ECAM cycle
Specify ECAM table intervals & staring point
Disengage ECAM
ECAM table
EXAMPLES:
EG 700,1300
Engages the A and B axes at the master position 700 and 1300
respectively.
B = _EGB
Return the status of B axis, 1 if engaged
Note: This command is not a trippoint. This command will not hold the execution of the program flow. If
the execution needs to be held until master position is reached, use MF or MR command.