.

Axis.DemandOffset

 

Version History

Introduced in MPX 2.0.

Type

Double (read only)

Units

1/3276.8 Volts for analog controllers

Index

Index Type Description
Mpx.Demand The demand channel for which the offset will be accessed. Demand.Primary and Demand.Auxiliary are the only valid indices. Demand.Output is invalid.

 

 

 

Common Exceptions

Error Reason
Argument Demand.Output is specified as the index.

 

 

Visual Basic

Syntax

Property DemandOffset As Double(index As Mpx.Demand)

Sample Code

 
Dim x As Double = controller.Axis(0).DemandOffset(Mpx.Demand.Auxiliary)

controller.Axis(0).DemandOffset(Mpx.Demand.Auxiliary) = 1.0


Sample Application

 

C#

Syntax

double[Mpx.Demand] DemandOffset;

Sample Code

 
double x = controller.Axis[0].DemandOffset[Mpx.Demand.Auxiliary];

controller.Axis[0].DemandOffset[Mpx.Demand.Auxiliary] = 1.0;

 

See Also

Demand | DemandLevel | DemandScale | DemandConfigurationReset | Enumerations.Demand

 

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering