using RSI.RapidCode.dotNET;
using RSI.RapidCode.dotNET.Enums;
using System;
{
class MotionHoldReleasedByPosition
{
static void Main(string[] args)
{
const int HOLDING_AXIS_INDEX = 1;
const int MOVING_AXIS_INDEX = 0;
const double TRIGGER_POS = 5;
const int USER_UNITS = 1048576;
Axis holdingAxis = controller.
AxisGet(HOLDING_AXIS_INDEX);
Axis movingAxis = controller.
AxisGet(MOVING_AXIS_INDEX);
try
{
}
catch (Exception e)
{
Console.WriteLine(e.Message);
}
Console.WriteLine("\nPress Any Key To Exit");
Console.ReadKey();
}
}
}