Write operations

Read Write Multiple Holding Register

Read Write Multiple Holding Register

Parameters

Parameter

Description

First Address to be read

Address from where the data read begins.

Number of addresses to be read

Length of data.

Slave Address / Unit identifier

Unit identifier (previously slave address). In asynchonous mode this unit is given to the callback function.

First address to be written

Length of data.

Holding register inputs to be written

Contains the register information.

Output

Return table with values.

Since

6.4

Write Multiple Coils

Write Multiple Coils

Parameters

Parameter

Description

First Address to be written

Address from where the data written begins.

Number of addresses to be set.

Values to be set.

Slave Address / Unit identifier

Unit identifier (previously slave address). In asynchonous mode this unit is given to the callback function.

Output

No return!

Since

6.4

Write Multiple Registers

Write Multiple Registers

Parameters

Parameter

Description

First Address to be written

Address from where the data read begins.

Number of addresses to be read

Values to write.

Slave Address / Unit identifier

Unit identifier (previously slave address). In asynchonous mode this unit is given to the callback function.

Output

No return!

Since

6.4

Write Coil

Write Coil

Parameters

Parameter

Description

First Address to be written

Address from where the data read begins.

Number of addresses to be read

Length of data.

Slave Address / Unit identifier

Unit identifier (previously slave address). In asynchonous mode this unit is given to the callback function.

Output

No return!

Since

6.4

Write Single Register

Write Single Register

Parameters

Parameter

Description

First Address to be written

Address from where the data written begins.

Holding register input to be written.

Value to write on the address.

Slave Address / Unit identifier

Unit identifier (previously slave address). In asynchonous mode this unit is given to the callback function.

Output

No return!

Since

6.4

Last updated