Mesa 7i77 No encoder activity. No analogout to servo

More
3 years 9 months ago #261959 by mloser
I have a 3 axis Milling Machine with Mesa 5i25, 7i76, 7i77 and 7i73.
I believe I have configuration problems in the hal file and not hardware problems.
When I try to jog x, y or z, I get no output on any of the analog out pins of the 7i77.
The analog enable works and the x, y, z amplifiers become enabled.
Also, x, y and z encoders (7i77 encoders 0, 1 and 2) don't move from zero. 
They are single ended 5 volt encoders and are hooked up correctly. 
Encoder 3 is differential encoder connected to the spindle and that one works fine.
I may have messed up with the PncConf Wizard.  Can anyone help me?  I'm stuck.

Thanks,
Mike
 

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261960 by mloser
I attached a screen print, 
analogout0 shows a value of "2" during jog, 
but volt meter on actual 7i77 pins shows 0 volts.

Mike

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261971 by tommylight
Change
loadrt hm2_pci config=" num_encoders=4 num_pwmgens=0 num_stepgens=1 sserial_port_0=00100x"
to this
loadrt hm2_pci config=" num_encoders=4 num_pwmgens=0 num_stepgens=1 sserial_port_0=00000x"
and give it a try.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261974 by andypugh
I am suspicious about the line:
Code:
setp hm2_5i25.0.7i77.0.1.analogena-invert true
The following user(s) said Thank You: mloser

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261976 by mloser
My amplifiers actually have "inhibit" instead of enable.
This should be correct since amplifiers have a green LED when enabled
and a red LED when disabled.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago - 3 years 9 months ago #261993 by PCW
1. Its not safe to invert analog enable in the hal file as a fault or crash will end up enabling the drives. If the drives have a disable input, it should be forced in to the disabled state by an external relay with disables the drives until the relay is energized.

2. I would check the analog outputs with the drive disconnected at the 7I77 in case
there is a wiring error, that grounds the 7I77 analog outputs

3. I would check that you have valid high (>2.4V) and low (<0.8V) levels at the 7I77 encoder
input A and B pins (and that associated 7I77 encoder inputs are jumpered for TTL mode)
Last edit: 3 years 9 months ago by PCW.
The following user(s) said Thank You: mloser

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.134 seconds
Powered by Kunena Forum