Moderators: Mike Iubelt, Jason Susnjara, Larry Epplin, Clint Buechlein, Mike Iubelt, Jason Susnjara, Larry Epplin, Clint Buechlein
On line 10 of that macro there is invalid syntax. Go to your C drive in the macros and open that macro in notepad to see whats on line 10. Or you can Block Step Plus on that macro to open it up in THM.Thomas strembitsky wrote:could anyone shed some light on what this error means?
Everything looks correct in it. Have you rebooted the machine and see if the error persists? That macro should be rewritten on startup.Thomas strembitsky wrote:( THERMWOOD PLC ACTUATOR MACRO - GENERATED 02-17-2017 9:48:03 )
( PLC VERSION - 3.4.7 )
( MACG800.THM Resets Ramp Factors to Factory MSU values )
( RESET RAMP FACTORS TO FACTORY VALUES ----- *All Machines* )
[FMT=VAL(FROMPLCMESS26$)]
IF [FROMPLCMESS26$="1"] THEN G70
IF [FROMPLCMESS26$="25.4"] THEN G71
(***)
[WRITEMAXACCEL(1,(GETMSUACCEL(1)*FMT))]
[WRITEMAXACCEL(2,(GETMSUACCEL(2)*FMT))]
[WRITEMAXACCEL(3,(GETMSUACCEL(3)*FMT))]
M99
For curiosity sake, this isn't on THM Desktop version is it?Thomas strembitsky wrote:that's the weird thing its not rewriting on startup. a lot of the macros were last refreshed February 17 and stayed that way for some reason
I assume then at some point the macros got pulled from the machine and put on the desktop version? The majority of the macros will only need an M99 in them. The desktop version does not have a PLC so it doesn't work the same way as the machine does.Thomas strembitsky wrote:this is on the Thermwood desktop and the files were all put as read only