EasyManua.ls Logo

Fastech Ezi-Step Plus-R User Manual

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
Page #30 background imageLoading...
Page #30 background image
- 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

Question and Answer IconNeed help?

Do you have a question about the Fastech Ezi-Step Plus-R and is the answer not in the manual?

Fastech Ezi-Step Plus-R Specifications

General IconGeneral
BrandFastech
ModelEzi-Step Plus-R
CategoryController
LanguageEnglish

Summary

Communication Protocols

Communication Functions and Specifications

Covers communication functions, RS-485 protocol, specifications, and CRC calculation.

Frame Structure and Data Configuration

Details frame types, data configuration, parameter lists, and I/O pin setup.

Status Flags and Motor Information

Explains status flags, position table items, and motor information.

Programming Methods

Describes the primary methods for programming the Ezi-STEP Plus-R.

Library for PC Program

Library Configuration and Drive Link Functions

Details library setup, return values, and core drive link functions.

Parameter, I/O, and Servo Control

Functions for parameter management, servo control, and digital I/O operations.

Motion, Status, and Position Table Control

Covers position, drive status, running control, and position table functions.

Other Control Functions

Specific functions for trigger output control and status.

Protocol for PLC Program

PLC Communication Protocol Details

Guidelines for implementing communication protocols for PLC programming.

Related product manuals