C# Class ControlSystem.DLL

Class that with the IDLL interface calls the actual functions from the USBC.dll. Note: Uses static imports from DLLImport.
Inheritance: IDLL
Afficher le fichier Open project: syre/SortingIndustrialRobot Class Usage Examples

Méthodes publiques

Méthode Description
CloseGripper ( ) : int
CloseManual ( ) : int
CloseWatchDigitalInput ( ) : int
Control ( byte _bAxis, bool _bIsOn ) : int
DefineVector ( byte _bGroup, [ _sVectorName, short _shrtSizeOfVector ) : int
EnterManual ( short _shrtArg ) : int
GetCurrentPosition ( int &_ibufEnc, int &_ibufJoint, int &_ibufXYZ ) : int
GetJaw ( short &_perc, short &_metric ) : int
Home ( byte _axis, DgateCallBackByteRefArg _funcptrCallBack ) : int
Initialization ( short _shrtMode, short _shrtType, DgateCallBack _funcprtCallBack, DgateCallBack _funcptrCallBackError ) : int
IsOnLineOk ( ) : int
MoveLinear ( string _sNameOfVectorThatGotPosition, short _shrtPointInVector, string _sSecondaryPos, short _shrtPointToMoveTo ) : int
MoveManual ( byte _bAxis, int _lSpeed ) : int
OpenGripper ( ) : int
Speed ( byte _bGroup, long mSpeed ) : int
Stop ( byte _axis ) : int
Teach ( [ _sVectorName, short _shrtPoint, int _iaPointInfo, short _shrtSizeOfArray, int _iPointType ) : int
Time ( byte _bGroup, long _mTime ) : int
WatchDigitalInput ( DgateCallBackLongArg _funcptrCallbackEvent ) : int
WatchMotion ( DgateCallBackByteRefArg _funcptrCallbackEnd, DgateCallBackByteRefArg _funcptrCallbackStart ) : DgateCallBackByteRefArg

Method Details

CloseGripper() public méthode

public CloseGripper ( ) : int
Résultat int

CloseManual() public méthode

public CloseManual ( ) : int
Résultat int

CloseWatchDigitalInput() public méthode

public CloseWatchDigitalInput ( ) : int
Résultat int

Control() public méthode

public Control ( byte _bAxis, bool _bIsOn ) : int
_bAxis byte
_bIsOn bool
Résultat int

DefineVector() public méthode

public DefineVector ( byte _bGroup, [ _sVectorName, short _shrtSizeOfVector ) : int
_bGroup byte
_sVectorName [
_shrtSizeOfVector short
Résultat int

EnterManual() public méthode

public EnterManual ( short _shrtArg ) : int
_shrtArg short
Résultat int

GetCurrentPosition() public méthode

public GetCurrentPosition ( int &_ibufEnc, int &_ibufJoint, int &_ibufXYZ ) : int
_ibufEnc int
_ibufJoint int
_ibufXYZ int
Résultat int

GetJaw() public méthode

public GetJaw ( short &_perc, short &_metric ) : int
_perc short
_metric short
Résultat int

Home() public méthode

public Home ( byte _axis, DgateCallBackByteRefArg _funcptrCallBack ) : int
_axis byte
_funcptrCallBack DgateCallBackByteRefArg
Résultat int

Initialization() public méthode

public Initialization ( short _shrtMode, short _shrtType, DgateCallBack _funcprtCallBack, DgateCallBack _funcptrCallBackError ) : int
_shrtMode short
_shrtType short
_funcprtCallBack DgateCallBack
_funcptrCallBackError DgateCallBack
Résultat int

IsOnLineOk() public méthode

public IsOnLineOk ( ) : int
Résultat int

MoveLinear() public méthode

public MoveLinear ( string _sNameOfVectorThatGotPosition, short _shrtPointInVector, string _sSecondaryPos, short _shrtPointToMoveTo ) : int
_sNameOfVectorThatGotPosition string
_shrtPointInVector short
_sSecondaryPos string
_shrtPointToMoveTo short
Résultat int

MoveManual() public méthode

public MoveManual ( byte _bAxis, int _lSpeed ) : int
_bAxis byte
_lSpeed int
Résultat int

OpenGripper() public méthode

public OpenGripper ( ) : int
Résultat int

Speed() public méthode

public Speed ( byte _bGroup, long mSpeed ) : int
_bGroup byte
mSpeed long
Résultat int

Stop() public méthode

public Stop ( byte _axis ) : int
_axis byte
Résultat int

Teach() public méthode

public Teach ( [ _sVectorName, short _shrtPoint, int _iaPointInfo, short _shrtSizeOfArray, int _iPointType ) : int
_sVectorName [
_shrtPoint short
_iaPointInfo int
_shrtSizeOfArray short
_iPointType int
Résultat int

Time() public méthode

public Time ( byte _bGroup, long _mTime ) : int
_bGroup byte
_mTime long
Résultat int

WatchDigitalInput() public méthode

public WatchDigitalInput ( DgateCallBackLongArg _funcptrCallbackEvent ) : int
_funcptrCallbackEvent DgateCallBackLongArg
Résultat int

WatchMotion() public méthode

public WatchMotion ( DgateCallBackByteRefArg _funcptrCallbackEnd, DgateCallBackByteRefArg _funcptrCallbackStart ) : DgateCallBackByteRefArg
_funcptrCallbackEnd DgateCallBackByteRefArg
_funcptrCallbackStart DgateCallBackByteRefArg
Résultat DgateCallBackByteRefArg