Raptor:Modbus Slave Error: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 29: Line 29:
|ACKNOWLEDGE
|ACKNOWLEDGE
|-
|-
!0x04
!0x06
|SLAVE DEVICE FAILURE
|SLAVE DEVICE BUSY
|-
|-
!0x04
!0x08
|SLAVE DEVICE FAILURE
|MEMORY PARITY ERROR
|-
|-
!0x04
!0x0A
|SLAVE DEVICE FAILURE
|GATEWAY PATH UNAVAILABLE
|-
|-
!0x04
!0x0B
|SLAVE DEVICE FAILURE
|GATEWAY TARGET DEVICE FAILED TO RESPOND
|-
|-
}
}
Line 50: Line 50:
! scope="col" style="width: 70%;"|Description
! scope="col" style="width: 70%;"|Description
|-
|-
! Node
! Command
| uint16
| uint8
| The address of the slave device to request from.
| The command from the request, that is being responded to.
|-
|-
! Register Address
! Error Code
| uint16
| uint8
| The register address to be read.
| The error code.
|-
! Read length
| uint16
| The number of registers to be read.
|-
|-
|}
|}

Revision as of 18:03, 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
0x02 ILLEGAL DATA ADDRESS
0x03 ILLEGAL DATA VALUE
0x04 SLAVE DEVICE FAILURE
0x05 ACKNOWLEDGE
0x06 SLAVE DEVICE BUSY
0x08 MEMORY PARITY ERROR
0x0A GATEWAY PATH UNAVAILABLE
0x0B GATEWAY TARGET DEVICE FAILED TO RESPOND
Input Type Description
Command uint8 The command from the request, that is being responded to.
Error Code uint8 The error code.