Many Handy Software Functions

"If Then" Functions

Movement Commands

MOTOR X FORWARD / REVERSE
MOTOR X MOVE <num>
MOTOR X POSITION <num>
MOTOR X HALT
MOTOR X COUNT
MOTOR X ZERO
MOTOR X BUSY
MOTOR X SPEED <num>
MOTOR X ACCEL <num>
MOTOR X INIT IDLE <power>
MOTOR X LIMIT DETECT / CLEAR
MOTOR X LOOK <direction><input#>

Program Flow Commands

FIRST PASS
SKIP <num>
WAIT TIME <ms>
WAIT INPUT <input#> (HIGH,LOW)
WAIT X
FILE <"filename">
DOS <"filename">
PAUSE
STOP

Display Commands

SCREEN <"filename">
AT <line><tcol>
PRINT <"string">
QUERY <var><"string">
KEYREADY
KEY
BEEP

I/O Commands

INPUT <num>( HIGH, LOW)
OUTPUT <num>( HIGH, LOW )

Variable and Math Functions

VAR <num>= <num>
+, –, * , /, %, >, <, >=, <=, <>
AND, OR, NOT, XOR

C / Basic Functions

Motor Initialization

motor_x_init
motor_x_accel
motor_x_speed
motor_x_idle_power
motor_x_power_on
motor_x_power_off

Movement Functions

motor_x_forward
motor_x_reverse
motor_x_move
motor_x_position
motor_x_halt
motor_x_count
motor_x_busy

Travel Limit Functions

motor_x_limit_detect
motor_x_limit_clear
motor_x_limit_ignore

Homing Functions

motor_x_look_forward
motor_x_look_reverse
motor_x_latch
motor_x_latching
motor_x_latch_count
motor_x_zero

Encoder Functions

encoder_x_init
encoder_x_preset
encoder_x_read

Basic I/O Functions

get_input
set_output
get_input_port
set_output_port

Timing Functions

wait_time
wait_x
current_timer