-
29-01-2021 #1
Hi Folks
Scratching my head with how to program illuminated reset button, so is flashing when not healthy and goes off when reset.
In Mach 3 I use some script file macropump.m1s and external input OEM Trig# for reset push button and Output# for Led light
Flashing frequency is close match to Mach 3 reset light blinking:)
AXXB-U wired. UUCNC licence not working yet - no idea why.
Input to - NO contact reset button
Output to - Red LED light for reset button
Pins are configured and need to set 'Function' in INPUT TRIGGER and corresponding Plugin witch I am struggle to find.
Any idea please?Last edited by Tom J; 06-02-2021 at 12:48 AM.
-
29-01-2021 #2
Hi Tom
Check that your license file number is the same as the number on the axbb controller. I had the wrong one sent to me.(looked like a typo error) They sent me a correct file within the hour.
Cheers
Andrew
-
29-01-2021 #3
-
29-01-2021 #4
-
29-01-2021 #5
-
05-02-2021 #6
This is a simple way to do it, create a macro loop and set it to autorun..the example shown pulses jets of air by activating output 3,1 on and off when the function 116 is active (m7 mist coolant) macros can be created and saved in the UCCNC folder>profiles>macro_default or whichever profile you currently use.
Edit.
Don't forget to save both the macro loop save settings as well as the general save settings for UCCNC
Cheers,
Charlie
Sent from my M2003J15SC using Tapatalk
-
The Following 2 Users Say Thank You to CharlieRam For This Useful Post:
-
06-02-2021 #7
Hi Charlie
I have something different in mind. My reset light must blink before system is healthy, so after press reset light stays on, ans flash when in fault .
I don't want to use 116 (M7 Mist) button while system is running.
Tried your code anyway first - keep crashing UCCNC, Isee works for you
exec.Wait(600); //wait one ***ms
while(!AS3.Getbuttonstate(116)){}
exec.Setoutpin(Port, Pin); //
exec.Wait(200); //wait one ***ms
exec.(Clroutpin(Port, Pin); //
In mach 3 I used macropump.m1s and external input OEM Trig# for RESET push button and Output# for Led light.
Hope this will clarify.Last edited by Tom J; 06-02-2021 at 01:05 PM.
-
06-02-2021 #8
Hmm...from my experience Any error in the typed code will just result in the macro failing to run so I would probably check if there are any dependency's that need installing to use the scripts such as visual studio etc...
Sent from my M2003J15SC using Tapatalk
-
06-02-2021 #9
...check the error log text-file in the Macro directory.
-
06-02-2021 #10
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Flashing led. DM860A
By terry1956 in forum Motor Drivers & ControllersReplies: 3Last Post: 27-04-2021, 10:04 PM -
mach3 wont reset keeps saying external emg stop requested
By Geoff57 in forum Boxford LathesReplies: 49Last Post: 02-04-2020, 05:51 PM -
Help needed with Mach 3 - reset external flashing light
By Tom J in forum General ElectronicsReplies: 7Last Post: 26-03-2017, 08:34 PM -
Cutting lead flashing?
By Shinobiwan in forum Metalwork DiscussionReplies: 7Last Post: 06-03-2013, 03:41 PM
Bookmarks