![Sutter Instrument SmartShutter Lambda SC Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/sutter-instrument/smartshutter-lambda-sc/smartshutter-lambda-sc_operation-manual_1407918052.webp)
44
LAMBDA SC OPERATION MANUAL – REV. 1.14C (20190606)
Communication for the serial port requires the following settings:
Baud rate
9600
Data bits
8
Parity
none
Stop bits
1
Flow Control:
none
No hardware control lines are connected. You must either set the communication mode so
that these lines are ignored or provide connections that will satisfy the mode of
communication that you use. In Microsoft QuickBasic the communication channel may be
opened with a statement such as:
OPEN "COM1:9600,N,8,1, CD0,CS0,DS0 " FOR RANDOM AS #1 LEN = 256
This sets COM1 to the correct mode for bi-directional communication through channel #1.
The option list “CD0,CS0,DS0” causes QuickBasic to ignore the DCD, CTS and DSR control
lines. Other variants of the BASIC programming language (implemented for the PC) will
have a similar syntax for the above statement.
11.2
Input Command Set and Protocol
Input Commands to the controller via the serial port are structured and adhere to the same
protocol as described in the REMOTE CONTROL chapter. The Shutter and Special
commands, as described in the REMOTE CONTROL chapter, all apply to the serial port
interface. Each command consists of one byte (8-bits), and some commands are followed by
one or more bytes as parameters. The command protocol is also the same as described in the
REMOTE CONTROL chapter: As a command is sent to the controller, it is immediately
echoed back to the computer, and when the controller has completed the task associated with
the command it has just received, it sends an ASCII CR (carriage return) byte (13 decimal,
0D hexadecimal) to the computer.
Since the serial data stream format is a single byte, each command can be sent as an ASCII
character. If you have used a
BASIC
language open statement to establish serial
communications the subsequent 8 bit command values may be sent using a
BASIC
PRINT #
command such as:
PRINT #1, CHR$(DATANUM);
…where #1 is the file number used in the open statement, and DATANUM is the value of the
command to be sent. Note that the CHR$ function allows the actual number to be sent
rather than the ASCII numbers of the characters that represent the number. Sending “;”
disables the automatic addition of characters such as a linefeed or a space.
Содержание SmartShutter Lambda SC
Страница 3: ......
Страница 4: ......
Страница 10: ...2 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 12: ...4 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 14: ...6 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 16: ...8 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 18: ...10 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 22: ...14 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 30: ...22 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 32: ...24 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 66: ...58 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 70: ...62 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 72: ...64 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 74: ...66 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 76: ...68 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...
Страница 88: ...80 LAMBDA SC OPERATION MANUAL REV 1 14C 20190606 This page intentionally blank...