![ICP DAS USA PISO-DNS100-D/T Скачать руководство пользователя страница 55](http://html1.mh-extra.com/html/icp-das-usa/piso-dns100-d-t/piso-dns100-d-t_user-manual_4476352055.webp)
5.3.17 DNS100_ReadIOOutputData
z
Description:
This function is used to get the output data from the master device. As
soon as the output data of the master device changes, the users can use
this function to obtain the changes from master synchronously.
z
Syntax:
DWORD DNS100_ReadIOOutputData (BYTE BoardNo, BYTE SlaveID,
BYTE Type,
BYTE *IOOutputData,
WORD *OutputDataLen)
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.
IOOutputData:
[output] The output data which was sent form the master.
OutputDataLen:
[output] The output data length of the virtual slave
device.
z
Return:
Please refer to Table 5.2.1 and Table 5.2.2.
PISO-DNS100(U) DeviceNet Slave API functions User’s Manual (Ver: 1.1) 2010/01/07
55
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru