348
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS17x, 23x, 34x, 43x
17.2
Serial communication
This section describes control of the MIS motor (or SMC66/85) via the serial interface
(RS485).
The interface is RS485 compatible and uses 8 data bits, 1 stop bit and no parity.
The MIS motors (or SMC66/85) are completely controlled by reading and writing to reg-
isters.
The registers are numbered 1-255. The width of the registers is 32 bits.
To protect communication from errors, the data is transmitted twice.
First the data byte is transmitted and then an inverted version (255-x) is transmitted.
The easiest way to become familiar with the registers and MacTalk communication is to
use the MacRegIO program. This program lists all of the registers, and the serial com-
mands sent and received can be monitored.
17.2.1
Supported commands
17.2.2
Read register
This command can read a register. All registers are read as 32-bit.
Block description
Sync
Response Sync
Description
0x50
0x52
Read register
0x51
0x52
Read register block
0x52
0x11 (Acknowledge)
Write register
0x54
0x11 (Acknowledge)
Enter safe mode
0x55
0x11 (Acknowledge)
Exit safe mode
0x56
0x11 (Acknowledge)
Write to flash
0x57
None
Reset controller
0x59
None
Group write register
0x61
0x61
Program status and command
0x62
0x11 (Acknowledge)
Write program flash
0x63
0x63
Read program flash
Master sends
MIS/SMC Response
<Read><Address><RegNum><End>
<Write><MAddress><RegNum><Len><Data><End>
Block name
Protected
Example
Description
<Read>
No
50h,50h,50h
Read command
<Address>
Yes
07h,F8h (Address 7)
The address of the MIS or SMC
<RegNum>
Yes
05h,FAh (RegNum 5)
The register number to read
<End>
No
AAh, AAh
Command termination
<Write>
No
52h,52h,52h
Write command
<MAddress>
Yes
00h,FFh (Address 0)
This will always be 0, because this is the
address of the master
<RegNum>
Yes
05h,FAh (RegNum 5)
This will always be the same as
requested
<Len>
Yes
04h,FBh (Len = 4)
The length will always be 4
<Data>
Yes
E8h,17h, 03h,FCh,
00h, FFh, 00h,FFh
(Data = 1000)
The data read from the register
<End>
No
AAh, AAh
Command termination
Содержание MIS17 Series
Страница 56: ...56 JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x ...
Страница 57: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 57 3 Functional Safety ...
Страница 76: ...76 JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x ...
Страница 77: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 77 4 Using MacTalk ...
Страница 165: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 165 7 Error Handling ...
Страница 177: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 177 8 Registers ...
Страница 235: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 235 9 Building Sequential Programs ...
Страница 266: ...266 JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x ...
Страница 309: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 309 12 Modbus interface ...
Страница 313: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 313 13 Stand alone electronics ...
Страница 318: ...318 JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x ...
Страница 319: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 319 15 Technical Data ...
Страница 325: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 325 15 5 Torque Curves ...
Страница 338: ...338 JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 15 8 Trouble shooting guide ...
Страница 340: ...340 JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 16 1 Cables ...
Страница 345: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 345 17 Appendix ...
Страница 355: ...JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 355 18 Declarations ...
Страница 362: ...362 JVL Industri Elektronik A S User Manual Integrated Stepper Motors MIS17x 23x 34x 43x 18 4 TÜV certificate ...