-
Notifications
You must be signed in to change notification settings - Fork 2
KVAL and TVAL
Yusuke Ide edited this page Oct 5, 2020
·
6 revisions
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
holdKVAL | 0-255 | KVAL when stopped |
runKVAL | 0-255 | KVAL in constant speed operation |
accKVAL | 0-255 | KVAL during acceleration |
setDecKVAL | 0-255 | KVAL during deceleration |
Always
Sets the four KVALs together.
16
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
Always
Get the four KVALs together.
/kval (int)motorID (int)holdKVAL (int)runKVAL (int)accKVAL (int)setDecKVAL
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
holdKVAL | 0-255 | KVAL when stopped |
runKVAL | 0-255 | KVAL in constant speed operation |
accKVAL | 0-255 | KVAL during acceleration |
setDecKVAL | 0-255 | KVAL during deceleration |
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
holdKVAL | 0-255 | KVAL when stopped |
Always
Sets only KVAL when stopped.
16
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
setRunKVAL | 0-255 | KVAL in constant speed operation |
Always
Sets only KVAL in constant speed operation.
16
-
motorID
: 1-4, 255 -
accKVAL
: 0-255
Timing: Always
Sets only KVAL during acceleration.
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
decKVAL | 0-255 | KVAL during deceleration |
Always
Sets only KVAL during deceleration.
16
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
holdTVAL | 0-127 | TVAL when stopped |
runTVAL | 0-127 | TVAL in constant speed operation |
accTVAL | 0-127 | TVAL during acceleration |
setDecTVAL | 0-127 | TVAL during deceleration |
Always
Sets the four TVALs together.
In STEP 400, the TVAL is as follows.
TVAL | Setting value[mA] |
---|---|
0 | 78mA |
1 | 156mA |
... | ... |
127 | 9,984mA |
16 (1328.125mA)
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
Always
Get the four TVAL types together.
/tval (int)motorID (int)holdTVAL (int)runTVAL (int)accTVAL (int)setDecTVAL
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
holdTVAL | 0-127 | TVAL when stopped |
runTVAL | 0-127 | TVAL in constant speed operation |
accTVAL | 0-127 | TVAL during acceleration |
setDecTVAL | 0-127 | TVAL during deceleration |
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
holdTVAL | 0-255 | TVAL when stopped |
Always
Sets only TVAL when stopped.
16 (1328.125mA)
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
setRunTVAL | 0-255 | TVAL in constant speed operation |
Always
Sets only TVAL in constant speed operation.
16 (1328.125mA)
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
accTVAL | 0-255 | TVAL during acceleration |
Always
Sets only TVAL during acceleration.
16 (1328.125mA)
Argument | Range | Description |
---|---|---|
motorID | 1-4, 255 | motor ID |
decTVAL | 0-255 | TVAL during deceleration |
Always
Sets only TVAL during deceleration.
16 (1328.125mA)
- 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