Hello Guest it is April 28, 2024, 12:06:19 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.


Messages - Bill_O

151
Hey.
Glad to hear you are still above ground.

Bill

152
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 18, 2021, 05:50:28 PM »
It does not make the motor move.
It just changes where the machine thinks it is.
You do the same thing for the x axis just use the x shift.
If you want it to move you need to tell it to move.

153
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 18, 2021, 01:56:30 PM »
Thanks Swifty

154
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 18, 2021, 10:50:55 AM »
Never mind.
Mine does not have them either and it works.
Are you actually hooked up to a machine?
Some things will not function in demo mode.

155
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 18, 2021, 10:08:11 AM »
Go to the Parameters.ini in your profile.
Look for [5081] and [5082]
Those are the head shift parameters for x and y

156
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 18, 2021, 08:47:45 AM »
It will not move.
It is just supposed to put a value in the head shift so the machine knows how much to compensate.
I did not see a value in the head shift.
Exactly what code did you put in and where?

157
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 15, 2021, 11:24:19 AM »
To make and edit a macro go to Operator then Edit/Debug Macro Scrips
That is the editor.
That is where you will make and save your YShift macro.
I suggest you not use a name for your macro use a number like m111

To make and add a button go to Operator then Edit Screen.
Add your button and program it to do what you want.
Your button will just run that macro.
The code on your button will be like this;
inst = mc.mcGetInstance()
mc.mcCntlGcodeExecute(inst, "m111")

158
You should only need the ones you will use.
Having said that the extras will not hurt if you never call it.

159
Mach4 General Discussion / Re: Mach 4 Wont save Configuration
« on: October 15, 2021, 09:14:49 AM »
They need to be set up in the ESS plugin first.

160
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 15, 2021, 09:13:44 AM »
1)  Yes. It moves where the machine thinks the axis is positioned. It does not actually move it just changes where it thinks it is located.

2)  The code looks correct. I would not use a variable named the same as the macro. Then the button just calls the macro.