Mesa 7i77 No encoder activity. No analogout to servo

More
14 Jan 2023 17:52 #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
 
Attachments:

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

More
14 Jan 2023 18:02 #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
Attachments:

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

More
14 Jan 2023 18:36 #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
14 Jan 2023 18:43 #261974 by andypugh
I am suspicious about the line:
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
14 Jan 2023 18:56 #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
14 Jan 2023 23:38 - 14 Jan 2023 23:40 #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: 14 Jan 2023 23:40 by PCW.
The following user(s) said Thank You: mloser

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

More
15 Jan 2023 00:24 #261999 by mloser
I put a signal on the servo bypassing the 7i77 and the servo motor does run.

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

More
15 Jan 2023 20:49 #262061 by andypugh
is "analogena" true when the system is on? ie, is the Mesa analogue output stage enabled?

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

More
15 Jan 2023 20:57 #262062 by tommylight
It is in his attached screenshot a few posts back.

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

More
15 Jan 2023 22:12 #262072 by andypugh
Looking at that, I now wonder if he is looking at the right 7i77, there seem to be two available.
The home switches are on 7i77.0.0 and the axes seem to be on 7i77.0.1

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

Moderators: PCWjmelson
Time to create page: 0.189 seconds
Powered by Kunena Forum