![background image](http://html1.mh-extra.com/html/icp-das-usa/piso-dnm100-d/piso-dnm100-d_user-manual_4476349073.webp)
PISO-DNM100 DeviceNet Master API functions User’s Manual (Ver: 1.0) 2008/02/25
73
4.4.12 DNM100_SetBaudRate
z
Description:
This function can set the DeviceNet baud rate of the PISO-DNM100.
After calling this function, you must call DNM100_ResetFirmware to reset
the firmware to make change enabled.
z
Syntax:
DWORD DNM100_SetBaudRate (BYTE BoardNo, BYTE BaudRate)
z
Parameter:
BoardNo:
[input] PISO-DNM100 board number (0~15)
BaudRate:
[input] The new baud rate value.
0 : 125K bps
1 : 250K bps
2 : 500K bps
z
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.