Applies To
All
Purpose
Set or return the command opcode.
Syntax
Object.OpCode (enDioCommandOpCode)
Or
[enDioCommandOpCode = ] Object.OpCode
The OpCode property syntax has the following parts:
Name |
Type |
Description |
Object |
DioCommand |
DioCommand object. |
enDioCommandOpCode |
enumDioCommandOpCode |
Integer specifying the opcode |
Where
enumDioCommandOpCode can be one of the following:
Name |
Value |
Description |
dioCommandOpCodeNop |
0 |
No operation |
dioCommandOpCodeJumpFar |
1 |
Jump Far (GX5050, GX5050, GX5055) |
dioCommandOpCodeJumpA |
1 |
Jump Register A (GX5150) |
dioCommandOpCodeJumpNear |
2 |
Jump Near(GX5050, GX5050, GX5055) |
dioCommandOpCodeJumpB |
2 |
Jump Register GX5150 B (DIO51) |
dioCommandOpCodeLoop |
3 |
Loop (GX5050, GX5050, GX5055) |
dioCommandConditionBitHigh |
4 |
Set (GX5050, GX5050, GX5055) |
dioCommandOpCodeCall |
5 |
Call GX5050, GX5050, GX5055) |
dioCommandOpCodeReturn |
6 |
Return (GX5050, GX5050, GX5055) |
dioCommandOpCodePause |
7 |
Pause |
dioCommandOpCodeHalt |
8 |
Halt |
See Also