OMEGA Model CYD201/CYD208 User’s Manual
4-4
Remote Operation
4.1.4
Sample Quick Basic 4.0 Program
STARTUP: OPEN “COM1:300,O,7,1,RS” FOR RANDOM AS #1
‘open the serial port
PRINT “TYPE ‘QUIT’ TO EXIT”
‘print ‘QUIT’ message
RESTART: PRINT
‘print blank line
INPUT “ENTER COMMAND”; A$
‘get command to send
IF A$ = “QUIT” THEN GOTO FINISH
‘check for quit request
A$ = A$ + CHR$(13) + CHR$(10)
‘adding CR and LF
PRINT #1, A$;
‘sending command string
R = INSTR(A$, “W”)
‘scan for W/query
IF R = 0 THEN GOTO REJUMP
‘if not query skip print
FOR Z = 1 TO 500: NEXT Z
‘short delay
LINE INPUT #1, B$
‘read back CYD201/CYD208 response
PRINT B$;
‘print instrument response
REJUMP:
GOTO RESTART
‘jump back to beginning
FINISH:
CLOSE #1
‘close serial port
END
‘end/exit program
4.2
SERIAL INTERFACE COMMAND SUMMARY
Command Function Command Function
F0
Sensor Units for Setpoint
Y
Scan Dwell Time *
H
High Alarm Setpoint
YC
Scanner Channel Selection *
L
Low Alarm Setpoint
YH
Scan Disable *
R
Reset Alarm
YS
Scan Enable *
WA
Switch ID & Alarm Data Query
WY
Scan and Dwell Query *
WS
Sensor Reading & Alarm Status Query
* Model CYD208 Only.
Below is an explanation of the command list structure.
Command Name
Brief Description of Function
Syntax of user input.
R
Input:
Returned:
Remarks:
Alarm Reset.
R
Nothing
Used to reset
the alarm.
Information returned in
response to query.
Explanation of
returned data.
Содержание CYD201
Страница 1: ...M789 038A 15 June 1999...
Страница 6: ...OMEGA Model CYD201 CYD208 User s Manual iv Table of Contents This Page Intentionally Left Blank...
Страница 22: ...OMEGA Model CYD201 CYD208 User s Manual 2 10 Installation This Page Intentionally Left Blank...
Страница 28: ...OMEGA Model CYD201 CYD208 User s Manual 3 6 Operation This Page Intentionally Left Blank...
Страница 36: ...OMEGA Model CYD201 CYD208 User s Manual 4 8 Remote Operation This Page Intentionally Left Blank...
Страница 44: ...OMEGA Model CYD201 CYD208 User s Manual 5 8 Service This Page Intentionally Left Blank...
Страница 48: ...OMEGA Model CYD201 CYD208 User s Manual 6 4 Options and Accessories This Page Intentionally Left Blank...
Страница 57: ...NOTES...
Страница 58: ...NOTES...
Страница 60: ......