Closed chrisbeardy closed 1 year ago
Hi,
I have this example from the website https://infosys.beckhoff.com/english.php?content=../content/1033/tcsample_vc/html/tcadsdll_api_cpp_sample10.htm&id=1091195345805397691
which lets you read the follwing info:
Is there a way of getting more information on the variable? I would like to know if a variable is declared as Persistent or Retentive?
e.g.
VAR PERSISTENT var: BOOL; END_VAR
Hi chris,
have a look at AdsSymbolEntry.flags. You are looking for Persistent = 256u and PersistantDatatype = 2097152u, I hope this helps you.
AdsSymbolEntry.flags
Persistent = 256u
PersistantDatatype = 2097152u,
Hi,
I have this example from the website https://infosys.beckhoff.com/english.php?content=../content/1033/tcsample_vc/html/tcadsdll_api_cpp_sample10.htm&id=1091195345805397691
which lets you read the follwing info:
Is there a way of getting more information on the variable? I would like to know if a variable is declared as Persistent or Retentive?
e.g.