5.3.16 DNS100_WriteIOInputData
z
Description:
This function is used to write the input data which would be sent to the
master device. The users call this function to update the input data. The
corresponding input data buffer of the master device would change
synchronously.
z
Syntax:
DWORD DNS100_WriteIOInputData (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.
3 : COS connection.
4 : Cyclic connection.
PISO-DNS100(U) DeviceNet Slave API functions User’s Manual (Ver: 1.1) 2010/01/07
54
IOInputData:
[Input] The input data buffer which includes new data.
InputDataLen:
[Input] 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