PDA

View Full Version : V3 will not work with pauses for bit change in preview



llajoie
03-20-2004, 06:17 PM
The simulation screen of the new version will not support our pauses for bit changes. I have uploaded a sample MDF door sbp file.
MDF Door Cut file

4051 (7.2 k)

bill.young
03-21-2004, 09:45 AM
Hi Les,

I'm not sure this is what you're calling the "pauses for bit changes", but it doesn't like the variable name in your INPUT statement "&InputReturn" because it contains 2 programming keywords...Input and Return. Change that variable name to something like "&AxisValue" and it should work OK. It's easy to make the change using the ShopBot editor (FE). Select "Tools", then "Find", then type the old variable name in the "Find what" box and the new name in the "Replace with" box. Then hit the "Replace All" button and it will replace all 40 instances of the name.

The second issue is the z-zeroing part of your file. It counts on the #1 input switch turning on when it makes contact with a zeroing plate, and since that contact isn't made during preview it's just going to stop and wait. If you just want to see what it looks like in Preview you can comment out all the ON INPUT lines by putting an ' in front of them and saving the file with a new name. When you run the new file it will ignore those lines and not wait for the input switch trigger.

Hope this helps,
Bill