Configuration Tool (config)

Configuration is a tool for setting Device Name to be used for accessing the device, and it is also used for hardware setting and firmware update and output diagnostic report of some devices.
Because of character-based tool, you can perform the setting operation by selecting the command with numbers or alphabets and press the enter key from the menu.

For API-AIO(LNX), the device can be used when the driver is started and the setting file(contec_aio.conf) is copied to /proc.
Start and stop device driver by executing driver start script (contec_aio_start.sh) and driver stop script (contec_aio_stop.sh).
Configuration generates the setting file and these script files. For the processing details, refer to the script file.

Start option
While the Setup menu switch between Japanese and English depending on environment variable LANG, you can select the menu language by specifying the option when the Setup is started.
-j : Show the menu in Japanese
-e : Show the menu in English
Example of start screen
When you start up the configuration, the following screen will be displayed.
*You need root privileges to launch the configuration.

 
By selecting various commands and pressing Enter, you can set and detect the device and output the diagnostic report.
 
Device settings
 
Diagnostic report function
 
 
Configuration command
The commands used in the configuration are as follows.
The commands that can be executed depend on the target device.

Change DeviceName
Set the device name.
It can not have the same name as any other device.
When specifying a device from an application, specify this DeviceName.

Add device manually
- Devices can be added manually by selecting "a" on the config screen and press Enter.
- In case of 1-5, devices according to each category can be registered manually.
- In case of 6, DEMO DEVICE can be added. For more information of DEMO DEVICE, please refer to Demo Device Specifications.

Network settings
Configure the wired LAN network.

920MHz wireless settings
Make settings related to 920MHz wireless communication.
Wireless Channel
Set the channel used for 920 MHz band communication.
PAN ID
Set the PAN ID used for 920 MHz band communication.
It is fixed to 0 when Device Mode of "Other settings" is set to "CONPROSYS mode"
Tx Power
Set transmission output.
Normally, it uses the initial value of 20 (mW).
Bit Rate
Set the bit rate (communication speed).
Normally, it uses the initial value of 100 (kbps).
Request Timeout
Set the communication timeout time between the master unit and slave unit.
Normally, it uses the initial value of 3000 (msec).
Aging Time
Set the connection maintenance time between the master and slave.
The initial value is 600.
Normally, use the default value, but if you have changed Data Interval setting,
We recommend changing the value to about 10 times Data Interval setting.
Also, when changing this setting, it is recommended to set the same setting for the master unit.
Settable range: 60 to 36000 (sec)
Encryption Key
Set the encryption key used for communication between the master unit and the slave unit.
It is specified with 32 digit hexadecimal number, and the initial value is all 0.
In order for the master unit and the slave unit to communicate, the same value must be set in Encryption Key.
Priority Route
If there is a communication route you want to prioritize, specify Gateway if you want to communicate directly with the master unit, and specify the target Device ID if you want to pass through other slave device.
- Disabled Do not specify a preferred route
- Gateway In an environment where the slave device can directly communicate with the master unit, the master unit has priority.
- ID: 0-127 Specify the slave unit that gives priority to relaying.

Other settings
Unit ID
When using the same product, it is necessary to set the Unit ID uniquely.
Device ID
When using several slave units with one master unit, it is necessary to set the Device ID uniquely.
Data Interval
Sets the time interval at which the input value of this device is transmitted to its master unit.
Device Mode
Normally it is used in the initial value "Wireless I/O mode".
Select "CONPROSYS mode" when using it as a slave of our product CONPROSYS series.
Modbus Function
Set enable / disable of Modbus function.
It is compatible with Modbus TCP Slave and can collect and control data from upper communication equipment with Modbus master function.
The default value is Enabled.
 
Diagnostic report function

This function outputs a diagnostic report for the environment in which the customer is using.
The diagnostic report will include information such as your PC environment and the status of connected devices.
Information such as the PC environment is output as a diagnostic result even when the device is not connected.

When contacting the support center, please include this report.

The procedure for using the diagnostic report output function is shown below.

(1) Select "e" on the config screen and press Enter.
    

(2) Select the device to output the diagnostic report and press Enter. (Please select the number listed in the device list.)
     To output the diagnostic report for all devices, select "a" and press Enter.
     The diagnostic report will be saved in the same location as the configuration you ran.
    

   ■ Example of diagnostic report

An example of a diagnostic report is shown below.
The diagnostic report will include the results of checking the operation of your PC environment and device.