Prototrak Plus Retrofit with Mesa 7i77 & 5i25 cards

More
9 years 8 months ago #88445 by andypugh
You only need "start" once to start the realtime functions.

Every time you setp an analogout, the voltage on that output should change to the new value.

Have you at least confirmed that all the encoder channels can count?
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 7 months ago #88447 by new2linux
andy, thanks one more time!! Yes the encoders change the value in the Hal Meter. In this current conf, you see below, if you pick the analogout0 it will say 10 at the top center in that tab/window, but now it will change if I pick say analogout2 it will say 8, and stay updated!


<stdin>:14: parameter or pin 'hm2_5i25.0.7i77.0.0.analogout3' not found
halcmd: setp hm2_5i25.0.7i77.0.1.analogout 0 10
halcmd: setp hm2_5i25.0.7i77.0.1.analogout 1 9
halcmd: setp hm2_5i25.0.7i77.0.1.analogout 2 8
halcmd: setp hm2_5i25.0.7i77.0.1.analogout 3 7
halcmd: setp hm2_5i25.0.7i77.0.1.analogout 4 6
halcmd: setp hm2_5i25.0.7i77.0.1.analogout 5 5
halcmd: setp hm2_5i25.0.7i77.0.1.analogout 6 4
<stdin>:21: parameter or pin 'hm2_5i25.0.7i77.0.1.analogout6' not found
halcmd:


I see that "start" is only used as you describe.

Many, Many thanks Andy!!
Last edit: 9 years 7 months ago by new2linux. Reason: clarify

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

More
9 years 8 months ago - 9 years 8 months ago #88499 by new2linux
Many, Many Thanks to andypugh, Todd Zuercher, PCW, tommylight, Bevins and lakeweb for all you help!!

I have the encoders show/register motion, believe turning the correct direction, and ruffly the correct distance moved. I
can't get them to move under power. With the AXIS screen open, the axes homed, press "Run" and get "linear move on line 11 would exceed joint 2's positive limit"

In the Hal Meter there are several Pins and Signals that will reflect motion when servo is turned by hand if you select thru the list.

I have reviewed the work from the past few days, and believe the 7i77 card is ok, lights on with green heart beat blinking. I am not show where to look and or if there is some recommended reading I am ok with that. Where do I attach multi-meter when using "setp" command, at the DRV 0, TB5?

Many thanks, to all in advance, for any help or words of wisdom that may aid me in my effort.
Attachments:
Last edit: 9 years 8 months ago by new2linux. Reason: typo, add question

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

More
9 years 8 months ago #88503 by lakeweb
First, when you start LinuxCNC are your DROs zeroed? If not, delete the .var file. Start with all your positions in the middle and then set some safe numbers in the INI, like:
MIN_LIMIT = -4.0
MAX_LIMIT = 4.0
For each of your axis's.

Don't run the sample, you don't want the machine to take off until you are ready. You are not even close until you tune this thing. You can start with commands like:
G1F3X.5
G1F3X0
Nice slow and short jogs that you can toggle between. And if all is right at these speeds it probably won't fault. Then you can use the HAL scope, speed up and lengthen your moves and start to tune.

Best, Dan.

Best, Dan.
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 #88510 by new2linux
Many thanks Dan for your thoughts, I will not installed these on the machine until I can get some motion going. I can appreciate the suggesting though, it could get ugly quick.

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

More
9 years 8 months ago #88580 by andypugh

new2linux wrote: I have the encoders show/register motion, believe turning the correct direction, and ruffly the correct distance moved. I
can't get them to move under power. With the AXIS screen open, the axes homed, press "Run" and get "linear move on line 11 would exceed joint 2's positive limit"


If you look in the Axis preview you will see a dotted red box which shows the axis limits.
Your G-code file is probably shown overlapping these limits.

With a fresh setup the origin of the working coordinate system is the same as the machine coordinate system. Most g-code files have a G-code origin somewhere in the part.

If you jog your machine so that the tool position corresponds to the origin of the G-code file, then use the touch-off button to set X, Y and Z to zero you will see the G-code preview move inside the axis limits box, and the code will run.
The following user(s) said Thank You: new2linux

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

Time to create page: 0.798 seconds
Powered by Kunena Forum