Raptor:Modbus Slave: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
[[Raptor-Dev-Modbus-Library|Return to Modbus Library page]] | [[Raptor-Dev-Modbus-Library|Return to Modbus Library page]] | ||
[[File: | [[File:RaptorModbusSlave.jpg|right|frame|Raptor Modbus Slave]] | ||
== Description == | == Description == |
Latest revision as of 17:07, 28 November 2016
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. |
Command | uint8 | The numeric command, 03 for read 06 for write. |
Register Address | uint16 | The address of the register being requested. |
Data | uint16 | For a read this is the number of registers to read. For the Write command this is the data to be written to the register. |
Parameters
Parameter | Type | Description |
---|---|---|
Serial Bus Name | Edit | The name of the serial bus that should be utilized. |
Slave ID | Edit | The slave address of the device. |
Visible in CAL Tool | edit | Allows the slave ID to be calibrated from the CAL tool. |