326 JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS23x, 34x, 43x
16.7 Serial communication
16.7.3 Read register block
Using this command it is possible to read 64 consecutive registers at once.
Block description
16.7.4 Write Register
Using this command, a register can be written.
Block description
16.7.5 Enter safe mode
When this command is sent, the SMC75 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.
Block description
16.7 Serial communication
16.7.6 Exit safe mode
Master sends SMC75 Response
<ReadB><Address><RegNum><End> <Write><MAddress><RegNum><Len><Data><End>
Block name Protected Example Description
<ReadB> No 51h,51h,51h Read block command
<Address> Yes 07h,F8h (Address 7) The address of the SMC75
<RegNum> Yes 05h,FAh (RegNum 5) The first register 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 80h,7Fh (Len = 128)
The length will always be 128, so 64
registers is read in each block.
<Data> Yes E8h,17h, «, 03h,FCh The data read from the registers
Controller sends SMC75 Response
<Write><Address><RegNum><Len><Data><End> <Accept>
Block Name Protected Example Description
<Write> No 52h,52h,52h Write command
<Address> Yes 07h,F8h (Address 7) The address of the SMC75
<RegNum> Yes 05h,FAh (RegNum 5) The register number to write to
<Len> Yes 02h,FDh (Len = 2) The number of data bytes
<Data> Yes
E8h,17h, 03h,FCh
(Data = 1000)
The data to write to the register
<End> No AAh, AAh Command termination
<Accept> No 11h, 11h,11h Accept from SMC75
Controller sends SMC75 response
<EntSafe><Address><End> <Accept>
Block Name Protected Example Description
<EntSafe> No 54h,54h,54h Enter safe mode command
<Address> Yes 07h,F8h (Address 7) The address of the SMC75
<End> No AAh, AAh Command termination
<Accept> No 11h, 11h,11h Accept from SMC75