Advertisement
Guest User

Untitled

a guest
Jun 27th, 2014
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. # Plasma Settings
  2.  
  3. # Set up the Encoder for the THC
  4. setp hm2_5i25.0.encoder.00.counter-mode 1
  5. net thc-vel-in hm2_5i25.0.encoder.00.velocity => thc-pid.encoder-vel
  6. setp thc-pid.scale-offset 119500
  7. setp thc-pid.vel-scale 0.00037866834
  8. # this might need to be adjusted
  9. setp thc-pid.p-gain 0.000005
  10.  
  11. # Touch Off Probe
  12. net torch-probe motion.probe-input <= hm2_5i25.0.7i76.0.0.input-03-not
  13.  
  14. # spindle on starts the arc
  15. net spindle-on motion.spindle-on => hm2_5i25.0.7i76.0.0.output-00
  16. net spindle-on => thc-pid.torch-on
  17.  
  18. # starts the motion when the plasma arc has transfered to the work
  19. net start-motion-input motion.digital-in-00 <= hm2_5i25.0.7i76.0.0.input-04
  20. net start-motion-input => thc-pid.arc-ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement