7i92TM pings but not recognised by mesaflash

More
2 years 11 months ago #284469 by PCW
You could run pncconf for a 7I92 and select a g540x2 firmware
and you would be pretty close to a working configuration.
The only difference might be some GPIO assignments.

You could also try mesact, it may have direct support for the
5ABOB configuration.

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

  • gothia
  • New Member
  • New Member
More
2 years 11 months ago #284495 by gothia
Great PCW!

I spent some hours trying to adjust the G540x2 firmware parameters with the currently wired parallel breakout board. Just adjusted some parameters in the pncconf, and tested the XYZA axis one by one.

It seems the Engines may be "listening" something. probably the direction signal so the steppers make a little bit of noise periodically. I asume this is just something moving when trying to change the direction (i am testing each axis motor with +/- option active)

But actually the gantry don't really move in any axis direction.

Next steps will be:
1 - double checking the wiring and pin correspondance. (set up everygthing according to mesaflash --readhmid pin table)
2 - Comparing the below signals with an osciloscope:
a) the signal issued by the currently working and in production linuxcnc machine (which is using a parallel connection from the computer to the parallel bob) and
b) the signal issued by the mesa 7i92 card in its parallel DB25 connector

The pulse differences may let me find what is the issue in case the first wiring process is not enough to make the cnc router starts moving.

Shall i ask you if you think this is a good procedure?
would you recomend me any simpler process?
I will double check mesaCT asap

Thanks again from a newcomer !!

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

More
2 years 11 months ago - 2 years 11 months ago #284496 by PCW
I would double the step times as a first test
(also you need to power cycle the 7I92TM after re-flashing)

You can get the pinout at the breakout with:

mesaflash --device 7i92t --addr [CARD_IP_ADDR] --dbname1 5abob --readhmid

I should note that you may get the "motors not moving but clicking on reversals"
if step and dir are swapped.
Last edit: 2 years 11 months ago by PCW.
The following user(s) said Thank You: gothia

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

More
2 years 11 months ago #284524 by JT
If you use MesaCT to flash the card it only flashes the correct firmware. Also it has the 5 A BOB firmware.

JT
The following user(s) said Thank You: gothia

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

  • gothia
  • New Member
  • New Member
More
2 years 11 months ago - 2 years 11 months ago #285238 by gothia
Dear all:
1/2: Main issue was partially fixed.:
The comunication problem between the mesa card 7i92 and the computer was finally the Parallel cable used to connect the 5ABoB was a Null-modem protocol cable.
This is to say, there are only 8 wires and connections instead of 25 on it.
After replacing the cable the engines start working automatically.
I also had the right firmware (Thanks PCW) and made a trial of MesaCT although the firmware update using mesaflash command in the console was really quick, just took a few seconds (Thanks JT)

2/2: Inductive end stop limits and emergency stop button not detected
After configurating speed and acceleration of all engines i tried to set up the end stops and emergency stops.
Disafortunately they seem not to be detected once more.

The inductive end-stops have 3 wires ( Gnd, Vcc(+70v) and a signal cable of 24v)
When the end stop is not active the signal voltage is near 0v (200mV); when it is active the signal is +24V althouth there is noise on it (+/-5V at 20kHz)
 

As for the emergency stop interruptor, this is a mechanical switch.
Voltage is 9V when closed and near 0V when open

I tried all the GPIO combinations in the PncConf wizart including invert check box option.
But had no feed back

I used the Hal configuration screen to check if the XYZ-home and end stop gray balls turned into yellow when activating each end stop and emergency stop individually. But there was no change at all.

 

Questions:
a) Is it necessary to modify any Hal parameter in the configuration files due to the 24v voltage or the 20KHz/+/-5V noise?
Should I insert any resistance or Zehner Diod to reduce the voltage to 5V ??
(Let me remark the previous installation based upon linux2.6+5ABOB with a parallel connection works without issues)
b) Is there a right or ortodox way to wire the end stop ??



Let me remark i am upgrading a cnc machine normaly in production from monday to friday.
All sensors and engines work fine under an old computer working having linuxcnc 2.6 and a direct parallel connection to a 5 axis bob.
So i am keeping all the wiring and the connections in the old 5abob.

I am currently inserting the mesa 7i92TM card and a new computer with 2.9.2 Linuxcnc set up, when the machine is not working.
Once the machine must be back to production just remove the Mesa 7i92 card and I connect the 5abob to the older computer.


Thanks in advance again for all your assistance
Last edit: 2 years 11 months ago by gothia.

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

More
2 years 11 months ago #285270 by PCW

The inductive end-stops have 3 wires ( Gnd, Vcc(+70v) and a signal cable of 24v)
When the end stop is not active the signal voltage is near 0v (200mV); when it is active the signal is +24V althouth there is noise on it (+/-5V at 20kHz)
 

I hope you mean Gnd,Vcc, (+24V) ...

What inputs are you using on the 5ABOB?

I would verify the signal levels at the DB25 connector of the BOB
Also AFAIK you must have the 7I92T set for pullups on the I/O to work with the
5ABOB isolated inputs.
The following user(s) said Thank You: gothia

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

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