Configure PlasmaC with only one BOB

More
29 Jan 2021 00:38 #197014 by phillc54
Replied by phillc54 on topic Configure PlasmaC with only one BOB

pin 11 is used twice in your posted hal file:
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 or Create an account to join the conversation.

  • Giuseppe
  • Giuseppe's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
29 Jan 2021 14:50 #197062 by Giuseppe
Replied by Giuseppe on topic Configure PlasmaC with only one BOB
# 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 or Create an account to join the conversation.

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
30 Jan 2021 00:48 #197105 by andypugh
Replied by andypugh on topic Configure PlasmaC with only one BOB

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


Change this line to be:
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 or Create an account to join the conversation.

  • Giuseppe
  • Giuseppe's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
30 Jan 2021 07:16 #197123 by Giuseppe
Replied by Giuseppe on topic Configure PlasmaC with only one BOB
Like this? And the other lines too. I think so.
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 or Create an account to join the conversation.

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
30 Jan 2021 22:49 #197181 by andypugh
Replied by andypugh on topic Configure PlasmaC with only one BOB
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 or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
30 Jan 2021 23:44 #197183 by tommylight
Replied by tommylight on topic Configure PlasmaC with only one BOB
Noticed this went a bit sideways, so what is the actual situation ?

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

  • Giuseppe
  • Giuseppe's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
04 Feb 2021 15:23 - 04 Feb 2021 15:25 #197655 by Giuseppe
Replied by Giuseppe on topic Configure PlasmaC with only one BOB
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
Attachments:
Last edit: 04 Feb 2021 15:25 by Giuseppe.

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

More
04 Feb 2021 16:50 #197661 by Clive S
Replied by Clive S on topic Configure PlasmaC with only one BOB
You will also need 5v for the BOB as well

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

  • Giuseppe
  • Giuseppe's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
04 Feb 2021 17:21 #197663 by Giuseppe
Replied by Giuseppe on topic Configure PlasmaC with only one BOB
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 or Create an account to join the conversation.

  • Giuseppe
  • Giuseppe's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
05 Feb 2021 06:33 - 05 Feb 2021 06:38 #197707 by Giuseppe
Replied by Giuseppe on topic Configure PlasmaC with only one BOB
I do a little change on my diagram. I think this should work better.
What does you guys mean?


Attachments:
Last edit: 05 Feb 2021 06:38 by Giuseppe.

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

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