The NI-Industrial Communications for DeviceNet Programming Reference Manual provides information about the DeviceNET VIs and error codes.