5.3.13 DNS100_AddIOConnection
z
Description:
This method is used to add the I/O connection (Poll, Bit-Strobe and
COS/Cyclic) of the specific virtual slave device. The PISO-DNS100(U)
can get/set the data via the connection, which connects to the specific
virtual slave, according to the produced / consumed connection path of
this virtual slave device. This configuration data would be saved into the
EEPROM of the PISO-DNS100(U).
z
Syntax:
DWORD DNS100_AddIOConnection (BYTE BoardNo, BYTE SlaveID,
BYTE Type,
WORD DeviceInputLen,
WORD DeviceOutputLen)
z
Parameter:
BoardNo:
[input] PISO-DNS100(U) board number (0~15)
SlaveID:
[input] The DeviceNet virtual 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.
PISO-DNS100(U) DeviceNet Slave API functions User’s Manual (Ver: 1.1) 2010/01/07
51
4 : Cyclic connection.
DeviceInputLen:
[input] The input data length of the virtual slave device.
DeviceOutputLen:
[input] The output 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