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

Tag Description #318

Open
nate8199 opened this issue Jul 2, 2024 · 0 comments
Open

Tag Description #318

nate8199 opened this issue Jul 2, 2024 · 0 comments
Labels
question Further information is requested

Comments

@nate8199
Copy link

nate8199 commented Jul 2, 2024

Does the logix driver read in the tag description somehow that I am unaware of?
I am attempting to read a DINT array, and each of the 32 Bools has a description in Logix Designer, which I would like to pull out somehow.
I thought maybe the returned result would include it( ~[2] ) but no luck
Is this even something available?

`

SHUTDOWNS

for i in range(0,31, +1):
    fac_sd_tag = f'Facility_SD.Shutdown_WORD.{i}'
    fac_sd = plc.read(fac_sd_tag)
    fac_sd_name = (fac_sd[0])
    fac_sd_value = (fac_sd[1])
    fac_sd_desc = (fac_sd[2])
    print(f'{fac_sd_name}:\t{fac_sd_value}\t{fac_sd_desc}')

`

@nate8199 nate8199 added the question Further information is requested label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant