F_GetMappingStatus

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

F_GetMappingStatus 2: Inputs

VAR_INPUT
    p : PVOID;
    n : UDINT;
END_VAR

Name

Type

Description

P

PVOID

Memory address of the variable

n

UDINT

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)