-
Notifications
You must be signed in to change notification settings - Fork 2
System settings and utilities
Timing : Always
Set the destination IP address (destIp
) to where should STEP400 send messages reply to query or report internal state changes, etc.
The IP address where this message was sent sets to destIp
.
Also, until destIp
is set, no OSC messages will be sent from STEP400, so send this command first.
Response:
/destIp (int)destIp[0] (int)destIp[1] (int)destIp[2] (int)destIp[3] (bool)isNewDestIp
-
destIp[0-3]
: Each byte ofdestIp
-
isNewDestIp
: Indicates ifdestIp
has been changed. 1 if it has been changed, or 0 if the same address has already been set.
Timing : Always
The following message is sent automatically when there is a change in the BUSY status of the specified motor.
/busy (int)motorID (bool)state
-
motorID
: Motor ID (1-4) -
state
: 1 in case of a BUSY, 0 in case of no longer being a BUSY.
Timing : Always
The following message is sent automatically when there is a change in the HiZ (high impedance) state of the specified motor.
/HiZ (int)motorID (bool)state
-
motorID
: Motor ID (1-4) -
state
: 1 in case of HiZ state, 0 in case of not HiZ state.
Timing : Always
The following messages are sent automatically when there is a change in the operating status (motorStatus) of the specified motor.
/motorStatus (int)motorID (int)motorStatus
-
motorID
: Motor ID (1-4) -
motorStatus
: 0-3
MOT_STATUS | Motor status |
---|---|
0 | Stopped |
1 | Acceleration |
2 | Deceleration |
3 | Constant speed |
-
motorID
: 1-4, 255 -
STEP_SEL
: 0-7
タイミング:HiZ状態
マイクロステッピングのモードを切り替えます。
STEP_SEL | Micro stepping mode |
---|---|
0 | Full-step |
1 | Half-step |
2 | 1/4 microstep |
3 | 1/8 microstep |
4 | 1/16 microstep |
5 | 1/32 microstep |
6 | 1/64 microstep |
7 | 1/128 microstep |
初期状態では1/128マイクロステップモードになっています。
定電流制御モード (current mode) では、Full-stepから1/16 microstepまでしか使えません。
-
motorID
: 1-4, 255
タイミング:常時
マイクロステッピングのモードを取得します。STEP_SELについては/setMicrostepMode
の項目を参照してください。
返答:
/microstepMode (int)motorID (int)STEP_SEL
-
motorID
: 1-4, 255 -
lowSpeedOptimizationThreshold
: 0.0 - 976.3 [step/s]
タイミング:モータ停止時
下記の/getLowSpeedOptimizeThreshold
と同じ返答があります。
-
motorID
: 1-4, 255
タイミング:常時
返答:
/lowSpeedOptimizeThreshold (int)motorID (float)lowSpeedOptimizeThreshold
-
motorID
: 1-4, 255
タイミング:常時
モータドライバ(PowerSTEP01)のステータスを取得します。ステータスにはモータやアラーム、スイッチの状態などが含まれます。
返答:
/status (int)motorID (int)status
-
status
: 16bitのSTATUSレジスタ
- home
- Tutorial
-
Connections and settings
- Power supply and Motor
- Sensor and Switch
- Network and DIP switch
- Setup with a microSD card
- Example parameter values for example steppers
- Function description
- OSC command reference
- Technical information