User manual

PoStep60 user manual
28
www.poscope.com
8.3.10 0x14 Read driver mode
First Master writes 0x14 command (no data bytes are needed). In a next step Master reads one byte
of data. Read value represents driver mode:
Mode value
Mode
1
Default mode external control
2
Step control
3
DC motor control
4
Position control
5
BINx buttons
6
Auto run mode
8.3.11 0x20 Read full scale current
To read PoStep full scale current first Master writes 0x20 command (no data bytes are needed). In a
next step Master reads two bytes of data. Calculated current is:
current/A = 0.065*BYTE0 / (2
BYTE1
)
8.3.12 0x21 Read idle current
First Master writes 0x21 command (no data bytes are needed). In a next step Master reads two bytes
of data. Same formula applies as in subsection 8.3.11 0x20 Read full scale current to calculate idle
current value.
8.3.13 0x22 Read overheat current
First Master writes 0x22 command (no data bytes are needed). In a next step Master reads two bytes
of data. Same formula applies as in subsection 8.3.11 0x20 Read full scale current to calculate
overheat current.
8.3.14 0x23 Read step mode
First Master writes 0x23 command (no data bytes are needed). In a next step Master reads one byte
of data. Read value represents step mode:
Mode value = BYTE0 & 0x0F
Mode value
Mode
0
Full step
1
Half step
2
1/4 step
3
1/8 step
4
1/16 step
5
1/32 step
6
1/64 step
7
1/128 step
8
1/256 step
NOTE!
Driver mode is read only value for I2C communication and can only be set by using
USB connection and PoStep60 application!