by ArtF » Sun Mar 18, 2018 9:38 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
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