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...
- 55 -
55
Library for PC Program
FAS_GetIOInput
To read I/O input values. For more information, refer to ‘1-1-5. Frame Type and Data
Configuration.
Syntax
int FAS_GetIOInput(
BYTE nPortNo,
BYTE iSlaveNo,
DWORD* dwIOInput
);
Parameters
nPortNo
Port number of relevant drive.
iSlaveNo
Slave number of relevant drive.
dwIOInput
Parameter pointer where input values will be saved
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 12 input pins in Ezi-STEP Plus-R. The user can select and use 9 input pins
of them. This function can read the input port status as 32bit. All of them are
insulated by a photocoupler. (Refer to the figure.)
If voltage from an external input, is 24V at Port A , the input is recognized to 5V(High).
Example
Refer to ‘FAS_SetIOInput’ library.
See Also
FAS_SetIOInput

Table of Contents

Related product manuals