Hello Guest it is May 12, 2024, 04:42:10 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 - Bill_O

161
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.

162
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.

163
If the one you want to use worked then yes just copy it.

164
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 14, 2021, 08:47:16 AM »
 "mcInEditor"
that section lets you run the code while in editor
it is for macros

 "mc.mcCntlSetPoundVar (inst, mc.SV_HEAD_SHIFT_Y, YShift)"
this one thing added in Mach4
it lets you use multiple heads
it shifts the home position

165
Mach4 General Discussion / Re: mach4 m6 macros
« on: October 13, 2021, 10:32:49 AM »
What is M998?

166
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 13, 2021, 10:26:22 AM »
This is the only part that is the code.

  function m # ()
      your code
  end
  if (mc.mcInEditor () == 1) then
       m # ()
  end

167
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 08, 2021, 10:29:42 AM »
Who put it in?
Who it putting in the code?

If you are doing it this might help some.
Use the one from 6_22_2020 part way down.
https://www.machsupport.com/forum/index.php?topic=43260.msg279695#msg279695

168
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 08, 2021, 07:16:21 AM »
Really?
You take out the button that moves things and it doesnt work any more?

Look, you have an error in the code.
Take out the button and see if the error goes away.
Then we can work on getting the button back in correctly.

169
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 07, 2021, 10:33:29 AM »
Delete the button and see if you get the same error.

170
Mach4 General Discussion / Re: How to use USB camera with Mach4
« on: October 06, 2021, 05:49:04 PM »
I do not think the error is from the button.
It looks like it is saying the problem is at line 239.
The script you posted does not have 239 lines.
I do not know what the problem is.