EasyManua.ls Logo

Fastech Ezi-Step Plus-R

Fastech Ezi-Step Plus-R
114 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 30 -
30
Library for PC Program
2 Library for PC Program
2 1 Library Configuration
To use this library, C++ header file(*.h) and library file(*.lib or *.dll) are required. These
files locate in \\FASTECH\\EziMOTION PlusR\\include\\. And the following contents should be
included in a source file for development.
#include \\FASTECH\\ EziMOTION PlusR \\include\\FAS_EziMotionPlusR.h
#include \\FASTECH\\ EziMOTION PlusR \\include\\COMM_Define.h
#include \\FASTECH\\ EziMOTION PlusR \\include\\MOTION_DEFINE.h
#include \\FASTECH\\ EziMOTION PlusR \\include\\ReturnCodes_Define.h
Also, library files are as follows:
\\FASTECH\\ EziMOTION PlusR \\include\\EziMotionPlusR.lib
“\\FASTECH\\ EziMOTION PlusR \\include\\EziMotionPlusR.dll”
A sample program source of with using these libraries locate at
\\FASTECH\\EziMOTION PlusR \\Examples\\” folder.
(1) The following table explains values returned when each library (DLL) function is used. The
user can only check the values returned at the library (DLL) function. Low level programming
method does not support following table.
Item
Definition
Returned
Value
Description
Normal
FMM_OK
0
The function has normally performed the
command.
Input
Error
FMM_NOT_OPEN
1
Wrong port number is inputted.
FMM_INVALID_PORT_NUM
2
The port that is not connected.
FMM_INVALID_SLAVE_NUM
3
Wrong slave number is inputted.
Operation
Error
FMM_POSTABLE_ERROR
9
An error occurs while the motor accesses
to the position table.
Connection
Error
FMC_DISCONNECTED
5
The relevant drive is dis connected.
FMC_TIMEOUT_ERROR
6
Response delay(100 msec) occurs.
FMC_CRCFAILED_ERROR
7
Checksum error occurs.
FMC_RECVPACKET_ERROR
8
Protocol level error occurs in packet
that comes from Drive.

Table of Contents

Related product manuals