
B-63994EN/02 SETTING 2.PROFIBUS-DP SLAVE FUNCTIONS
- 55 -
Explanation of configuration data
NOTE
"Input" and "output" used in the text below
represent input and output, respectively, as viewed
from the master station. "DI" and "DO" represent
input and output, respectively, as viewed from a
slave station manufactured by FANUC.
The maximum allowable total of DI/DO sizes that
can be transferred by a slave station manufactured
by FANUC is 244 bytes.
To specify configuration data (hereinafter referred to as CONFIG
DATA) when using a slave station manufactured by FANUC, in
general, set a "value for specifying the type of input/output" at the
start of data then set "input/output size".
As a "value for specifying the type of input/output", set one of the
following in hexadecimal:
(a) When both input and output are used (input/output size > 0): "C0"
(b) When output only is used (input size = 0, output size > 0): "80"
(c) When input only is used (input size > 0, output size = 0): "40"
For example, the format for using (a) (when both input and output are
used) is:
Data length: 3
Data: "C0" "output size - 1" "input size - 1"
The maximum allowable value of each of "input size - 1" and "output
size - 1" is "3F" according to the PROFIBUS-DP specifications. So,
the format above is for an input size of 64 bytes or less and an output
size of 64 bytes or less.
When an input size of 65 bytes or more and an output size of 65 bytes
or more are used, the format above is to be repeated as follows:
Data length: Multiple of 3
Data: Repetition of "C0" "output size - 1" "input size - 1"
The rule above applies also when output only is used or input only is
used as described below.
(b) When output only is used
Data length: Multiple of 2
Data: Repetition of "80" "output size - 1"
(c) When input only is used
Data length: Multiple of 2
Data: Repetition of "40" "input size - 1"
All formats of CONFIG DATA are listed below.
In the text below, XX = "output size - 1", and YY = "input size - 1".
(XX and YY are hexadecimal values.)