MESA Cards to Panasonic MINAS A6 Driver Troubleshooting Help

More
27 Jun 2022 23:53 - 28 Jun 2022 00:19 #246034 by ezpz13
Hello all,

I hope I posted this under the right category/topic.

I am currently working on a project to create a 3D printer. I have been stuck on this problem for a while now, and any help is greatly appreciated!

For the x, y, and z axes on the 3D printer, I am using the Panasonic MINAS A6 drivers to control my motors. I have tested these drivers and my servo motors together using the Panaterm software to ensure that they are compatible and are working. I was able to jog all three motors using the Panaterm software and a mini-USB cable.

Here is more information about the Panasonic MINAS A6 drivers (note that I am using the SE type, which does not have the x2, x3, or x5 ports):
www3.panasonic.biz/ac/e_download/motor/f.../minas-a6_manu_e.pdf

These Panasonic MINAS A6 drivers have an x4 port (shown in the figure attached below) that I have made pin-by-pin connections to. I soldered these connections and made sure they are well-isolated, and I tested these connections using the continuity function from a multimeter.

The x4 port on the driver connects to my MESA boards. The MESA board that I am using is the 6i25-7i76 PNG kit, which contains a MESA 6i25 card, a MESA 7i76 card, and a DB25 cable that connects the two cards. The MESA 6i25 card is plugged into the host PC which is running LinuxCNC. The MESA 7i76 card is connected to the MESA 6i25 card via the DB25 cable. The MESA 7i76 card is also connected to the x4 port of the MINAS A6 driver with the following configuration: 
  1. x4 pin 3 (PULS 1) -> STEP+ (on 7i76)
  2. x4 pin 4 (PULS 2) -> STEP- (on 7i76)
  3. x4 pin 5 (SIGN 1) -> DIR+ (on 7i76)
  4. x4 pin 6 (SIGN 2) -> DIR- (on 7i76)
  5. x4 pin 7 (COM+) -> 24V
  6. x4 pin 29 (SERVO ON) -> GND
  7. x4 pin 41 (COM-) -> GND

On the MESA 7i76 card, the step +/- and the direction +/- are connected to TB2 on one of the step gens. Both of the MESA boards are properly powered: the MESA 6i25 is powered by the host PC and the MESA 7i76 is getting 5V from the MESA 6i25 through the DB25 cable and 12VDC from an external DC power supply for field power.

I have created a LinuxCNC PNC configuration for my system. The only physical connections on the MESA 7i76 card is the x4 port of the driver and external DC power for field power. No limit switches are connected yet, and all the field I/Os are left open. Only 1 step gen is connected at the moment to try to get it working first.

I have used an oscilloscope to probe the step +/- pins on the MESA 7i76 card when jogging the LinuxCNC PNC configuration to observe the output. There seems to be a step signal on the scope; however, the motor does not move when jogging through the LinuxCNC interface. Could this be due to the PNC configuration setup variables (e.g., step on time, step space, etc.), improper connection between the MESA 7i76 card and the Panasonic MINAS A6 driver, or not connecting other motors/limit switches?

I am totally lost on where the problem could be, and have spent months trying to troubleshoot this issue. Again, any help is truly appreciated!

Thank you!
Attachments:
Last edit: 28 Jun 2022 00:19 by ezpz13. Reason: Formatting

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

More
28 Jun 2022 00:43 #246039 by tommylight
Page 148, is the drive set for position mode?
Is the motor locked, ie, can not be rotated by hand when the drive is enabled?

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

More
28 Jun 2022 23:18 #246120 by ezpz13
Hello tommylight,

Thank you for your reply!

I have checked to make sure that the drive is set for position mode (specifically, the parameters 0.01 and 0.05 on the drive were set through Panaterm).

Also, the motor is not locked. When the drive is enabled, I was able to jog the motor using the Panaterm software and a USB cable.

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

More
28 Jun 2022 23:34 #246122 by tommylight


Also, the motor is not locked. When the drive is enabled, I was able to jog the motor using the Panaterm software and a USB cable.

Is the motor locked when the drive is enabled (x4 pin 29 to GND) with NO Panaterm and NO USB ?
If not, it is not in position mode.
If yes, then we can move on with LinuxCNC, hopefully with no Panterm and no USB.

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

More
06 Jul 2022 16:52 #246733 by ezpz13
Hello tommylight,

Thanks for the advice!

I finally figured out that my DC power supply was acting weird and that there was no current being drawn. I fixed that and now I am finally able to jog my motors through LinuxCNC!

Now a small update on that - I am only able to jog my motors in 1 direction (both plus and minus buttons on the interface move the motors in 1 direction).
Could this be a PNC configuration (.hal/.ini files) issue?

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

More
06 Jul 2022 17:11 #246738 by PCW
Sounds more like a wiring issue

I would check that the direction signal at the driver ( measured between sign1 and sign2 )
reverses polarity when you jog in different directions

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

More
06 Jul 2022 17:39 #246740 by ezpz13
Hello PCW,

Thank you for the quick reply!

I checked using a multimeter that the signal does change polarity when jogging in different directions.

I also double-checked my wiring to make sure that the direction signal +/- go to the appropriate ports on the 7i76 board. Could it possibly be a drive issue, perhaps setting a specific parameter?

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

More
06 Jul 2022 18:29 #246745 by tommylight
It could be drive parameters as it most probably can do step/dir, step on both inputs for up/down, or use quadrature pulsing.
Note that all those modes can also be set in LinuxCNC, but i am not near a PC so i can not help more.
Search for
stepgen step type site:linuxcnc.org
Paste that phrase in google.
The following user(s) said Thank You: ezpz13

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

More
06 Jul 2022 18:44 #246747 by ezpz13
Hi tommylight,

Thank you for your reply!
I am using servo motors instead of stepper motors, would that site still apply?

I will test different step/dir configurations. If it is possible could you please provide more info regarding setting the modes in LinuxCNC whenever you have the convenience.

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

More
06 Jul 2022 18:53 #246748 by PCW
Yes, a drive set to up/down (CW/CCW) mode would behave the way yours are.

If this is the case, you can either change your drives input mode to step/dir
or change the Mesa stepgen mode to up/down (step_type 1)
The following user(s) said Thank You: ezpz13

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

Time to create page: 0.388 seconds
Powered by Kunena Forum