F_GetMappingStatus

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
VAR_INPUT
p : PVOID;
n : UDINT;
END_VAR
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) |