Ejemplo n.º 1
0
 /// <summary>
 /// Like _Reset but with a restart of the possibly loaded MotionBasic program.
 /// NOTE: When switched on and at every program start in the main routine, the controller is automatically reset.
 /// </summary>
 public void RestartSystem()
 {
     SelectCurrentComPort();
     XemoDLL.MB_SysControl(XemoConst.Restart);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// A running MotionBasic program is halted. The online fifo is erased. The axes
 /// and outputs remain unchanged.
 /// </summary>
 public void HaltSystem()
 {
     SelectCurrentComPort();
     XemoDLL.MB_SysControl(XemoConst.Halt);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// A running MotionBasic is aborted. All axes are stopped and all outputs reset.
 /// The online fifo is erased.All position counters and settings remain unchanged.
 /// </summary>
 public void BreakSystemProgram()
 {
     SelectCurrentComPort();
     IsStopped = true;
     XemoDLL.MB_SysControl(XemoConst.Break);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Sets the controller in the status which it had after being switched on. All axes
 /// are stopped immediately, all outputs are reset and all parameters are returned
 /// to their initial values.
 /// </summary>
 public void ResetSystem()
 {
     SelectCurrentComPort();
     XemoDLL.MB_SetFifo(XemoConst.FfClear);
     XemoDLL.MB_SysControl(XemoConst.Reset);
 }