5.3.15 DNS100_ReadIOInputData
z
Description:
This function is used to read the input data which would be sent to
the master device.
z
Syntax:
DWORD DNS100_ReadIOInputData (BYTE BoardNo, BYTE SlaveID,
BYTE Type,
BYTE *IOInputData,
WORD *InputDataLen)
z
Parameter:
BoardNo:
[input] PISO-DNS100(U) board number (0~15)
SlaveID:
[input] The virtual DeviceNet slave’s MAC ID (0~63)
Type:
[input] The I/O Connection type. (1 ~ 4).
1 : Poll connection.
2 : Bit-Strobe connection.
PISO-DNS100(U) DeviceNet Slave API functions User’s Manual (Ver: 1.1) 2010/01/07
53
3 : COS connection.
4 : Cyclic connection.
IOInputData:
[output] The input data buffer of the virtual slave device.
InputDataLen:
[output] The input data length of the virtual slave device.
z
Return:
Please refer to Table 5.2.1 and Table 5.2.2.
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru