Phone:(705) 671-2652
    Fax:(705) 671-6127
   Email: tom@ontrak.net
Home Products Programming Applications Custom Designs Ordering News
    
adulogo.jpg (1752 bytes)  ADU Command Summary
                                

The ADU interfaces operate using simple ASCII commands. Following is a listing of commands for each available ADU product.

 ADU200s.jpg (4210 bytes)ADU200

RELAY COMMANDS ( PORT K )

  • SKn             Sets relay specified by n ( n = 0 ,1,2 or 3  )
  • RKn             Resets relay specified by n ( n= 0 , 1, 2 or 3 )
  • MKdd          Sets PORTK to decimal value dd  ( dd= 0 to 15 )
  • SPKxxxx     Sets PORT K to binary value xxxx  ( x= 0 or 1 )
  • RPKn          Returns status of relay specified by n ( n= 0 , 1, 2 or 3 )
  • RPK             Returns status of PORT K in binary format.
  • PK                Returns status of PORT K in decimal format.

DIGITAL COMMANDS ( PORT A )

  • RPAn           Returns status of Input   specified by n ( n= 0 , 1, 2 or 3 )
  • RPA              Returns status of PORT A in binary format.
  • PA                 Returns status of PORT A in decimal format.

EVENT COUNTER COMMAND SUMMARY

  • REx                Returns present count of event counter ( x = 0,1,2 3 or H )
  • RCx                Returns present count and clears event counter ( x = 0,1,2, 3 or H  )
  • DBn                Sets de-bounce time of event counters ( n=0,1,2 or 3 )
  • ( 0 =10ms, 1 = 1ms, 2  = 100us   )
  • DB                Returns present de-dounce setting.

SPECIAL FEATURE COMMAND SUMMARY

  • SBn                Sets baud rate of auxillary RS232 port. (n = 0,1,2 or 3  )
  • ( 0 =9600, 1 = 19.2K, 2 =38K,  3 = 56K   )
  • SB                   Returns present baud rate setting.
  • WDn                Sets watchdog timeout length (n = 0,1,2 or 3  )
  • ( 0 =WD OFF , 1 = 1s, 2 =10s,  3 = 1min.   )
  • WD                   Returns watchdog setting.

 


 Back to Programming Page

 
    
Contact Information
Address Telephone Electronic Mail
Ontrak Control Systems Inc.
764 Notre Dame Ave., Unit #1
Tel: (705) 671-2652 General Information Sales or Support
Sudbury,Ontario Fax:(705) 671-6127 tom@ontrak.net
CANADA P3A 2T2    
              
Next-Day shipping anywhere in Continental U.S. via Fed-Ex
Copyright 2012 ONTRAK CONTROL SYSTEMS 764 Notre Dame Ave, Unit #1 , Sudbury, Ontario, CANADA P3A 2T2  
"Quality serial Data Acquisition Interfaces"           PH. (705) 671-2652 FAX (705) 671-6127