E_NLinkArea
TYPE E_NLinkArea:
(
eNLinkArea_DB := 16#01, (* Source/dest. data from/to data block in main memory. *)
eNLinkArea_M := 16#02, (* Source/dest. data from/to flag area. *)
eNLinkArea_I := 16#03, (* Source/dest. data from/to process image of the inputs. *)
eNLinkArea_Q := 16#04, (* Source/dest. data from/to process image of the outputs. *)
eNLinkArea_P := 16#05, (* Source/dest. data from/to in I/O modules (S7 only PI, PQ). *)
eNLinkArea_C := 16#06, (* Source/dest. data from/to counter cells. *)
eNLinkArea_T := 16#07, (* Source/dest. data from/to timer cells. *)
eNLinkArea_DX := 16#0A (* Source/dest. data from/to extended data block. *)
eNLinkArea_OS := 16#100 (* Read PLC operational status information *)
);
END_TYPE
PLC data area (inputs, outputs, flag, data block etc.) to be accessed. The parameter values differ depending on the type of external control used, the adapter or the communication protocol. Some data areas may not be available, or the data have to be read/written word by word instead of byte by byte .
More detailed information on this topic can be found here: Description of the PLC data area parameter values.
Requirements
Development environment | Target platform | PLC libraries to be linked |
---|---|---|
TwinCAT v2.11.0 Build > 1536 | PC or CX (x86, ARM) | TcS5S7Comm.Lib |