error after Plasmac setup

More
24 Nov 2019 16:47 #151125 by bright
this is my first cnc build and exposer to hal and ini files so bare with me please.
after setting up the Plasmac configuration i received and error when i tried to start the program.

The error
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
twopass:invoked with <> options
twopass:found ./metric_plasmac3.hal
twopass:found ./plasmac.hal
twopass:found ./metric_plasmac3_connections.hal
twopass: Error in file ./metric_plasmac3_connections.hal:
Signal 'plasmac:arc-voltage-in' of type 'bit' cannot add pin 'plasmac.arc-voltage-in' of type 'float'
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

My connections .ini
# 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 switch *****
# 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 100

#***** the joint associated with the Z axis *****
net plasmac:axis-position joint.3.pos-fb => plasmac.axis-z-position

net plasmac:arc-voltage-in parport.0.pin-10-in => plasmac.arc-voltage-in
net plasmac:arc-ok-in parport.0.pin-15-in => plasmac.arc-ok-in
net plasmac:float-switch parport.0.pin-13-in => debounce.0.0.in
# net plasmac:breakaway {YOUR BREAKAWAY PIN} => debounce.0.1.in
# net plasmac:ohmic-probe {YOUR OHMIC PROBE PIN} => debounce.0.2.in
# net plasmac:ohmic-enable plasmac.ohmic-enable => {YOUR OHMIC ENABLE PIN}
net plasmac:torch-on => parport.0.pin-01-out

# 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 air scribe
setp plasmac.multi-tool 0
net plasmac:air-scribe-arm plasmac.air-scribe-arm => parport.0.pin-16-out
net plasmac:air-scribe-start plasmac.air-scribe-start => parport.0.pin-17-out

i understand why the pin needs to be a float i just have not been able to figure out how to change it from a bit to a float, any help would be appreciated. thank you

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

More
24 Nov 2019 22:12 #151149 by phillc54
Replied by phillc54 on topic error after Plasmac setup
The parallel port pin is a bit type pin.
Normally plasmac.arc-voltage-in would be connected to something like the output of an encoder.
What hardware do you have and how is it physically connected?

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

More
24 Nov 2019 23:24 #151157 by bright
Replied by bright on topic error after Plasmac setup
I am using a C10 parallel port breakout board at the moment( www.cnc4pc.com/c10-bi-directional-parall...-interface-card.html ).
i was hoping to get started with this then move on to add more and upgrade later

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

More
24 Nov 2019 23:28 #151158 by tommylight
What THC ?

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

More
24 Nov 2019 23:38 #151159 by bright
Replied by bright on topic error after Plasmac setup
I don't have an external THC at the moment, i was going to add one later or attempt to build one with either a raspberry pi or an arduino.
do you need a THC to use plasmac?

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

More
24 Nov 2019 23:43 #151161 by tommylight

do you need a THC to use plasmac?

Yes. That is the main reason why it was built.
But you can run the sim without any hardware, to get used to it.

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

More
25 Nov 2019 00:19 #151168 by phillc54
Replied by phillc54 on topic error after Plasmac setup
It should be possible to use a Mesa THCAD and run that into a software encoder .
That should work with a parallel port and you could upgrade from a parallel port at a later date and keep the THCAD.
You would be restricted with I/O and probably need shared home switches and no limit switches.

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

More
25 Nov 2019 00:30 #151171 by rodw
Replied by rodw on topic error after Plasmac setup

It should be possible to use a Mesa THCAD and run that into a software encoder .


But if you go to the trouble of ordering a THCAD, you might as well add a 7i96 to the order and be done with it. Its really the cheapest THC available.

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

More
25 Nov 2019 00:37 #151173 by bright
Replied by bright on topic error after Plasmac setup
The plasma cutter i ordered has a 1/50 torch head voltage divider built into it. couldn't i use run that into and arduino analog input then write a bit of code to output one pin or another based on voltage readings, then i could use Plasmac mode 2 for the z control

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

More
25 Nov 2019 00:46 #151176 by rodw
Replied by rodw on topic error after Plasmac setup
Probably but don't go over 250 volts or you'll fry the input.
That is probably fairly safe upper limit for a plasma cutter in the 40-50 amp range though.
It will still be a crude substitute for a THCAD.

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

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