
DMX ETH Manual
page 68
rev 1.16
SUB
Description:
Indicates start of subroutine
Syntax:
SUB [subroutine number]
[Subroutine Number] range is 0 to 31
Note:
Sub 31 is reserved for error handling.
Examples:
GOSUB 1
END
SUB 1
X0
WAITX
X1000
WAITX
ENDSUB
V[1-100]
Description:
Assign to variable.
DMX-ETH has 100 variables [V1-V100]
Syntax:
V[Variable Number] = [Argument]
V[Variable Number] = [Argument1][Operation][Argument2]
Special case for BIT NOT:
V[Variable Number] = ~[Argument]
[Argument] can be any of the following:
Numerical value
Pulse or Encoder Position
Digital Output
Digital Input
Enable Output
Motor Status
[Operation] can be any of the following
+
Addition
-
Subtraction
*
Multiplication
/
Division
%
Modulus
>>
Bit Shift Right
<<
Bit Shift Left
&
Bit AND
|
Bit OR
~
Bit NOT
Содержание DMX-ETH
Страница 10: ...DMX ETH Manual page 10 rev 1 16 3 Dimensions All dimensions in inches Controller Figure 3 0 NEMA 17 Figure 3 1...
Страница 13: ...DMX ETH Manual page 13 rev 1 16 Figure 4 1 Torque Curve NEMA 23 Figure 4 2...
Страница 14: ...DMX ETH Manual page 14 rev 1 16 Figure 4 3...
Страница 17: ...DMX ETH Manual page 17 rev 1 16 DMX ETH Interface Circuit Figure 5 2...
Страница 21: ...DMX ETH Manual page 21 rev 1 16 Main Control Screen Figure 6 3 A B C D E F L K J H M G I...