Mesa 7i92M Support

More
08 Mar 2017 22:06 #89219 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
Hi Tom,
I managed to get V2.8 installed. I fired up your build..No error message.. No active charge pump. With the charge pump off the Y axis and the Z axis will move real slow but no X.

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

More
08 Mar 2017 22:28 - 08 Mar 2017 22:39 #89221 by PCW
Replied by PCW on topic Mesa 7i92M Support
A couple of things:
There's no chargepump code in the hal file
you must add the code for stepgen04 I suggested several posts ago
(and bump the num_stepgens # to 5)

Also the step times are too short for the G540 so are likely marginal
I would set the step time and step space for all axis to 2500 ns

BTW its not surprising the motion is slow, from the ini file:

MAX_VELOCITY = 0.0333333333333

You might try changing this to

MAX_VELOCITY = 3

which requires this additional change:

STEPGEN_MAXVEL = 3.75
Last edit: 08 Mar 2017 22:39 by PCW.
The following user(s) said Thank You: tommylight

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

More
08 Mar 2017 23:50 #89222 by tommylight
Replied by tommylight on topic Mesa 7i92M Support

Hi Tom,
I managed to get V2.8 installed. I fired up your build..No error message.. No active charge pump. With the charge pump off the Y axis and the Z axis will move real slow but no X.

If the Y and Z are working, you have X on the wrong port on G540.
Charge pumpnis also working as soon as you start Linuxcnc, but G540 is very picky about the frequency, i know i had to do a bit of fidling to get it to work on some computers using parallel port, on one i had to switch it off as it just would not work.

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

More
08 Mar 2017 23:55 - 08 Mar 2017 23:56 #89223 by tommylight
Replied by tommylight on topic Mesa 7i92M Support
One more thing, did you by any chance move the charge pump switch on the G540 while it was powered?
I remember a long time ago on cnczone someone did that and it never worked after that. I do not recal the version of G540 but newer versions should not have that problem as Marius, the owner of Geckodrives is very quick at fixing bugs.
Leme check again for the charge pump in hal as i made 3 configs last night.
Last edit: 08 Mar 2017 23:56 by tommylight.

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

More
09 Mar 2017 00:15 #89224 by tommylight
Replied by tommylight on topic Mesa 7i92M Support
That was the first try i did last night, something was not right so i made another two but i attached that by mistake.
Here is the last one i did.
Attachments:

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

More
09 Mar 2017 00:40 - 09 Mar 2017 01:04 #89225 by PCW
Replied by PCW on topic Mesa 7i92M Support
IO Connections for P2
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 1      0   IOPort       None
14      1   IOPort       PWMGen           0        PWM             (Out)
 2      2   IOPort       StepGen          0        Step            (Out)
15      3   IOPort       None
 3      4   IOPort       StepGen          0        Dir             (Out)
16      5   IOPort       StepGen          4        Step            (Out)
 4      6   IOPort       StepGen          1        Step            (Out)
17      7   IOPort       None
 5      8   IOPort       StepGen          1        Dir             (Out)
 6      9   IOPort       StepGen          2        Step            (Out)
 7     10   IOPort       StepGen          2        Dir             (Out)
 8     11   IOPort       StepGen          3        Step            (Out)
 9     12   IOPort       StepGen          3        Dir             (Out)
10     13   IOPort       QCount           0        Quad-A          (In)
11     14   IOPort       QCount           0        Quad-B          (In)
12     15   IOPort       QCount           0        Quad-IDX        (In)
13     16   IOPort       None

I don't think you have the charge pump GPIO assignment correct as a G540 the charge pump is GPIO5 (DB25 P16)

Also the output of the chargepump (charge-pump.out) is not connected to the GPIO pin

I suggested the stepgen way of running the chargpump as it can generate the G540s specified 10 KHz signal
Last edit: 09 Mar 2017 01:04 by PCW.
The following user(s) said Thank You: tommylight

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

More
09 Mar 2017 01:16 #89228 by tommylight
Replied by tommylight on topic Mesa 7i92M Support
Thank you PCW, that means i have to check my parallel port control box as i do get light on pin 16, but as the 7i92 has all lights on when not functioning (pull up resistors), and it switches most of them off when active, i did not check for the difference in intensity. Now as you start wondering what i am going on about, i have boxes with parallel port connectors and LED for all the pins, so i can see what is pin is on or off.

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

More
09 Mar 2017 01:52 #89231 by tommylight
Replied by tommylight on topic Mesa 7i92M Support
Again, thank you PCW for a nudge in the right direction.
Added stepgens, removed charge pump, and we have a fully functioning charge pump on pin 16, short of running to the workshop to get one of my scopes, it works !
Here is the video


and pictures



And the working config.
Attachments:

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

More
09 Mar 2017 02:22 #89234 by andypugh
Replied by andypugh on topic Mesa 7i92M Support
tuffduck33: Is this making any sense yet? Nobody has explicitly stated this yet, but most answers here will tend to try to teach you how to solve your issues rather than just email you a working config. Your config files are _your_ files and you are expected to understand what they do and encouraged to edit them and experiment. LinuxCNC is a collaborative effort, not quite the normal supplier/purchaser model of conventional software.
(I fact, as LinuxCNC is open-source you can change _everything_ if you really want to, even the software running on the 7i92M is open-source and you could change that. At this point you probably don't want to do either, though)

LinuxCNC is far more powerful if you _understand_ it, which is why we don't just give you you working configs. That and it's _very_ hard to create a working config when you don't have the hardware to test on.

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

More
09 Mar 2017 17:56 #89270 by tuffduck33
Replied by tuffduck33 on topic Mesa 7i92M Support
I appreciate all the effort you are putting in here. The charge pump is a no go. I am doing forum searches as well to see if there have been similar issues.

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

Moderators: cmorley
Time to create page: 0.145 seconds
Powered by Kunena Forum