开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Re: MODIO


 

开云体育

I've been able to move a bit further but I'm having a MACH3/WIN-7 issue too.? I was editing files like the macropump.m1s and not seeing anything happen on the test system.? After a bit of research and searching all of drive C I found this one in what appears to be a user specific location.? This is what I created and edited with the VB Script Editor.

?

' C:\Users\john\AppData\Local\VirtualStore\Program Files (x86)\MACH3\macros\Mach3Mill

' Show the user the state of the INPUT #2 input

If IsActive(INPUT2) Then

?????? ActivateSignal(OUTPUT6)

?????? Message( "OUTPUT6 is ON" )

Else

?????? DeactivateSignal(OUTPUT6)

?????? Message( "OUTPUT6 is OFF" )???

End If

Except that if I look in ?C:\Program Files (x86)\MACH3\macros\Mach3Mill the file doesn't exist

?

Once I created the proper macropump.m1s file in that c:\Users\john\Appdata\…\Mach3Mill folder my MODIO code worked.? Which I expected because the task isn't exactly rocket science.? Close the switch on the MODIO INPUT2 pin and the OUTPUT6 LED starts blinking.? Release the switch and it stops.? Plus I get the two messages when I do that.? As expected.

?

In MACH3 when I select menu entry:

Operator | VB Script Editor

And then in the VB Script Window select

File | Open File …

?

The path is shown as:

C:\Program Files (x86)\MACH3\macros\Mach3Mill

And I can load my macropump.m1s and see the above source code.

?

But if I use file explorer and go to that same folder the macropump.m1s file isn't there.

?

So WIN-7 is doing something and MACH3 is going along with it since it doesn't know that the actual data is being put somewhere else.

?

And if I run MACH3 as administrator now I'm taken to the drive location that doesn't have the macropump.m1s

?

I suspect I have to do something with WIN-7 to stop this.? The ID I sign in with already has administrator privileges.? I thought it might be something with User Access Control but I'm not sure.

?

Any suggestions?

?

Thanks

John

?

?

?

?

?

?

?

?

Join [email protected] to automatically receive all group messages.