JVL MIS17 Series User Manual page 352

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

Advertisement

17.2
Block description
Block Name
Protected
<PStat>
No
<Address>
Yes
<Len1>
Yes
<Data1>
Yes
<MAddress>
Yes
<Len2>
Yes
<Data2>
Yes
<End>
No
The returned data has the following format:
Data offset
Size
0
8 bit
1
16 bit
3
8 bit
4
16 bit
6
8 bit
7
8 bit
Program states:
Program
state
Name
0
Passive
1
Running
2
Single Step
3
Paused
4
Stack Overflow
5
Program Overflow
6
Invalid Ins.
7
Stopped
8
Com. Error
9
Starting Program
10
Flash Error
11
Flash Checksum Error
352
JVL Industri Elektronik A/S - User Manual - Integrated Stepper Motors MIS17x, 23x, 34x, 43x
Serial communication
Example
61h,61h,61h
07h,F8h (Address 7)
01h,FEh (Len = 1)
01h,FEh (Start)
00h,FFh (Address 0)
08h,F7h (Len = 8)
09h,F6h, (Program state)
00h,FFh, 00h,FFh, (Pro-
gram pointer)
00h,FFh, (Stack pointer)
00h,FFh,
00h,FFh, (Program check-
sum)
80h,7Fh, (Inputs)
00h,FFh (Outputs)
AAh, AAh
Description
Program state. See table below for states.
Program pointer. The current location of the program pointer.
Stack pointer
Program checksum. This checksum is calculated when the program
is started.
Input status.
Output status
Description
The program execution is stopped. This state is only entered shortly at power-up.
The program execution is running
A single step is in progress. The program will run until the selected program
position is reached.
The program execution is paused, but can be resumed again.
The stack pointer has overflowed
The program pointer has overflowed.
An invalid instruction is encountered in the program.
The program execution is stopped.
Internal communication error has occurred. This cannot happen on MIS/SMC.
Program execution is being prepared. After this is completed the state will change
to running.
The program data is corrupted.
The program data checksum is incorrect.
Description
Program status command
The address of the MIS/SMC's to write to.
Length of the command data
Command data
This will always be 0, because this is the
address of the master
The length of the return data
Data returned from MIS/SMC
Command termination

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents