KVAL[jp] - kanta/STEP800_prototype GitHub Wiki

/setKval (int)motorID (int)holdKVAL (int)runKVAL (int)accKVAL (int)setDecKVAL

  • motorID: 1-4, 255
  • holdKVAL: 0-255
  • runKVAL: 0-255
  • accKVAL: 0-255
  • setDecKVAL: 0-255

タイミング:常時

KVAL4種をまとめて設定します。

/getKval (int)motorID

  • motorID: 1-4, 255

タイミング:常時

KVAL4種をまとめて取得します。

返答:
/kval (int)motorID (int)holdKVAL (int)runKVAL (int)accKVAL (int)setDecKVAL

/setHoldKVAL (int)motorID (int)holdKVAL

  • motorID: 1-4, 255
  • holdKVAL: 0-255

タイミング:常時

停止時のKVALのみを設定します。

/setRunKval (int)motorID (int)runKVAL

  • motorID: 1-4, 255
  • setRunKVAL: 0-255

タイミング:常時

一定速運転時のKVALのみを設定します。

/setAccKval (int)motorID (int)accKVAL

  • motorID: 1-4, 255
  • accKVAL: 0-255

タイミング:常時

加速時のKVALのみを設定します。

/setDecKval (int)motorID (int)decKVAL

  • motorID: 1-4, 255
  • decKVAL: 0-255

タイミング:常時

減速時のKVALのみを設定します。