eClxMotorState Enumeration |
Enum to define the CLX and DIN Motor States.
Namespace: Crestron.SimplSharpPro.LightingAssembly: Crestron.SimplSharpPro.Lighting (in Crestron.SimplSharpPro.Lighting.dll) Version: 2.21.121
Syntaxpublic enum eClxMotorState
Members| Member name | Value | Description |
|---|
| Open | 0 |
The motor will move in the open direction:
Until it reaches the mechanical limit; or
Set motor to Stop state to abort the operation anytime; or
When the period given by the "ParameterMaximumTime" parameter has expired
|
| Close | 1 |
The motor will move in the close direction:
Until it reaches the mechanical limit; or
Set motor to Stop state to abort the operation anytime; or
When the period given by the "ParameterMaximumTime" parameter has expired
|
| JogOpen | 2 |
Jogs the motor in the open direction:
Until when the period given by the "ParameterJogTime" parameter has expired; or
Set motor to Stop state to abort the operation anytime
|
| JogClose | 3 |
Jogs the motor in the close direction:
Until when the period given by the "ParameterJogTime" parameter has expired; or
Set motor to Stop state to abort the operation anytime
|
| Stop | 4 |
Aborts the current operation of the motor. Only applies to Open / Close.
|
| OpenMomentary | 5 |
The motor will move in the open direction:
Until when the period given by the "ParameterMaximumTime" parameter has expired
Stops motor if the same state is set again.
This state is applicable only for Din2Mc2.
|
| CloseMomentary | 6 |
The motor will move in the close direction:
Until when the period given by the "ParameterMaximumTime" parameter has expired
Stops motor if the same state is set again.
This state is applicable only for Din2Mc2.
|
| OpenMomentaryFull | 7 |
The motor will move in open direction:
If the motor is set to this state and is in this state for more than 0.5 seconds, then the motor will behavior will as if it is set to OpenMomentary state.
If the motor is in this state and same state is set again within 0.5 seconds the motor behavior will be like as if it is set to Open state.
During the movement to the full open position if OpenMomentaryFull state is again set twice within 0.5 seconds then motor will be stopped.
This state is applicable only for Din2Mc2.
|
| CloseMomentaryFull | 8 |
The motor will move in close direction:
If the motor is set to this state and is in this state for more than 0.5 seconds, then the motor will behavior will as if it is set to CloseMomentary state.
If the motor is in this state and same state is set again within 0.5 seconds the motor behavior will be like as if it is set to Close state.
During the movement to the full close position if OpenMomentaryFull state is again set twice within 0.5 seconds then motor will be stopped.
This state is applicable only for Din2Mc2.
|
| OpenStopCloseStop | 9 |
Cycles between the Open, Stop, Close and Stop states.
If the motor is stopped for some reason other than by setting this state again, e.g., the mechanical limit is reached, or another state is set, and later this state set the motor will move in the opposite direction.
This state is applicable only for Din2Mc2.
|
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also