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
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) |