User guide
6 Examples
6.1 Message examples in standard protocol
Example:
The computer requests system identification (code 18) from KS800 with address 01.
Computer requests: EOT
0118
ENQ
<addr> <code>
KS 800 replies: STX 1 8 = 3 0 , 1 5727510, 0000 ETX BCC
<code> <val>
<val> = 30 means a KS800 is concerned
15727510 = Software code no. 4012-157
-27510
0000 = Order no. 9407-480-00001
6.2 Principles of the function block protocol
A function block comprises input and output data (process data) as well as parameter and configuration data.
It can be addressed via a block number. An allocated block type defines the relevant function.
The various access mechanisms are:
6.2.1 Single access
This access (code xx) can be used for reading or writing a single process value of a function. Single accesses
to parameter and configuration data are not possible.
Example:
(message structure with specified data)
Transmission of the absolute output value (Y
man
) to controller channel 1.
Computer transmits data
to KS800:
EOT 02 STX 32,5 0, 4 =5 0 ETX BCC
Addr code FB no. Fct-no. Value
KS 800 replies:
ACK
or
NAK
in case of failure
6.2.2 Block access (tens block)
This access (code x0) can be used for reading max. nine process values of a function.
Example:
(message structure with data request)
Reading of set-points (W
nvol
and W
vol
) from controller channel 3 .
Computer requests: EOT
0230, 5 3, 1
ENQ
Addr Code FB-no. Fct-no.
KS 800 replies: STX
31=5 0,3 2=7 9
ETX BCC
Code Value1 Code Value2
Examples
9499 040 49411 28