FC310x - PCI Cards for PROFIBUS

Configuration Data - CfgData

The CfgData describes the structure and length of the input and output data that is to be cyclically exchanged via Data_Exchange. There follows a description of the DP configuration data bytes

Bits 4-7
Meaning
0000B
Module without data. Bits 0-3 indicate how many bytes of manufacturer-specific data are still to follow
0001B
Inputs of type byte, with no consistency. Bits 0-3 contain the length of the input data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 byte, while bits 0-3 = 1111B corresponds to a length of 16 bytes)
0010B
Outputs of type byte, with no consistency. Bits 0-3 contain the length of the output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 byte, while bits 0-3 = 1111B corresponds to a length of 16 bytes)
0011B
Inputs and outputs of type byte, with no consistency. Bits 0-3 contain the length of the input or output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 byte, while bits 0-3 = 1111B corresponds to a length of 16 bytes)
0100B
A special identification format for inputs. A byte follows that describes the associated input data (see below). Bits 0-3 indicate how many bytes of manufacturer-specific data are still to follow
0101B
Inputs of type word, with no consistency. Bits 0-3 contain the length of the input data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of one word, while bits 0-3 = 1111B corresponds to a length of 16 words)
0110B
Outputs of type word, with no consistency. Bits 0-3 contain the length of the output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 word, while bits 0-3 = 1111B corresponds to a length of 16 words)
0111B
Inputs and outputs of type word, with no consistency. Bits 0-3 contain the length of the input or output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 word, while bits 0-3 = 1111B corresponds to a length of 16 words)
1000B
A special identification format for outputs. A byte follows that describes the associated output data (see below). Bits 0-3 indicate how many bytes of manufacturer-specific data are still to follow
1001B
Inputs of type byte, with consistency. Bits 0-3 contain the length of the input data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 byte, while bits 0-3 = 1111B corresponds to a length of 16 bytes)
1010B
Outputs of type byte, with consistency. Bits 0-3 contain the length of the output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 byte, while bits 0-3 = 1111B corresponds to a length of 16 bytes)
1011B
Inputs and outputs of type byte, with consistency. Bits 0-3 contain the length of the input or output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 byte, while bits 0-3 = 1111B corresponds to a length of 16 bytes)
1100B
A special identification format for inputs and outputs. A byte first follows that describes the associated output data, and then one describing the associated input data (see below). Bits 0-3 indicate how many bytes of manufacturer-specific data are still to follow
1101B
Inputs of type word, with consistency. Bits 0-3 contain the length of the input data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of one word, while bits 0-3 = 1111B corresponds to a length of 16 words)
1110B
Outputs of type word, with consistency. Bits 0-3 contain the length of the output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 word, while bits 0-3 = 1111B corresponds to a length of 16 words)
1111B
Inputs and outputs of type word, with consistency. Bits 0-3 contain the length of the input or output data minus 1 (i.e. bits 0-3 = 0000B corresponds to a length of 1 word, while bits 0-3 = 1111B corresponds to a length of 16 words)

If the first byte has the type "special identification format", then the second or third bytes have the following meaning:

Bits 6-7
Meaning
00B
Type byte, with no consistency. Bits 0-5 contain the length of the data minus 1 (i.e. bits 0-5 = 000000B corresponds to a length of 1 byte, while bits 0-5 = 111111B corresponds to a length of 64 bytes)
01B
Type word, with no consistency. Bits 0-5 contain the length of the data minus 1 (i.e. bits 0-5 = 000000B corresponds to a length of 1 word, while bits 0-5 = 111111B corresponds to a length of 64 words)
10B
Type byte, with consistency. Bits 0-5 contain the length of the data minus 1 (i.e. bits 0-5 = 000000B corresponds to a length of 1 byte, while bits 0-5 = 111111B corresponds to a length of 64 bytes)
11B
Type word, with consistency. Bits 0-5 contain the length of the data minus 1 (i.e. bits 0-5 = 000000B corresponds to a length of 1 word, while bits 0-5 = 111111B corresponds to a length of 64 words)