JVL MIS17 Series User Manual page 349

Integrated step motors, including step motor controller smc66, smc85
Table of Contents

Advertisement

17.2
17.2.3
Read register block
Using this command it is possible to read 64 consecutive registers at once.
Master sends
<ReadB><Address><RegNum><End>
Block description
Block name
Protected
<ReadB>
No
<Address>
Yes
<RegNum>
Yes
<End>
No
<Write>
No
<MAddress>
Yes
<RegNum>
Yes
<Len>
Yes
<Data>
Yes
17.2.4
Write Register
Using this command, a register can be written.
Controller sends
<Write><Address><RegNum><Len><Data><End>
Block description
Block Name
Protected
<Write>
No
<Address>
Yes
<RegNum>
Yes
<Len>
Yes
<Data>
Yes
<End>
No
<Accept>
No
17.2.5
Enter safe mode
When this command is sent, the MIS/SMC switches to safe mode. In safe mode, no pro-
gram or commands can enable the motor. The mode can only be exited using either an
"Exit safe mode" or "Reset" command.
Controller sends
<EntSafe><Address><End>
Block description
Block Name
Protected
<EntSafe>
No
<Address>
Yes
<End>
No
<Accept>
No
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS17x, 23x, 34x, 43x
Serial communication
MIS/SMC Response
<Write><MAddress><RegNum><Len><Data><End>
Example
51h,51h,51h
07h,F8h (Address 7)
05h,FAh (RegNum 5)
AAh, AAh
52h,52h,52h
00h,FFh (Address 0)
05h,FAh (RegNum 5)
80h,7Fh (Len = 128)
E8h,17h, ..., 03h,FCh
Example
52h,52h,52h
07h,F8h (Address 7)
05h,FAh (RegNum 5)
02h,FDh (Len = 2)
E8h,17h, 03h,FCh
(Data = 1000)
AAh, AAh
11h, 11h,11h
Example
54h,54h,54h
07h,F8h (Address 7)
AAh, AAh
11h, 11h,11h
Description
Read block command
The address of the MIS or SMC
The first register to read
Command termination
Write command
This will always be 0, because this is the Address
of the master
This will always be the same as
requested
The length will always be 128, so 64
registers is read in each block.
The data read from the registers
MIS/SMCResponse
<Accept>
Description
Write command
The address of the MIS/SMC
The register number to write to
The number of data bytes
The data to write to the register
Command termination
Accept from MIS/SMC
MIS/SMC response
<Accept>
Description
Enter safe mode command
The address of the MIS/SMC
Command termination
Accept from MIS/SMC
349

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents