I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
85
4.3.36 I8124_ReadInputData
4.3.36 I8124_ReadInputData
Description:
This function is used to get the data according with the produced
connection path of the specific MAC ID device via the I/O connection.
Syntax:
DWORD I8124_ReadInputData (BYTE cSlot, BYTE DesMACID,
BYTE ConType, WORD *IOLen,
BYTE *IODATA)
Parameter:
cSlot:
[input] The slot number which the I-8124W is plugged in.
DestMACID:
[input] The remote slave device’s MAC ID (0~63)
ConType:
[input] The connection type of the remote slave.
0 : Explicit connection type
1 : Poll connection type
2 : Bit-Strobe connection type
3 : COS connection type
4 : Cyclic connection type
IOLen:
[output] The length of the I/O data (In byte).
IODATA:
[output] The remote I/O data.
Return:
Please refer to the chapter 4.2 for the function return code.