Ar4 Movement Commands: Command Line Example
Ar4 Movement Commands: Command Line Example
MJX286.83Y0.13Z438.45Rz179.98Ry0.00Rx179.98Tr0Sp25Ac10Dc10Rm50WF
MLX286.83Y0.13Z438.45Rz179.98Ry0.00Rx179.98Tr0Sp25Ac10Dc10Rm50WF
THE STARTING POSITION OF YOUR ARC IS THE CURRENT POSITION OF THE ROBOT
MAX286.83Y0.13Z438.45Rz179.98Ry0.00Rx179.98Ex386.65Ey0.35Ez438.70Tr0Sp25Ac10Dc10Rm50WF
Move C (circle move – 3 points taught consecutively – center of circle – start point – another point on
plane of circle in direction of rotation)
MCCx338.37Cy-0.38Cz438.46Rz-179.98Ry-0.00Rx179.98Bx288.36By-
0.32Bz438.45Px338.33Py49.67Pz438.45Tr0Sp25Ac10Dc10Rm50WF
NOTE: input output commands can be sent to either the Arduino Nano IO board or the Teensy board. If
using the Nano IO board, the inputs and outputs are handled at 5v, pins 2-7 are available for inputs and
pins 8 – 13 are available for outputs. If using the Teensy board, inputs and outputs are handed at 3.3v,
pins 32 – 36 are available for inputs and pins 37 – 41 are available for outputs.
OUTPUT EXAMPLES:
INPUT EXAMPLES:
The command WON2 would wait for input 2 off (Arduino Nano)
(these are what you would change the IO commands to if you want to use 3.3v input and output pins on
the teensy board instead of using 5v pins on the nano board)
##Set Output OFF Command for Teensy## (AR4 software command = "ToutOf")
##Wait Input OFF Command for Teensy## (AR4 software command = "TwaitO")
##If Input On Jump to Tab Teensy## (AR4 software command = "TifOn ")
##If Input Off Jump to Tab Teensy## (AR4 software command = "TifOff")