BackHomeContact Us

 

Examples

Most of the following examples are based on x-axis-absolute-move. Please study it first.

 

clrbit-setbit This program makes the X-motor to move back and fourth, at the end of each move output 1 is toggled.
gosub-return Demonstrating the usage of a subroutine.
if-then-else Demonstrating the conditional execution of a program based on a logical statement.
ifbit-then-else

Demonstrating the conditional execution of a program based on the value of a discrete input.

ifnotbit-then-else Demonstrating the conditional execution of a program based on the value of a discrete input.
in-out Demonstrating reading and writing from / to the discrete inputs / outputs.
input Demonstrating receiving numerical values from the serial port.
joff-jon Demonstrating how to enable and disable the joystick.
line-circle Illustrating the coordinated move, lines and arcs.
msgoff-msgon Illustrating how to turn on and off the feedback messages.
operations Illustrating logical and mathematical operations.
variables Demonstration of usage of variables.
x-axis-absolute-move

Moving the X-motor relative to the reference point.

x-axis-homing Commanding the X-motor to find the home switch.
x-axis-jogging Commanding the X-motor to jog.
x-axis-moff-mon Turning X-motor driver on or off.
x-axis-relative-move Moving the X-motor relative to its last point.
x-axis-rquadx Using the quadrature-X decoder for position verification.
x-axis-rstsx Demonstrating the usage of the status of the X-motor.
x-axis-sposx Demonstrating how to set the X-motor position to a value
x-axis-stop Demonstrating how to stop the X-motor
 

 


 

www.OESIncorp.com

Copyright ©  2002, 2003, 2004, 2005, 2006 Optimal Engineering Systems, Inc.