JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS17x, 23x, 34x, 43x
351
17.2.9
Group write register
Using this command it is possible to write a register in several MIS/SMCs with one com-
mand.
The command includes a sequence number which must be changed for each write. This
is used so that the same command can be written several times, to ensure that all con-
trollers received it. The last received sequence id can be read in register 148.
Block description
17.2.10
Program status and command
Using this command, different actions can be executed. The command also returns some
information about the program state.
The table below shows the possible commands:
The command number is placed in the first command data byte. Data 1 + Data 2 are
placed in the following command data bytes.
Controller sends
MIS/SMC Response
<GWrite><Group><Sequence><RegNum><Len><Data><End>
None
Block Name
Protected
Example
Description
<GWrite>
No
59h,59h,59h
Group write command
<Group>
Yes
07h,F8h (Address 7)
The group id of the MIS/SMCs to write to.
<Sequence>
Yes
04h,FBh (Sequence 4)
The sequence number of the write.
<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
Com-
mand
Data 1
Data 2
Description
0
-
-
No operation
1
-
-
Start program execution
2
-
-
Stop program execution
3
-
-
Pause program execution
4
Start
Address
(16bit)
End
Address
(16bit)
Run the program until the program pointer is outside the area
[Start Address End Address]
Then the program is paused
5
Set outputs
(8bit)
Clear out-
puts (8bit)
Modifies the outputs. The bits set in the “Set outputs” data will be set and cleared
for “Clear outputs”.
Example:
The data 0x06,0x01 sets output 2+3 and clears output 1
6
Reserved
7
Size (16 bit)
Prepare the flash for a new program. Data 1 specifies the size of the program in
bytes.
Controller sends
MIS/SMC Response
<PStat><Address><Len1><Data1><End>
<PStat><MAddress><Len2><Data2><End>
Содержание 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 ...