TwinCAT ADS Device PLC

"Index-Group/Offset" Specification of the PLC services

This section includes services to access the PLC memory range (%M field).
Index Group Index Offset Access Data type Phys. unit Def. range Description Remarks
0x00004020 0x00000000-

0x0000FFFF

R/W UINT8[n] READ_M - WRITE_M

PLC memory range(%M field).Offset is byte offset.

0x00004021 0x00000000-

0xFFFFFFFF

R/W UINT8 READ_MX - WRITE_MX

PLC memory range (%MX field).The low word of the index offset is the byte offset. The index offset contains the bit address calculated from the byte number *8 + bit number

0x00004025 0x00000000 R ULONG

PLCADS_IGR_RMSIZE
Byte length of the process diagram of the memory range

 
0x00004030 0x00000000-

0xFFFFFFFF

R/W UINT8

PLCADS_IGR_RWRB
Retain data range. The index offset is byte offset

 
0x00004035 0x00000000 R ULONG

PLCADS_IGR_RRSIZE
Byte length of the retain range

 
0x00004040 0x00000000-

0xFFFFFFFF

R/W UINT8

PLCADS_IGR_RWDB
Data range. The index offset is byte offset.

 
0x00004045 0x00000000 R ULONG

PLCADS_IGR_RDSIZE
Byte length of the data range