T_CHANNEL_STRUCT

Navigation:  Libraries > CT Modbus Client >

T_CHANNEL_STRUCT

Previous pageReturn to chapter overviewNext page

 

Name

Type

Comment

FunctionCode

T_FUNCTION_CODES_SUPPORTED

Modbus Function Code to execute.

WriteStartingAddress

UINT

Starting address in the server where the value to write will be written.

QuantityToWrite

UINT

Amount of coils, discrete inputs, holding registers or input registers that are requested to be written.

ReadStartAddress

UINT

Starting address from where the value to be read will be read.

QuantityToRead

UINT

Amount of coils, discrete inputs, holding registers or input registers that are requested to be read.

RequestData

T_REQUEST_DATA

Structure to contain the necessary information to execute the function code.

ResponseData

T_RESPONSE_DATA

Structure that the client will fill with the information received from the server.