Studio 5000: Parse Routines (or All Tags) for a certain AOI data type

AREDA

Member
Join Date
May 2023
Location
UK
Posts
22
Hi All,

It's a long shot, but is there a way that a routine or AOI is written to scan all routines (routine names can be fed as inputs? if required), and if it finds a specific AOI (e.g. P_ALMD or P_Alarm) and with every instance it finds, it then can map a few parameters into an array it builds?

Thanks

AREDA
 
No.

Strings are strings, not Variants for routine names or tag names that could be passed to even a GSV. This is PLC code, not VBA.

You might be able to pull this off with Excel macros, an exported L5K file, and OPC links to the PLC. But not something native to the PLC.
 
You can just select the AOI in the project tree and do a cross reference. But if you want the PLC code to do the same that's a whole different thing.
 
Hi All,

It's a long shot, but is there a way that a routine or AOI is written to scan all routines (routine names can be fed as inputs? if required), and if it finds a specific AOI (e.g. P_ALMD or P_Alarm) and with every instance it finds, it then can map a few parameters into an array it builds?

Thanks

AREDA

What is it you're trying to do?
 

Similar Topics

Hi Everyone. Not posted on here for a long time, but I am hoping someone can help me. I am doing a differential pressure calculation in a L27ERM...
Replies
15
Views
267
Hi, how do I convert 2x Integer registers to a Real? The two integers are from Modbus registers that contain a floating point value, I need to...
Replies
2
Views
121
What is the best way to extract the hour and minute from the register that comes from Yaskawa VFD. In studio 5000 I have a register saved as INT...
Replies
3
Views
125
I have an Allen Bradley temperature switch that I am trying to use in studio 5000. I am getting the message "Unable to interpret the IODD file"...
Replies
0
Views
76
Hi all. I want to ask what may seem a stupid question, as I have a project to send live data to a Yeacode line printer which will print meterage...
Replies
10
Views
200
Back
Top Bottom