
B-62924EN/04 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C
- 47 -
[Explanation of CONFIG DATA]
CAUTION
Input and output described below indicate the input
and output viewed from the master station,
respectively.
DI and DO indicate the input and output viewed from
the FANUC slave station, respectively.
For CONFIG DATA for using a FANUC slave station, usually set the
value specifying the input/output type with the first data and the
input/output size with the following data.
The value specifying the input/output type is set in hexadecimal as
follows:
(a) For using both input/output (input/output size > 0) : C0
(b) For using only output (input size = 0, output size > 0) : 80
(c) For using only input (input size > 0, output size = 0) : 40
For example, for (a) For using both input/output, the format is as
follows:
Data length: 3
Data: C0 output-size -1 input-size -1
Because the maximum values of input size -1 and output-size -1 are
3F, the above format can be used when the input or output size is up
to 64 bytes.
When the input and output sizes are 65 bytes or more, the above
format is repeated as follows:
Data length: 6
Data: C0 output-size -1 input-size -1
C0 output-size -1 input-size -1
For using only output or input, the same format is used as follows:
(b) For using only output
Data length: Multiple of 2
Data: 80 output-size -1 ... repeated
(c) For using only input
Data length: Multiple of 2
Data: 40 input-size -1 ... repeated
The following lists all CONFIG DATA formats.
XX indicates output-size -1 and YY indicates input-size -1 (XX and
YY are hexadecimal numbers.)
(a) Format for using both input/output
<1> When the input size is 1 to 64 and the output size is 1 to 64
Data length: 3
Data: C0 XX YY