Hello Guest it is April 26, 2024, 03:18:32 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cbyrdtopper

421
HiCON Motion Controller / Spindle Orientation
« on: October 17, 2018, 08:50:01 PM »
So on the Vital System website the HiCON Integra supports spindle orientation. 

How does one do this with an ac motor with a VFD? 

422
Mach4 General Discussion / Re: mc.mcJogIncStart
« on: October 13, 2018, 04:41:23 PM »
Not at work to test this.  But maybe make it "1.0"  just a thought.  The decimal is very important in some aspects of Mach4.

423
I think Charis wants to know where to put this code.  I don't know where to put it myself... maybe the cycle start button?  Or make it a function and run it on a G Code load?  I'm not sure where I would put it myself.

424
Mach4 General Discussion / Re: MACH4 feedrate and spindle override keys
« on: October 05, 2018, 07:53:09 AM »
Great!   Glad you got it working!

425
Mach4 General Discussion / Re: MACH4 feedrate and spindle override keys
« on: October 04, 2018, 08:21:10 AM »
The Spindle Override will work the same way; only it reads differently.

local SSO = mc.mcSpindleGetOverride(inst)--Returns:  0.5 - 1.5

mc.mcSpindleSetOverride(inst, NewSRO)

Spindle Override doesn't read from 0-250 like the FRO it is 0.5 - 1.5 and it will increase and decrease by 0.1 increment.
50% is 0.5 and 150% is 1.5

426
Mach4 General Discussion / Re: MACH4 feedrate and spindle override keys
« on: October 03, 2018, 09:14:49 PM »
You can set Keyboard Inputs as inputs in Mach4.  Like the video, you can set the keyboard input to an Input# instead of the probe.

http://www.machsupport.com/forum/index.php/topic,38406.0.html

Here are functions to control FRO up and down.

Now, I would assume you should be able to call these from the signal script no problem; but for some reason on my laptop none of my signal scripts are working so I am unable to properly test this.  But, you should be able to put this in your signal script and be able to do what you want, once you set up your keyboard inputs and map them to Input#s
I have this one mapped to Input5
Do the same for FRO Minus just put make another signal and put the function FROMinus() in it instead of plus.

[mc.ISIG_INPUT5] = function (state)
     if (state == 1) then --
       local inst = mc.mcGetInstance()  
       FROPlus()
       mc.mcCntlGcodeExecute(inst, "G91G00X.25")
    end
end,


Let me know if this works.  
Someone else can chime in and suggest why my signal script isn't working on my laptop as well.  Running Sim with hobby license.  
I put these functions in the PLC script,  if Inputs are fired then call these functions and it works.  So I'm not really sure why the signal script isn't working for me.

Actually pretty cool putting this in the PLC Script.  I have the (+) and (-) keys set up to FRO and when you hold them it keeps moving up or down.
Potentially dangerous if the keys get stuck, but pretty cool function.

427
Mach4 General Discussion / Re: MACH4 feedrate and spindle override keys
« on: October 03, 2018, 04:24:42 PM »
Bryanna just put a video on youtube using keyboard signals.

https://www.youtube.com/watch?v=jTzYotLTJkY

428
Mach4 General Discussion / Re: Limit Override Visual Indication
« on: October 02, 2018, 09:05:32 AM »
I haven't checked, on the road at the moment, but the code to change the button color could just be in the button's script.  You may be able to edit the PLC script to toggle the button cor with your xbox controller input

429
Oscar,
I'm not sure about the m30 not stopping the timer.  I don't see why it wouldn't.  Be sure it is saved as a lower case m30.mcs   . 
Also, you should be able to add the m3 to your resume timer.

430
Mach4 General Discussion / Re: Max velocity for Nema 24 motors
« on: September 28, 2018, 10:48:44 AM »
That's entirely up to you.  I have a Carbide Knife Grinder in the shop that can move at 200+ IPM but I've got it set to 40-50 IPM because I don't want the operators to crash the machine because they aren't paying attention.