We added “Advanced” options in Configuration dialog for Relay Timer series products.
There are three advanced items, “One-way Communication”, “Read Timeout” and “Command Interval”.
One-way Communication
In One-way communication mode, the program will send the command only one time and won’t wait for return value. The advantage of this mode is that only Rx and ground line need to be connected with computer. Another advantage is that the program will have better respond to user’s operation. The disadvantage is that there is no way to know if the board is still working.
The default value of one-way communication is unchecked. That means the default communication is two-way. In two-way communication, there always is a return value from relay board for all commands. If the program fails to get the return value, it will send the command again. The same command will be sent 5 times if it can’t get return value before it stops. The “Communication Error” will be shown on status bar. Both Rx and Tx line has to be connected with computer in two-way communication mode. The advantage is that the connection problem will be know immediately. The disadvantage is that both Rx and Tx lines are needed, and if there is a connection problem, the respond of the program will be a little slow.
Read Timeout
Timeout value for read data from controller. This option is valid in two-way communication. Default value is 100ms. For device that has slow processor, like R1X and R2X, it needs longer time, for fast connection device, like ProXR with RS232 or USB interface, the timeout value could be 10 –30 ms. The shorter, the faster the program response. In some circumstance, the program need have a longer read timeout value, like zigbee device, or ethernet/wifi device on a slow connection. 100 ms should work for most of the device.
Command Interval
Command interval is the time between sending two commands. If the interval is too short, none of the commands will be execute on relay board correctly. For boards that have slow processor, the command interval could be 50ms. For boards that have fast processor, 10 – 30 ms works. Another factor is the interface of the device, for zigbee or network interface, a value between 30 – 100 will make the board works more reliable.
Conclusion
The default value should work for most of the device and you can just ignore those options. However, those options will solve most of the problem for zigbee mesh or 802.15.4 interface module.