Пример #1
0
 public void SdoWrite(ushort index, byte subindex, object value)
 {
     try
     {
         COMM.AsyncWrite(SlaveNumber, index, subindex, value);
     }
     catch (Exception err)
     {
         MessageBox.Show(err.ToString());
     }
 }
Пример #2
0
 public void SetRampType(short ramp_type)
 {
     COMM.AsyncWrite(SlaveNumber, 0x6086, 0, ramp_type);
 }
Пример #3
0
 public void SetProfileAcceleration(uint acceleration)
 {
     COMM.AsyncWrite(SlaveNumber, 0x6083, 0, acceleration);
 }
Пример #4
0
 public void SetProfileDeceleration(uint deceleration)
 {
     COMM.AsyncWrite(SlaveNumber, 0x6084, 0, deceleration);
 }
Пример #5
0
 public void SetProfileVelocity(uint target_velocity)
 {
     COMM.AsyncWrite(SlaveNumber, 0x6081, 0, target_velocity);
 }