![background image](http://html1.mh-extra.com/html/barco/rlm-series/rlm-series_user-manual_4248504011.webp)
1. Serial communications Basics
1.5
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
R5976884 RLM SERIES 04/04/2006
9
Содержание RLM series
Страница 1: ...RLM series User Guide RS232 commands R5976884 02 04 04 2006 ...
Страница 14: ...1 Serial communications Basics 12 R5976884 RLM SERIES 04 04 2006 ...
Страница 166: ...3 Advanced Commands 164 R5976884 RLM SERIES 04 04 2006 ...
Страница 170: ...4 RCU commands 168 R5976884 RLM SERIES 04 04 2006 ...