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

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

Advertisement

GetAreaSize() / AreaSize { get; }
Returns the size of the area in bytes.
Table 7- 144 GetAreaSize() - Native C++
Syntax
Parameters
Return values
Table 7- 145 AreaSize { get; } - .NET (C#)
Syntax
Parameters
Return values
ReadBit()
Reads an individual bit from the area.
Note
The function allows access to the entire storage area of the virtual controller.
Therefore, use access via the tag name (Page 173) and not via the address areas.
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
UINT32 GetAreaSize(
EArea in_Area
);
EArea in_Area:
The area whose size you want to receive. Permissible values:
{SRA_INPUT, SRA_MARKER, SRA_OUTPUT}.
Size of the area in bytes. If the function was successful, the value is
UINT32:
not equal to 0.
UInt32 InputArea.AreaSize { get; }
UInt32 MarkerArea.AreaSize { get; }
UInt32 OutputArea.AreaSize { get; }
None
Size of the area in bytes. If the function was successful, the value is
Uint32:
not equal to 0.
User interfaces (API)
7.6 API IInstances
See EArea (Page 330).
159

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents