Gettagliststatus() - Native C - Siemens Simatic S7-1500 Function Manual

Hide thumbs Also See for Simatic S7-1500:
Table of Contents

Advertisement

GetTagListStatus()
Returns the current update status of the tag list storage.
"
inout_TagListDetails
Table 7- 136 GetTagListStatus() - Native C++
Syntax
Parameters
Return values
Table 7- 137 GetTagListStatus() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
GetTagInfoCount()
Returns the number of entries in the tag list storage. If the function fails, the return value is 0.
Table 7- 138 GetTagInfoCount() - Native C++
Syntax
Parameters
Return values
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
" is
if the list needs to be updated.
NONE,
ERuntimeErrorCode GetTagListStatus(
ETagListDetails* out_TagListDetails,
bool* out_IsHMIVisibleOnly
);
ETagListDetails out_TagListDetails:
Status of the tag list details.
bool out_IsHMIVisibleOnly:
If
, only tags marked with "HMI Visible" are available in the list.
true
Runtime error code
SREC_OK
SREC_INTERFACE_REMOVED
SREC_TIMEOUT
void GetTagListStatus(
out ETagListDetails out_TagListDetails,
out bool out_IsHMIVisibleOnly
);
out ETagListDetails out_TagListDetails:
Status of the tag list details.
is required.
out bool out_IsHMIVisibleOnly:
If
, only tags marked with "HMI Visible" are available in the list.
true
None
Siemens.Simatic.Simulation.Runtime.SimulationRuntimeException
Runtime error code
ERuntimeError-
Code.InterfaceRemoved
ERuntimeErrorCode.Timeout
UINT32 GetTagInfoCount();
None
Number of entries in the tag list storage.
when an update of the list is required.
SRTLD_NONE
Condition
The function is successful.
The instance is not registered in Runtime
Manager.
The function does not return on time.
when an update of the list
ETagListDetails.None
Condition
The instance is not registered in Runtime
Manager.
The function does not return on time.
User interfaces (API)
7.6 API IInstances
155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents