Hello Guest it is May 06, 2024, 05:13:03 PM

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
I use Fusion 360 posts all the time in Mach4 and have never had this error message pop up. 

You are using the Artsoft Mach4 post processor? 

Post your code file on here so it can be tested by other users to duplicate the problem.

422
Mach4 General Discussion / Re: Old turret lathe
« on: October 18, 2018, 10:36:33 AM »
Art,
You could use a pecking drill cycle in the code. G83.1 Deep Hole Peck Drilling or G73.1 Peck Drilling. 
For reference see Page 64 and 65 of the Lathe G Code Programming Manual.

423
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? 

424
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.

425
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.

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

427
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

428
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.

429
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

430
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