Class AnalogSignal
This class represent a analog signal.
Inherited Members
Namespace: ABB.Robotics.Controllers.IOSystemDomain
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public sealed class AnalogSignal : Signal, IComparable, IDisposable, INamedObject
Constructors
AnalogSignal(Controller, String)
Initializes a new instance of the AnalogSignal class.
Declaration
public AnalogSignal(Controller controller, string name)
Parameters
Type | Name | Description |
---|---|---|
Controller | controller | The controller. |
String | name | The name. |
Methods
ReadRelative()
Reads the porcentual value of the analog signal.
Declaration
public float ReadRelative()
Returns
Type | Description |
---|---|
Single | A float value from 0 to 1 that represents the actual procentual value. |
WriteRelative(Single)
Writes the porcentual value of the analog signal.
Declaration
public void WriteRelative(float newProcentualValue)
Parameters
Type | Name | Description |
---|---|---|
Single | newProcentualValue | A float value from 0 to 1 that represents the new procentual value. |
Exceptions
Type | Condition |
---|---|
ArgumentException | newPorcentualValue The procentual value is not between 0 and 1. |