Raptor:Modbus Master: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
[[RaptorWiki|Return to the main Raptor page]]


[[Raptor:Raptor-Dev-Modbus-Library|Return to Modbus Library page]]
[[Raptor:Raptor-Dev Modbus-Library|Return to Modbus Library page]]


[[File:RaptorAdjustment.jpg|right|frame|Raptor Adjustment]]
[[File:RaptorAdjustment.jpg|right|frame|Raptor Adjustment]]

Revision as of 15:48, 28 November 2016

Return to the main Raptor page

Return to Modbus Library page

Raptor Adjustment

Description

The Raptor™ adjustment block is used to make values available within the calibration tool. An adjustment is a value which typically written from the calibration tool.

Inputs

Input Type Description

Outputs

Output Type Description

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.
Name Source Chooses whether the name should come from the parameter or output wire name.
Initial Value Number or Vector or Matrix This is the initial adjustment value.
Data Type Specifies the data type of the adjustment and output port.
Storage Specifies the storage class of the data.
Display As Specifies how to display the value in the calibration tool.
Gain Number This controls the scaling used to display the data in the cal tool.

display value = (Gain * actual value) + Offset

Offset Number This controls the scaling used to display the data in the cal tool.

display value = (Gain * actual value) + Offset

Max Number Sets the maximum value that can be set in the calibration tool.
Min Number Sets the minimum value that can be set in the calibration tool.
Format Format String Sets the display format to use in the calibration tool.
Enumeration Definition Cell Array of strings or struct array Provides the mapping of string representation to integer value for the enumeration.
Unit Text String Sets the unit text that is displayed in the calibration tool.
Help Text String Sets the help text that is displayed in the calibration tool.
Access Level Sets the access level of this item in the calibration tool
Function String Sets the location where the variable appears in the calibration tool. Use raptor_xcp_function(gcb) to create a function based on the variables location in the model.