Applies To
GC5050, GX5050, GX5055
Purpose
Set or return the command condition.
Syntax
Object.Condition(enDioCommandCondition)
Or
[enDioCommandCondition = ] Object.Condition
The Condition property syntax has the following parts:
Name |
Type |
Description |
Object |
DioCommand |
DioCommand object. |
enDioCommandCondition |
enumDioCommandCondition |
Integer specifying the condition. |
Where
enumDioCommandCondition can be one of the following:
Name |
Value |
Description |
dioCommandConditionNop |
0 |
No condition |
dioCommandConditionGreater |
1 |
External event lines > Register value (GX5050/GC5050). |
dioCommandConditionLess |
2 |
External event lines < Register value (GX5050/GC5050). |
dioCommandConditionEqual |
3 |
External event lines = Register value. |
dioCommandConditionNotEqual |
4 |
External event lines <> Register value. |
dioCommandConditionBitLow |
5 |
The specified External event line is low (GX5050/GC5050). |
dioCommandConditionBitHigh |
6 |
The specified External event line is high (GX5050/GC5050). |
See Also