Jump to content

FMA setdigout: Difference between revisions

From Teltonika Telematics Wiki
Created page with "{{Template:FMB FW development notice}} Sets digital outputs to ON or OFF state (for some time if needed). Value is written as a row for OUT1 and OUT2 values. <br/><br/> '''Fo..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:FMB FW development notice}}
{{Template:FMB FW development notice}}
==<span>'''setdigout ## Y1 Y2:'''</span>==


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.
<br/><br/>
<br/><br/>
'''For devices with 2 digital outputs:<br>'''
'''Example:'''<br/>"setdigout 01 0 5" will set OUT2 to high level for 5 seconds, while OUT1 to low level.
Example:<br/>"setdigout 01 0 5" will set OUT2 to high level for 5 seconds, while OUT1 to low level.
<br/><br/>
<br/><br/>
To ignore one digital output value and make ON/OFF state only to another digital output enter question mark.
To ignore one digital output value and make ON/OFF state only to another digital output enter question mark.
<br/><br/>
<br/><br/>
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.
 
==<span>'''setdigout X Z Y:'''</span>==
 
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.

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.