Default Configuration

The default mapping is shown in the following table:

Modbus areas

Modbus address

ADS area

Digital inputs

0x8000 - 0x80FF

Name of the variables in the PLC program

Data type

GVL.mb_Input_Coils

ARRAY [0..255] OF BOOL

Digital outputs (coils)

0x8000 - 0x80FF

Name of the variables in the PLC program

Data type

GVL.mb_Output_Coils

ARRAY [0..255] OF BOOL

Input registers

0x8000 - 0x80FF

Name of the variables in the PLC program

Data type

GVL.mb_Input_Registers

ARRAY [0..255] OF WORD

Output registers

0x3000 - 0x5FFF

 

0x4020 - PLC memory area

0x0

0x6000 - 0x7FFF

0x4040 - PLC data area

0x0

0x8000 - 0x80FF

Name of the variables in the PLC program

Data type

GVL.mb_Output_Registers

ARRAY [0..255] OF WORD

The server maps the individuals ADS areas and enables the access to the physical process image and maps the PLC data area.

The mapping can be adjusted by the TwinCAT Modbus TCP Configurator.