![Dycor SmartVue Process Control Monitor Скачать руководство пользователя страница 58](http://html.mh-extra.com/html/dycor/smartvue-process-control-monitor/smartvue-process-control-monitor_operators-manual_2545949058.webp)
SmartVue Operator’s Manual
48
10-0004-R13
9.3
Data Streaming Commands
Commands can be sent to the SmartVue using an application capable of sending and
receiving data via TCP/IP (e.g.,
PuTTY). The SmartVue accepts commands in ASCII
format and may be either uppercase or lowercase. Each command begins with the letter
“C” followed by a three-digit value indicating the type of command, and is terminated
with a 16-bit checksum, as well as carriage return and line feed characters.
For testing purposes, the command checksum can be disabled as mentioned in the
previous section. For example, if you wanted to conveniently obtain data or to test a
connection via a Telnet session without having to calculate the checksum you can disable
the checksum requirement.
To help with the interpretation of command syntax, the following conventions are used.
Bold
is used for commands and options.
Italic
is used to show generic options that should be replaced with user-
supplied values.
[ ]
surround optional elements. (The brackets themselves are not
entered.)
CS
indicates the 16-bit, hexadecimal checksum value in the range 0000 to
FFFF.
<CRLF> represents the carriage return and line feed characters.
Note that all connections to a SmartVue share the same interface, so sending a command
with one connection will affect all other connections to it.
The 16-bit checksum is generated by adding up all the bytes in a command (or a
response) up to and including the comma before the checksum field while discarding any
overflow bits. Likewise, when data is received from the SmartVue, the received
checksum can be verified the same way to ensure data integrity.
Analog data is given in scientific notation with a decimal part and an exponential part.
For example, a number like 538.2 will be displayed as 5.02, which means
5.382000 × 10
2
. A value such as 0.4193 would be given as 4.193000e-01.