Configure PlasmaC with only one BOB

More
28 Mar 2021 11:03 #203882 by Giuseppe
ok, thank you. Now it works. this was the right way.
the other problem i had was that my ohmic probe was by default trigged.
after i invert the pin for ohmic probe, it works.
thanks you so far.
The following user(s) said Thank You: phillc54

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

More
29 Mar 2021 18:05 - 29 Mar 2021 18:07 #204085 by Giuseppe
So next step :-)
My OHmic Probe circuit is connected to parport.0.pin-16-out.

As i wrote in one earlier post, the circuit is still activated when i start plasmac.
When i turn it off in the RUN Panel then my circuit is stays on.

I have measured PIN16 and GND and get no stabel voltage and there is no differents
when i turn probe on or off.

But, when i measured pin16 and pcgnd on the BOB then i get 5V. And this turns on and off when i trigger the checkbox in the RUN panel. My circuit GND is connected to the powersupply.

Any one can help?
Last edit: 29 Mar 2021 18:07 by Giuseppe.

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

More
30 Mar 2021 01:05 #204104 by phillc54

So next step :-)
My OHmic Probe circuit is connected to parport.0.pin-16-out.

I have measured PIN16 and GND and get no stabel voltage and there is no differents
when i turn probe on or off.

But, when i measured pin16 and pcgnd on the BOB then i get 5V. And this turns on and off when i trigger the checkbox in the RUN panel. My circuit GND is connected to the powersupply.

parport.0.pin-16-out should be connected to plasmac.ohmic-enable, this is then used to enable your ohmic circuit.

plasmac.ohmic-probe needs to be connected to the parport.0-nn-in that your probe is connected to.

pin16 should change state while probing.

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

More
31 Mar 2021 12:14 #204209 by Giuseppe
Sorry but iam not shure if i understand you.
If you look at my diagram. I connect physically PIN16OUT to my circuit and probe with IN PIN. Probe works fine.

You write that "Pin16 out" change when i probe?

I thought that i can enable or desable it by hand over the run panal. But this doesn't work.
Attachments:

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

More
31 Mar 2021 23:18 #204331 by phillc54
You have the polarity reversed at 0V and Digital Output, 0V should go to power supply negative.

The Ohmic Probe Enable only enables plasmac to do ohmic pribing, it does not change the output. The output only comes on while plasmac is probing.

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

More
07 Apr 2021 13:02 #205252 by Giuseppe
hhmmm

I'm confused.

which way would you suggest to check the machine for correctness?
Is there a test routine to ensure correct functionality for the whole machine?

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

More
08 Apr 2021 10:02 - 08 Apr 2021 12:21 #205313 by phillc54

hhmmm

I'm confused.

Sorry, it may be the way I am explaining it.

which way would you suggest to check the machine for correctness?
Is there a test routine to ensure correct functionality for the whole machine?

Unfortunately not, it is a matter of testing one thing at a time.

EDIT: can you post your complete config.
Last edit: 08 Apr 2021 12:21 by phillc54.

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

More
14 Apr 2021 17:24 #205919 by Giuseppe
What do you mean? Complete config?

The hal files?
# Generated by stepconf 1.1 at Fri Dec 25 19:31:57 2020
# If you make changes to this file, they will be
# overwritten when you run stepconf again
loadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_spindles=[TRAJ]SPINDLES
loadrt hal_parport cfg="0 out"
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,0,0,0

addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread

addf stepgen.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
# net spindle-cmd-rpm     <= spindle.0.speed-out
# net spindle-cmd-rpm-abs <= spindle.0.speed-out-abs
# net spindle-cmd-rps     <= spindle.0.speed-out-rps
# net spindle-cmd-rps-abs <= spindle.0.speed-out-rps-abs
# net spindle-at-speed    => spindle.0.at-speed

