![background image](http://html1.mh-extra.com/html/barco/icon-h250/icon-h250_user-manual_3843352013.webp)
1. Serial communication basics
1.6
Syntax
Characters
In this manual, all characters are expressed using the C- language syntax:
decimal values
ddd
2
hexadecimal values
\x
hh
3
The characters that can be used are
For text fields:
"ABCDEFGHIJKLMNOPQRSTUVWXYZ012-/&@#_:;abcdefghijklmnopqrstuvwxyz”
For filenames: "?*ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ -"
Negative values /numbers
The 2s complement number system is used to express negative numbers
Pascal- language string
A Pascal-language string consists of one or more characters. The first character of the string contains the length of the string.
Therefore, a Pascal-language string is limited to 255 characters.
Pascal string ’Hello world”
length
\x0b
’h’
\x68
’e’
\x65
’l’
\x6c
’l’
\x6c
’o’
\x6f
”
\x20
’w’
\x77
’o’
\x6f
’r’
\x72
’l’
\x6c
’d’
\x64
C-language string
A C-language string consists of one or more characters. The last character of the string is always the NULL character
\x00
. There-
fore, the length of a C-language string is determined by the position of the NULL character.
C string ’Hello world”
’h’
\x68
’e’
\x65
’l’
\x6c
’l’
\x6c
’o’
\x6f
”
\x20
’w’
\x77
2. ddd=0...255
3. hh=00...ff
R59770077 RS 232 SERIAL COMMUNICATIONS FOR ICON H250/400 16/02/2007
9
Содержание iCon H250
Страница 1: ...RS 232 Serial Communications for iCon H250 400 User Manual Basic R59770077 00 16 02 2007...
Страница 4: ......
Страница 29: ...2 Basic commands 2 5 Lens Commands R59770077 RS 232 SERIAL COMMUNICATIONS FOR ICON H250 400 16 02 2007 25...
Страница 100: ...2 Basic commands 96 R59770077 RS 232 SERIAL COMMUNICATIONS FOR ICON H250 400 16 02 2007...
Страница 122: ...3 Advanced commands 118 R59770077 RS 232 SERIAL COMMUNICATIONS FOR ICON H250 400 16 02 2007...
Страница 136: ...4 Additional Duplicate Commands 132 R59770077 RS 232 SERIAL COMMUNICATIONS FOR ICON H250 400 16 02 2007...
Страница 137: ...5 RCU commands 5 RCU COMMANDS R59770077 RS 232 SERIAL COMMUNICATIONS FOR ICON H250 400 16 02 2007 133...