
PISO-DNM100 DeviceNet Master API functions User’s Manual (Ver: 1.0) 2008/02/25
72
4.4.11 DNM100_GetBaudRate
z
Description:
This function can help you to get the baud rate information of PISO-
DNM100.
z
Syntax:
DWORD DNM100_GetBaudRate (BYTE BoardNo)
z
Parameter:
BoardNo:
[input] PISO-DNM100 board number (0~15)
z
Return:
The baud rate information in the PISO-DNM100.
If the value is 0, the baud rate is 125Kbps.
If the value is 1, the baud rate is 250Kbps.
If the value is 2, the baud rate is 500Kbps.
z
Error Return:
DNM100_NoError (0):
OK
DNM100_DriverError (10001):
Kernel driver is not opened.
DNM100_ActiveBoardError (10002):
This board can not be activated or
kernel driver can not be found.
DNM100_BoardNumberError (10003):
BoardNo exceeds the current
scanned total board number.
DNM100_TimeOut (10023):
The PISO-DNM100 has no response.
Others:
Please refer to Table 4.2.2 ~ Table 4.2.9.