Optima DMC-1xxx and DMC-18x2 Command Reference
EM
i
78
EM
FUNCTION: Cam cycles (modulus)
DESCRIPTION:
The EM command is part of the ECAM mode. It is used to define the change in position over
one complete cycle of the master. The field for the master axis is the cycle of the master
position. For the slaves, the field defines the net change in one cycle. If a slave will
return to its original position at the end of the cycle, the change is zero. If the change is
negative, specify the absolute value.
ARGUMENTS: EM n,n,n,n,n,n,n,n
or
EMA=n
where
n is a positive integer in the range between 1 and 8,388,607 for the master axis and between 1
and 2,147,483,647 for a slave axis.
USAGE:
DEFAULTS:
While Moving
Yes
Default Value
In a Program
Yes
Default Format
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_EMn contains the cycle of the specified axis.
RELATED COMMANDS:
"EA"
Choose ECAM master
"EB "
Enable ECAM
"EC "
Set ECAM table index
"EG "
Engage ECAM
"EP"
Specify ECAM table intervals & staring point
"EQ "
Disengage ECAM
"ET "
ECAM table
EXAMPLES:
EAC
Select C axis as master for ECAM.
EM 0,3000,2000
Define the changes in A and B to be 0 and 3000 respectively. Define
master cycle as 2000.
V = _EMA
Return cycle of A