![background image](http://html1.mh-extra.com/html/varian/turbo-v-6000/turbo-v-6000_instruction-manual_3571208065.webp)
TECHNICAL INFORMATION
59
87-900-855-01 (B)
Message Structure
(request and answer have the same format)
The master system (PC) starts every session sending
the following message to the slave units connected :
<STX> + <ADR> + <WINDOW> + <COMMAND> +
<DATA> + <ETX> + <CRC>
where :
<STX>= 0x02
<ADR>= 0x80 + device number (0...31)
0xFF: brodcasting command
(recognized by all the devices, it
doesn’t implicate any answer)
<WINDOWS>=' 000 '...' 999' window number
the meaning of the window
depends to the device type
<COMMAND>= 0x30 :window value reading
0x31 :window writing
<DATA> =
alphanumeric ASCII string
containing, in the case of writing
operation,the parameter to input
into the window addressed by
the field <WINDOW>This field
may have variable length
according to the data type
contained in the window where
you are working in. In the case of
reading request of a window, the
data field doesn’t exist.
<ETX>= 0x03
<CRC>=
XOR among all the characters
following <STX>=(with exception
of <STX>), including the end
character <ETX> hexadecimally
encoded by two ASCII characters.
When a slave device is addressed by the master:
In case of reading request of the value contained in
a window, the slave answers a string equal to the
one sent by the master but in addition there is the
field <DATA> containing the value of the
window.The format of the field <DATA> depends to
the window type.
The different types are:
Length
Characters
Permitted
Logic (L)
1
‘0’=OFF
‘1’=ON
Numeric (N)
6
‘-‘, ‘.‘,‘0’...’9’
(Justifield to the right
with ‘0’)
Alphanumeric (A)
max 10
‘ ‘...’_’
NOTE
Using the RS485 interface, the message structure
remains identical to the one used for the RS232/422
interface, the only difference being that the value
assigned to the ADDRESS <ADR> field in this case
can be any hex value, while for the RS 232/422 this
value must be set to 80 hex.
Содержание Turbo-V 6000
Страница 2: ...Turbo V 6000 Controller...
Страница 3: ......
Страница 4: ......
Страница 80: ...TECHNICAL INFORMATION 74 87 900 855 01 B...