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 #56 background imageLoading...
Page #56 background image
- 56 -
56
Library for PC Program
FAS_SetIOOutput
To set I/O output values. For more information, refer to ‘1-1-5. Frame Type and Data
Configuration’.
Syntax
int FAS_SetIOOutput(
BYTE nPortNo,
BYTE iSlaveNo,
DWORD dwIOSetMask,
DWORD dwIOCLRMask
);
Parameters
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
dwIOSetMask
Output bitmask value to be set (ON status)
dwIOCLRMask
Output bitmask value be cleared (OFF status)
Return Value
FMM_OK : Command has been successfully performed.
FMM_NOT_OPEN : The drive has not been connected yet .
FMM_INVALID_PORT_NUM : There is no nPort in the connected ports .
FMM_INVALID_SLAVE_NUM : There is no drive of iSlaveNo in the relevant port .
Remarks
There are 10 output pins in Ezi-STEP Plus-R. The user can select and use 9 output p ins
of them.
When output data is ‘1’, Port A becomes 0V. When it is ‘0’, Port A becomes +5V.
Be careful that dwIOSetMask bit and dwIOCLRMask bit are not duplicated.
Example
Refer to FAS_SetIOInput.
See Also
FAS_GetIOOutput

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