Show/Hide Toolbars

PROFIBUS Manual

The compact format is always described with one byte. Byte coding for the compact format is as follows:

 

7

6

5

4

3

2

1

0

Configuration: compact format

 

 

0

1

 

 

 

 

Input

 

 

1

0

 

 

 

 

Output

 

 

1

1

 

 

 

 

Input & Output





 

0-15

 

Length of data

00 = 1 byte or word

15 = 16 bytes or words

 

1







Word(s) of 16 bits

 

0







Bytes of 8 bits

1

 







Consistency across the entire module

0

 







Consistency across one byte or one word

 

An identifier for a compact format module can therefore comprise up to 16 bytes or 16 words. One word is made up of 16 bits.

 

The consistency indicates to the DP master (controller) how data is used:  whether these bytes or words can be  interpreted individually, or whether they always have to be processed as a whole. It is the task of the DP master to ensure the required consistency.

 

Examples for compact format module coding:

0x11 =2 byte inputs - consistency per byte
0x22 =3 byte outputs - consistency per byte
0xF3 =4 word inputs and outputs - consistency across the entire module

0x71 =  2 word inputs and outputs - consistency per word