Motion Control Theory
153
PCI-8254 / PCI-8258
4.9.1
Motion Status
Use following API functions to read motion status of each axes:
I32 APS_motion_status ();
Motion status data of individual axis is combined in return parameter
I32 (32 bit integer). See table below for motion status and meaning
represented by each bit:
Table below describes meaning of motion status:
Bit No.
7
6
5
4
3
2
1
0
Status
HMV
MDN
DIR
DEC
ACC
VM
CSTP
Bit No.
15
14
13
12
11
10
9
8
Status
JOG
PTB
WAIT
Bit No.
23
22
21
20
19
18
17
16
Status
POSTD
PRED
BLD
ASTP
Bit No.
31
30
29
28
27
26
25
24
Status
GER
Bit No.
Define
Description
0
CSTP
End of single motion command
1
VM
At maximum speed
2
ACC:
Accelerating
3
DEC:
Decelerating
4
DIR:
Motion direction; 1: Positive and 0: Negative
5
MDN
End of motion command
6
HMV
Executing home movement
7~9
(Reserved)
10
WAIT
Waiting for motion trigger
11
PTB
Executing PTB movement
12~14
(Reserved)
Содержание PCI-8254
Страница 2: ...ii Revision History Revision Date Description 2 00 2014 08 13 First release ...
Страница 8: ...viii Table of Contents Important Safety Instructions 209 Getting Service 211 ...
Страница 12: ...xii List of Figures ...
Страница 14: ...xiv List of Tables ...
Страница 24: ...10 Introduction ...
Страница 54: ...40 Getting Start with The Installation ...
Страница 78: ...64 Signal Connection ...
Страница 111: ...Motion Control Theory 97 PCI 8254 PCI 8258 MCP2 Bode plot page ...
Страница 165: ...Motion Control Theory 151 PCI 8254 PCI 8258 Example Figure 4 55 Continuous interpolation examples ...
Страница 222: ...208 Motion Control Theory ...