Hybrid View
-
04-03-2017 #1
Have you seen this thread?
https://www.machsupport.com/forum/in...?topic=15167.0
I think you cannot program that blinking as mach3 disables all outputs when in reset condition. You need to have the output signal inverted to turn on the light when it is low.
-
The Following User Says Thank You to paulus.v For This Useful Post:
-
04-03-2017 #2
tom what controller are you using.?
I would look at using a Brain. It should be easy enoughLast edited by JAZZCNC; 04-03-2017 at 12:24 PM.
-
05-03-2017 #3
I use CSMio/iP-M
So far I use NC contact in Enable Relay (charge pump) - simply switching +24Vdc to blinking diode.
So when relay is not made - reset condition NC contact make led blinknig and opposite:) (old school)
Paulus.v is correct no matter what sophisticated script or code we use outputs are disabled in reset mode - so I try piss against the wind here.
Dean do you have any idea?
-
05-03-2017 #4
Ah but he's not using the IP-M so can't talk directly to the controller like you can and bypass Mach3. Now your going to see little of the beauty of Cslabs controllers.
To do this you need to turn on Macro pump option in mach3 config and use macro to talk directly to the controller to tell it to turn on the output when goes into reset. You will need to re-start mach3 after selecting macropump.
Here's one I created to watch cycle start, feedhold and reset then turn on outputs when active. You can use it for the same job just don't use the cycle, f-hold outputs.
I've set it to use output #1 but you can change it to any output# you want to use by opening file and changing the constant "idleresetlamp" found near top of file.
Don't change the file name it must be called Macropump and put it in the Macro folder for each profile that uses it.
Let me know if any probs but use it at your own risk I take no responsabilty if doesn't work or messes up.
-
25-03-2017 #5
Hi Dean
I follow your suggestion and got it light flashing before Reset is pressed.
I changed output pins. So far output 0 is taken by HV Enable, output 1 by spindle relay, and I did not want to change it, only added output 3 for 'Lamp Idle / Reset', so when 'Lamp run' spindle should start
Here is what I changed in pin configuration
In General Configuration Run Macro Pump is ticked.
in Output Signals Charge Pump signal is used with Port 10 and Pin Number 24, (Output 3, manual page 11)
Had to replace my blinking Led to standard one:)
I presume this macro is kind of light tower?
Light stays on after reset, which is kind of industrial standard for reset condition.
How to disable that light?
What have to be changed in script please?
-
25-03-2017 #6
Tom Charge Pump and Macro pump are completely different things so if you have set the Charge Pump Output this could be why having troubles.
Charge pump isn't used with Cslabs so clear this Output.
Yes this is stripped down light tower code.
Shouldn't do that it should go off. Clear the Charge pump output above and see if turns off.Last edited by JAZZCNC; 25-03-2017 at 09:57 PM.
-
The Following User Says Thank You to JAZZCNC For This Useful Post:
-
26-03-2017 #7
It did not, but not a problem as I changed IdleResetLamp to false when in 'Idle' so light goes of now.
I modify the GetTickCount CurrentTime and LastTime so lamp flashes exactly like in Mach3
Thanks Dean like always great help from you
Will start another threads about outputs, pins, terminals:)
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
help needed mach 3
By terry1956 in forum CAD & CAM SoftwareReplies: 2Last Post: 16-02-2016, 07:36 PM -
Sieg KX1 & Mach3 won't come out of emergency reset
By lateAtNight in forum Gantry/Router Machines & BuildingReplies: 32Last Post: 19-06-2015, 06:37 PM -
Cutting lead flashing?
By Shinobiwan in forum Metalwork DiscussionReplies: 7Last Post: 06-03-2013, 03:41 PM -
small cnc 30/20 + mach 3 help needed
By whynot2 in forum Artsoft Mach (3 & 4)Replies: 8Last Post: 28-02-2012, 03:22 PM
Bookmarks