Galil DMC-1400 Manual De Usuario

Descargar
Página de 235
DMC-1400  Series Command Reference CE 
● 51   
CE 
FUNCTION:  Configure Encoder 
DESCRIPTION: 
The CE command configures the encoder inputs to the quadrature type or the pulse and 
direction type.  It also allows inverting the polarity of the encoders.  The configuration 
applies independently to the main axis encoder and the auxiliary encoder inputs. 
ARGUMENTS:  CE n 
where  
n is an integer in the range of 0 to 15.  Each integer is the sum of two integers r and s which 
configure the main and the auxiliary encoders.  The values of r and s are 
R =    MAIN ENCODER TYPE 
S =  AUXILIARY ENCODER TYPE 
Normal quadrature 
Normal quadrature 
Normal pulse and direction 
Normal pulse and direction 
Reversed quadrature 
Reversed quadrature 
Reversed pulse and direction 
12 
Reversed pulse and direction 
For example:  n = 6 implies r = 2 and s = 4, both encoders are reversed quadrature. 
USAGE: 
While Moving 
Yes 
Default Value 
In a Program 
Yes 
Default Format 
2.0 
Command Line 
Yes 
 
 
Can be Interrogated 
Yes 
 
 
Used as an Operand 
Yes 
 
 
Controller Usage 
ALL 
OPERAND USAGE: 
 _CE contains the value of encoder type for the main and auxiliary encoder. 
RELATED COMMMANDS: 
Specify motor type 
EXAMPLES: 
CE 0 
Configure encoders 
CE ? 
Interrogate configuration 
V = _CE 
Assign configuration to a variable 
Note 1:  When using pulse and direction encoders, the pulse signal is connected to CHA and the 
direction signal is connected to CHB. 
Note 2:  when the controller is a DMC-1425, the y-axis encoder is still considered the x-axis auxiliary 
encoder for the sake of the CE command.