Table 1.4.4 Spi Command Summary - IMS MDRIVE 17 Operating Instructions Manual

Hide thumbs Also See for MDRIVE 17:
Table of Contents

Advertisement

S P I C o m m a n d s
CMD/PRM
READ ALL
SPI
Commands
WRITE ALL
Version_MSB
Version_LSB
USR_ID1
USR_ID2
USR_ID2
Data READ
DFLT_MRC
DFLT_MHC
DFLT_MSEL
DFLT_DIR**
DATA WRITE
NOTE: The READ and WRITE commands in shaded areas apply only to Firmware Versions
<2.0.00, All of the Commands apply to Firmware Versions ≥ 2.0.00, <3.00.00.
*Zero (0) = 256 Microsteps Resolution
** The Direction Override (DIR) is only available on MDrive Microstepping with "C" Connector.
WARNING! The Parallel/SPI Port on your PC must be set to one of the following:
output only
Try the SPI connection using the default parallel port setting first. If necessary, the
Parallel/SPI port may be configured in the bios of your PC.
34
SPI Commands and Parameters
HEX
0x40
0x80
"M"
0x4D
0x10
0x00
0x49
0x4D
0x53
MRC
0x19
MHC
0x05
MSEL
0x00
DIR**
0x00
0x19
0x05
0x00
0x00
FAULT
0x00
MRC
0x19
MHC
0x05
MSEL
0x00
DIR**
0x00
CKSUM
0x62
Table 1.4.4: SPI Command Summary
bi-directional
RANGE
––––
Reads the hex value of all parameters
Writes the hex value to the
––––
––––
M Character precedes every READ
<1-8><0-9>
Firmware Version Subversion, eg 1.0
Firmware Version Appends to
<0-99>
––––
––––
––––
1-100%
0-100%
0*, 2-250
0/1
1 Complements Hardware Direction
1-100%
Default Motor Run Current
0-100%
Default Motor Hold Current
0*, 2-250
Default Microstep Resolution
0/1
––––
1-100%
0-100%
0*, 2-250
0/1
1 Complements Hardware Direction
2s Complement of all WRITES
––––
EPP (Extended Parallel Port)
NOTES
following parameters
Version mSB, eg .00
Upper Case Letter < I >
Upper Case Letter < M >
Upper Case Letter < S >
Motor Run Current
Motor Hold Current
Microstep Resolution
Default Direction Override
(See Fault Table)
Motor Run Current
Motor Hold Current
Microstep Resolution
including Command

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mdrive 23

Table of Contents