Hello Guest it is April 21, 2024, 09:11:12 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 - Chestermarine

Pages: 1
dspMC/IP Motion Controller / New Win7 install not connecting
« on: June 23, 2011, 05:28:32 PM »
Hello All:

I just re-installed my dspmc controller and Mach3 on a new Win7 system. Previous install was on an XP system and all was working fine. This install is the exact same type of computer, but a new one that has a comm port so I can use my "Cubloc" plc.

For some reason, the Ethernet connection is not seen. I am sure it is some simple setup process. Win7 is quite a bit different from XP, and has some different terminology.

I am not familiar with the nuances of Win7, and must be blocking the conn with the Ethernet.



I would like to increment the Z axis depth when using a M98 call to subroutine, to make multiple passes at increasing depths.
For example, an OD path of a part, using cutter comp.

There is an example of such a move in the Wizard for cutting a spline. That code loops in a M98 call subroutine, and the rotary axis increments a given amount of degrees after cutting each tooth, and the Q value is set to the number of splines cut. The rotary table angle increment is 360 divided by the number of teeth input in the Wizard.

I wrote a part contour using G42, and put it into the subroutine called by the M98. There seemed to be no way that the Z axis could be incremented by codes within the called subroutine. That would have made the code much shorter, and also logical.

Since the M98 will make any number of repeating calls i.e. the Q value,  it should be easy.

I ended up using the beginning offset lead-in line bringing the tool into the work, on the line before the "M98 o0001 Q4".
Then I made multiple copies of those two lines,  with each successive lead-in containing the Z depth I wanted.

I edited the "o0001" called subroutine so there was no Z value, just the OD contours in the X,Y, I,J etc.

It all worked, but there has to be a better way of stepping down the Z making multiple passes around the part. I read the manual regarding "Parameters" ,and they all must be integers.

Is there something like a parameter, that can be incremented in discreet numerical values, like .05, or .25 etc.?

On my old Sharnoa CNC control, you could put any value in a parameter, #5=.0156, and then increment that parameter later in the routine, #5 +.1=#5.
Then the Z value would read, Z-#5 where you wanted the depth to change. Each time through the sub-routine the depth would change, or any Axis letter for that matter.

Any suggestions would be appreciated.




Pages: 1