Hello Guest it is September 18, 2019, 09:35:50 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.

Topics - rrc1962

Pages: 1 2 3 4 5 6 7 8 9 10 11 »
Mach4 General Discussion / mc.mcJogIncStart
« on: October 13, 2018, 04:29:35 PM »
Wondering if anyone has seen this.  I'm using mcJogIncStart to initiate an incremental jog and retrieving the increment from the system.  Everything works great as long as the number I pass to mcJogIncStart is a decimal, like .1, .01, .001.  If I pass a 1, it seems to go haywire.  It moves but not 1" and never the same distance twice.  An incremental jog from the screenset works fine using 1".   Code is below.  Anyone seen this?

mc.mcJogIncStart(inst, mc.Y_AXIS, mc.mcJogGetInc(inst, 1))


Mach4 General Discussion / User range of pound variables
« on: February 21, 2018, 06:25:57 PM »
Is there a range of pound vars that are not used by the system?  Or would I just choose a few that I know I won't need and set their values to suit my needs.


Mach4 General Discussion / Coordinate Rotation
« on: January 18, 2018, 02:52:24 PM »
If I rotate the coordinate system using G68, I'm noticing that all feed rate moves follow the rotated program correctly, but all rapids seem to ignore the rotation and go to the un-rotated position. Is there a Gcode I should be posting in the header to make M4 rapid to the correct rotated coordinates.


Mach4 General Discussion / Version Update Issue
« on: November 30, 2017, 04:51:32 PM »
So I've been working with M4 on version and ESS build 209.  I've installed and uploaded my profile on a few PC's. Today I downloaded M4 version with ESS build 216.  I imported the same profile that has been working with M4 3233 and ESS 209 and I get the attached errors.  There is a function called EnableAxis() in the Screen Load Script and it looks fine.  M4 is is installed in the same C:\Mach4Hobby folder that the older versions are in.

Anyone have any ideas?  I'd like to use the latest version.   Thanks

Mach4 General Discussion / Stop CV on Angles?
« on: October 30, 2017, 04:19:19 PM »
Does Mach4 have anything similar to Stop CV On Angles like Mach3 had?


Mach4 General Discussion / PLC Script and global variables
« on: June 28, 2017, 05:51:20 PM »
Here's what I'm trying to do...

CurrentPosX = mc.mcCntlGetDistToGo(inst, 0)
CurrentPosY = mc.mcCntlGetDistToGo(inst, 1)

if CurrentPosX > LastPosX and CurrentPosY > LastPosY then
   --Do something

LastPosX = CurrentPosX
LastPosY = CurrentPosY

So the question is...If I put global variables LastPosX and LastPosY in the screen load script, will they be visible to the PLC script?  Or...Will LastPosX and LastPosY retain their values from scan to scan?  For instance, if I set LastPosX to 4.123, will it be nil on the next PLC scan or will it still be 4.123.


Mach4 General Discussion / Execute function with key press
« on: June 01, 2017, 10:45:08 PM »
Here's what I've tried without much luck.  In the keyboard Inputs plugin, I created a new row as follows...

InputName: CycleStart
Key: Numpad 7[103]
Shift: X
Alt: X
Cntl: X
Lock Key: None
Function: None

Then in Mach4 setup, Input Signals, I enabled Input1, set the device to Keyboard and Input Name to CycleStart, which appears on the drop down list of input names.

When I press the assigned key, nothing happens.  I'm looking at the inputs in diagnostics to confirm.  I'm thinking I need to select a real function in keyboard inputs plugin.  How do you add a function so it appears on the list of functions?  All of the functions that appear seem to be al about jogging.  I need to add a custom function to the list...I think...Unless there is another way to get a key mapped to an input.

My plan was to map a key to an input then look for the input trigger in the Signal Script.


Mach4 General Discussion / Ethernet modbus via wifi
« on: May 26, 2017, 11:02:24 PM »
Has anyone tried connecting to Mach3/4 via modbus using wifi?  Technically, it should work just like wired connection.  Just wondering if there is something about it that would required a wired connection.

Mach4 General Discussion / Jog Speed
« on: May 18, 2017, 09:51:29 PM »
Is there a way to slow the jog speed down on just one axis?  I need the rapid speed where it is on all axes, but jog speed on the Z axis needs to be 50%.  X and Y needs to stay at 100%. 

Mach4 General Discussion / Multiple Probes
« on: May 18, 2017, 09:30:24 AM »
In the pin setup I see Probe, Probe1, Probe2 and Probe3 on the M4 and ESS setup.  I know G31 works with Probe.  Would G31.1 be used with Probe1, G31.2 for Probe2, etc.?


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