4 FRnet Functions (for i8092F only)
4.1 Read FRnet DI Signals
WORD i8092MF_FRNET_IN(BYTE
Description:
This function reads the FRnet digital input signals.
Address 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:
wRA:
Return:
WORD
Example:
WORD IN_Data;
i8092MF_
IN_Data =
//Read the 16-bit DI which is on module 1 and the group number is 8.
ICPDAS
cardNo,
Module number
Group number, range 8~15
Note: 0~7 are used for digital outputs
16-bit DI data.
FRNET_IN(1, 8);
WORD
wRA)
RA
36
I-8092F Software User Manual
means the Receiving