Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 16 -
List of additional functions ...............................................................................................................1031
1. Get current path number and screen index. (for multi-path) <Main,Alarm> ..............................1032
2. Register user screen index. (for multi-path) <Main>................................................................... 1034
3. Customize softkey on CNC screen. (for multi-path) <Main>.......................................................1036
HIGH-LEVEL TASK.............................................................................................................................1038
1. O
VERVIEW OF
H
IGH
-L
EVEL
T
ASK
.....................................................................................................1038
2. S
PECIFICATION
..................................................................................................................................1038
3. T
ASK EXECUTION RULE
.....................................................................................................................1040
4. A
PPLICATION PROGRAMMING
............................................................................................................1042
5. F
UNCTION REFERENCE
.......................................................................................................................1043
1. Interrupt execution of High-Level Task <HILEV>.......................................................................1043
2. Call CNC window <HILEV>........................................................................................................1044
3. Get pointer to PMC data <HILEV>............................................................................................. 1046
4. Convert pointer to linear address <Main,Alarm,Comm,HILEV>................................................1049
6. D
ETAIL OF
CNC
WINDOW FUNCTION
'
S INPUT
/
OUTPUT DATA
.............................................................1050
(1) Read program number in executing............................................................................................ 1051
(2) Read sequence number in executing ...........................................................................................1051
(3) Read actual feed rate of controlled axes .....................................................................................1052
(4) Read actual spindle speed........................................................................................................... 1053
(5) Read absolute position ................................................................................................................1054
(6) Read machine position ................................................................................................................1054
(7) Read relative position..................................................................................................................1055
(8) Read distance to go ..................................................................................................................... 1055
(9) Read skipped position..................................................................................................................1056
(10) Read servo delay amount ..........................................................................................................1056
(11) Read acceleration/deceleration delay amount .......................................................................... 1057
(12) Read alarm status......................................................................................................................1057
(13) Read abnormal load torque data...............................................................................................1058
(14) Read load information of serial spindle....................................................................................1058
(15) Read A/D conversion data (Read load data of servo axis)........................................................ 1059
8. H
IGH
-L
EVEL TASK EXECUTION MANAGEMENT DATA
.........................................................................1060
9. N
OTES
...............................................................................................................................................1063
USING OF WATCOM C/C++ COMPILER........................................................................................ 1064
1. S
UPPORTED
C
OMPILERS
.....................................................................................................................1064
2. I
NSTALLING
W
ATCOM
C C
OMPILER
..................................................................................................1064
2.1 For developing on DOS .............................................................................................................. 1065
3. I
NSTALLING
C E
XECUTOR LIBRARY
...................................................................................................1072
4. M
AKING APPLICATIONS
.....................................................................................................................1073
4.1 The restrictions ........................................................................................................................... 1073
4.2 Programming.............................................................................................................................. 1073
4.3 makefile.......................................................................................................................................1074
5. N
OTE
.................................................................................................................................................1077
ABOUT LINKER ...................................................................................................................................1078
1. L
INKER USED WITH
C E
XECUTOR
......................................................................................................1078
2. I
NSTALLING XLINK
386.......................................................................................................................1078
3. U
SING XLINK
386 ...............................................................................................................................1079
4. About xlink386 version .................................................................................................................1080
3. FUNCTION REFERENCE................................................................................................................1081