Configuring the Driver

<< Click to Display Table of Contents >>

 

Configuring the Driver

Starting with version 2.0, this Driver does not use the [P] configuration parameters anymore. All settings must be performed on this Driver's configuration window. The configuration of communication must be performed using the configuration tabs of IOKit library. For more information, please check topic Documentation of I/O Interfaces. The SPAbus tab is shown on the next figure.

SPAbus tab

SPAbus tab

The available options on this tab are described on the next table.

Available options on the SPAbus tab

Option

Description

Enable Autoscan

Enables an automatic scanning for events from L and B categories. For more information, please check topic Automatic Scanning of Events

Scan period

Defines the scan period, in milliseconds, for the automatic scanning of events. For more information, please check topic Automatic Scanning of Events

Tag scan delay

Defines a time delay, in milliseconds, between the scanning of each Tag registered for automatic scanning, during this Driver's internal scan, to prevent overloading an application

Tag goes offline after n comm. errors

Defines the number of communication errors after which an automatic scanning of events Tag is considered in an Offline status. This Tag returns to an Online status as soon as any communication is successful

Auto Clear Status

If this option is enabled during an automatic scanning of events, if this Driver receives events with codes E50 or E51, the internal thread for scanning automatically sends a command to clear the status of a device, that is, writing 0 (zero) to the C category, removing a slave from an error condition. Collected E50 and E51 events are returned normally to an application

Send broadcast messages with "XX" checksum

This option enables sending and receiving frames with the "XX" characters replacing the checksum. This is usually applied for testing, but it is recommended to disable this option, which is its default value, in production, because without a checksum invalid frames can be received, from noise, which may lead to an invalid reading of values

Was this page useful?