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

More
30 Apr 2019 22:15 #132381 by islander261
Because all the inputs are consecutively numbered.

You connected wires to your 7i76ED, start with the connector and pin number and then look up logical number, usually X-1.

LinuxCNC will not start until you either get pin numbers right or comment out the lines. You can run Halshow from the command line to find the pins. The instructions are in the documents. Read all of the hal configuration documentation.

Looks like I didn't get some joint max speeds and accelerations, just add the same values as the axis except for Z which will be 1/2.

John

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

More
30 Apr 2019 22:28 - 01 May 2019 04:02 #132384 by rodw
If you connect a pin to field power, the input will change state. So why don't you connect a wire to +ve Field power, open up halshow, watch a bunch of input pins and experiment by prodding them with the wire? If you do this, prod the wire connector not the screw on top which may not have a connection if there is no wire present.

You will also see in Halshow that for each pin, there is another ending in -NOT. These are for convenience as they will show the opposite of the actual pin state. Sometimes you will use them (eg. When you have a normally closed circuit).
Last edit: 01 May 2019 04:02 by rodw.

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

More
01 May 2019 03:31 #132406 by PCW
7I76, 7I76E and 7I76ED (and 7I77,7I84,7I70) inputs are all the same (sinking inputs)
You must apply field power to the inputs for them to change state.

The D option cards have sinking outputs instead of sourcing outputs, but the
inputs are the same as the non-D versions

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

More
01 May 2019 04:03 #132408 by rodw

7I76, 7I76E and 7I76ED (and 7I77,7I84,7I70) inputs are all the same (sinking inputs)
You must apply field power to the inputs for them to change state.

The D option cards have sinking outputs instead of sourcing outputs, but the
inputs are the same as the non-D versions


Thanks, Peter I edited the previous post. It was much easier before you gave us more choices :)

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

More
01 May 2019 05:43 #132414 by JTknives
I see now, I was thinking the numbering started over when it moved to the next TB#. Thanks guys

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

More
10 May 2019 03:13 #133313 by AgentWD40
Well I'm not sure how I did it but I managed to get this to load without errors and jogging my motors. I'm starting to feel like I might actually cut something some day!

Thanks for your write up rodw and phillc54 and everyone else!

The OP showed an axis gui environment for the plasmac but I couldn't find that on my install today, I could only locate the gmmoccapy version. Is it just the one interface now? I'm not complaining at all I'm just curios, I imagine focusing efforts on one could be better anyway.
The following user(s) said Thank You: phillc54

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

More
10 May 2019 04:00 #133319 by phillc54

AgentWD40 wrote:
The OP showed an axis gui environment for the plasmac but I couldn't find that on my install today, I could only locate the gmmoccapy version. Is it just the one interface now? I'm not complaining at all I'm just curios, I imagine focusing efforts on one could be better anyway.

The pace of development is taking quite some time, mostly because I don't have a working machine and I am relying on others doing the testing.
Trying to support multiple GUI's at the same time was a bit too much.
Since John (the main tester) uses Gmoccapy I decided to keep only that config up to date.
To stop any confusion I removed the other GUI's from the repo.
When It looks like we have a reasonably stable and complete config I will bring Axis up to date, there will probably only be one version though, at this stage I am thinking the native version with the Statistics, Run and Config panels as tabs behind preview (the same as Gmoccapy)
That Axis version is actually the one I will be using if I ever get to finish my machine.

Cheers, Phill.

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

More
10 May 2019 04:51 - 10 May 2019 04:53 #133324 by rodw
Its great to know people can install this now just by following these instructions!

I've made a note of the missing axis config in the earlier posts containing instructions. I also added an important bit I totally forgot about so as there are new users following along, I will add it again here:

Also its worth discussing these settings for the Z axis in the ini file which are specific to the external offsets Plasmac uses. I forgot to mention them earlier because I've been using them for so long.
[AXIS_Z]
OFFSET_AV_RATIO  =    0.5
MAX_VELOCITY     =  120
MAX_ACCELERATION = 1400
So MAX_VELOCITY and MAX_ACCELERATION should be double what your machine is capable of.
External offsets was designed that a percentage of velocity and acceleration was devoted to external offsets on the assumption that offsets would be applied while motion was occurring. In the case of plasma standard Z axis motion and external offset motion are mutually exclusive. You are either jogging around or you are cutting. So we want to devote 100% of velocity and acceleration to the Z axis while its under THC control. So by doubling your machine settings and applying a ratio of 0.5 (50%) we actually trick external offsets into using 100% of the axis machine settings for THC control. Cool hey! It did my head in working that out the first time.
Last edit: 10 May 2019 04:53 by rodw.
The following user(s) said Thank You: phillc54

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

More
11 May 2019 06:24 - 11 May 2019 06:25 #133430 by JTknives
OK i don't know what i have done and where my mix up is but i cant get awaw from joint errors. I had working files at one time but that was before i got the plasmac working. I also noticed that my option buttons are missing and i no longer see the halshow button or any of the other buttons. i think something has gotten messed up trying to keep up with the updates. here are my files.
Attachments:
Last edit: 11 May 2019 06:25 by JTknives.

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

More
11 May 2019 06:34 - 11 May 2019 23:48 #133431 by phillc54
A quick look shows:
net plasmac:axis-z-position      axis.z.pos-cmd                  =>  plasmac.axis-z-position
should be:
net plasmac:axis-z-position      joint.n.pos-fb                  =>  plasmac.axis-z-position
n being the joint number associated with the Z axis.

Also I don't see any [JOINT_n] sections in your ini file

EDIT: The line starting net plasmac:axis-z-position should be in your machine.hal file, that way it won't be overwritten on updates.
I have noted that in later updates.

Cheers, Phill.

EDIT:
If that doesn't work, I will try do them manually for you later on today. In the meantime do an update from the repo so I know what version you are using and can you confirm that your machine has three motors.
Last edit: 11 May 2019 23:48 by phillc54. Reason: typo and explanation

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

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