User manual

PoStep60 user manual
30
www.poscope.com
8.3.19 0x32 Set overheat current
Master writes 0x32 command followed by two bytes of data. BYTE0 and BYTE1 are calculated using
same algorithm as in subsection 8.3.17 0x30 Set full scale current.
8.3.20 0x33 Set step mode
Master writes 0x33 command followed by one byte of data BYTE0. BYTE0 relates to step mode as
follows:
Mode
BYTE0
Full step
0
Half step
1
1/4 step
2
1/8 step
3
1/16 step
4
1/32 step
5
1/64 step
6
1/128 step
7
1/256 step
8
Other values are ignored.
8.3.21 0x34 Set temperature limit
Master writes 0x34 command followed by one byte of data BYTE0. BYTE0 is calculated as follows:
BYTE0 = Temperature/ºC
8.3.22 0x35 Reset faults
To reset all faults Master shall write 0x35 command (no data bytes are needed).
8.3.23 0x3F Write settings to EEPROM
To store changes made with any of the “Set” commands a Master shall write 0x3F command (no data
bytes are needed).
Following commands are related to internal position controller please see subsection 7.5 Auto
control.
8.3.24 0x40 Read position
To read PoStep position first Master writes 0x40 command (no data bytes are needed). In a next step
Master reads four bytes of data. Calculated position is:
position/steps = BYTE3 * 16777216 + BYTE2 * 65536 + BYTE1 * 256 + BYTE0 =
= BYTE3 << 24 | BYTE2 << 16 | BYTE1 << 8 | BYTE0
8.3.25 0x41 Read maximal speed
To read PoStep maximal speed first Master writes 0x41 command (no data bytes are needed). In a
next step Master reads two bytes of data. Calculated maximal speed is:
Maximal speed/steps/s = BYTE1 * 256 + BYTE0 = BYTE1 << 8 | BYTE0
8.3.26 0x42 Read acceleration
To read PoStep acceleration first Master writes 0x42 command (no data bytes are needed). In a next
step Master reads two bytes of data. Calculated acceleration is:
acceleration/steps/s
2
= BYTE1 * 256 + BYTE0 = BYTE1 << 8 | BYTE0