Raptor:Modbus Master: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
! 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.
|-
|}
|}



Revision as of 16:02, 28 November 2016

Return to the main Raptor page

Return to Modbus Library page

Raptor Modbus Master

Description

This block acts as a Modbus master on a serial bus.

Inputs

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.


Outputs

Output Type 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

Parameter Type Description
Name String This is the name of that will appear in the calibration tool. The name must be a valid C identifier.