Raptor:Modbus Slave
Return to the main Raptor page
Description
This block acts as a Modbus Slave on a Serial bus. The block processes the Serial data and triggers port one on a valid read holding registers request or a valid write holding register request.
Outputs
Output | Type | Description |
---|---|---|
Read()/Write() | trigger | This port contains a vector of triggers, trigger [0] is the trigger to indicate that a holding register read has been requested. Trigger [1] is fired when a holding register write is requested. |
Node Address | uint16 | The address of the responding slave. |
Data Address | uint16 | The register address for the start of the read. |
data | uint16 | The data returned from the slave. |
Parameters
Parameter | Type | Description |
---|---|---|
Serial Bus Name | String | The name of the serial bus that should be utilized. |
Data Requests | String | A list of data request that should be requested. See: modbus_requests_example.m for the format. |
Use Inputs | checkbox | If checked the block will use input ports for the data requests. |