Configuring Plasmac - a complete THC/plasma config for any hardware

More
7 years 5 months ago #133478 by JTknives
when i first ran the pncconf to make my working files i used 2.7 as thats what installed with copy of linux.

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

More
7 years 5 months ago #133479 by rodw

JTknives wrote: yes I set the environment first and i do see the the 2.8 on splash and says like pre 1 or some such thing.


Ok, phill mentioned it in his earlier post but there is a large section setting up joints missing from your ini file. It looks like the ini file has reverted to one from the sim. The reason why that joint does not exist is your ini file says you only have 3 joints (which are numbered 0,1,2) so joint 3 does not exist!
Here is the part of the ini file I'm looking at
Code:
[KINS] KINEMATICS = trivkins coordinates=xyz JOINTS = 3

If you have a gantry machine it would have 4 joints and that section should look something like this
Code:
[KINS] KINEMATICS = trivkins coordinates=xyyz JOINTS = 4

This is the joints section from my INI file....

Warning: Spoiler!

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

More
7 years 5 months ago #133480 by rodw
So now I understand. Joints did not exist in v 2.7. as they were tied to the Axes

I think I would run pncconf again with V 2.8 which will set all of the default joint settings. Alternatively, you could use an example setup I did a long time ago and updated it for you velocity and accelleration and machine size settings. It predates the multi spindle stuff. so the spindle has moved from motion.spindle-xxxxxx to spindle.0.xxxxx

forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example

When I first set my machine up, I did not use pncconf, but copied a basic 7i76e config Islander261 published at the time.

But, I've since used pncconf and it worked out OK. you could just run it with rough settings and copy over your machine setttings (vel, accel, limits etc). I better update my first post!

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

More
7 years 5 months ago #133482 by rodw
Actually, first try making a copy of your original working config and run it from the chooser branch. With a bit of luck there will be a conversion script that notices the change and converts your files to 2.8 format. I've never done that as I've only ever run master branch

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

More
7 years 5 months ago #133483 by rodw
So the second post has been updated

Ok, this post might grow a bit but lets start getting it onto real hardware. At this point, I'm going to assume you have a basic working config on master branch (V2.8) that gives basic XYZ movement.

If you have your machine set up on an earlier version of Linuxcnc, you have a bit more work to do as there are significant differences in configuration of the machine between V 2.7 to V 2.8. There is a conversion program that should sense you've upgraded when you first run your old config. I have never run v 2.7 so can't really guide you. If all else fails, rebuild a working config using stepconf or pncconf and make sure it works before proceeding.

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

More
7 years 5 months ago - 7 years 5 months ago #133489 by phillc54
If your config was done in 2.7 then this may be worth a try.

Where it says:
Code:
[EMC] VERSION = 1.1
Change it to something like:
Code:
[EMC] VERSION = 0.1
Then when you run LinuxCNC it 'should' attempt to convert your ini file to a 2.8 compatible version.
Then, if you only have three joints, make the line:
Code:
net plasmac:axis-z-position joint.2.pos-fb => plasmac.axis-z-position
It needs to be the joint that is associated withe the Z axis.
Then move this line from plasmac.hal to your machine hal file.

Cheers, Phill.
Last edit: 7 years 5 months ago by phillc54.

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

Moderators: snowgoer540
Time to create page: 0.387 seconds
Powered by Kunena Forum