dnsScanStart

dnsScanStart — starts the dnscan client scanner function.

Synopsis

(dnsScanStart card_id)
	

Parameters

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

Returns

If successful, then:

(dnsScanStart card_id CMD_START_SCAN)

or, if an error is detected, then one of:

(error "dnsScanStart DR_ERR_CARD_INVALID (time) invalid card: card_id")
(error "dnsScanStart DR_ERR_NO_CARD (time) card not available")
(error "dnsScanStart DVN_ERR_CMD_ERR_OFF (time) Cmd: Bus offline")
(error "dnsScanStart DVN_ERR_CMD_ERR_SCAN (time) Cmd: Scanner is running")
(error "dnsScanStart DVN_ERR_CMD_ERR_SCANOFF (time) Cmd: Scanner is stopping")
(error "dnsScanStart DVN_ERR_CMD_TIMEOUT (time) Cmd failed (timeout)")

Description

Starts the client scanner function. The DeviceNet bus must be online, and scanning not already active.