Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$getTagId('Tag name');[FEATURE] #1081

Closed
mariorl opened this issue Feb 15, 2024 · 2 comments
Closed

$getTagId('Tag name');[FEATURE] #1081

mariorl opened this issue Feb 15, 2024 · 2 comments
Labels

Comments

@mariorl
Copy link

mariorl commented Feb 15, 2024

Describe the feature
When you create several controlers, for example several siemens S71500 devices, and there are the same tags names inside them, a problem is raised with $getTagId('Tag name');, because the device is not an argument for the function. This could be addressed giving different tags names for vars inside every device. I didn't test the scope of this issue in other functions who works with IDs.

Describe the solution you'd like
May be giving a "device" argument to that function -> $getTagId('Tag name', 'device');

@MatthewReed303
Copy link
Collaborator

I ran into this issue also trying to use scripting and tag names. I have remote pump stations with OPC-UA and each device is programmed the same with same tag names, I ended up having to run a separate instance of Fuxa on Docker for each pump and just use different ports. Then I had a master Fuxa that opened the other Fuxa pages in an IFrame, it's rough, but is a work around in the meantime. I wasn't going to change tag names on the PLC end, they need to stay the same. I agree having an option to define the device is defiantly needed.

@unocelli
Copy link
Member

is available in the latest version, let me know if you have any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants