Download User Manual

Transcript
2.10
Using external SSI encoder
Only MAC050 to 141
SSI Control
section
The FastMac
commands field
Power
management
Input/Output
setup
TT1155GB
2.10.1
SSI Encoder
SSI support is added to the MAC50-141 series of servomotors, this feature is very useful
to determine the absolute position of the motor shaft if an encoder is connected directly
to this or another encoder position.
The SSI interface
When the differential lines are used for SSI, the A1+/- lines work as a Clock signal from
the motor to the encoder, while the B1+/- signals work as a Data signal from the encoder to the motor.
n*T
t1
CLOCK
T
1
a
DATA
t3
2
n
MSB
n+1
3
n-1
1
0
LSB
t2
TT1158GB
The figure above shows the SSI protocol principle. The Clock line is normally high. When
a reading is requested, the Clock goes low for t1 micro seconds to allow the encoder to
sample and prepare a value. On the first rising edge of the Clock (1), no sampling is done,
but on the second rising edge of the Clock (2) the first data bit is read from the Data line.
Shortly after reading the bit value, the motor will set the Clock high and execute another
cycle, where the data bit is sampled just before each rising Clock. After the last data bit
has been sampled, the Clock stays high.
In the MAC-motor several registers are available for storing values for different purposes.
Position registers P1-P8 (available from MacTalk etc.) are used to hold SSI positions.
58
JVL Industri Elektronik A/S - User Manual - Integrated Servo Motors MAC050 - 3000