Hello Guest it is April 18, 2024, 05:06:21 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.


Topics - rhtuttle

Pages: 1 2 3 4 5 6 7 8 9 »
1
Mach4 General Discussion / Lathe Internal Taper
« on: May 19, 2023, 03:13:57 PM »
Are we ever going to get a functional version of the turn cycles?
Internal taper: 20 degrees
Xi 1.23
Zi -.748
Zf -1
A 20

Have tried the latest "stable" version, with both turn and facing options garbage code.
4********* dev version and latest 5125 build unable to show wizard3: wxLua: Expected a 'wxColour' for parameter 2 but got a nil.

Rant over

2
Mach4 General Discussion / wizard version mismatch
« on: April 25, 2023, 11:56:14 AM »
Tried to load the Feeds and Sppeds wizard and got this error: version mismatch in precompiled chunk
Build 5306

Anyone know the process to fix this?

TIA

RT

3
Mach4 General Discussion / Intermittant hesitations
« on: March 21, 2023, 04:16:18 PM »
I have Mach4, Pokeys57cnc and win 10.
I notice that occasionally during a standard g1 move that it will stop moving for ~500ms and then continue without a loss of steps or position.  My friend has 2 other machines running the same configuration and experiences the same behavior.  One of his machines is on the internet and other is not.
Any suggestions as to the cause and how to cure?

TIA

RT

4
PoKeys / Relay on at start up
« on: February 14, 2023, 04:03:47 PM »
I have a pokeys57cnc board and you must first turn on that machine before loading Mach4.  My coolant relay automatically is activated when I start the machine and then when Mach4 finally loads Mach4 turns it off.  How do I get it to not turn on automatically?

TIA

RT

5
Mach4 General Discussion / Macro mystery
« on: February 14, 2023, 01:57:36 PM »
Friend is setting up a new lathe and was trying to turn relays on and off and was getting nowhere.  He had defined macros m205.mcs and m206.mcs to turn output2 on and off.  When the macro m205 was run in the zeroBrains editor output2 would get voltage and the led on the diagnostics page would light but when m205 was run in either the mdi or in a gcode file nothing would happen.

Deleted the mcc files, shut down Mach4 and restarted.  No change.

Renamed m205.mcs and m206.mcs to m2005.mcs and m2006.mcs and changed the functions in the macros to m2005() and m2006() and they ran as expected.  What could have caused the m205 and m206 to not work?


6
Mach4 General Discussion / Turn off mist/flood on stop/estop
« on: January 11, 2022, 11:00:00 AM »
Is there a setting in Mach4 that will turn off Mist/Flood (m9) whenever a Stop or EStop is issued or do I need to modify something in the screenload script?

TIA

RT

7
PoKeys / pokeys57cnc and mc60 motor controller
« on: May 12, 2021, 12:10:27 PM »
Has anyone used the above combination? I had a pmdx411, gecko g540 and mc60 working on my lathe.  Needed more outputs and switched to Pokey57CNC.  The g540 had 3 wires to the mc60, the +10v, common and 0-10v to regulate the spindle speed.
I am electrically illiterate and cannot figure out how to wire the pokeys board to the same mc60 speed controller.  I have the white connected to pokeys 0-10v output but don't know where the black and red wires should be connected.  Any guidance would be greatly appreciated.

TIA
RT

8
Mach4 General Discussion / SSR m7 serial
« on: April 12, 2021, 02:10:51 PM »
Would appreciate any help on the following.
I am running M4 with a pmdx-411 and g540.
I am out of outputs available with this setup.
For a mist system I have a 3vdc - 12vdc SSR
What is the easiest way to control that switch?
It seems that I should be able to control it through a serial cable.

TIA

RT

9
PoKeys / Pokeys57CNC - wiring SSR
« on: April 01, 2021, 01:30:29 PM »
I'm electronically challenged. >:(
I have a 3-32vdc input 5-60vdc output SSR
I want to drive a 12v pneumatic switch for a misting.
What pins/connector will work for this?

TIA

RT

10
This is code that has worked prior to updating to 4612.  This homes my C axis (rotary) in the left up script.  When I step through the code in debugger it homes but when clicked no homing takes place.  Last message is output, 'Homing: 0.0'.

Any Ideas?

Code: [Select]
local function myHomeC()
  local inst=mc.mcGetInstance()
  local sState
  local pos=-1

mc.mcCntlEnable(inst,0)
mc.mcCntlConfigStart(inst)
  local hSigH=mc.mcSignalGetHandle(inst,mc.ISIG_MOTOR3_HOME)
  rc=mc.mcSignalEnable(hSigH,1)
  mc.mcProfileWriteInt(inst,'Signal68','Enabled',1)
  mc.mcProfileSave(inst)
  mc.mcProfileFlush(inst)
mc.mcCntlConfigStop(inst)
mc.mcCntlEnable(inst,1)

  local hSig,rc=mc.mcSignalGetHandle(inst,mc.ISIG_INDEX)
  if rc==mc.MERROR_SIGNAL_NOT_FOUND  then
    wx.wxMessageBox('wrong Signal')
  end
  sState=mc.mcSignalGetState(hSig)
  if sState==1 then  -- sitting on the slot so move off it
    mc.mcCntlGcodeExecuteWait(inst,'g0 f20000 h15\n')--g1 h366 f5000')
  end
  rc=mc.mcAxisHome(inst,mc.C_AXIS)
 
--this never gets executed
 mc.mcCntlSetLastError(inst,'Homing')
 
  repeat
    wx.wxMilliSleep(1000)
    rc= mc.mcAxisIsHoming(inst,mc.C_AXIS)
    mc.mcCntlSetLastError(inst,'Homing: '..tostring(rc))
  until rc==0 
  rc=mc.mcSignalEnable(hSigH,0)
  mc.mcProfileFlush(inst)
end

if (mc.mcInEditor() == 1) then
  myHomeC() 
end

TIA

RT

Pages: 1 2 3 4 5 6 7 8 9 »