Author Topic: AB Micro850 Program Scope tags  (Read 1411 times)

timryder

  • Jr. Member
  • **
  • Posts: 84
  • Still trying to figure it out
    • View Profile
AB Micro850 Program Scope tags
« on: December 07, 2021, 02:05:13 PM »
Does anyone know the syntax to access a tag which resides in the program scope of a Micro850 program?

I have a program called "Main" and I have created a tag under it's scope called "test" I just want to set that bool using a button. But what is the address for accessing the program scope tags?

"Program:Main.test"

is this it?
Still just trying to figure out this thing called Life.

MajorFault

  • Guest
Re: AB Micro850 Program Scope tags
« Reply #1 on: December 07, 2021, 03:23:46 PM »
I'm not positive, but I think only global scope is supported.

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: AB Micro850 Program Scope tags
« Reply #2 on: December 07, 2021, 03:28:52 PM »
I'm not positive, but I think only global scope is supported.

This is accurate.  There is no documented way to access local scoped tags.  I captured packets from CCW in order to try and mimic how it access local variable values and never had any luck.  This was some time ago, but what I remember about it was that it seemed the controller knew the difference between CCW and not CCW and would reject the request.

Edit: I also spoke with support about it to see if there was different syntax or something like that, all they would give me was "you cannot access local variables".

timryder

  • Jr. Member
  • **
  • Posts: 84
  • Still trying to figure it out
    • View Profile
Re: AB Micro850 Program Scope tags
« Reply #3 on: December 07, 2021, 03:35:37 PM »
Huge bummer.....

Also, challenge accepted. Lets see if I can crack it.

Thanks for the answer though guys.
Still just trying to figure out this thing called Life.

dmroeder

  • Administrator
  • Full Member
  • *****
  • Posts: 212
    • View Profile
Re: AB Micro850 Program Scope tags
« Reply #4 on: December 07, 2021, 03:41:52 PM »
Huge bummer.....

Also, challenge accepted. Lets see if I can crack it.

Thanks for the answer though guys.

I said the same thing, eventually gave up.  Let me know your observations.  I don't think it is going to be a syntax thing, possibly a different CIP object.

When I get time, I'll see if I can capture the packets again, unfortunately, I don't think I saved them.