home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / papos2.zip / DRIVERS / APC1.DRV next >
Text File  |  1999-01-07  |  8KB  |  526 lines

  1. // apc1.drv - driver file for APC smart units
  2.  
  3. [UPS]
  4. Manufacturer=American Power Conversion
  5. Model=SmartUPS
  6. Driver=apc1
  7. Version=2.0
  8. Date=3/20/1998
  9. Type=Smart
  10.  
  11. [Communications]
  12. BaudRate=2400
  13. PollInterval=500
  14. Delay=100
  15.  
  16. [InitCommands]
  17. Command=Y
  18. Response=[X][CR][LF]
  19.  
  20. Command=g
  21. Response=[X][CR][LF]
  22.  
  23. Command=n
  24. Response=[X]
  25.  
  26. Command=V
  27. Response=[X][CR][LF]
  28.  
  29. Command=l
  30. Response=[X][CR][LF]
  31.  
  32. Command=u
  33. Response=[X][CR][LF]
  34.  
  35. Command=o
  36. Response=[X][CR][LF]
  37.  
  38. Command=q
  39. Response=[X][CR][LF]
  40.  
  41. Command=p
  42. Response=[X][CR][LF]
  43.  
  44. Command=r
  45. Response=[X][CR][LF]
  46.  
  47. Command=e
  48. Response=[X][CR][LF]
  49.  
  50. [UserControls]
  51. Name=Reboot UPS
  52. CommandType1=C
  53. Command1=@[X]
  54. Data1=0
  55. DataType1=I
  56. DataDesc1=Delay before restarting UPS (minutes)
  57. Minimum1=0
  58. Maximum1=5994
  59. Interval1=6
  60.  
  61. Name=Test UPS Alarm
  62. CommandType1=C
  63. Command1=A
  64. Schedule=0
  65.  
  66. Name=Run Time Calibration (if battery at 100%)
  67. CommandType1=C
  68. Command1=D
  69.  
  70. Name=Initiate Self-Test
  71. CommandType1=C
  72. Command1=W
  73. CommandType2=P
  74. Command2=PAUSE
  75. Data2=10
  76. DataType2=I
  77. CommandType3=C
  78. Command3=X
  79.  
  80. Name=Shut Off Inverter (if on battery)
  81. CommandType1=C
  82. Command1=S
  83. ShutdownControl=1
  84. /ShutdownDelayData=1
  85. Schedule=0
  86.  
  87. Name=Set Low Voltage Transfer Point
  88. CommandType1=I
  89. Command1=l
  90. CommandType2=C
  91. Command2=l[X]
  92. DataType2=E
  93. DataDesc2=Low Voltage Transfer Point (V)
  94. EnumValues2=97,100,103,106
  95. CommandType3=I
  96. Command3=l
  97. Schedule=0
  98.  
  99. Name=Set High Voltage Transfer Point
  100. CommandType1=I
  101. Command1=u
  102. CommandType2=C
  103. Command2=u[X]
  104. DataType2=E
  105. DataDesc2=High Voltage Transfer Point (V)
  106. EnumValues2=129,132,135,138
  107. CommandType3=I
  108. Command3=u
  109. Schedule=0
  110.  
  111. Name=Set UPS Wakeup Delay (%)
  112. CommandType1=I
  113. Command1=e
  114. CommandType2=C
  115. Command2=e[X]
  116. DataType2=E
  117. DataDesc2=UPS Wakeup Delay (%)
  118. EnumValues2=0,15,50,90
  119. CommandType3=I
  120. Command3=e
  121. Schedule=0
  122.  
  123. Name=Set UPS Wakeup Delay (Sec)
  124. CommandType1=I
  125. Command1=r
  126. CommandType2=C
  127. Command2=r[X]
  128. DataType2=E
  129. DataDesc2=UPS Wakeup Delay (Sec)
  130. EnumValues2=0,60,180,300
  131. CommandType3=I
  132. Command3=r
  133. Schedule=0
  134.  
  135. Name=Set UPS Low Battery Signal Time
  136. CommandType1=I
  137. Command1=q
  138. CommandType2=C
  139. Command2=q[X]
  140. DataType2=E
  141. DataDesc2=UPS Low Battery Signal Time (Min)
  142. EnumValues2=2,5,7,10
  143. CommandType3=I
  144. Command3=q
  145. Schedule=0
  146.  
  147. Name=Set UPS Turnoff Delay
  148. CommandType1=I
  149. Command1=p
  150. CommandType2=C
  151. Command2=p[X]
  152. DataType2=E
  153. DataDesc2=UPS Turnoff Delay (Sec)
  154. EnumValues2=20,180,300,600
  155. CommandType3=I
  156. Command3=p
  157. Schedule=0
  158.  
  159. [ControlCommands]
  160. Command=@[X]
  161. Formula=INT([X]/6,3)
  162. Response=[X]
  163.  
  164. Command=A
  165. Response=OK[CR][LF]
  166.  
  167. Command=X
  168. Response=[X][CR][LF]
  169.  
  170. Command=D
  171. Response=[X]
  172.  
  173. Command=W
  174. Response=OK[CR][LF]
  175.  
  176. Command=S
  177. Response=[X]
  178.  
  179. Command=l[X]
  180. Formula=Table2([Low Transfer Point]-[X],7,-9,-6,-3,0,3,6,9,+,+l+,-,,+,+l+,-,)
  181. Response=[X]
  182.  
  183. Command=u[X]
  184. Formula=Table2([High Transfer Point]-[X],7,-9,-6,-3,0,3,6,9,-,+u+,+,,-,+u+,+,)
  185. Response=[X]
  186.  
  187. Command=r[X]
  188. Formula=Table2([UPS Wakeup Delay (Sec)]-[X],10,-300,-240,-180,-120,-60,60,120,180,240,300,-,+r+,+r+,+,+,-,-,+r+,+r+,+,)
  189. Response=[X]
  190.  
  191. Command=e[X]
  192. Formula=Table2([UPS Wakeup Delay (%)]-[X],12,-90,-75,-50,-40,-35,-15,15,35,40,50,75,90,-,+e+,+e+,+,+,+,-,-,-,+e+,+e+,+,)
  193. Response=[X]
  194.  
  195. Command=q[X]
  196. Formula=Table2([Low Battery Signal Time]-[X],8,-8,-5,-3,-2,2,3,5,8,-,+q+,+,+,-,-,+q+,+,)
  197. Response=[X]
  198.  
  199. Command=p[X]
  200. Formula=Table2([UPS Turnoff Delay]-[X],12,-580,-420,-300,-280,-160,-120,120,160,280,300,420,580,-,+p+,+,+p+,+,+,-,-,+p+,-,+p+,+,)
  201. Response=[X]
  202.  
  203. [DataCommands]
  204. Command=L
  205. Response=[X][CR][LF]
  206.  
  207. Command=F
  208. Response=[X][CR][LF]
  209.  
  210. Command=f
  211. Response=[X][CR][LF]
  212.  
  213. Command=P
  214. Response=[X][CR][LF]
  215.  
  216. Command=O
  217. Response=[X][CR][LF]
  218.  
  219. Command=B
  220. Response=[X][CR][LF]
  221.  
  222. Command=j
  223. Response=[X]:[CR][LF]
  224.  
  225. Command=C
  226. Response=[X][CR][LF]
  227.  
  228. Command=M
  229. Response=[X][CR][LF]
  230.  
  231. Command=N
  232. Response=[X][CR][LF]
  233.  
  234. [Variables]
  235. Name=Date UPS Installed
  236. CommandType=F
  237. Type=D
  238. DisplayMask=10000000
  239. Default=19971001
  240.  
  241. Name=Battery Age
  242. CommandType=I
  243. Type=I
  244. Units=Days
  245. Formula=DAYS([Date],[Date UPS Installed])
  246. Command=Y
  247. DisplayMask=10000000
  248.  
  249. Name=Nominal Voltage
  250. CommandType=I
  251. Units=V
  252. Command=o
  253. Type=I
  254. DisplayMask=10000000
  255.  
  256. Name=Nominal Battery Voltage
  257. Units=V
  258. CommandType=I
  259. Command=g
  260. Type=F
  261. DisplayMask=11110000
  262.  
  263. Name=Output Frequency
  264. Units=Hz
  265. Command=F
  266. Type=F
  267. DisplayMask=10100000
  268. Scale=0,70
  269.  
  270. Name=Battery Capacity
  271. Units=%
  272. Command=f
  273. Type=F
  274. Thresholds=30,70
  275. MeterColors=123
  276. Status=2
  277. DisplayMask=10100000
  278.  
  279. Name=Output Load
  280. Units=%
  281. Command=P
  282. Type=F
  283. Thresholds=80,90
  284. MeterColors=321
  285. DisplayMask=10100000
  286.  
  287. Name=Input Voltage
  288. Units=V
  289. Command=L
  290. Type=F
  291. Thresholds=102,108,132,138
  292. MeterColors=12321
  293. Scale=0,150
  294. DisplayMask=10100000
  295.  
  296. Name=Output Voltage
  297. Units=V
  298. Command=O
  299. Type=F
  300. Thresholds=102,108,132,138
  301. MeterColors=12321
  302. Scale=0,150
  303. DisplayMask=10100000
  304.  
  305. Name=Battery Voltage
  306. Units=V
  307. Command=B
  308. Type=F
  309. Scale=0,50
  310. DisplayMask=10100000
  311.  
  312. Name=Model
  313. CommandType=I
  314. Command=Y
  315. Type=S
  316. Formula=Smart-UPS
  317. DisplayMask=10000000
  318.  
  319. Name=UPS Serial Number
  320. CommandType=I
  321. Command=n
  322. Type=S
  323. DisplayMask=10000000
  324.  
  325. Name=Battery Time
  326. Units=Min
  327. Command=j
  328. Type=I
  329. DisplayMask=11110000
  330. Thresholds=5,10
  331. MeterColors=123
  332. DisplayMask=10100000
  333.  
  334. Name=UPS Mode
  335. Units=Normal,On Battery
  336. Command=L
  337. Formula=[X]<97
  338. Type=E
  339. DisplayMask=10000000
  340. MeterColors=31
  341. Status=1
  342.  
  343. Name=Low Transfer Point
  344. CommandType=I
  345. Units=V
  346. Command=l
  347. Type=I
  348. DisplayMask=10000000
  349.  
  350. Name=High Transfer Point
  351. CommandType=I
  352. Units=V
  353. Command=u
  354. Type=I
  355. DisplayMask=10000000
  356.  
  357. Name=Firmware Version
  358. CommandType=I
  359. Command=V
  360. Type=S
  361. DisplayMask=10000000
  362.  
  363. Name=Low Battery Signal Time
  364. CommandType=I
  365. Units=Min
  366. Command=q
  367. Type=I
  368. DisplayMask=10000000
  369.  
  370. Name=UPS Turnoff Delay
  371. CommandType=I
  372. Units=Sec
  373. Command=p
  374. Type=I
  375. DisplayMask=10000000
  376.  
  377. Name=UPS Wakeup Delay (Sec)
  378. CommandType=I
  379. Units=Sec
  380. Command=r
  381. Type=I
  382. DisplayMask=10000000
  383.  
  384. Name=UPS Wakeup Delay (%)
  385. CommandType=I
  386. Units=%
  387. Command=e
  388. Type=I
  389. DisplayMask=10000000
  390.  
  391. Name=Minimum Input Voltage
  392. Units=V
  393. Command=N
  394. Type=F
  395. DisplayMask=11110000
  396.  
  397. Name=Maximum Input Voltage
  398. Units=V
  399. Command=M
  400. Type=F
  401. DisplayMask=11110000
  402.  
  403. Name=Temperature (C)
  404. Units=C
  405. Command=C
  406. Formula=[X]
  407. Type=F
  408. Thresholds=43,49
  409. MeterColors=321
  410. Scale=10,50
  411. DisplayMask=10100000
  412.  
  413. Name=Temperature (F)
  414. Units=F
  415. Command=C
  416. Formula=([X]*1.8)+32
  417. Type=F
  418. Thresholds=110,120
  419. MeterColors=321
  420. Scale=50,120
  421. DisplayMask=10100000
  422.  
  423. Name=Self-Test Status
  424. CommandType=C
  425. Command=X
  426. Formula=Table3([X],2,OK,NO,0,1,2,)
  427. Type=E
  428. Units=Pass,Fail,Unknown
  429. DisplayMask=10000000
  430. MeterColors=312
  431. Default=2
  432.  
  433. [Display]
  434. Meter1=Input Voltage
  435. Meter2=Output Load
  436. Meter3=Battery Capacity
  437. Meter4=Battery Voltage
  438. Text1=Model
  439. Text2=UPS Mode
  440. Text3=Battery Time
  441. Text4=Temperature (F)
  442. Text5=Battery Voltage
  443. Text6=Output Frequency
  444. Text7=Output Voltage
  445.  
  446. [Events]
  447. NameSet=UPS On Battery
  448. NameClear=UPS On Utility Power
  449. Formula=[Input Voltage]<97
  450. Command=L
  451. Category=2
  452. ActionMask=10110000
  453. BroadcastDelay=30
  454. BroadcastInt=120
  455. CommandDelay=60
  456. PageDelay=60
  457. OSDelay=120
  458. UPSDelay=360
  459.  
  460. NameSet=Overload
  461. NameClear=UPS Load Okay
  462. Category=1
  463. Formula=[Output Load]>95
  464. Command=P
  465. ActionMask=10000000
  466. BroadcastDelay=30
  467. BroadcastInt=120
  468. CommandDelay=60
  469. PageDelay=60
  470. OSDelay=120
  471. UPSDelay=360
  472.  
  473. NameSet=Temperature High
  474. NameClear=Temperature Okay
  475. Formula=[Temperature (F)]>120
  476. Command=C
  477. Category=1
  478. ActionMask=10000000
  479. BroadcastDelay=30
  480. BroadcastInt=120
  481. CommandDelay=60
  482. PageDelay=60
  483. OSDelay=120
  484. UPSDelay=360
  485.  
  486. NameSet=Self-Test Failed
  487. NameClear=Self-Test Passed
  488. Category=1
  489. Formula=([Self-Test Status]>1)
  490. CommandType=C
  491. Command=:C[CR]
  492. ActionMask=10000000
  493. BroadcastDelay=30
  494. BroadcastInt=60
  495. CommandDelay=60
  496. PageDelay=60
  497. OSDelay=120
  498. UPSDelay=360
  499. SelfTestEvent=1
  500.  
  501. NameSet=UPS Battery Over 3 Years Old
  502. NameClear=UPS Battery Age Is OK
  503. Category=0
  504. Formula=[Battery Age]>1096
  505. CommandType=I
  506. Command=Y
  507. ActionMask=00000000
  508. BroadcastDelay=0
  509. BroadcastInt=0
  510. CommandDelay=0
  511. PageDelay=0
  512. OSDelay=120
  513. UPSDelay=360
  514.  
  515. NameSet=UPS Communications Lost
  516. NameClear=UPS Communications Established
  517. Category=1
  518. ActionMask=10000000
  519. BroadcastDelay=30
  520. BroadcastInt=60
  521. CommandDelay=60
  522. PageDelay=60
  523. OSDelay=120
  524. UPSDelay=360
  525. UPSCommEvent=1
  526.