Hello Guest it is December 01, 2021, 02:29:43 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 - PeterF

Pages: « 1 2 3 4 5 6 7 8 9 »
11
Regarding the soft limits, if that is the way you feel is safest then you would be better making it foolproof.
To do that you would edit the VB in the RefAll button, have it first disable Soft Limits, next have it home the Z axis and then move the axis the distance required, then Y then X, again having them move the required distance, then finally have it re-enable soft limits.
Hood

a) How do I wait for VB script steps to complete?
Between referencing, and moving to Machine Zero, I need a pause. Between moving to Machine Zero, and turning Soft Limits on, I need a pause. I remember that I have seen it, but can't recall where it is. Right now, without CNC, I put in adequate sleep, say sleep (1000).

Thanks for helping me.

b) The soft limits on A cannot substantially exceed (+36500000;-36500000). Outside of this, sometimes Mach3 complains from the Homing/Limits dialog, sometimes later when I toggle Soft Limits on.

Peter.

Code: [Select]
'PF 05jan2014

If(GetOEMLED(23)=True) Then
'MsgBox "soft limits are on"
DoOEMButton(1029) 'toggle soft limits OFF if soft limits are On.
Else
'MsgBox "soft limits are off"
end if


DoOEMButton(179) 'machine coordinates, (180) work coords

sleep(500)

DoButton( 24 ) 'Ref Z
DoButton( 23 ) 'Ref Y
DoButton( 22 ) 'Ref X
DoButton( 25 ) 'Ref A

Sleep( 500 ) ' ??
'DoButton( 7 )  ' ?? zero all

Code "G0 G53 Z0." 'goto mach zero,first Z, then X Y, then A
Code "G0 G53 X0 Y0."
Code "G0 G53 A0"

Sleep(2000)

DoOEMButton(1029) 'toggle soft limits ON

DoOEMButton(180) 'work coordinates
                


12
On Windows8 32 bit, installation of the driver is possible from DriverTest when I disable UAC. It works then as expected (Driver initalized, Rotational Soft Limits checkbox honored, DriverTest runs to completion). However on the next restart Windows8 diagnoses a problem and proposes to Restore. I do have ApplicationCompatibilityToolkit from Microsoft, to be tried next.

I was startled as DriverTest dates from 2010. However the actual driver files are separate and present in the Mach3 folder.

13
Mach3 R3.043.062 with driver installed well in Windows 7 32 bit. (And it honors the Rotational Soft Limits checkbox and Soft Limits). This is the same "hardware" (VMware), as for Windows 8 32 bit. Without parallel port. I applied the vista patch beforehand.

On Windows 8 32bit, the driver causes "Windows runs into a problem" (or similar, message disappears quickly) and Windows does a Restore operation. When I allowed unsigned drivers (five steps from the Charms Bar), it does show the message at the next boot after installation. When I did not allow unsigned drivers, the message shows at the parallel port step during Mach3 install. I extracted the driver from Windows 7 and installed it manually on Windows 8, but with the same failure. We have to wait for a patch to arrive.

For my sample rotational piece, found in the internet, the 4th axis limits on page 4 "Tool Path" are -169200 and +16, meaning 470 turns. It is viable to enter large positive and negative soft limits, and knowing, how many turns are to be expected, e.g. (36500000;-36500000) for hundred thousand turns. In Mach3 R3.043.062 the maximum liimit values are even +/-1 with 17 zeroes, but in earlier versions it was lower.

It is manageable, and I'm grateful to Hood for relating it to the driver installation.


14
It does oviously not depend on the Mach version, and I could not do a clean install yet, or vary my other circumstances.

Here is my current screen set (attached), and it refers to the plain MillBitmaps. Maybe the screen set contents makes the difference. Can you try it, please, Hood?

Maybe soft limits on A are handled by the driver... there is another option, M5 macro command that works only with the driver.

I'm running on a Windows 8 32 bit, on a virtual computer, and I doesn't install the driver. I do have the option of a virtual Windows 7 32 bit. The host is a Windows 8 / Windows 8.1 64 bit Intel i7.

Peter.

15
I shall verify that the Soft Limiit button on my "old" screen is the same as the current Soft Limit button, perhaps it is now a OEMButton.

16
Regarding the soft limits, if that is the way you feel is safest then you would be better making it foolproof.
To do that you would edit the VB in the RefAll button, have it first disable Soft Limits, next have it home the Z axis and then move the axis the distance required, then Y then X, again having them move the required distance, then finally have it re-enable soft limits.
Hood
I consider augmenting your proposal to the ZERO ALL button (as is it named in my screen layout, which is a slightly modified SIEG.set, which in turn is probably based on a very old version of 1024.set).

17
Hi all,
sorry when I enter this thread.
So far as I remember there is still a glitch in Mach and rotational Soft Limits.
I think that was discussed before in the forum. I put in  +-999999999999 in Homing/Limits for the A axis and its fine.
Note that Mach is counting and saving the G53 position when the axis is not referenced. You may reach the limit one day.
Just a thought.

Alex
For some people, Rotational Soft Limits Unchecked is honored, for others - not.  See the video of Hood.

The axis A is referenced on my system, but I will see what changes, when only X Y Z are referenced, and A is not referenced. Thanks for the hint.

18
Hood, what is your version of Mach3? I will then do a clean install of the same version.
Peter.

+ do you have the driver installed at home (the video computer)?

19
The way you have things set up means to home the machine softlimits need disabled, this then means that after homing you need to jog a bit before you can then enable them, if you are concerned about the operator not doing things correctly (as your previious post would suggest) then not having to first disable then next remember to enable, after a jog, would be safer in my opinion. Obviously thats just my opinion though ;)
Hood
Yes, your observations are right. For this I did Goto Machine Zero, and then turn Soft Limits on. And we have margin when turning the jog wheel (MPG on the second port) in the wrong direction at the reference position. It is also safer for me, as the IT people. The CNC is 100km from me.

The 4th axis video I look at it later this evening.
Peter

20
A) The coordinate reasons are these:
the operator moves safely, in machine coordinates, in X, from around 0 to around 278.
the soft limits are -1 and 279.
the end switches are at -5 and at 285.

The soft limits are within the end switch hard limits.

Main reason: Machine coordinate zero is defined, it is within the soft limits and within the end switches. It is useful to have a GOTO MACHINE ZERO button, and we do have it.

The distances between the end switches, soft limits and machine coordinate 0 are a bit arbitrary, admittedly. (at the lower X for example: -5; -1; 0).

B) Why can you roll around in A, and I cannot? I do not have the driver installed, makes this the difference?

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