Configure PlasmaC with only one BOB

More
5 years 9 months ago #197014 by phillc54

andypugh wrote:

phillc54 wrote: pin 11 is used twice in your posted hal file:

Code:
net all-home <= parport.0.pin-11-in-not net din-001 <= parport.0.pin-11-in


That's actually OK, you can treat the in and in-not pins as entirely separate.

Aha, you learn something every day...

In that case then as Todd suggested we need to see the other hal files, I am guessing the issue would be in the "testplasmacnc_connections.hal" file

Please Log in to join the conversation.

More
5 years 9 months ago #197062 by Giuseppe
Code:
# Keep your plasmac i/o connections here to prevent them from # being overwritten by updates or pncconf/stepconf changes # Other customisations may be placed here as well # This file is built by the configurator in your configuration directory #***** debounce for the float, ohmic and breakaway switches ***** # the lower the delay here the better # each 1 is a 0.001mm (0.00004") increase in probed height result loadrt debounce cfg=3 setp debounce.0.delay 5 addf debounce.0 servo-thread #***** arc voltage lowpass cutoff frequency ***** #***** change to the cutoff frequency you require ***** setp plasmac.lowpass-frequency 0 #***** the joint associated with the Z axis ***** net plasmac:axis-position joint.3.pos-fb => plasmac.axis-z-position net plasmac:arc-ok-in parport.0.pin-15-in-not => plasmac.arc-ok-in # net plasmac:float-switch {YOUR FLOAT SWITCH PIN} => debounce.0.0.in # net plasmac:breakaway {YOUR BREAKAWAY PIN} => debounce.0.1.in net plasmac:ohmic-probe parport.0.pin-11-in => debounce.0.2.in net plasmac:ohmic-enable plasmac.ohmic-enable => parport.0.pin-16-out net plasmac:torch-on => parport.0.pin-17-out net plasmac:move-up parport.0.pin-12-in => plasmac.move-up net plasmac:move-down parport.0.pin-13-in => plasmac.move-down # a 1 here allows multiple tools to be used # gcode M3 S1 needs to be changed to: # M3 $0 S1 for the plasma torch # M3 $1 S1 for the scribe # M3 $2 S1 for spotting setp plasmac.multi-tool 0 # net plasmac:scribe-arm plasmac.scribe-arm => ***YOUR_SCRIBE_ARMING_OUTPUT*** # net plasmac:scribe-on plasmac.scribe-on => ***YOUR_SCRIBE_ON_OUTPUT***

Here the connections.hal

Please Log in to join the conversation.

More
5 years 9 months ago #197105 by andypugh

Giuseppe wrote:

Code:
net plasmac:ohmic-probe parport.0.pin-11-in => debounce.0.2.in


Change this line to be:
Code:
net din-001 debounce.0.2.in

Note that the error message tells you which HAL file, and which line of the HAL file, the problem is found on.

Please Log in to join the conversation.

More
5 years 9 months ago #197123 by Giuseppe
Like this? And the other lines too. I think so.
Code:
net dout-001 => parport.0.pin-16-out net dout-011 => parport.0.pin-17-out net din-001 <= debounce.0.2.in net din-011 <= plasmac.move-up net din-021 <= plasmac.move-down net din-031 <= plasmac.arc-ok-in

Please Log in to join the conversation.

More
5 years 9 months ago #197181 by andypugh
You can call them anything you want, but they need to be the same anywhere you want to use a particular value.

Please Log in to join the conversation.

More
5 years 9 months ago #197183 by tommylight
Noticed this went a bit sideways, so what is the actual situation ?

Please Log in to join the conversation.

More
5 years 8 months ago #197655 by Giuseppe
Thanks for all comments.
The first Problem with the error massage is solved. I think so. I will check it later when my THC is working.
Now i am planing how to wire the THC with the relay board.
I have here a my own shematic :-)
Can anyone tells me if this will working so?

After the DCDC converter the voltage is 24V

Please Log in to join the conversation.

More
5 years 8 months ago #197661 by Clive S
You will also need 5v for the BOB as well

Please Log in to join the conversation.

More
5 years 8 months ago #197663 by Giuseppe
Yes i know. I have 5v over USB i don't draw it in the diagram. The BOB works.
I need to know if the Relay Board will work so?

Please Log in to join the conversation.

More
5 years 8 months ago #197707 by Giuseppe
I do a little change on my diagram. I think this should work better.
What does you guys mean?


Attachment not found

Please Log in to join the conversation.

Time to create page: 0.169 seconds
Powered by Kunena Forum