using System;
using RSI.RapidCode.dotNET;
using RSI.RapidCode.dotNET.Enums;
{
class Camming
{
static void Main(string[] args)
{
const int USER_UNITS = 1048576;
const int MASTER_AXIS_NUMBER = 0;
const int SLAVE_AXIS_NUMBER = 1;
const double MASTER_VELOCITY = 2;
const double MASTER_ACCELERATION = 10;
double[] masterDistances = { 5 * USER_UNITS, 20 * USER_UNITS, 15 * USER_UNITS };
double[] slavePositions = { 10 * USER_UNITS, 20 * USER_UNITS, 10 * USER_UNITS };
try
{
masterDistances,
slavePositions,
masterDistances.Length);
Console.WriteLine("\nTest Complete\n");
}
{
Console.WriteLine(e.Message);
}
Console.WriteLine("\nPress Any Key To Exit");
Console.ReadKey();
}
}
}