Jump to content

FMA setdigout: Difference between revisions

From Teltonika Telematics Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Template:FMB FW development notice}}
{{Template:FMB FW development notice}}
'''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 8: Line 10:
<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.
'''setdigout X Z Y:'''<br/><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.

Revision as of 14:26, 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.