Difference between revisions of "FMA setdigout"

From Wiki Knowledge Base | Teltonika GPS
 
Line 1: Line 1:
 
{{Template:FMB FW development notice}}
 
{{Template:FMB FW development notice}}
 
+
==<span>'''setdigout ## Y1 Y2:'''</span>==
'''setdigout ## Y1 Y2:'''<br/><br/>
 
  
 
Sets digital outputs to ON or OFF state (for some time if needed). Value is written as a row for OUT1 and OUT2 values.
 
Sets digital outputs to ON or OFF state (for some time if needed). Value is written as a row for OUT1 and OUT2 values.
Line 11: Line 10:
 
'''Example:'''<br/>"setdigout ?1" will set OUT2 to high level for indefinite period of time while OUT1 remains as it was set before.
 
'''Example:'''<br/>"setdigout ?1" will set OUT2 to high level for indefinite period of time while OUT1 remains as it was set before.
  
'''setdigout X Z Y:'''<br/><br/>
+
==<span>'''setdigout X Z Y:'''</span>==
 +
 
 
Sets selected digital output to on or OFF state for a defined period of time.<br/>
 
Sets selected digital output to on or OFF state for a defined period of time.<br/>
 
'''Example:'''<br/>"setdigout2 1 5" will set DOUT2 to high level for 5 seconds.
 
'''Example:'''<br/>"setdigout2 1 5" will set DOUT2 to high level for 5 seconds.

Latest revision as of 14:35, 22 August 2018

setdigout ## Y1 Y2:

Sets digital outputs to ON or OFF state (for some time if needed). Value is written as a row for OUT1 and OUT2 values.

Example:
"setdigout 01 0 5" will set OUT2 to high level for 5 seconds, while OUT1 to low level.

To ignore one digital output value and make ON/OFF state only to another digital output enter question mark.

Example:
"setdigout ?1" will set OUT2 to high level for indefinite period of time while OUT1 remains as it was set before.

setdigout X Z Y:

Sets selected digital output to on or OFF state for a defined period of time.
Example:
"setdigout2 1 5" will set DOUT2 to high level for 5 seconds.