
ICPDAS
I-8092F Software User Manual
36
4 FRnet Functions (for i8092F only)
4.1 Read FRnet DI Signals
WORD
i8092MF_FRNET_IN(
BYTE
cardNo
,
WORD
wRA
)
Description:
This function reads the FRnet digital input signals.
RA
means the
R
eceiving
A
ddress
which can be one of the legal group number of FRnet. One group
comprises 16 bits data. Therefore, total 128 DI can be defined for one FRnet
interface.
Parameters:
cardNo
:
Module number
wRA
:
Group number, range 8~15
Note: 0~7 are used for digital outputs
Return:
WORD
16-bit
DI
data.
Example:
WORD
IN_Data;
IN_Data =
i8092MF_
FRNET_IN(1, 8);
//Read the 16-bit DI which is on module 1 and the group number is 8.