
10. CONNECTION TO FANUC I/O Link
B–63003EN/04
242
(Digital output)
This digital input module has four input channels. The digital output
section consists of a group of 12 bits within the three–byte occupied input
points. The output format is indicated below.
7
D07Xm (even–numbered address)
0
6
D06
0
5
D05
CHB
4
D04
CHA
3
D03
D11
2
D02
D10
1
D01
D09
0
D00
D08Xm+1 (odd–numbered address)
Address in the module
D00 to D11 represent 12–bit digital output data. D00 and D11 correspond
to weightings of 2
0
and 2
11
, respectively.
D11 is a sign bit expressed as a two’s complement. CHA and CHB
represent analog input channels.
This means that when the two bytes above are read with a PMC program,
the A–D converted data of the CHA and CHB input channels can be read
from D11 to D00. For CHA and CHB, see the description of channel
selection, below.
Section 6.3 provides notes on reading data with a PMC program.
(Channel selection)
With this analog input module, which of the four channels is to be output
to the digital output section must be determined with a PMC program.
The DO points used for this selection are CHA and CHB (two–byte
occupied output points). These are mapped as indicated below.
7
XYn
X
6
X
X
5
X
X
4
X
X
3
X
X
2
X
X
1
X
CHB
0
X
CHAYn+1
Address in the module
By writing the values indicated below to CHA and CHB, the
corresponding channel is selected, and the A–D converted data of the
channel and the data of the selected channel can be read as DI data. The
character X indicated above represents an unused bit, so that either 1 or
0 may be written in place of X.
CHB CHA Channel selected
0 0 Channel 1
0 1 Channel 2
1 0 Channel 3
1 1 Channel 4
(Address)
The start address of X (DI) of the basic modules including the analog input
module must always be allocated at an even–numbered address. With this
allocation, the digital output addresses of the analog input module are as
described below, depending on where the analog input module is
allocated
D When the analog input module is allocated in the space for expansion
module 1 (m represents the allocation start address.)
10.4.14
Analog Input
Specifications