dnsOffline

dnsOffline — shuts down the dnscan DeviceNet interface.

Synopsis

(dnsOffline card_id)
	

Parameters

card_id
The target card ID (0..3).

Returns

If the interface is successfully taken offline, then:

(dnsOffline card_id CMD_DN_OFFLINE)

Otherwise, one of the following error messages:

(error "dnsOffline DR_ERR_CARD_INVALID (time) invalid card: card_id")
(error "dnsOffline DR_ERR_NO_CARD (time) card not available")
(error "dnsOffline DVN_ERR_CMD_ERR_ACTIVE (time) Cmd: Scanner is active")
(error "dnsOffline DVN_ERR_CMD_TIMEOUT (time) Cmd failed (timeout)")

Description

This command shuts down the DeviceNet interface. The scanner must be shut down prior to going offline to ensure all client connections are closed.