net xstep           => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
setp parport.0.pin-03-out-invert 1
net xdir            => parport.0.pin-03-out
net ystep           => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-05-out-invert 1
net ydir            => parport.0.pin-05-out
net zstep           => parport.0.pin-06-out
setp parport.0.pin-06-out-reset 1
setp parport.0.pin-07-out-invert 1
net zdir            => parport.0.pin-07-out
net y1step          => parport.0.pin-08-out
setp parport.0.pin-08-out-reset 1
setp parport.0.pin-09-out-invert 1
net y1dir           => parport.0.pin-09-out
net xenable         => parport.0.pin-14-out
net all-home        <= parport.0.pin-11-in-not
net home-y1         <= parport.0.pin-10-in-not
net plasmac:ohmic-probe-enable      parport.0.pin-16-out
net all-home        <= debounce.0.2.in
net din-011         <= plasmac.move-up
net din-021         <= plasmac.move-down
net din-031         <= plasmac.arc-ok-in

setp stepgen.0.position-scale [JOINT_0]SCALE
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 35000
setp stepgen.0.dirsetup 35000
setp stepgen.0.maxaccel [JOINT_0]STEPGEN_MAXACCEL
net xpos-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
net xpos-fb stepgen.0.position-fb => joint.0.motor-pos-fb
net xstep <= stepgen.0.step
net xdir <= stepgen.0.dir
net xenable joint.0.amp-enable-out => stepgen.0.enable
net all-home => joint.0.home-sw-in

setp stepgen.1.position-scale [JOINT_1]SCALE
setp stepgen.1.steplen 1
setp stepgen.1.stepspace 0
setp stepgen.1.dirhold 35000
setp stepgen.1.dirsetup 35000
setp stepgen.1.maxaccel [JOINT_1]STEPGEN_MAXACCEL
net ypos-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
net ystep <= stepgen.1.step
net ydir <= stepgen.1.dir
net yenable joint.1.amp-enable-out => stepgen.1.enable
net home-y1 => joint.1.home-sw-in

setp stepgen.2.position-scale [JOINT_2]SCALE
setp stepgen.2.steplen 1
setp stepgen.2.stepspace 0
setp stepgen.2.dirhold 35000
setp stepgen.2.dirsetup 35000
setp stepgen.2.maxaccel [JOINT_1]STEPGEN_MAXACCEL
net y1pos-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
net y1pos-fb stepgen.2.position-fb => joint.2.motor-pos-fb
net y1step <= stepgen.2.step
net y1dir <= stepgen.2.dir
net y1enable joint.2.amp-enable-out => stepgen.2.enable
net all-home => joint.2.home-sw-in

setp stepgen.3.position-scale [JOINT_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 35000
setp stepgen.3.dirsetup 35000
setp stepgen.3.maxaccel [JOINT_3]STEPGEN_MAXACCEL
net zpos-cmd joint.3.motor-pos-cmd => stepgen.3.position-cmd
net zpos-fb stepgen.3.position-fb => joint.3.motor-pos-fb
net zstep <= stepgen.3.step
net zdir <= stepgen.3.dir
net zenable joint.3.amp-enable-out => stepgen.3.enable
net all-home => joint.3.home-sw-in

net estop-out <= iocontrol.0.user-enable-out
net estop-out => iocontrol.0.emc-enable-in

# loadusr -W hal_manualtoolchange
# net tool-change iocontrol.0.tool-change => hal_manualtoolchange.change
# net tool-changed iocontrol.0.tool-changed <= hal_manualtoolchange.changed
# net tool-number iocontrol.0.tool-prep-number => hal_manualtoolchange.number
# net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

# toolchange passthrough
net tool:change iocontrol.0.tool-change  => iocontrol.0.tool-changed
net tool:prep   iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
# 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 din-031 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 all-home parport.0.pin-11-in-not => debounce.0.2.in
net plasmac:ohmic-enable  debounce.0.1.in
net din-011 parport.0.pin-12-in => plasmac.move-up
net din-021 parport.0.pin-13-in => plasmac.move-down
net plasmac:torch-on => parport.0.pin-17-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 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***

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

More
15 Apr 2021 01:49 #205965 by phillc54
The complete configuration directory, compress it and post it here.

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

More
15 Apr 2021 12:29 #205998 by Giuseppe

File Attachment:

File Name: plasmac.zip
File Size:45 KB
Attachments:

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

Moderators: phillc54
Time to create page: 0.128 seconds
Powered by Kunena Forum