Delta Tau Forums

Full Version: Pointing to program buffer results in strange behavior
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I point to some of downloaded motion programs from Terminal, I get the value back, as if I ask for a variable value.

For example:
"&1B1" returns "0" and subsequent R/S doesn't start prog.
"&1B2" returns "150"... What the value it is?

But "&1B5" (B6, B7 etc.) returns nothing and I can start the prog using "R" or "S" as usual.

Have attached screenshots below...
Have you made #define assignments for B1 and B2 as variables?
You can disable the "Macro name" reporting in the terminal widow with a right mouse click - deselect "Show Macro Names".
(12-11-2018, 03:27 PM)curtwilson Wrote: [ -> ]Have you made #define assignments for B1 and B2 as variables?

I have just searched one more time through all the header files in last two projects and really found definitions for b1, b2, b3 as follows:

#define k1 q221
#define b1 q222

#define k2 q223
#define b2 q224

#define k3 q225
#define b3 q226

Did I get the values of Q-vars?

But when I point to B100, B1101 buffers I get ERR003 error.
Sometimes I get ERR003, when point to B5, B6 buffers.
There aren't any definitions #define for them, and programs are downloaded to pmac.

I have reinstalled the PMAC Suite and all have been ok for one day.
Then I got this problem again.
My colleague connects to the same pmac and doesn't have this problem.
He does not have source files for this project on his PC.

I will change the macro names tomorrow and see what happen.

Thank you!
(12-11-2018, 04:04 PM)steve.milici Wrote: [ -> ]You can disable the "Macro name" reporting in the terminal widow with a right mouse click - deselect "Show Macro Names".

Does pmac try to search for definitions, when reporting is enabled?