#include "extintf.h"
#include "sim.h"
#include "emcmotglb.h"
Include dependency graph for extsimmot.c:
Go to the source code of this file.
Functions | |
char | __attribute__ ((unused)) ident[]="$Id |
int | extMotQuit () |
int | extDacNum () |
int | extDacWrite (int dac, double volts) |
int | extDacWriteAll (int max, double *volts) |
int | extEncoderSetIndexModel (unsigned int model) |
int | extEncoderNum () |
int | extEncoderRead (int encoder, double *counts) |
int | extEncoderReadAll (int max, double *counts) |
int | extEncoderResetIndex (int encoder) |
int | extEncoderReadLatch (int encoder, int *flag) |
int | extEncoderReadLevel (int encoder, int *flag) |
int | extMaxLimitSwitchRead (int axis, int *flag) |
int | extMinLimitSwitchRead (int axis, int *flag) |
int | extHomeSwitchRead (int axis, int *flag) |
int | extAmpEnable (int axis, int enable) |
int | extAmpFault (int axis, int *fault) |
|
Definition at line 29 of file extsimmot.c. 00029 : extsimmot.c,v 1.2 2000/10/27 20:34:42 terrylr Exp $"; 00030 00031 int extMotInit(const char * stuff) 00032 { 00033 /* pass the name of the ini file here */ 00034 return simMotInit(EMCMOT_INIFILE); 00035 } |
|
Definition at line 107 of file extsimmot.c. Referenced by cleanup_module(), emcmotCommandHandler(), emcmotController(), and init_module().
00108 { 00109 return simAmpEnable(axis, enable); 00110 } |
|
Definition at line 112 of file extsimmot.c. Referenced by emcmotController().
00113 { 00114 return simAmpFault(axis, fault); 00115 } |
|
Definition at line 42 of file extsimmot.c. 00043 { 00044 return simDacNum(); 00045 } |
|
Definition at line 47 of file extsimmot.c. 00048 { 00049 return simDacWrite(dac, volts); 00050 } |
|
Definition at line 52 of file extsimmot.c. Referenced by emcmotController().
00053 { 00054 return simDacWriteAll(max, volts); 00055 } |
|
Definition at line 62 of file extsimmot.c. 00063 { 00064 return simEncoderNum(); 00065 } |
|
Definition at line 67 of file extsimmot.c. 00068 { 00069 return simEncoderRead(encoder, counts); 00070 } |
|
Definition at line 72 of file extsimmot.c. Referenced by emcmotController().
00073 { 00074 return simEncoderReadAll(max, counts); 00075 } |
|
Definition at line 82 of file extsimmot.c. Referenced by emcmotController().
00083 { 00084 return simEncoderReadLatch(encoder, flag); 00085 } |
|
Definition at line 87 of file extsimmot.c. 00088 { 00089 return simEncoderReadLevel(encoder, flag); 00090 } |
|
Definition at line 77 of file extsimmot.c. Referenced by emcmotController().
00078 { 00079 return simEncoderResetIndex(encoder); 00080 } |
|
Definition at line 57 of file extsimmot.c. Referenced by init_module().
00058 { 00059 return simEncoderSetIndexModel(model); 00060 } |
|
Definition at line 102 of file extsimmot.c. Referenced by emcmotController().
00103 { 00104 return simHomeSwitchRead(axis, flag); 00105 } |
|
Definition at line 92 of file extsimmot.c. Referenced by emcmotController().
00093 { 00094 return simMaxLimitSwitchRead(axis, flag); 00095 } |
|
Definition at line 97 of file extsimmot.c. Referenced by emcmotController().
00098 { 00099 return simMinLimitSwitchRead(axis, flag); 00100 } |
|
Definition at line 37 of file extsimmot.c. 00038 { 00039 return simMotQuit(); 00040 } |