|
ModbusServer_setup |
Top |
|
ModbusServer_setup Set up Modbus Server (Modbus Slave Simulator from Dafulai Electronic Inc ) Since R2019b
Library: Modbus Server ( Dafulai Electronics) /ModbusServer_setup
Description
This block sets up all parameters of Modbus Slave (Server) Simulaor from Dafulai Electronic Inc You must put this block in your simulation model in order to control Modbus Server.
For Modbus RTU/ASCii Server, it can support as many as 5 servers. So you can see tab "Device 1 to 4 Settings" and tab "Device 5 Settings" (Device1 to4 has the same register structires). When you use Modbus TCP server, it can only support one server, So only tab "Device 1 to 4 Settings" is enabled, tab "Device 5 Settings" is grey color to disable.
Modbus TCP Server does not support watchdog. So all watchdog settings are grey color to disable.
This block will set up Modbus register segments address and watchdog type/address.
Parameters
There are many parameters for this block. Please double click this block to open parameters dialog below:
Many parameters are self-explanation from the label. We only explain some special parameters.
Ports
Input
None
Outpot
None |