I/O Data Format; Input Data; Output Data - Omron SYSMAC C200H-FZ001 Operation Manual

Fuzzy logic unit
Table of Contents

Advertisement

I/O Data Format

3-3
I/O Data Format

3-3-1 Input Data

3-3-2 Output Data

22
2. Bits not used in IR 1n4 cannot be used as work words in the program.
The Fuzzy Logic Unit receives input data from the C200H CPU, calculates the
results for up to four outputs, and outputs those results to the C200H CPU. This
section describes the structure of that input and output data.
The number and location of the inputs is specified by the user in the Fuzzy Logic
Settings, as described in 3-2 IR Area Words . Each input is allocated one word,
and the input data is contained in bits 0 to 12 of that word in 3-digit hexadecimal.
The input range is thus 000 to FFF (0 to 4095 decimal). Bits 12 to 15 are not
used.
The data structure for inputs is shown in the following table beginning from the
First Input Word, Ι. In this case there are 8 inputs, but anywhere from 1 to 8 inputs
can be used.
Word
Bits 12 to 15
Ι
Not used. Set to zero.
Ι
Not used. Set to zero.
+1
Ι
Not used. Set to zero.
+7
The number and location of the outputs is specified by the user in the Fuzzy Log-
ic Settings, as described in 3-2 IR Area Words . Each output is allocated one
word, and the output data is contained in bits 0 to 12 of that word in 3-digit hexa-
decimal. The output range is thus 000 to FFF (0 to 4095 decimal). Bits 12 to 15
are not used.
The output data structure is shown in the following table beginning from the First
Output Word, Ο. Four words (from Ο to Ο+3) are allocated to output data regard-
less of the number of outputs specified in the Fuzzy Logic Settings.
Word
Bits 12 to 15
Ο
Not used. Set to zero.
Ο
Not used. Set to zero.
+1
Ο
Not used. Set to zero.
+2
Ο
Not used. Set to zero.
+3
Error codes for outputs 0 to 4 are contained in words Ο+4 to Ο+7, as shown in the
following table. These four words are allocated regardless of the number of out-
puts specified in the Fuzzy Logic Settings.
Word
Bit 15
Ο
ER
Not used. Set to zero.
+4
Ο
ER
Not used. Set to zero.
+5
Ο
ER
Not used. Set to zero.
+6
Ο
ER
Not used. Set to zero.
+7
Bits 0 to 11
Input 0 data
Input 1 data
Input 7 data
Bits 0 to 11
Output 0 data
Output 1 data
Output 2 data
Output 3 data
Bits 5 to 14
Section 3-3
Bits 0 to 4
Output 0 error code
Output 1 error code
Output 2 error code
Output 3 error code

Advertisement

Table of Contents
loading

Table of Contents