58 JVL A/S - User Manual - Integrated Servo Motors MAC050 - 4500
2.11 Using external SSI encoder
2.11.4 Encoder connections:
Using the LIKA rotary encoder MMC60 connected to the MAC00-B4 module the PIN
configuration is as follows:
The encoder is connected to the IO-plug using the 8-pin female M12 -plug.
See Mac-manual for further details regarding the IO connection in the module.
Because the plug doesn't support a 24V power outlet, O1 or O2 can be used to supply
the power to the encoder unit. To be able to do this register 161 needs to be setup.
Bit 3 and bit 4 in register 161 indicates whether IO1 and IO2 are user controlled or setup
as previously as IO1 indicating ’In position’ and IO2 indicating errors.
Example:
IO2 is used as 24V power supply to the encoder so we need IO2 as user controlled out-
put and set the output to source the O+ voltage.
Register 161 bit 4 needs to be on
Register 161 = 16 (0x10)
Register 179, bit0 and bit1 holds the output value, but they are inverted so for IO2 to be
high (O+) bit1 needs to be 0.
So we hold the register to the default value 179 = 0 and IO2 will source power to the
encoder.
When IO2 is on (O+), the red LED inside the motor is lit. This is normally used for error
indication when the IO2 isn't setup for user control.
M12-Pin Signal Colour (LIKA Encoder cable) Description
1 A+ White Clock +
2 A- Brown Clock -
3 B+ Green Data +
4 B- Yellow Data -
5 N.C - O1 from motor
6 O+ Red 24V supply to encoder
7 Gnd Black + Shield Gnd and shielding
8 N.C -