F_GetMappingStatus 1:

The function F_GetMappingStatus returns the current mapping status of a PLC variable. The function returns an ENUM value (data type: EPlcMappingStatus) with the values MS_Unmapped, MS_Mapped or MS_Partial.

FUNCTION F_GetMappingStatus: EPlcMappingStatus

    p : PVOID;
    n : UDINT;

p: Memory address of the variable

n: Size of the variable in bytes

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4020

PC or CX (x86, x64, ARM)

Tc2_System (System)