PreviousNext
Help > Modbus Steps Reference > Standard Functions > Read Input Registers (F04)
Read Input Registers (F04)

This function is used to read from 1 to 125 contiguous input registers in a remote device. You can specify the starting register address and the number of registers. The registers are addressed starting at zero. Therefore input registers numbered 1-16 are addressed as 0-15.

To configure this step open the Edit Step window from Sequence editor.

In the configuration dialog box, you can change the following settings:

·          Connection Name: connection used to communicate with the device.

·          Address: starting address of the input registers to read.

·          Nb Registers: number of input registers to read (1 to 125 registers) from the starting address.

The value of the registers is stored in Step.Result.RegistersValue.

Note  Please read Execution Trace and Steps Variables chapter to learn more about accessing configuration of this step and how to access data read.

 

See Also

Open/Close Functions

Custom Functions