Tramigo Ltd T-1304 Benutzerhandbuch

Seite von 78
 
 
 
 
  38 
 
6.2.17  
Input 
Command:  
 
input,portId,type,commandName,1/0,delay,on/off/both 
Alias:    
 
none 
Parameters:    
portId – Input port ID number 
Type – The type of the input port 
commandName – The report name for input event 
1/0 – High or low detection 
Delay – Delay after input is recognized 
on/off/both – Input reports to receive 
 
Description:    
Configure T23 input ports to receive signal from accessories 
Related Cmds: 
Report 
Security:  
 
Owner 
Message Format:  
Command Response 
Notes:  
1.  Port Ids are from 1-4. 
2.  Types can be Ignition, SOS, General, Sensor and HandsFree. 
 
Errors: 
1.  Parameter error 
Examples:  
 
INPUT,1,IGNITION,IGNITION,1,500,BOTH 
Tramigo: Input: 1, type: Ignition, literal: Ignition, high: 1, delay: 500, report when: 
both, 06:27 Dec 12 
 
 
Set reporting for PC: 
 
IGNITION,ON 
Tramigo: Ignition, reporting is turned on, 06:30 Dec 12 
 
 
Report when input is detected: 
Tramigo: Ignition on detected, 07:13:44 Dec 12 
 
 
Setting custom accessory input report for user #2: 
 
INPUT,3,SENSOR,LIGHT,0,1000,ON 
Tramigo: Input: 3, type: Sensor, literal: Light, high: 0, delay: 1000, report when: on, 
16:27 Dec 12 
 
REPORT,2,LIGHT,ON 
Tramigo: Light, reporting is turned on for user 2, 16:32 Dec 12 
 
Report when input is detected: 
Tramigo: Sensor (Light) on detected, stopped, at Valero Street-Rufino Street, Makati, 
NCR, PH, 14.55898, 121.01924, 16:39 Dec 12