Raptor:Modbus Slave

From NewEagleWiki
Revision as of 16:44, 28 November 2016 by 107.4.110.88 (talk)
Jump to navigation Jump to search

Return to the main Raptor page

Return to Modbus Library page

Raptor Modbus Master

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 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.