Raptor:Modbus Slave Error: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


== Description ==
== Description ==
<p>This block acts as a Modbus master on a serial bus.</p>
<p>This block will send a MODBUS Error Response. See the table below for the supported codes and their meaning.</p>
 
== Error Codes ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 25%;"|CODE
! scope="col" style="width: 75%;"|NAME
|-
!0x01
|ILLEGAL FUNCTION
|-
}


== Inputs ==
== Inputs ==
Line 26: Line 37:
| uint16
| uint16
| The number of registers to be read.
| The number of registers to be read.
|-
|}
== Outputs ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Output
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|-
! RegisterRead()
| trigger
| The trigger port will fire when a valid response is received.
|-
! 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 ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Parameter
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|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.
|-
|-
|}
|}

Revision as of 17:18, 28 November 2016

Return to the main Raptor page

Return to Modbus Library page

Raptor Modbus Slave Error

Description

This block will send a MODBUS Error Response. See the table below for the supported codes and their meaning.

Error Codes

}

Inputs

CODE NAME
0x01 ILLEGAL FUNCTION
Input Type Description
Node uint16 The address of the slave device to request from.
Register Address uint16 The register address to be read.
Read length uint16 The number of registers to be read.