MNEMONIC | FUNCTION | TYPE |
IN | Read Inputs | I/O Variable |
DESCRIPTION
This keyword will read the binary state of inputs
USAGE
PR IN
BR
CL
EXAMPLE: |
|
PR IN | ‘Print the state of Inputs |
BR 128, IN=8 | ‘Conditional branch to program line 128 if the binary state of Inputs |
CL 432, IN=13 | ‘Call subroutine at line 432 if the binary state of Inputs |
RELATED COMMANDS:
MNEMONIC | FUNCTION | TYPE |
IP | Initialize Parameters | Instruction |
DESCRIPTION
The IP instruction will return all of the MDrive Motion Control parameters to their stored values.
USAGE
IP
EXAMPLE:
IP
RELATED COMMANDS: CP, S
MNEMONIC | FUNCTION | TYPE |
JE | Joystick Enable Flag | Setup Flag |
DESCRIPTION |
|
|
The will enable joystick mode for the Analog Input. States are 0=Disabled, 1=Enabled. |
| |
|
|
|
USAGE | DEFAULT |
|
JE= <0/1> | 0 (Disabled) |
|
|
|
|
EXAMPLE: |
|
|
JE=0 | ‘Disable Joystick |
|
JE=1 | ‘Ensable Joystick |
|
RELATED COMMANDS: I5
48