pycomm3 icon indicating copy to clipboard operation
pycomm3 copied to clipboard

Tag Description

Open nate8199 opened this issue 1 year ago • 1 comments

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 avatar Jul 02 '24 19:07 nate8199

I am very interested in this too. Could you get at least the DINT description?

MikelAyani avatar Apr 11 '25 22:04 MikelAyani