home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / papos2.zip / DRIVERS / TRIPP1.DRV < prev    next >
Text File  |  1999-01-07  |  10KB  |  530 lines

  1. Tripp1.drv - Initialization file for Tripp Lite smart UPS
  2. ***Changes from v2.2 and 2.3 of TRIPP1.DRV
  3. //Moved :I and :M from InitCommands to DataCommands
  4. //Input Voltage Max and Min corrected formula
  5. //UPS temp thresholds raised above at rest levels
  6.  
  7. [UPS]
  8. Manufacturer=Tripp Lite
  9. Model=Smart,Unison
  10. Driver=Tripp1
  11. Version=2.4
  12. Date=12/18/1998
  13. Type=Smart
  14.  
  15. [Communications]
  16. BaudRates=2400
  17. PollInterval=1000
  18.  
  19. [InitCommands]
  20. Command=:W[CR]
  21. Response=:W[CR][LF][X][CR][LF]
  22.  
  23. Command=:L[CR]
  24. Response=:L[CR][LF][X][CR][LF]
  25.  
  26. Command=:V[CR]
  27. Response=:V[CR][LF][X][CR][LF]
  28.  
  29. Command=:I[CR]
  30. Response=:I[CR][LF][X][CR][LF]
  31.  
  32. Command=:M[CR]
  33. Response=:M[CR][LF][X][CR][LF]
  34.  
  35. [UserControls]
  36. Name=Initiate Inverter Self-Test
  37. CommandType1=C
  38. Command1=:A[CR]
  39. CommandType2=P
  40. Command2=PAUSE
  41. Data2=6
  42. DataType2=I
  43. CommandType3=C
  44. Command3=:C[CR]
  45.  
  46. Name=Shut Off UPS
  47. CommandType1=C
  48. Command1=:N[X][CR]
  49. Data1=0
  50. DataType1=I
  51. DataDesc1=Delay (seconds)
  52. Minimum1=0
  53. Maximum1=255
  54. CommandType2=C
  55. /Command2=:G[CR]
  56. Command2=:[X][CR]
  57. ShutdownControl=1
  58. ShutdownDelayData=1
  59. Schedule=0
  60.  
  61. Name=Reboot UPS
  62. CommandType1=C
  63. Command1=:N[X][CR]
  64. Data1=15
  65. DataType1=I
  66. DataDesc1=Delay before reboot (seconds)
  67. Minimum1=1
  68. Maximum1=255
  69. CommandType2=C
  70. Command2=:H[X][CR]
  71. Data2=60
  72. DataType2=I
  73. DataDesc2=Delay before restarting UPS (seconds)
  74. Minimum2=2
  75. Maximum2=16777215
  76.  
  77. Name=Turn Receptacles On
  78. CommandType1=C
  79. Command1=:N[X][CR]
  80. Data1=15
  81. DataType1=I
  82. DataDesc1=Delay (seconds)
  83. Minimum1=0
  84. Maximum1=255
  85. CommandType2=C
  86. Command2=:K1[CR]
  87.  
  88. Name=Turn Receptacles Off
  89. CommandType1=C
  90. Command1=:N[X][CR]
  91. Data1=15
  92. DataType1=I
  93. DataDesc1=Delay (seconds)
  94. Minimum1=0
  95. Maximum1=255
  96. CommandType2=C
  97. Command2=:K0[CR]
  98.  
  99. Name=Enable Remote Reboot
  100. CommandType1=C
  101. Command1=:Q1[CR]
  102. Schedule=0
  103.  
  104. Name=Enable Remote Power On
  105. CommandType1=C
  106. Command1=:Q0[CR]
  107. Schedule=0
  108.  
  109. // **** TEMPLATE SECTION ****
  110. // -- ENGLISH --
  111. // copy the following UserControl as needed as many times as you like
  112. // below this TEMPLATE.  Each copy MUST have a UNIQUE name.  Only the
  113. // DATA1 and DATA2 keywords below may be modified.  The Data1 value must
  114. // reside within, including, 1 and 255.  The Data2 value must reside
  115. // within, including, 2 and 16777215.  These values are seconds until
  116. // UPS turn OFF and UPS turn ON, respectively.
  117. // -- FRANCES --
  118. //
  119. // -- ALEMAN --
  120. //
  121. // -- ESPANOL --
  122. //
  123. //
  124. ----------------------------------------------------------------------------
  125. ------
  126. Name=UPS Reboot with Delayed Restart (Template1)
  127. CommandType1=C
  128. Command1=:N[X][CR]
  129. Data1=15
  130. DataType1=I
  131. DataDesc1=Delay before reboot (seconds)
  132. Minimum1=1
  133. Maximum1=255
  134. CommandType2=C
  135. Command2=:H[X][CR]
  136. Data2=60
  137. DataType2=I
  138. DataDesc2=Delay before restarting UPS (seconds)
  139. Minimum2=2
  140. Maximum2=16777215
  141.  
  142. // **** END OF TEMPLATE SECTION ****
  143. //
  144. ----------------------------------------------------------------------------
  145. ------
  146.  
  147. [ControlCommands]
  148. Command=:[X][CR]
  149. Formula=Table2([UPS Mode],2,0,1,K0,G,)
  150. Response=[X]
  151.  
  152. Command=:A[CR]
  153. Response=[X]
  154.  
  155. Command=:C[CR]
  156. Response=:C[CR][LF][X][CR][LF]
  157.  
  158. Command=:N[X][CR]
  159. Formula=HEX2([X],2)
  160. Response=[X]
  161.  
  162. Command=:G[CR]
  163. Response=[X]
  164.  
  165. Command=:K0[CR]
  166. Response=[X]
  167.  
  168. Command=:K1[CR]
  169. Response=[X]
  170.  
  171. Command=:Q0[CR]
  172. Response=[X]
  173.  
  174. Command=:Q1[CR]
  175. Response=[X]
  176.  
  177. Command=:H[X][CR]
  178. Formula=HEX2([X],6)
  179. Response=[X]
  180.  
  181. [DataCommands]
  182. Command=:D[CR]
  183. Response=:D[CR][LF][X][CR][LF]
  184. Length=21
  185. Mask=HHHHHHHHHHHHHHHHHHHHH
  186.  
  187. Command=:B[CR]
  188. Response=:B[CR][LF][X][CR][LF]
  189. Length=2
  190. Mask=HH
  191.  
  192. [Variables]
  193. Name=Date UPS Installed
  194. CommandType=F
  195. Type=D
  196. DisplayMask=10000000
  197. Default=INITIAL_DATE_UPS_INSTALLED
  198.  
  199. Name=Nominal Voltage
  200. CommandType=F
  201. Type=E
  202. Units=100,120,208,230,240
  203. DisplayMask=00000000
  204. Default=INITIAL_UPS_NOM_VOLTAGE
  205.  
  206. Name=Self-Test Date
  207. CommandType=C
  208. Command=:C[CR]
  209. Type=D
  210. Formula=[Date]
  211. DisplayMask=10000000
  212. Default=None
  213.  
  214. Name=Battery Age (Days)
  215. CommandType=I
  216. Type=I
  217. Formula=DAYS([Date],[Date UPS Installed])
  218. /Units=Days
  219. Command=:W[CR]
  220. DisplayMask=10000000
  221.  
  222. Name=UPS Software Version
  223. CommandType=I
  224. Type=S
  225. Formula=[X]
  226. Command=:V[CR]
  227. DisplayMask=10000000
  228.  
  229. Name=L Result
  230. CommandType=I
  231. Type=I
  232. Formula=HEX1([X])
  233. Command=:L[CR]
  234. DisplayMask=00000000
  235.  
  236. Name=W Result
  237. CommandType=I
  238. Formula=HEX1([X])
  239. Type=I
  240. Command=:W[CR]
  241. DisplayMask=00000000
  242.  
  243. Name=Unit Type
  244. CommandType=I
  245. Units=Smart,Unison
  246. Formula=([W Result]<<1)>>7
  247. Type=E
  248. Command=:W[CR]
  249. DisplayMask=00000000
  250.  
  251. Name=VA Rating New
  252. CommandType=I
  253. Formula=((([W Result]<<2)*8)+([L Result]>>3))*5
  254. Type=I
  255. Command=:L[CR]
  256. DisplayMask=00000000
  257.  
  258. Name=VA Rating Old
  259. CommandType=I
  260. Formula=[L Result]/2
  261. Type=E
  262. Units=Unknown,500,600,750,900,1250,1600,2000,3000,5000,250,400
  263. Command=:L[CR]
  264. DisplayMask=00000000
  265.  
  266. Name=VA Rating
  267. CommandType=I
  268. Formula=(([W Result]<128)*[VA Rating Old])+(([W Result]>=128)*[VA Rating New])
  269. Command=:L[CR]
  270. Type=I
  271. DisplayMask=00000000
  272.  
  273. Name=Model
  274. CommandType=I
  275. Formula=[*Unit Type] [VA Rating]
  276. Type=S
  277. Command=:L[CR]
  278. DisplayMask=10000000
  279.  
  280. Name=Self-Test Status
  281. CommandType=C
  282. Type=E
  283. Units=Test OK,Battery Bad - Replace,In Progress,Bad Inverter,Unknown
  284. Command=:C[CR]
  285. DisplayMask=10000000
  286. MeterColors=31210
  287. Default=4
  288.  
  289. Name=UPS Mode
  290. Type=E
  291. Units=Normal,On Battery
  292. Command=:D[CR]
  293. Formula=(SS([X],5,1)==1)+(SS([X],5,1)==3)
  294. DisplayMask=10000000
  295. MeterColors=31
  296. Status=1
  297.  
  298. Name=Receptacle Status
  299. Type=E
  300. Units=Off,On
  301. Command=:D[CR]
  302. Formula=SS([X],5,1)>1
  303. DisplayMask=10000000
  304. MeterColors=13
  305.  
  306. Name=Input Voltage
  307. Type=F1
  308. Command=:D[CR]
  309. Formula=HEX1(SS([X],2,2))*[*Nominal Voltage]/120
  310. Units=V
  311. Thresholds=[*Nominal Voltage]*0.85,[*Nominal Voltage]*0.9,[*Nominal Voltage]*1.1,[*Nominal Voltage]*1.15
  312. MeterColors=12321
  313. Scale=0,[*Nominal Voltage]*1.25
  314. DisplayMask=10100000
  315.  
  316. Name=Output Load
  317. Type=F1
  318. Command=:D[CR]
  319. Formula=HEX1(SS([X],12,2))
  320. Units=%
  321. Thresholds=80,90
  322. MeterColors=321
  323. DisplayMask=10100000
  324.  
  325. Name=Tap State
  326. Type=E
  327. Command=:D[CR]
  328. Units=Normal,Reducing,Boost,Extra Boost
  329. Formula=SS([X],4,1)
  330. MeterColors=3221
  331. DisplayMask=10000000
  332.  
  333. Name=Battery Voltage
  334. Type=F1
  335. Command=:B[CR]
  336. Formula=HEX1([X])/10
  337. Units=V
  338. Scale=0,15
  339. DisplayMask=10100000
  340.  
  341. Name=Battery Capacity
  342. Type=I
  343. Command=:B[CR]
  344. Formula=Table2([Battery Voltage],10,0,11,11.2,11.4,11.6,11.8,12,12.2,12.5,13.2,10,20,30,40,50,60,70,80,90,100,)
  345. Units=%
  346. Thresholds=30,70
  347. MeterColors=123
  348. Status=2
  349. DisplayMask=10100000
  350.  
  351. Name=Temperature (C)
  352. Type=F1
  353. Units=C
  354. Command=:D[CR]
  355. Formula=HEX1(SS([X],6,2))*0.3636-21.0
  356. Thresholds=49,50
  357. MeterColors=321
  358. Scale=10,50
  359. DisplayMask=10100000
  360.  
  361. Name=Temperature (F)
  362. Type=F1
  363. Units=F
  364. Command=:D[CR]
  365. Formula=[Temperature (C)]*1.8+32
  366. Thresholds=120,125
  367. MeterColors=321
  368. Scale=50,120
  369. DisplayMask=10100000
  370.  
  371. Name=Minimum Input Voltage
  372. Type=F1
  373. Units=V
  374. Command=:I[CR]
  375. Formula=HEX1([X])*[*Nominal Voltage]/120
  376. DisplayMask=10000000
  377. CommandType=I
  378.  
  379. Name=Maximum Input Voltage
  380. Type=F1
  381. Units=V
  382. Command=:M[CR]
  383. Formula=HEX1([X])*[*Nominal Voltage]/120
  384. DisplayMask=10000000
  385. CommandType=I
  386.  
  387. Name=Frequency
  388. Type=F1
  389. Units=Hz
  390. Command=:D[CR]
  391. Formula=(HEX1(SS([X],18,3))/10)*(1-[UPS Mode])
  392. Scale=0,70
  393. DisplayMask=10100000
  394.  
  395. Name=Battery Voltage Condition
  396. Type=E
  397. Units=Low,OK
  398. Command=:D[CR]
  399. Formula=SS([X],0,1)
  400. MeterColors=13
  401. DisplayMask=10000000
  402.  
  403. Name=Load State
  404. Type=E
  405. Units=Overload,OK
  406. Command=:D[CR]
  407. Formula=SS([X],1,1)
  408. MeterColors=13
  409. DisplayMask=10000000
  410.  
  411. [Display]
  412. Meter1=Input Voltage
  413. Meter2=Output Load
  414. Meter3=Battery Capacity
  415. Meter4=Battery Voltage
  416. Text1=Model
  417. Text2=UPS Mode
  418. Text3=Tap State
  419. Text4=Temperature (F)
  420. Text5=Frequency
  421. Text6=Battery Voltage Condition
  422. Text7=Load State
  423.  
  424. [Events]
  425. NameSet=UPS On Battery
  426. NameClear=UPS On Utility Power
  427. Category=2
  428. Formula=[UPS Mode]==1
  429. Command=:D[CR]
  430. ActionMask=10011000
  431. BroadcastDelay=30
  432. BroadcastInt=60
  433. CommandDelay=60
  434. PageDelay=60
  435. OSDelay=120
  436. UPSDelay=360
  437.  
  438. NameSet=UPS Battery Low
  439. NameClear=UPS Battery Okay
  440. Category=1
  441. Formula=[Battery Voltage Condition]==0
  442. Command=:D[CR]
  443. ActionMask=10011000
  444. BroadcastDelay=0
  445. BroadcastInt=60
  446. CommandDelay=0
  447. PageDelay=0
  448. OSDelay=60
  449. UPSDelay=180
  450.  
  451. NameSet=Overload
  452. NameClear=UPS Load Okay
  453. Category=1
  454. Formula=[Load State]==0
  455. Command=:D[CR]
  456. ActionMask=10000000
  457. BroadcastDelay=30
  458. BroadcastInt=60
  459. CommandDelay=60
  460. PageDelay=60
  461. OSDelay=120
  462. UPSDelay=360
  463.  
  464. NameSet=Temperature High
  465. NameClear=Temperature Okay
  466. Category=1
  467. Formula=[Temperature (C)]>=60
  468. Command=:D[CR]
  469. ActionMask=10000000
  470. BroadcastDelay=30
  471. BroadcastInt=60
  472. CommandDelay=60
  473. PageDelay=60
  474. OSDelay=120
  475. UPSDelay=360
  476.  
  477. NameSet=UPS Battery Below Half Power
  478. NameClear=UPS Battery Above Half Power
  479. Category=1
  480. Formula=[Battery Capacity]<50
  481. Command=:B[CR]
  482. ActionMask=10000000
  483. BroadcastDelay=30
  484. BroadcastInt=60
  485. CommandDelay=60
  486. PageDelay=60
  487. OSDelay=120
  488. UPSDelay=360
  489.  
  490. NameSet=Self-Test Failed
  491. NameClear=Self-Test Passed
  492. Category=1
  493. Formula=([Self-Test Status]==1)+([Self-Test Status]==3)
  494. CommandType=C
  495. Command=:C[CR]
  496. ActionMask=10000000
  497. BroadcastDelay=30
  498. BroadcastInt=60
  499. CommandDelay=60
  500. PageDelay=60
  501. OSDelay=120
  502. UPSDelay=360
  503. SelfTestEvent=1
  504.  
  505. NameSet=UPS Battery Over 3 Years Old
  506. NameClear=UPS Battery Age Is OK
  507. Category=1
  508. Formula=[Battery Age (Days)]>1096
  509. CommandType=I
  510. Command=:W[CR]
  511. ActionMask=00000000
  512. BroadcastDelay=30
  513. BroadcastInt=60
  514. CommandDelay=60
  515. PageDelay=60
  516. OSDelay=120
  517. UPSDelay=360
  518.  
  519. NameSet=UPS Communications Lost
  520. NameClear=UPS Communications Established
  521. Category=1
  522. ActionMask=10000000
  523. BroadcastDelay=30
  524. BroadcastInt=60
  525. CommandDelay=60
  526. PageDelay=60
  527. OSDelay=120
  528. UPSDelay=360
  529. UPSCommEvent=1
  530.