Mesa 7i77 No encoder activity. No analogout to servo
14 Jan 2023 17:52 #261959
by mloser
Mesa 7i77 No encoder activity. No analogout to servo was created 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
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.
14 Jan 2023 18:02 #261960
by mloser
Replied by mloser on topic Mesa 7i77 No encoder activity. No analogout to servo
I attached a screen print,
analogout0 shows a value of "2" during jog,
but volt meter on actual 7i77 pins shows 0 volts.
Mike
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.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
14 Jan 2023 18:36 #261971
by tommylight
Replied by tommylight on topic Mesa 7i77 No encoder activity. No analogout to servo
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.
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.
14 Jan 2023 18:43 #261974
by andypugh
Replied by andypugh on topic Mesa 7i77 No encoder activity. No analogout to servo
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.
14 Jan 2023 18:56 #261976
by mloser
Replied by mloser on topic Mesa 7i77 No encoder activity. No analogout to servo
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.
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.
14 Jan 2023 23:38 - 14 Jan 2023 23:40 #261993
by PCW
Replied by PCW on topic Mesa 7i77 No encoder activity. No analogout to servo
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)
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.
15 Jan 2023 00:24 #261999
by mloser
Replied by mloser on topic Mesa 7i77 No encoder activity. No analogout to servo
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.
15 Jan 2023 20:49 #262061
by andypugh
Replied by andypugh on topic Mesa 7i77 No encoder activity. No analogout to servo
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.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18563
- Thank you received: 6219
15 Jan 2023 20:57 #262062
by tommylight
Replied by tommylight on topic Mesa 7i77 No encoder activity. No analogout to servo
It is in his attached screenshot a few posts back.
Please Log in or Create an account to join the conversation.
15 Jan 2023 22:12 #262072
by andypugh
Replied by andypugh on topic Mesa 7i77 No encoder activity. No analogout to servo
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
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.
Time to create page: 0.193 seconds