Jump to content
OMRON Forums

Pointing to program buffer results in strange behavior


Recommended Posts

Posted

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...

280939129_PMACdoesnotrecognizesomebuffers.png.0efce2bccbc5b0385202e91d4d9b4804.png

1983583761_PMACprogramsinmemory.png.3b49cdf3905eacb238b2588aca5784a0.png

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

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!

1528076487_PMACdoesnotrecognizesomebuffers2.png.c3bfd71a1ff7f70d1478986cb5cbd151.png

Posted

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?

Guest
This topic is now closed to further replies.

×
×
  • Create New...