Prototrak Plus Retrofit with Mesa 7i77 & 5i25 cards

More
9 years 8 months ago #87960 by new2linux
Many thanks PCW, before I go too far I have not gotten the servos to run under power, in the test area in the pncconf wizard. The axes.0.active in the "select channel" appears good, but the line in the scope is flat.

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

More
9 years 8 months ago #87965 by PCW
I dont know about the pncconf issue but if you run halscope
and add a new pin/signal/parameter, you must change halscopes
run mode to stop and back to roll (or single or normal) before it will be
displayed correctly
The following user(s) said Thank You: new2linux

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

More
9 years 8 months ago #87997 by new2linux
After trying several ways to test run servos I still get message that follows at the "open loop test" button.

File Attachment:

File Name: testservoerror.txt
File Size:1 KB


In addition to the 4th line in the .hal file, (earlier there was comment about number of encoders to be 6). In the line reads/shows:
"loadrt hm2_pci config=" num_encoders=6 num_pwmgens=0 num_stepgens=5 sserial_port_0=00000x"

As I read this encoders reads ok, but pwmgens should be at least 2 (for my app "x"&"y" is all there is) maybe 6 and "port_0=00000x" should that be an address of serial port?

If I need to edit the .ini or .hal file this can be done in text editor with the cut and paste, type over methods. No special or secret handshake required.

Many thanks in advance for any thoughts or suggestive reading!!
Attachments:

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

More
9 years 8 months ago #88001 by PCW
There should be neither pwmgens nor stepgens enabled, they make no sense with a 7I77

I would not try to use pncconf for tuning,
Tuning is most easily be done with a working LinuxCNC
configuration via halscope and the calibrate menu

Before this is even tried you should make sure the preliminary steps ( "prepare to tune" in the tutorial)
are taken so you don't get a immediate runaway and break something (or somebody)

gnipsel.com/linuxcnc/tuning/servo.html
The following user(s) said Thank You: new2linux

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

  • tommylight
  • Away
  • Moderator
  • Moderator
More
9 years 8 months ago #88004 by tommylight
Read this before you start tuning the drives, it will save you a lot of trouble and keep from having motors run out.
forum.linuxcnc.org/30-cnc-machines/32328...rsion?start=10#87901
The following user(s) said Thank You: new2linux

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

More
9 years 8 months ago - 9 years 8 months ago #88055 by new2linux
Many thanks PCW and tommylight! I have read New Eagle's (lakeweb) conversion and used the meter to see if current was at (TB5) DRV 0 at pin 1 and 2. I used the meter between pin 1 and 2 and get a very small, but noticeable movement in the needle, on lowest scale 1.2v it reads 0.3v very small movement.

I have tried several settings in the pncconf wizard, have never had motor run yet in the "open loop test" or "test/tune axis".

All of the drives and power supply are off the mill and beside my internet computer as so to keep warm, do research and ponder (I know, too much pondering going on here) how to solve my errors.

Attached are files for .ini; .hal and dmesg. I can't help but wonder what it is to look for in the files except to be consistence in naming conventions starting with 0.

Any help would be greatly appreciated.
Many thanks

EDIT: The lights on the 7i77 card are as follows: CR1; CR3; CR6; CR7;=YELLOW CR16 goes from blinking RED to OFF and CR15 then goes blinking GREEN. DRO shows correct direction and registers motion (approx # of turns close, not installed in machine).
Attachments:
Last edit: 9 years 8 months ago by new2linux. Reason: add light info

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

Time to create page: 0.240 seconds
Powered by Kunena Forum