Hello Guest it is April 18, 2024, 06:01:10 PM

Author Topic: VBA difference between 3.043.066 and 3.042.020  (Read 2695 times)

0 Members and 1 Guest are viewing this topic.

Offline JKW

*
  •  2 2
    • View Profile
VBA difference between 3.043.066 and 3.042.020
« on: April 10, 2016, 04:25:34 PM »
Hey guys, I've read a lot in this forum and have never created an account because pretty much all my questions have been ask and answered before.
But this time I have to ask :)

I had version 3.042.020 installed for a long time and my own toolchanger and height calibration script running, everything worked fine but I had some instability problems lately (mach just stopped in the middle of a longer job (lets say after 90min it simply stopped moving)). I thought I'd use the chance and update to the newest version, but that totally screwed up my macro.

First difference was that isMoving() returns always true, I've fixed that by writing my own isMoving (sleeps and compares the coordinates before and after sleep).
The next difference is that my macro works perfecly fine once I run it from the Script Editor, but behaves super strange when I run it from the G-Code. It will just do the calibration and stop.
All popups will be displayed, but the machine is not moving at all. After all popups are gone and I click "rewind" the motions are executed and the machine is pretty much running all the "buffered" G codes ...

I think i'll just return to the old version, but is that something that sounds familiar to you guys?
This is the script: https://owncloud.illuminum.de/index.php/s/3AJ7OIo5i1RFcwB

thanks in advance
JKW

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: VBA difference between 3.043.066 and 3.042.020
« Reply #1 on: April 10, 2016, 05:12:00 PM »
3.043.066 has many serious bugs. Try using 3.043.062.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline JKW

*
  •  2 2
    • View Profile
[solved] VBA difference between 3.043.066 and 3.042.020
« Reply #2 on: April 10, 2016, 07:06:22 PM »
spot on .. that works .. thanks!