DMC-40x0 Command Reference EY • 105
EY
FUNCTION: ECAM Cycle Count
DESCRIPTION:
Sets or gets the ECAM cycle count. This is the number of times that the ECAM axes have
exceeded their modulus as defined by the EM command. EY will increment by one each time
the master exceeds its modulus in the positive direction, and EY will decrement by one each
time the master exceeds its modulus in the negative direction. EY can be used to calculate the
absolute position of an axis with the following equation:
Absolute position = EY * EM + TP
ARGUMENTS: EY n where
n is a signed integer in the range -2147483648 to 2147483647 decimal.
n = ? returns the current cycle count.
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_EY returns the current cycle count
RELATED COMMANDS:
EM ECAM modulus
EXAMPLES:
MG _EY * _EMY + _TPY print absolute position of master (Y)