Omega Speaker Systems DRX-FP All in One Printer User Manual


 
VIII. RESET COMMANDS :
*01Z01 (For all models): Hard reset (reading data from EEPROM).
*01Z02 (For all models): Soft reset (Initialize reading).
*01Z03 (For models: TC/RTD/ACV/ACC): Reset peak and valley.
(For models: PR/ST): Reset process totalize value.
*01Z04 (For models: (PR/ST/FP): Reset peak value.
*01Z05 (For models: PR/ST/FP): Reset valley value.
*01Z07 (For models: TC/RTD/ACV/ACC): Reset peak only.
*01Z08 (For models: TC/RTD/ACV/ACC): Reset valley only.
NOTE:
* : Recognition character
01(Follow “*”) : Address
IX. SAMPLE PROGRAM:
' ASSUMING :
' BAUD RATE = 9600
' PARITY = ODD
' DATA BIT = 7
' STOP BIT = 1
' COMM PORT = 1
' ADDRESS = 01
' RECOG. CHAR = *
' SERIAL PORT = COM1
' FOR COMM PORT = 2 -> CHANGE "COM1:" TO "COM2:"
' THIS PROGRAM WILL GET READING AND DISPLAY IT EVERY 1 SECOND
ON ERROR GOTO ER
ON TIMER(1) GOSUB RDG
CLS
CLOSE #1
COLOR 1, 7
LOCATE 22, 30
PRINT "PRESS <ESC> TO END"
OPEN "COM1:" + "9600,O,7,1,CS,DS" FOR RANDOM AS #1
LOCATE 10, 30
PRINT "READING = "
TIMER ON
DO: LOOP UNTIL INKEY$ = CHR$(27)
Page 17