Machsupport Forum
Mach Discussion => VB and the development of wizards => Topic started by: neptunier on September 14, 2018, 12:52:22 PM
-
hi everybody,
i was searching and trying a lot but i cannot find the solution.
i have a xbox attached to mach3 and i want two custom macros to set the jog speed. one for 100% and one for 2%. each macro should be activated with a button press. that way i can jog with one hand only the 2 speeds.
i tried creating a macro:
Call SetOemDro(3,2)
that should set the jog speed to 2%. i named that macro M799.m1s and put it in the right folder. when i want to try to execute the macro from the MDI it says scripter compile error in m799.m1s.
could anybody help here?
thanks,
michael
-
there must be something else in your macro witch causes the Compiler error.
if i run
Call SetOemDro(3,2)
here it works fine, make sure that there is a CRLF at the end of the line.
-
thanks, tps, what is CRLF?
-
crlf carriage return line feed at the end of the line, that was the problem.
thank you.
michael