Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table 4.4.: Modbus data types

Modbus Type

Server Data Type

 

Size

Access Rights

discrete input

bool

 

fixed

Read-Only

coil

bool

 

fixed

Read-Write

input register

uint16

 

fixed

Read-Only

input register

int16

 

fixed

Read-Only

 

...

 

...

Continued on next page . . .

...

 

...

 

Table 4.4.: Modbus data types

Modbus Type

Server Data Type

Size

Access Rights

input register

uint32

fixed

Read-Only

input register

int32

fixed

Read-Only

input register

float

fixed

Read-Only

input register

double

fixed

Read-Only

input register

bool

fixed

Read-Only

input register

time

fixed

Read-Only

input register

string

1 – 246

Read-Only

input register

wstring

1 – 123

Read-Only

holding register

uint16

fixed

Read-Write

holding register

int16

fixed

Read-Write

holding register

uint32

fixed

Read-Write

holding register

int32

fixed

Read-Write

holding register

float

fixed

Read-Write

holding register

double

fixed

Read-Write

holding register

bool

fixed

Read-Write

holding register

time

fixed

Read-Write

holding register

string

1 – 246

Read-Write

holding register

wstring

1 – 123

Read-Write