Skip to content

Tag Description #318

@nate8199

Description

@nate8199

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}')

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions