Line 8: |
Line 8: |
| Speed argument determines the maximum speed threshold allowing command execution. If speed is higher than this threshold, command will be queued and executed when speed drops bellow this threshold. | | Speed argument determines the maximum speed threshold allowing command execution. If speed is higher than this threshold, command will be queued and executed when speed drops bellow this threshold. |
| <br/><br/> | | <br/><br/> |
− | '''For devices with 2 digital outputs:<br>'''
| + | |
− | Example:<br/>"setdigout 11" will set DOUT1 and DOUT2 to high level for infinite time.
| |
− | <br/><br/>
| |
− | Example:<br/>"setdigout 01 30 60" will set DOUT1 to low level for 30 seconds and DOUT2 to high level for 60 seconds.
| |
− | <br/><br/>
| |
− | Example:<br/>"setdigout 01 30 60 20 30" will set DOUT1 to low level for 30 seconds if speed is 20 km/h or lower and DOUT2 to high level for 60 seconds if speed is 30 km/h or lower.
| |
− | <br/><br/>
| |
| '''In order to leave state/timeout/speed unchanged, "?" symbol can be used:<br/>''' | | '''In order to leave state/timeout/speed unchanged, "?" symbol can be used:<br/>''' |
| Example:<br/>"setdigout ?1" will leave DOUT1 state unchanged and set DOUT2 to high level for infinite time. | | Example:<br/>"setdigout ?1" will leave DOUT1 state unchanged and set DOUT2 to high level for infinite time. |
Line 22: |
Line 16: |
| Example:<br/>"setdigout 01 30 ? ? 30" will set DOUT1 to low level for 30 seconds and DOUT2 to high level for infinite time if speed is 30 km/h or lower. | | Example:<br/>"setdigout 01 30 ? ? 30" will set DOUT1 to low level for 30 seconds and DOUT2 to high level for infinite time if speed is 30 km/h or lower. |
| <br/><br/> | | <br/><br/> |
| + | |
| '''For devices with 1 digital output:<br>''' | | '''For devices with 1 digital output:<br>''' |
| Example:<br/>"setdigout 1 45" will set DOUT1 to high level for 45 seconds. | | Example:<br/>"setdigout 1 45" will set DOUT1 to high level for 45 seconds. |
| <br/><br/> | | <br/><br/> |
| Example:<br/>"setdigout 1 30 20" will set DOUT1 to high level for 30 seconds if speed is 20 km/h or lower. | | Example:<br/>"setdigout 1 30 20" will set DOUT1 to high level for 30 seconds if speed is 20 km/h or lower. |
| + | <br/><br/> |
| + | |
| + | '''For devices with 2 digital outputs:<br>''' |
| + | Example:<br/>"setdigout 11" will set DOUT1 and DOUT2 to high level for infinite time. |
| + | <br/><br/> |
| + | Example:<br/>"setdigout 01 30 60" will set DOUT1 to low level for 30 seconds and DOUT2 to high level for 60 seconds. |
| + | <br/><br/> |
| + | Example:<br/>"setdigout 01 30 60 20 30" will set DOUT1 to low level for 30 seconds if speed is 20 km/h or lower and DOUT2 to high level for 60 seconds if speed is 30 km/h or lower. |
| + | <br/><br/> |
| + | |
| + | '''For devices with 3 digital output:<br>''' |
| + | Example:<br/>"setdigout 100" will set DOUT1 to high level for infinite time, DOUT2 to low level for infinite time and DOUT3 to low level for infinite time. |
| + | <br/><br/> |
| + | Example:<br/>"setdigout 0?1 30 ? 20" will set DOUT1 to low level for 30 seconds, will leave DOUT2 state unchanged and set DOUT3 to high level for 20 seconds. |
| + | <br/><br/> |
| + | Example:<br/>"setdigout 011 30 ? 20 10 30 30" will set DOUT1 to low level for 30 seconds if speed is 10 km/h or lower, DOUT2 to high level for infinite time if speed is 30 km/h or lower and DOUT3 to high level for 20 seconds if speed is 30 km/h or lower. |