Use the MODBUS® properties to configure the mode of operation, master device settings, and slave register settings.
You can set these parameters to configure the MODBUS properties.
Select the type of communication interface the blocks will use for MODBUS serial communication.
Default:
RS485
Select the MODBUS mode of operation for the model. This parameter also determines the
type of blocks that can be used in the model. For example, in the
Master mode, you can use only the Modbus RS485
Master Read and the Modbus RS485 Master
Write blocks. Similarly, in the Slave mode,
you can use only the Modbus RS485 Slave
Read and the Modbus RS485 Slave
Write blocks.
Default:
Master
Slave
Enter the unique 8-bit MODBUS slave address or identifier.
Default:
1
To enable this parameter, set Mode to
Slave.
Select this parameter to configure the starting address and the number of coil registers.
Default: Selected
To enable this parameter, set Mode to
Slave.
Coil Register Parameters
| Parameter | Description | Default Value |
|---|---|---|
Start address | Starting address of the coil register Dependencies: To enable this parameter, select Configure Coils. | 0 |
| Quantity | Number of coil registers Dependencies: To enable this parameter, select Configure Coils. | 1 |
Select this parameter to configure the starting address and the number of discrete input registers.
Default: Selected
To enable this parameter, set Mode to
Slave.
Discrete Input Register Parameters
| Parameter | Description | Default Value |
|---|---|---|
Start address | Starting address of the discrete input register Dependencies: To enable this parameter, select Configure Discrete Inputs. | 0 |
| Quantity | Number of discrete input registers Dependencies: To enable this parameter, select Configure Discrete Inputs. | 1 |
Select this parameter to configure the starting address and the number of holding registers.
Default: Selected
To enable this parameter, set Mode to
Slave.
Holding Register Parameters
| Parameter | Description | Default Value |
|---|---|---|
Start address | Starting address of the holding register Dependencies: To enable this parameter, select Configure Holding registers. | 0 |
| Quantity | Number of holding registers Dependencies: To enable this parameter, select Configure Holding registers. | 1 |
Select this parameter to configure the starting address and the number of input registers.
Default: Selected
To enable this parameter, set Mode to
Slave.
Input Register Parameters
| Parameter | Description | Default Value |
|---|---|---|
Start address | Starting address of the input register Dependencies: To enable this parameter, select Configure Input registers. | 0 |
| Quantity | Number of input registers Dependencies: To enable this parameter, select Configure Input registers. | 1 |
Enter the maximum time in milliseconds to wait for a response from the MODBUS server. If the MODBUS server does not acknowledge the client within the specified time, then the communication is no longer valid.
Default:
100
To enable this parameter, set Mode to
Master.