top01.jpg (17169 bytes)
mleft.jpg (4986 bytes) m01a.jpg (6169 bytes)     m02a.jpg (6905 bytes)     m03a.jpg (7743 bytes)    m04a.jpg (7456 bytes)     m05a.jpg (7878 bytes)     m06a.jpg (6862 bytes)     m07a.jpg (6076 bytes) mright01.jpg (5078 bytes)

ADU Command Summary                                 adulogo.jpg (1752 bytes)

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 =100ms, 1 = 10ms, 2 = 1ms,  3 = 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

NEWS         PRODUCTS         PROGRAMMING          APPLICATIONS          CUSTOM DESIGN          ORDERING          HOME


TestPoint is a trademark of Capital Equipment Corp.   
LabVIEW is a trademark of National Instruments.
Visual BASIC is a trademark of Microsoft Corporation


Copyright © 1999 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