6 examples 28, 1 message examples in standard protocol 28, 2 principles of the function block protocol 28 – West Control Solutions KS 800 ISO1745 Interface Manual User Manual

Page 28: 1 single access 28, 2 block access (tens block) 28, Block access(tens block) 28, Single access 28, Examples, Message examples in standard protocol, 2 block access (tens block)

Advertising
background image

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

0

1

1

8 ENQ

<addr> <code>

KS 800 replies:

STX

1

8

= 3 0 , 1 5 7 2 7 5 1 0 , 0 0 0 0 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 0 2 STX 3 2 , 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 0 2 3 0 , 5 3 ,

1

ENQ

Addr Code

FB-no.

Fct-no.

KS 800 replies:

STX

3 1 = 5 0 , 3 2 = 7 9 ETX BCC

Code

Value1

Code

Value2

Examples

9499 040 49411

28

Advertising