Difference between revisions of "TRB142 Input/Output"

From Teltonika Networks Wiki
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Template: Networking_rutos_manual_input_output
+
==Summary==
<!------------------------DEVICE----------------------->
+
 
| name          = TRB142
+
{{Template: webui_services_input_output_summary}}
| series        = TRB1
+
 
<!----------------------SEPARATORS--------------------->
+
==Status==
| analog        = 0    <!-- 0 - doesn't have Analog Input; 1 - has Analog Input -->
+
 
| configurableio = 1    <!-- 0 - doesn't have Configurable I/O; 1 - has Configurable I/O -->
+
{{Template: webui_services_input_output_status}}
| dualsim        = 0    <!-- 0 - doesn't have Dual SIM; 1 - has Dual SIM -->
+
 
| input_volts    = 9-30  <!-- Input voltage range -->
+
[[File:Trb142 webui services input output status v1.png]]
| juggler_input  = 1    <!-- first input on the I/O Juggler list. 0 - Input; 1 - Configurable I/O; 2 - Passive/Active Input -->
+
 
| mobile        = 1    <!-- 0 - doesn't have mobile; 1 - has mobile -->
+
===Status: custom labels===
| acl            = 0    <!-- 0 - doesn't have Analog Current Loop; 1 - has Analog Current Loop -->
+
----
}}
+
{{Template: webui_services_input_output_status_custom_labels}}
 +
 
 +
[[File:Trb142 webui services input output status edit custom labels v1.png]]
 +
 
 +
==Output==
 +
 
 +
{{Template: webui_services_input_output_output}}
 +
 
 +
===Output Configuration===
 +
----
 +
{{Template: webui_services_input_output_output_configuration}}
 +
 
 +
[[File:Trb142 webui services input output output configuration v1.png]]
 +
 
 +
{{Template: webui_services_input_output_output_configuration_table}}
 +
 
 +
===ON/OFF===
 +
----
 +
{{Template: webui_services_input_output_on_off}}
 +
 
 +
[[File:Trb142 webui services input output output on off v1.png]]
 +
 
 +
{{Template: webui_services_input_output_on_off_table}}
 +
 
 +
===POST/GET Configuration===
 +
----
 +
{{Template: webui_services_input_output_post_get_configuration}}
 +
 
 +
[[File:Trb142 webui services input output output post get configuration v1.png]]
 +
 
 +
{{Template: webui_services_input_output_post_get_configuration_table}}
 +
 
 +
====POST/GET usage====
 +
----
 +
{{Template: webui_services_input_output_post_get_configuration_usage}}
 +
 
 +
{{Template: webui_services_input_output_post_get_configuration_usage_table}}
 +
 
 +
{| class="wikitable"
 +
|+
 +
! style="width: 350px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | ACTION
 +
! style="width: 729px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | POST/GET URL EXAMPLE
 +
|-
 +
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc</nowiki>
 +
|-
 +
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output OFF
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=off&pin=oc</nowiki>
 +
|-
 +
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON after a 10 second delay
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10</nowiki>
 +
|-
 +
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON for 5 seconds
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&time=5</nowiki>
 +
|-
 +
! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Turn open collector (OC) output ON for 5 seconds after a 10 second delay
 +
| style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | <nowiki>http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10&time=5</nowiki>
 +
|-
 +
|}
 +
 
 +
===Scheduler===
 +
----
 +
{{Template: webui_services_input_output_scheduler}}
 +
 
 +
The figure below is an example of the Scheduler section:
 +
 
 +
[[File:Trb142 webui services input output output scheduler v1.png]]

Revision as of 14:52, 19 October 2018

Main Page > TRB Gateways > TRB142 > TRB142 Manual > TRB142 WebUI > TRB142 Services section > TRB142 Input/Output

Summary

Template:Webui services input output summary

Status

Template:Webui services input output status

Trb142 webui services input output status v1.png

Status: custom labels


Template:Webui services input output status custom labels

Trb142 webui services input output status edit custom labels v1.png

Output

Template:Webui services input output output

Output Configuration


Template:Webui services input output output configuration

Trb142 webui services input output output configuration v1.png

Template:Webui services input output output configuration table

ON/OFF


Template:Webui services input output on off

Trb142 webui services input output output on off v1.png

Template:Webui services input output on off table

POST/GET Configuration


Template:Webui services input output post get configuration

Trb142 webui services input output output post get configuration v1.png

Template:Webui services input output post get configuration table

POST/GET usage


Template:Webui services input output post get configuration usage

Template:Webui services input output post get configuration usage table

ACTION POST/GET URL EXAMPLE
Turn open collector (OC) output ON http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc
Turn open collector (OC) output OFF http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=off&pin=oc
Turn open collector (OC) output ON after a 10 second delay http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10
Turn open collector (OC) output ON for 5 seconds http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&time=5
Turn open collector (OC) output ON for 5 seconds after a 10 second delay http://192.168.2.1/cgi-bin/output?username=admin&password=admin&action=on&pin=oc&delay=10&time=5

Scheduler


Template:Webui services input output scheduler

The figure below is an example of the Scheduler section:

Trb142 webui services input output output scheduler v1.png