I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
67
4.3.19 I8124_AddIOConnection
Description:
This method is used to configure the I/O connection of the device
which has specific MAC ID. The I-8124W can get/set the data via the
connection, which is applied to the specific slave, according to the
produced / consumed connection path of this slave device. This
configuration data will be saved into EEPROM of the I-8124W.
Syntax:
DWORD I8124_AddIOConnection (BYTE cSlot, BYTE DesMACID,
BYTE ConType,
WORD DeviceInputLen,
WORD DeviceOutputLen,
WORD EPR)
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 remote slave device’s I/O connection type
0 : Explicit connection type
1 : Poll connection type
2 : Bit-Strobe connection type
3 : COS connection type
4 : Cyclic connection type
DeviceInputLen:
[input] The remote slave device’s input length. (Byte)
DeviceOutputLen:
[input] The remote slave device’s output length. (Byte)
EPR:
[input] The expected packet rate. (mSec)
Return:
Please refer to the chapter 4.2 for the function return code.