GearHeads Corner
June 02, 2020, 02:47:13 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to make a script for plasma cnc?  (Read 719 times)
0 Members and 1 Guest are viewing this topic.
Vangoth
Newbie
*
Posts: 8


View Profile
« on: March 16, 2018, 09:32:39 AM »

very good morning, I thank all the people that could somehow help me to make a script to activate a plasma using the G m3 code and the SSR2 relay output of the pokey57cn c card.

How would the script be if the plasma head before turning on did "probe input"?

Thank you very much for accepting me to participa te in this forum and many thanks and congratul ations to the creators of the auggie software.

I would like the creator of auggie to make a video tutorial on how to make an interesti ng script that pokeys users will learn how to make libraries for the needs of their machines.

Greetings from Colombia, Nestor Delgado.
« Last Edit: March 16, 2018, 10:27:07 AM by Vangoth » Logged
ArtF
Administrator
Hero Member
*****
Posts: 5634



View Profile
« Reply #1 on: March 18, 2018, 04:38:51 PM »

Hi Nestor:

   To modify the system to run a relay ( or SSR ), open the LIB button and select the
GCode/LaserSpindle library and press the LocalEdit button. The library will appear in the
script window. Modify it as I did in the enclosed photos. The SetRelay function is relay,state,
the example sets relay 0 on for M3, and off for M4. You may need number , 1 or 3 ( my laser is on relay 2 and its one of the two relays.).

  Once you make the changes, open the LIB button again and press "CheckIn", the system will
check your library and save it if it passes testing for syntax. Once you do this any M3 shoudl turn on the releay you selected. ( 1-4);

Note:  Sorry about that, the examples show SetRelay( 0, 1) and SetRelay( 0,0), they should read
 SetRelay( 1,1 ) and (1,0). The releays are numbered 1- 4.

Art


* M3Code1.jpg (850.04 KB, 2396x1259 - viewed 137 times.)

* m3Code2.jpg (790.43 KB, 2443x1307 - viewed 131 times.)

* m3code3.jpg (750.74 KB, 2435x1265 - viewed 128 times.)
Logged
Vangoth
Newbie
*
Posts: 8


View Profile
« Reply #2 on: March 18, 2018, 04:54:39 PM »

thank you very much sir. It's clear for me.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!