public void SdoWrite(ushort index, byte subindex, object value) { try { COMM.AsyncWrite(SlaveNumber, index, subindex, value); } catch (Exception err) { MessageBox.Show(err.ToString()); } }
public void SetRampType(short ramp_type) { COMM.AsyncWrite(SlaveNumber, 0x6086, 0, ramp_type); }
public void SetProfileAcceleration(uint acceleration) { COMM.AsyncWrite(SlaveNumber, 0x6083, 0, acceleration); }
public void SetProfileDeceleration(uint deceleration) { COMM.AsyncWrite(SlaveNumber, 0x6084, 0, deceleration); }
public void SetProfileVelocity(uint target_velocity) { COMM.AsyncWrite(SlaveNumber, 0x6081, 0, target_velocity); }