. .
Page 1 of 2 12 LastLast
  1. #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.

  2. #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

  3. #3
    Quote Originally Posted by the great waldo View Post
    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
    Licence number do match.
    I used straight cable like in CS Lab, should be crossed pair - WORKS now!

    Still wants my red light to flash and stay on when reset.
    Last edited by Tom J; 06-02-2021 at 12:49 AM.

  4. #4
    Doddy's Avatar
    Lives in Preston, United Kingdom. Last Activity: 2 Weeks Ago Has been a member for 9-10 years. Has a total post count of 1,364. Received thanks 188 times, giving thanks to others 66 times. Referred 1 members to the community.
    Quote Originally Posted by Tom J View Post
    Still wants my red light to flash
    No promises, but if I get chance over the weekend I might have a sniff at this. By all means, if anyone has any idea chip in - Tom, have you asked on the UCCNC forums?

  5. #5
    Quote Originally Posted by Doddy View Post
    No promises, but if I get chance over the weekend I might have a sniff at this. By all means, if anyone has any idea chip in - Tom, have you asked on the UCCNC forums?
    Will ask there, so far I've tried to find first - thanks

  6. #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

  7. The Following 2 Users Say Thank You to CharlieRam For This Useful Post:


  8. #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.

  9. #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

  10. #9
    Doddy's Avatar
    Lives in Preston, United Kingdom. Last Activity: 2 Weeks Ago Has been a member for 9-10 years. Has a total post count of 1,364. Received thanks 188 times, giving thanks to others 66 times. Referred 1 members to the community.
    ...check the error log text-file in the Macro directory.

  11. #10
    Quote Originally Posted by CharlieRam View Post
    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
    This language is grey area for me, don't even know where to start learning - visual basic?
    So far I use external reset button and on/off Led from output, as macro I typed above is crashing UCCNC

    Will ask somewhere else:(

    Thanks anyway

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Flashing led. DM860A
    By terry1956 in forum Motor Drivers & Controllers
    Replies: 3
    Last Post: 27-04-2021, 10:04 PM
  2. Replies: 49
    Last Post: 02-04-2020, 05:51 PM
  3. Help needed with Mach 3 - reset external flashing light
    By Tom J in forum General Electronics
    Replies: 7
    Last Post: 26-03-2017, 08:34 PM
  4. Cutting lead flashing?
    By Shinobiwan in forum Metalwork Discussion
    Replies: 7
    Last Post: 06-03-2013, 03:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •