MB_SlaveParameter (STRUCT)

TYPE MB_SlaveParameter : STRUCT

InOut:

Name

Type

Initial

Comment

usiSlaveAddress

USINT

1

Slave address in the range between 1 and 247

tSlaveTimeout

TIME

TIME#1s0ms

Time for this Slave to respond. Overrides the Master’s setting, (max 65535ms)

dwInstance

POINTER TO ModbusSerialSlaveBase

Stores the instance pointer to this Slave

iErrorCounter

INT

-1

Stores the number of subsequent errors. If Slave never got polled, it is -1