FMB setdigout

From Wiki Knowledge Base | Teltonika GPS


Sets digital outputs to ON or OFF state.
SMS format: setdigout XY <timeoutX> <timeoutY> <speedX> <speedY>

Both, timeout and speed arguments are not mandatory and do not have to be included in the message.
Timeout argument determines how long the state will be held.
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.

For devices with 2 digital outputs:
Example:
"setdigout 11" will set DOUT1 and DOUT2 to high level for infinite time.

Example:
"setdigout 01 30 60" will set DOUT1 to low level for 30 seconds and DOUT2 to high level for 60 seconds.

Example:
"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.

In order to leave state/timeout/speed unchanged, "?" symbol can be used:
Example:
"setdigout ?1" will leave DOUT1 state unchanged and set DOUT2 to high level for infinite time.

Example:
"setdigout 01 ? 60" will set DOUT1 to low level for infinite time and DOUT2 to high level for 60 seconds.

Example:
"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.

For devices with 1 digital output:
Example:
"setdigout 1 45" will set DOUT1 to high level for 45 seconds.

Example:
"setdigout 1 30 20" will set DOUT1 to high level for 30 seconds if speed is 20 km/h or lower.