Sunteți pe pagina 1din 192

GE Fanuc Automation Europe

Computer Numerical Controls

I/O Link II

Connection Manual

B-62714EN/04

TECHNOLOGY AND MORE

No part of this manual may be reproduced in any form.


All specifications and designs are subject to change without notice.

The export of this product is subject to the authorization of the


government of the country from where the product is exported.

In this manual we have tried as much as possible to describe all the


various matters.
However, we cannot describe all the matters which must not be done,
or which cannot be done, because there are so many possibilities.
Therefore, matters which are not especially described as possible in
this manual should be regarded as impossible.

SAFETY PRECAUTIONS

B-62714EN/04

SAFETY PRECAUTIONS
This section describes the safety precautions related to the use of
CNC units, to ensure safe operation of machines fitted with FANUC
CNC units. Read this section carefully before attempting to use any
function described in this manaul.
Users should also read the relevant descriptions in the Operators
Manual to become fully familiar with the functions to be used.
CONTENTS
1.
2.

DEFINITION OF WARNING, CAUTION, AND NOTE.........s-2


GENERAL WARNINGS AND NOTES ...................................s-3

s-1

SAFETY PRECAUTIONS

B-62714EN/04

DEFINITION OF WARNING, CAUTION,


AND NOTE
This manual includes safety precautions for protecting the user and
preventing damage to the machine. Precautions are classified into
Warning and Caution according to their bearing on safety. Also,
supplementary information is described as a Note. Read the Warning,
Caution, and Note thoroughly before attempting to use the machine.

WARNING
Applied when there is a danger of the user being
injured or when there is a damage of both the user
being injured and the equipment being damaged if
the approved procedure is not observed.
CAUTION
Applied when there is a danger of the equipment
being damaged, if the approved procedure is not
observed.
NOTE
The Note is used to indicate supplementary
information other than Warning and Caution.
- Read this manual carefully, and store it in a safe place.

s-2

SAFETY PRECAUTIONS

B-62714EN/04

GENERAL WARNINGS AND NOTES


WARNING
1 Before operating the machine, thoroughly check the
entered data.
Operating the machine with incorrect data may
result in the machine behaving unexpectedly,
possibly causing damage to the workpiece and/or
machine itself, or injury to the user.
2 Never attempt to perform a production run, such as
actually machining a workpiece, without first
checking the operation of the machine. Before
starting the machine for a production run, ensure
that the program command values, offsets, current
position, external signals, and other settings are
suitable for the operation to be performed. Also
check that the machine operates correctly by
performing a trial run using, for example, the single
block, feedrate override, or machine lock function or
by operating the machine with neither a tool nor
workpiece mounted.
3 Ensure that the specified feedrate is appropriate for
the intended operation. Generally, for each
machine, there is a maximum allowable feedrate.
The appropriate feedrate varies with the intended
operation. Refer to the manual provided with the
machine to determine the maximum allowable
feedrate.
If a machine is run at other than the correct speed, it
may behave unexpectedly, possibly causing
damage to the workpiece and/or machine itself, or
injury to the user.
4 When using a tool compensation function,
thoroughly check the direction and amount of
compensation.
Operating the machine with incorrectly specified
data may result in the machine behaving
unexpectedly, possibly causing damage to the
workpiece and/or machine itself, or injury to the
user.

s-3

SAFETY PRECAUTIONS

B-62714EN/04

WARNING
5 The parameters for the CNC and PMC are factoryset. Usually, there is not need to change them.
When, however, there is not alternative other than to
change a parameter, ensure that you fully
understand the function of the parameter before
making any change.
Failure to set a parameter correctly may result in the
machine behaving unexpectedly, possibly causing
damage to the workpiece and/or machine itself, or
injury to the user.
6 Immediately after switching on the power, do not
touch any of the keys on the MDI panel until the
position display or alarm screen appears on the
CNC unit.
Some of the keys on the MDI panel are dedicated to
maintenance or other special operations. Pressing
any of these keys may place the CNC unit in other
than its normal state. Starting the machine in this
state may cause it to behave unexpectedly.
7 The operator's manual and programming manual
supplied with a CNC unit provide an overall
description of the machine's functions, including any
optional functions. Note that the optional functions
will vary from one machine model to another.
Therefore, some functions described in the manuals
may not actually be available for a particular model.
Check the specification of the machine if in doubt.
8 Some functions may have been implemented at the
request of the machine-tool builder. When using
such functions, refer to the manual supplied by the
machine-tool builder for details of their use and any
related cautions. Refer to the following two
examples.
<1> Some machines have a tool replacement
device that operates when a tool feature is
executed. When the user is working near the
device, he or she may touch it. Execute tool
features in a place sufficiently away from the
tool replacement device.
<2> Many auxiliary features cause machine
operation such as rotation of the spindle.
Understand the operations of auxiliary features
before using them.

s-4

SAFETY PRECAUTIONS

B-62714EN/04

NOTE
Command programs, parameters, and variables are
stored in nonvolatile memory in the CNC unit.
Usually, they are retained even if the power is turned
off. Such data may be delated inadvertently,
however, or it may prove necessary to delete all data
from nonvolatile memory as part of error recovery.
To guard against the occurrence of the above, and
assure quick restoration of deleted data, backup all
vital data, and keep the backup copy in a safe place.

s-5

Table of Contents

B-62714EN/04

Table of Contents
SAFETY PRECAUTIONS
PRECAUTIONS................................
................................................................
................................................................................................
.......................................................................................
....................................................... s-1
I. GENERAL
1

GENERAL................................
GENERAL ................................................................
................................................................................................
................................................................................................
...........................................................................
........................................... 3

1.1

ORGANIZATION .............................................................................................................................. 4

1.2

APPLICABLE MODELS................................................................................................................... 5

II. SPECIFICATIONS
1

I/O Link-II
Link-II I/O FUNCTION................................
FUNCTION................................................................
................................................................................................
................................................................................
................................................ 9

1.1

FEATURES...................................................................................................................................... 10

1.2

MASTER FUNCTION..................................................................................................................... 11

1.3

SLAVE FUNCTION ........................................................................................................................ 12

1.4

SPECIFICATIONS.......................................................................................................................... 13

1.5

GLOSSARY...................................................................................................................................... 16

III. OPERATION
1

16/18/21-B, 16/18-C,
16/18-C, LCD-MOUNTED TYPE 16i/18
16 /18i/21
/18 /21i-A
/21 -A ............................................................
............................................................ 21

1.1

MASTER FUNCTION..................................................................................................................... 22

1.2

SLAVE FUNCTION ........................................................................................................................ 32

1.3

DATA CONCURRENCY................................................................................................................. 42

LCD-MOUNTED TYPE 16i/18


-D/H ..............................................................
16 /18i/21
/18 /21i-A,
/21 -A, Power Mate i-D/H
.............................................................. 44

2.1

MASTER FUNCTION..................................................................................................................... 45

2.2

SLAVE FUNCTION ........................................................................................................................ 61

2.3

DATA CONCURRENCY................................................................................................................. 80

Power Mate-D/F/H
Mate-D/F/H ................................................................
................................................................................................
............................................................................................
............................................................ 82

3.1

SLAVE FUNCTION ........................................................................................................................ 83

3.2

DATA CONCURRENCY................................................................................................................. 92

c-1

Table of Contents

B-62714EN/04

IV. CONNECTION
1

COMMUNICATION FUNCTION
FUNCTION CONNECTION................................
CONNECTION ................................................................
..........................................................................
.......................................... 97

1.1

HARDWARE SPECIFICATIONS .................................................................................................. 98

1.2

CABLE CONNECTION .................................................................................................................. 99

1.3

SECURING CABLES.................................................................................................................... 101

1.4

NOISE PROTECTION .................................................................................................................. 102

1.4.1

Separating Signal Lines ........................................................................................................ 102

1.4.2

Cable Clamps and Shielding ................................................................................................. 102

16/18/21-B, 16/18-C ................................................................


................................................................................................
.........................................................................................
......................................................... 104

2.1

SPECIFICATIONS........................................................................................................................ 105

2.2

INSTALLATION ........................................................................................................................... 106

2.3

CABLE CONNECTION ................................................................................................................ 107

LCD-MOUNTED TYPE 16i/18


16 /18i/21
/18 /21i-A
/21 -A ................................................................
............................................................................................
............................................................ 110

3.1

SPECIFICATIONS........................................................................................................................ 111

3.2

INSTALLATION ........................................................................................................................... 112

3.3

CABLE CONNECTION ................................................................................................................ 113

STAND-ALONE TYPE 16i/18


16 /18i/21
/18 /21i-A
/21 -A ................................................................
.............................................................................................
............................................................. 116

4.1

SPECIFICATIONS........................................................................................................................ 117

4.2

INSTALLATION ........................................................................................................................... 118

4.3

CABLE CONNECTION
(USING CONNECTORS MANUFACTURED BY PHOENIX CONTACT) ............................... 119

4.4

CABLE CONNECTION
(USING CONNECTORS MANUFACTURED BY HIROSE ELECTRIC) ................................. 120

Power Mate-D/F/H
Mate-D/F/H ................................................................
................................................................................................
..........................................................................................
.......................................................... 122

5.1

SPECIFICATIONS........................................................................................................................ 123

5.2

CONNECTION .............................................................................................................................. 124

5.3

COMMUNICATION CABLE CONNECTION............................................................................. 128

5.4

CONNECTION WITH BUILT-IN DI/DO .................................................................................... 133

Power Mate i-D/H


-D/H ................................................................
................................................................................................
...........................................................................................
........................................................... 144

6.1

SPECIFICATIONS........................................................................................................................ 145

6.2

INSTALLATION ........................................................................................................................... 148

6.3

CABLE CONNECTION (I/O Link-II SLAVE BOARD) .............................................................. 149

6.4

CABLE CONNECTION (I/O Link-II SLAVE BOARD B)........................................................... 150

c-2

Table of Contents

B-62714EN/04

V. MAINTENANCE
1

16/18/21-B, 16/18-C ................................................................


................................................................................................
.........................................................................................
......................................................... 155

1.1

COMPONENT LAYOUT .............................................................................................................. 156

1.2

LED INDICATIONS AND THEIR MEANINGS......................................................................... 157

1.3

SETTING ....................................................................................................................................... 158

LCD-MOUNT TYPE 16i/18


16 /18i/21
/18 /21i-A
/21 -A ................................................................
................................................................................................
.................................................................
................................. 159

2.1

COMPONENT LAYOUT .............................................................................................................. 160

2.2

LED INDICATIONS AND THEIR MEANINGS......................................................................... 161

2.3

SETTING ....................................................................................................................................... 162

STAND-ALONE TYPE 16i/18


16 /18i/21
/18 /21i-A
/21 -A ................................................................
.............................................................................................
............................................................. 163

3.1

COMPONENT LAYOUT .............................................................................................................. 164

3.1.1

Board B1................................................................................................................................. 164

3.1.2

Board B2................................................................................................................................. 165

3.2

LED INDICATIONS AND THEIR MEANINGS......................................................................... 166

3.3

SETTING ....................................................................................................................................... 167

Power Mate-D/F/H
Mate-D/F/H ................................................................
................................................................................................
..........................................................................................
.......................................................... 168

4.1

COMPONENT LAYOUT .............................................................................................................. 169

4.2

SETTING ....................................................................................................................................... 170

Power Mate i-D/H


-D/H ................................................................
................................................................................................
...........................................................................................
........................................................... 171

5.1

I/O Link-II SLAVE BOARD.......................................................................................................... 172

5.1.1

Component Layout ................................................................................................................ 172

5.1.2

LED Indications and Their Meanings .................................................................................. 173

5.2

I/O Link-II SLAVE BOARD B ...................................................................................................... 174

5.2.1

Component Layout ................................................................................................................ 174

5.2.2

LED Indications and Their Meanings .................................................................................. 175

5.2.3

Setting .................................................................................................................................... 176

c-3

I. GENERAL

GENERAL

B-62714EN/04

1.GENERAL

GENERAL
Describes the organization of this manual, applicable models.

-3-

1.GENERAL

1.1

GENERAL

B-62714EN/04

ORGANIZATION
This manual consists of the following parts:
SAFETY PRECAUTIONS
Describes the precautions to be observed in reading this manual.
I.

GENERAL
Describes the organization of this manual, applicable models.

II.

DESCRIPTION
Describes the general for using the I/O Link-II function.

III. OPERATION
Describes the setting and operation procedures for using the I/O
Link-II function.
IV. CONNECTION
Describes the method of connecting each device and notes on
using the I/O Link-II function.
V.

MAINTENANCE
Describes the drawing number of the I/O Link-II board, the
meanings of LED indications, and so forth.

-4-

1.2

1.GENERAL

GENERAL

B-62714EN/04

APPLICABLE MODELS
This manual covers the models listed in the table below. In this
manual, the their abbreviations may be used.

Model
FANUC Series 16-MODEL B
FANUC Series 160-MODEL B
FANUC Series 18-MODEL B
FANUC Series 180-MODEL B
FANUC Series 21-MODEL B
FANUC Series 16-MODEL C
FANUC Series 160-MODEL C
FANUC Series 18-MODEL C
FANUC Series 180-MODEL C
LCD-mounted type FANUC Series 16i-MODEL A/B
LCD-mounted type FANUC Series 160i-MODEL A/B
LCD-mounted type FANUC Series 18i-MODEL A/B
LCD-mounted type FANUC Series 180i-MODEL A/B
LCD-mounted type FANUC Series 21i-MODEL A/B
LCD-mounted type FANUC Series 210i-MODEL A/B
Stand-alone type FANUC Series 16i-MODEL A
Stand-alone type FANUC Series 160i-MODEL A
Stand-alone type FANUC Series 18i-MODEL A
Stand-alone type FANUC Series 180i-MODEL A
Stand-alone type FANUC Series 21i-MODEL A
Stand-alone type FANUC Series 210i-MODEL A
FANUC Power Mate-MODEL D
FANUC Power Mate-MODEL F
FANUC Power Mate-MODEL H
FANUC Power Mate i-MODEL D
FANUC Power Mate i-MODEL H

Abbreviation
16-B
18-B

16/18/21-B

21-B
16-C
16/18-C
18-C
LCD-mounted type 16i-A/B
LCD-mounted type 18i-A/B

LCD-mounted type 16/18/21i-A/B

LCD-mounted type 21i-A/B


Stand-alone type 16i-A
Stand-alone type 18i-A

Stand-alone type 16/18/21i-A

Stand-alone type 21i-A


PM-D
PM-F
PM-H
PMi-D
PMi-H

-5-

PM-D/F/H
PMi-D/H

II. SPECIFICATIONS

B-62714EN/04

SPECIFICATIONS

1.I/O LINK-II I/O FUNCTION

I/O LINK-II I/O FUNCTION


The I/O Link-II function is a communication function that conforms
to OPCN-1 (formerly called JPCN-1/JEMA net) defined by the Japan
Electrical Manufacturer's Association.
The I/O Link-II function includes a master function and slave
function.

-9-

1.I/O LINK-II I/O FUNCTION

1.1

SPECIFICATIONS

B-62714EN/04

FEATURES
The I/O Link-II function has the features listed below.
(1) A connection can be made with devices (including devices
produced by other manufacturers) that conform to OPCN-1.
(2) The power to a slave station on the network can be turned on and
off at any time without affecting communications performed by
other devices.
(3) Up to thirty-one slave stations can be connected to one master
station.
(4) The slave function includes a global I/O transfer function
(allowing a slave station to receive DO data from other slave
stations).

<Master station>
16/18/21-B
16/18-C

LCD-mounted type 16i/18i/21i-A/B


Stand-alone type 16i/18i/21i-A
(OPCN-1-compliant products of other
manufacturers)

<Slave station> #1

<Slave station> #2

<Slave station> #31

16/18/21-B
16/18-C
LCD-mounted type 16i/18i/21i-A/B
Stand-alone type 16i/18i/21i-A
PM-D/F/H
PMi-D/H
(OPCN-1-compliant products of other
manufacturers)

16/18/21-B
16/18-C
LCD-mounted type 16i/18i/21i-A/B
Stand-alone type 16i/18i/21i-A
PM-D/F/H
PMi-D/H
(OPCN-1-compliant products of other
manufacturers)

16/18/21-B
16/18-C
LCD-mounted type 16i/18i/21i-A/B
Stand-alone type 16i/18i/21i-A
PM-D/F/H
PMi-D/H
(OPCN-1-compliant products of other
manufacturers)

- 10 -

B-62714EN/04

1.2

SPECIFICATIONS

1.I/O LINK-II I/O FUNCTION

MASTER FUNCTION
The master function consists of the following function:
(1) DI/DO data transfer function

NOTE
FANUC I/O Link-II (master function) uses the
following services of OPCN-1:
(1) Initialization service
(2) Input/output service
(3) Reset service

- 11 -

1.I/O LINK-II I/O FUNCTION

1.3

SPECIFICATIONS

B-62714EN/04

SLAVE FUNCTION
The slave function consists of the following functions:
(1) DI/DO data transfer function
(2) Global I/O transfer function (FANUC unique function)
(3) Capability of turning on and off the power to a slave station at
any time without affecting communications performed by other
devices

NOTE
FANUC I/O Link-II (slave function) uses the following
services of OPCN-1:
(1) Initialization service
(2) Input/output service
(3) Reset service
About the global I/O transfer function:
The figure below shows DI/DO data transfer performed between a
master station and slave stations #1 to #N. Suppose that a slave
station using the global I/O transfer function is a local slave station,
and the other slave stations are remote slave stations. Then, the local
slave station (#2) can receive DO data sent from the master station
and can also receive DO data sent to the master station from the
remote slave stations. So, the local slave station can make a ladder
reference.
Master
station

Slave station #1
[Remote slave
station]

Slave station #2
[Local slave
station]

Slave station #3
[Remote slave
station]

Slave station #N
[Remote slave
station]

DO data from slave stations #1 to #N (excluding #2)

NOTE
The global I/O transfer function is not a function
defined by OPCN-1 but a FANUC unique function.
This function can be used even when the network
includes products of other manufacturers (even as a
master station). In this case, however, the size of
data that can be transferred is limited.
- 12 -

1.4

SPECIFICATIONS
Type

Master station

Applicable CNC

16/18/21-B, 16/18-C

Board (printed circuit board


drawing number)
Control software

I/O Link-II board


A16B-2202-0152
6546 series
62 bytes/62 bytes (16/18-C)
32 bytes/32 bytes
(16/18/21-B)

Maximum DI/DO size of the


DI/DO data transfer function
Maximum DI/DO size of the
global I/O transfer function
DI/DO allocatable area of
the DI/DO data transfer
function
DI/DO allocatable area of
the global I/O transfer
function
Status information
allocatable area

Reference items of this


manual
JEMA net

1.I/O LINK-II I/O FUNCTION

SPECIFICATIONS

B-62714EN/04

Master station
LCD-mounted type
16i/18i/21i-A/B
I/O Link-II board
A20B-8100-0250
6546 series
128 bytes/128 bytes

---

R0000-R0999 for both DI


and DO
(PMC-SA1/SA3)
R0000-R1499 for both DI
and DO
(PMC-SB3/SC3/SB5)
R0000-R2999 for both DI
and DO
(PMC-SB4/SC4/SB6)
I,II
III-1.1,III-1.3
IV-1,IV-2
V-1
---

--R0000-R0999 for both


DI and DO
(PMC-SA1/SA5)
R0000-R1499 for both
DI and DO
(PMC-SB5)
R0000-R2999 for both
DI and DO
(PMC-SB6)
R0000-R7999 for both
DI and DO
(PMC-SB7)
I,II
III-1.1, III-1.3
IV-1,IV-3
V-2
---

- 13 -

Slave station
16/18/21-B, 16/18-C
I I/O Link-II board
A16B-2202-0152
6545 series
62 bytes/62 bytes (16/18-C)
32 bytes/32 bytes (16/18/21-B)
48 bytes

R0000-R0999 for both DI and


DO
(PMC-SA1/SA3)
R0000-R1499 for both DI and
DO
(PMC-SB3/SC3/SB5)
R0000-R2999 for both DI and
DO
(PMC-SB4/SC4/SB6)
I,II
III-1.2, III-1.3
IV-1,IV-2
V-1
---

1.I/O LINK-II I/O FUNCTION


Type
Applicable CNC
Board (printed circuit board
drawing number)
Control software
Maximum DI/DO size of the
DI/DO data transfer function
Maximum DI/DO size of the
global I/O transfer function
DI/DO allocatable area of
the DI/DO data transfer
function
DI/DO allocatable area of
the global I/O transfer
function
Status information
allocatable area

Reference items of this


manual
JEMA net

SPECIFICATIONS

Master station
LCD-mounted type
16i/18i/21i-A/B
I/O Link-II board
A20B-8100-0250
6545 series
128 bytes/128 bytes
48 bytes
R0000-R0999 for both DI
and DO
(PMC-SA1/SA5)
R0000-R1499 for both DI
and DO
(PMC-SB5)
R0000-R2999 for both DI
and DO
(PMC-SB6)
R0000-R7999 for both DI
and DO
(PMC-SB7)
I,II
III-1.2,III-1.3
IV-1,IV-3
V-2
---

B-62714EN/04

Master station

Slave station

PM-D/F/H

PMi-D/H

I/O Link-II board


A20B-2100-0041, 0040
8816 series
32 bytes/32 bytes (PM-F/H)
64 bytes/64 bytes (PM-D)

I/O Link-II board


A20B-8100-0310
8816 series

48 bytes(Caution)

48 bytes(Caution)

DI : X1002-X1063
DO : Y1002-Y1063
(PMC-PA1/PA3)

DI : X1032-X1063
DO : Y1032-Y1063
(PMC-SB5/SB6)

R0000-R0999 for both DI


and DO
(PMC-PA1/PA3)

R0000-R0999 for both DI


and DO
(PMC-SB5/SB6)

I,II
III-3.1,III-3.2
IV-1,IV-5
V-4

I,II
III-3.1,III-3.2
IV-1,IV-6.1, IV-6.2, IV-6.3
V-5.1
---

---

- 14 -

32 bytes.32 bytes

SPECIFICATIONS

B-62714EN/04

Type
Applicable CNC
Board (printed circuit board
drawing number)
Control software
Maximum DI/DO size of the
DI/DO data transfer function
Maximum DI/DO size of the
global I/O transfer function
DI/DO allocatable area of
the DI/DO data transfer
function
DI/DO allocatable area of
the global I/O transfer
function
Status information
allocatable area
Reference items of this
manual
JEMA net

1.I/O LINK-II I/O FUNCTION

Master station
Stand-alone type
16i/18i/21i-A
I/O Link-II board B1
A20B-8100-0380
I/O Link-II board B2
A20B-8100-0381
654B series

Slave station
Stand-alone type
16i/18i/21i-A
I/O Link-II board B1
A20B-8100-0380
I/O Link-II board B2
A20B-8100-0381
654A series

654A series

128 bytes/128 bytes

128 bytes/128 bytes

128 bytes/128 bytes

48 bytes

48 bytes

--R0000-R0999 for both DI


and DO
(PMC-SA1/SA5)
R0000-R1499 for both DI
and DO
(PMC-SB5)
R0000-R2999 for both DI
and DO
(PMC-SB6)
I,II
III-2.1,III-2.3
IV-1,IV-4
V-3
OPCN-1 certified device

R0000-R0999 for both DI


and DO
(PMC-SA1/SA5)
R0000-R1499 for both DI
and DO
(PMC-SB5)
R0000-R2999 for both DI
and DO
(PMC-SB6)
I,II
III-2.2,III-2.3
IV-1,IV-4
V-3
OPCN-1 certified device

Slave station
PMi-D/H
I/O Link-II board B
A20B-8100-0381

R0000-R1499 for both DI


and DO
(PMC-SB5)
R0000-R2999 for both DI
and DO
(PMC-SB6)
I,II
III-2.2,III-2.3
IV-1, IV-6.1, IV-6.2, IV-6.4
V-5.2
OPCN-1 certified device

CAUTION
The I/O Link-II board (A20B-2100-041) for PM-D/H
and the I/O Link-II board (A20B-8100-0310) for PMiD/H cannot use the global I/O transfer function
because of a mixture with the other stations (master
station and slave stations) using I/O Link-II boards
B, B1, and B2.

- 15 -

1.I/O LINK-II I/O FUNCTION

1.5

SPECIFICATIONS

B-62714EN/04

GLOSSARY
Key terms used this manual are explained below.

OPCN-1 (formerly called JPCN-1 or JEMA net)


Field network defined by the Japan Electrical Manufacturer's
Association

OPCN-1 certified device


FANUC device that passed the OPCN-1 certification test
Certification number: J990705JPCNM026
Date of certification: July 5, 1999

Master station
Station that establishes and cancels logical communication paths to
multiple slave stations, manages the data transmission service issue
sequence and error recovery sequence, and performs I/O transfer.
One OPCN-1 network can include only one master station.

Slave station
Station that exercises communication control and performs I/O
transfer to and from the master station according to instructions from
the master station. One OPCN-1 network can include up to 31 slave
stations.

Initialization service
Service defined by OPCN-1 for information exchange and setting to
establish logical communication paths between the master station and
slave stations. When the initialization service is executed successfully,
input/output service can be started.

Input/output service
Service defined by OPCN-1 for DI/DO data transfer between the
master station and slave stations

Reset service
Service defined by OPCN-1 for the master station to reset slave
stations to the initial state

Initial state
State where no logical communication path is established

Detachment
State where communication (input/output service being performed)
with the remote station is disabled

Disconnection
State where communication is not performed (such as in the initial
state or detached state)
- 16 -

SPECIFICATIONS

B-62714EN/04

1.I/O LINK-II I/O FUNCTION

DI data
Input data when viewed from the local station (master station or slave
station)(Caution)

DO data
Output data when viewed from the local station (master station or
slave station)(Caution)

CAUTION
In the OPCN-1 specifications, data input/output is
defined as data input/output viewed from the master
station. Note that the use of the term in this manual
for slave stations is opposite to the definition in the
OPCN-1 specifications.
For communication with devices of other
manufacturers, check the definition of data
input/output.

DI/DO data transfer function


Function for exchanging DI/DO data between the master station and
slave stations of I/O Link-II. This function is implemented by
input/output service of OPCN-1.

Global I/O transfer function


FANUC unique function. When DI/DO data is exchanged between
the master station and multiple slave stations, a slave station receives
DO data sent from the other slave stations to the master station, thus
achieving I/O transfer between the slave stations.

Successive error detach detection counter


Maximum allowable number of successive communication errors.
When this maximum number is exceeded, a detachment is detected.

One scan
Executing input/output service once for all slave stations connected to
the network

Slave type
Initialization service parameter defined by OPCN-1 for determining
the type of communication between the master station and slave
stations

- 17 -

1.I/O LINK-II I/O FUNCTION

SPECIFICATIONS

B-62714EN/04

stypeM
Slave type set by the master station
stypeM

Bits 7 and 6 :
Bit 5 :

Bit 4 :

bit 7

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Reserved (0 at all times)


SA (whether information and I/O from the master station to a slave
station are specified)
- When SA = 0, information and I/O from the master station to a
slave station are not specified.
- When SA = 1, information and I/O from the master station to a
slave station are specified
ST (whether a type of I/O from the master station to a slave station is
specified)
When ST = 0, no type of I/O from the master station to a slave
station is specified.
When ST = 0, a type of I/O from the master station to a slave
station is specified.

NOTE
The setting of bits 3 to 1 is valid when ST = 1.
Bit 3 :
Bit 2 :
Bit 1 :
Bit 0 :

DW (data write)
Set DW = 1 to enable data write service.
DR (data read)
Set DR = 1 to enable data read service.
DO (output)
Set DO = 1 to perform input/output service and enable output.
DI (input)
Set DI = 1 to perform input/output service and enable input.

stypeS
Slave type set by a slave station
stypeS

Bits 7 to 4 :
Bit 3 :
Bit 2 :
Bit 1 :
Bit 0 :

bit 7

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Reserved (0 at all times)


DW (data write)
Set DW = 1 to enable data write service.
DR (data read)
Set DR = 1 to enable data read service.
DO (output from the master station) when viewed from the master
station
Set DO = 1 to perform input/output service and enable output.
DI (input to the master station) when viewed from the master station
Set DI = 1 to perform input/output service and enable input.

- 18 -

III. OPERATION

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

16/18/21-B, 16/18-C, LCD-MOUNTED


TYPE 16i/18i/21i-A/B
This chapter describes the setting procedure for operating the master
function and slave function.

NOTE
The parameters related to the I/O Link-II function are
stored in the SRAM on an I/O Link-II board. When
using an I/O Link-II board for the first time, initialize
the SRAM on the board according to Section 1.3,
"SETTING" of Part V, "MAINTENANCE" (for
16/18/21-B and 16/18-C) or Section 2.3 "SETTING"
of the same part (for 16i/18i/21i-A/B).

- 21 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

1.1

B-62714EN/04

MASTER FUNCTION

Display of the setting screen

Procedure
(1) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(2) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-1 appears.

Screen 1-1

- 22 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Setting items and display items

Setting items
Item
MAX SLAVE NO.

SCAN TIME

STATUS ADDRESS

OPTION1

OPTION2

DI/DO MAP MODE

DI/DO DATA SIZE

DO ADDRESS
DI ADDRESS
MESSAGE SIZE
OUTPUT ADDRESS
INPUT ADDRESS

- 23 -

Table III-1-1
Description
Maximum slave station number used for
communication with the master station.
Setting range: 1 to 31
Interval for performing one scan of input/output
service.
Set a value greater than the value of REFRESH
TIME.
Guideline for setting:
SCAN TIME = MAX SLAVE NO. 2 + 2
Setting unit: 2 msec
Setting range: 1 to 9999
Example of setting:
When 4 is set in SCAN TIME, the setting of 8 msec
is assumed.
Start address of an area for storing communication
status.
Setting range: R area of the PMC
Slave station communication monitoring time
Recommended setting: 14 [hexadecimal] 40 msec
Setting unit: msec
Setting range: 03 to D0 (hexadecimal)
Successive error detach detection counter.
Recommended setting: 3 [hexadecimal]
Setting range: 00 to FF (hexadecimal)
When the default value 0 is used, the setting of 3 is
assumed for operation.
Determines the method of allocating a DI/DO data
area.
Setting: 1, 2
1: A DI data area and DO data area are allocated for
the number of stations set in MAX SLAVE NO..
2: A DI data area is allocated for the number of
stations set in MAX SLAVE NO., and a DO data
area is allocated for one station.
DI/DO data area size.
Setting range: 0 to 62 (16/18/21-B, 16/18-C)
Setting range: 0 to 128 (LCD-mounted type
16i/18i/21i-A)
(Unit: Bytes)
DO data area start address.
Setting range: R area of the PMC
DI data area start address.
Setting range: R area of the PMC
Not used
Not used
Not used

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

NOTE
The baud rate cannot be changed, but is fixed at 1
Mbps.

Display items
Item
REFRESH TIME.
I/O LINK-II

- 24 -

Table III-1-1
Description
Interval at which DI data from all slave stations set in
MAX SLAVE NO. is reflected in the R area of the PMC.
Unit: 1 msec
The series and edition of the EPROM installed on the
I/O Link-II board are displayed.

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Operations of the setting screen

Setting parameters
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-1 appears.
(4) With the cursor keys, move the cursor to an item for which data
is to be entered.
(5) Enter data with the MDI keys.
(6) Select the soft key [INPUT] or press the function key INPUT to
execute the input of data.
Example: Setting 2 in MAX SLAVE NO.
(a) Move the cursor to MAX SLAVE NO..

(b) Enter 2 with the MDI key.

(c)

Select the soft key [INPUT] or press the function key


INPUT to execute the input of data.

Thus, the set data is stored in the nonvolatile memory on the I/O LinkII board.

- 25 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

Deleting parameters
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-1 appears.
(4) With the cursor keys, move the cursor to an item whose setting
to be deleted.
(5) Select the soft key [DELETE] or press the function key
DELETE to delete the data.
Thus, the data is deleted from the nonvolatile memory on the I/O
Link-II board.

Deleting parameters in a batch


(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-1 appears.
(4) Select the soft key [DELALL] to delete all data in a batch.
Thus, all data is deleted in a batch from the nonvolatile memory on
the I/O Link-II board.

Restart
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-1 appears.
(4) Select the soft key [START]. The master function is restarted
with the current settings displayed on Screen 1-1.

- 26 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B


(5) If the settings are correct, LINK STARTED is displayed, and
initialization service is performed.

(6) If a setting item is incorrect, START ERROR is displayed, and


the system waits for the incorrect setting item to be corrected.

CAUTION
When the soft key [START] is selected, the set
parameters are updated, and reset service is also
performed for slave stations #1 to #[MAX SLAVE
NO].
So, the same processing as performed when the
power is turned on again after resetting the network
to the initial state (initialization service for the slave
stations input/output service) is performed.

- 27 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

DI/DO data allocation of the master function

DO data allocation (when DI/DO MAP MODE = 1)


A DO area is allocated for each slave.

[DO ADDRESS]
+[DI/DO DATA SIZE] 1
+[DI/DO DATA SIZE] 2
+[DI/DO DATA SIZE] 3
:
:
:
+[DI/DO DATA SIZE]
([MAX SLAVE NO]-1)

DO data from the master station to


slave station #1

[DI/DO DATA SIZE]

DO data from the master station to


slave station #2
DO data from the master station to
slave station #3
DO data from the master station to
slave station #4
:
:
:
DO data from the master station to
slave station #[MAX SLAVE NO]

Example:
When [MAX SLAVE NO] = 2, [DI/DO MAP MODE] = 1, [DO
ADDRESS] = R0100, and [DI/DO ADDRESS SIZE] = 10, DO
data is allocated as follows:
R0100
R0110

DO data from the master station to


slave station #1
DO data from the master station to
slave station #2

DO data allocation (when DI/DO MAP MODE = 2)


Common DO data is allocated for all slaves.
[DO ADDRESS]

- 28 -

DO data from the master station to


slave stations #1 to slave station
#[MAX SLAVE NO]

[DI/DO DATA SIZE]

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

DI data allocation (when DI/DO MAP MODE = 1 or 2)


[DI ADDRESS]
+[DI/DO DATA SIZE] 1
+[DI/DO DATA SIZE] 2
+[DI/DO DATA SIZE] 3
:
:
:
+[DI/DO DATA SIZE]
([MAX SLAVE NO]-1)

DI data from slave station #1 to the


master station

[DI/DO DATA SIZE]

DI data from slave station #2 to the


master station
DI data from slave station #3 to the
master station
DI data from slave station #4 to the
master station
:
:
:
DI data from slave station #[MAX
SLAVE NO] to the master station

Example:
When [MAX SLAVE NO] = 3, [DI ADDRESS] = R0300, and
[DI/DO ADDRESS SIZE] = 10, DI data is allocated as follows:
R0300
R0310
R0320

- 29 -

DI data from slave station #1 to the


master station
DI data from slave station #2 to the
master station
DI data from slave station #3 to the
master station

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

Communication status for ladder detection of the master function

Communication status allocation


ERROR STATUS

[STATUS ADDRESS]
+1
+2
+3
:
:
:
+[MAX SLAVE NO]

Status of communication with


slave station #1
Status of communication with
slave station #2
Status of communication with
slave station #3
:
:
:
Status of communication with
slave station #[MAX SLAVE NO]

ERROR STATUS
ERROR STATUS (1 byte):
Communication line errors detected by the master station are
indicated.
bit 7

Bit 7 :
Bit 6 :
Bit 5 :
Bit 4 :
Bit 3 :
Bit 2 :
Bits 1, 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Reserved (0 at all time)


Short frame error
Abort detection
Detection of data consisting of an incorrect number of bits
Overrun error detection
FCS error detection
Reserved (0 at all times)

NOTE
Many errors are caused by hardware failures (on
communication boards or communication cables)
and noise. Recheck the method of communication
cable connection, terminating resistor, and noise
protection.

- 30 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Status of communication with remote slave stations


Status of communication with remote slave stations #1 to #[MAX
SLAVE NO]:
The status of communication with each slave station is indicated (1
byte for each).
bit 7

Bit 7:

Bits 6 to 1:
Bit 0:

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with a slave station)


When LINK STATUS = 0, the link is disconnected.
When LINK STATUS = 1, communication is performed
normally.
Reserved (0 at all times)
Communication error flag
When communication error flag = 0, the successive error detach
detection counter is not exceeded.
When communication error flag = 1, the successive error detach
detection counter is exceeded.

- 31 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

1.2

B-62714EN/04

SLAVE FUNCTION

Display of the setting screen

Procedure
(1) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(2) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-2 appears.

Screen 1-2

- 32 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Setting items and display items

Setting items
Item
MAX SLAVE NO.
SCAN TIME
STATUS ADDRESS

OPTION1

OPTION2

DI/DO MAP MODE

DI/DO DATA SIZE

DO ADDRESS
DI ADDRESS
MESSAGE SIZE
OUTPUT ADDRESS
INPUT ADDRESS

Table III-1-3
Description
Maximum slave station number used for
communication with the master station.
Setting range: 1 to 31(Note)
Station number of the slave station.
Setting range: 1 to 31(Note)
Start address of an area for storing communication
status.
Setting range: R area of the PMC
Slave station communication monitoring time
Guideline for setting:
OPTION1 = MAX SLAVE NO. 5
Setting unit: 100 msec
Setting range: 0000 to 1000 [hexadecimal]
When the default value 0 is used, a value
determined by the guideline for setting is assumed
for operation.
Not used
Determines the method of allocating a DI/DO data
area.
Setting: 0, 2
0: DI/DO data transfer function
A DI data area and DO data area are allocated for
one station.
2: Global I/O transfer function(Caution)
A DI data area is allocated for the number of
stations set in MAX SLAVE NO. plus 1, and a DO
data area is allocated for one station.
DI/DO data area size.
For the DI/DO data transfer function
Setting range: 0 to 32 (16/18/21-B)
Setting range: 0 to 62 (16/18-C)
Setting range: 0 to 128 (LCD-mounted type
16i/18i/21i-A)
For the global I/O transfer function
Setting range: 0 to 48
(Unit: Bytes)
DO data area start address
Setting range: R area of the PMC
DI data area start address
Setting range: R area of the PMC
Not used
Not used
Not used

CAUTION (*1)
When using the global I/O transfer function, ensure
that the DI data size and DO data size of each slave
station on the network do not exceed 48 bytes.
- 33 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

NOTE
- The baud rate cannot be changed but is fixed at 1
Mbps.
- When using the global I/O transfer function, set
slave station numbers sequentially to allocate an
area efficiently.

Display items
Table III-1-4
Description
The series and edition of the EPROM installed on
the I/O Link-II board are displayed.

Item
I/O LINK-II

- 34 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Operations of the setting screen

Setting parameters
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-2 appears.
(4) With the cursor keys, move the cursor to an item for which data
is to be entered.
(5) Enter data with the MDI keys.
(6) Select the soft key [INPUT] or press the function key INPUT to
execute the input of data.
Example:

Setting 2 in MAX SLAVE NO.

(a) Move the cursor to MAX SLAVE NO..

(b) Enter 2 with the MDI key.

(c) Select the soft key [INPUT] or press the function key
INPUT to execute the input of data.
Thus, the set data is stored in the nonvolatile memory on the I/O LinkII board.

- 35 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

Deleting parameters
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-2 appears.
(4) With the cursor keys, move the cursor to an item whose setting
to be deleted.
(5) Select the soft key [DELETE] or press the function key
DELETE to delete the data.
Thus, the data is deleted from the nonvolatile memory on the I/O
Link-II board.

Deleting parameters in a batch


(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-2 appears.
(4) Select the soft key [DELALL] to delete all data in a batch.
Thus, all data is deleted in a batch from the nonvolatile memory on
the I/O Link-II board.

- 36 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Restart
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 1-2 appears.
(4) Select the soft key [START]. The slave function is restarted
with the current settings displayed on Screen 1-2.
(5) If the settings are correct, LINK STARTED is displayed, and
initialization service is awaited.

(6) If a setting item is incorrect, START ERROR is displayed, and


the system waits for the incorrect setting item to be corrected.

NOTE
The soft key [START] provides an auxiliary way to
validate settings modified on this screen.
If the soft key [START] is selected after modifying
settings, communication may be suspended
halfway, and may not be performed normally,
depending on the state of the master station. In
such a case, restart the master station and slave
station.

- 37 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

DI/DO data allocation of the slave function

DO data allocation
[DO ADDRESS]

DO data from the local slave station to


the master station

[DI/DO DATA SIZE]

DI data allocation when DI/DO data transfer is set (when DI/DO MAP MODE = 0)
[DO ADDRESS]

DI data from the master station to the


local slave station

[DI/DO DATA SIZE]

DI data allocation when global I/O transfer is set (when DI/DO MAP MODE = 2)
[DO ADDRESS]
+[DI/DO DATA SIZE] 1
+[DI/DO DATA SIZE] 2
+[DI/DO DATA SIZE] 3
:
+[DI/DO DATA SIZE]
[STATION NO]
:
+[DI/DO DATA SIZE]
[MAX SLAVE NO]

DI data from the master station to the


local slave station

[DI/DO DATA SIZE]

DO data from slave station #1 to the


master station
DO data from slave station #2 to the
master station
DO data from slave station #3 to the
master station
:
Not used.(The area for the local slave
station is not used. The area can be
used for other purposes such as a DO
data output area for the local station.)
:
DO data from slave station #[MAX
SLAVE NO] to the master station

Example:
When [STATION NO] = 2, [MAX SLAVE NO] = 3, [DI
ADDRESS] = R0300, and [DI/DO DATA SIZE] = 10, DI data is
allocated as follows:
R0300
R0310
R0320
R0330

DI data from the master station to


slave station #2
DO data from slave station #1 to the
master station
Not used
DO data from slave station #3 to the
master station

NOTE
For global I/O transfer, note the following when
allocating DI data:
- [DI/DO DATA SIZE] must match the maximum
size of other slaves.
- The total DI data area size required is [DI/DO
DATA SIZE] [MAX SLAVE NO].
- 38 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Restrictions on the global I/O transfer function

Conditions for taking in DO data from a remote slave station to the master
station
When the two conditions below are satisfied, DO data from a remote
slave station to the master station is taken in.
Condition 1 : 48 bytes x bytes y bytes
where
x: Size of DI data from the master station to the local slave
station
y: Size of DO data from a remote slave station to the master
station
Condition 2 : Station m Station n
where
m: [MAX SLAVE NO] set at the local slave station
n: Station number of a remote slave station
Example:
When the station number of the local slave station is 2, there are
five remote slave stations, and each slave station is set as
follows:
Setting of slave station #1: DO data size = 16 bytes
Setting of slave station #2: [MAX SLAVE NO] = 4,
[STATION NO] = 2, [DI/DO MAP MODE] =2, [DI/DO
DATA SIZE] = 32
Setting of slave station #3: DO data size = 32 bytes
Setting of slave station #4: DO data size = 48 bytes
Setting of slave station #5: DO data size = 8 bytes
According to the restrictions on global I/O transfer:
Slave station #4 does not satisfy condition 1.
Slave station #5 does not satisfy condition 2.
So, slave station #2 takes in only DO data from slave station #1
to the master station and DO data from slave station #3 to the
master station.
DI data allocation at slave station #2
DO data from slave station #1
(16 bytes)
Not used
(16 bytes)

32 bytes

Not used
(Area for the local station number)

32 bytes

DO data from slave station #3

32 bytes

Not used
(For slave station #4)

32 bytes

- 39 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

B-62714EN/04

Communication status for ladder detection of the slave function

Communication status allocation (when DI/DO MAP MODE = 0 [DI/DO data


transfer])
[STATUS ADDRESS]

Status of communication with the


master station

Communication status allocation (when DI/DO MAP MODE = 2 [global I/O


transfer])
[STATUS ADDRESS]
+1
+2
+3
:
+[STATION NO]
:
+[MAX SLAVE NO]

Status of communication with the


master station
Status of communication with
slave station #1
Status of communication with
slave station #2
Status of communication with
slave station #3
:
(This area corresponds to the
local slave station, and is not
used. This area cannot be used
for other purposes.)
:
Status of communication with
slave station #[MAX SLAVE NO]

Status of communication with the master station


Status of communication with the master station (1 byte):
The status of communication with the master station is indicated.
bit 7

Bit 7 :

Bit 6 :
Bit 5 :
Bit 4 :
Bit 3 :
Bit 2 :
Bits 1, 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with the master station)


When LINK STATUS = 0, the link is disconnected.
When LINK STATUS = 1, communication is performed
normally.
Short frame error
Abort detection
Detection of data consisting of an incorrect number of bits
Overrun error detection
FCS error detection
Reserved (0 at all times)

NOTE
Many errors are caused by hardware failures (on
communication boards or communication cables)
and noise. Recheck the method of communication
cable connection, terminating resistor, and noise
protection.
- 40 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B

Status of communication with remote slave stations


Status of communication with remote slave stations #1 to #[MAX
SLAVE NO]:
The status of reception of DO data from remote slave stations to
the master station is indicated (1 byte for each).
bit 7

Bit 7 :

Bits 6 to 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with the master station)


When LINK STATUS = 0, the link is disconnected.
When LINK STATUS = 1, communication is performed
normally.
Reserved (0 at all times)

- 41 -

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION

1.3

B-62714EN/04

DATA CONCURRENCY
When DI data is handled by a ladder program, the I/O Link-II function
guarantees the concurrency of data on a byte-by-byte basis, but does
not guarantee the concurrency of multiple bytes of data.
The I/O Link-II function does not exchanges data in synchronism with
a ladder program, so that the function does not guarantees the
concurrency of DI data consisting of 2 bytes or more. This means that
when a ladder program reads 2-byte DI data, for example, the higher
byte and lower byte of the data may be updated at different timings.

Example where concurrency is not guaranteed


When the 2-byte data 1234 (hex) is entered from the I/O Link-II board
to the area R0300 set to the value 0000 (hex), the ladder program may
read the value 0034 (hex).
DI data

R area of the PMC


R0300

00

00

R0300

00

34

34

12

If the ladder program reads R0300


during this period, 0034 (hex) is read.
R0300

Example of countermeasure:

12

34

Control using synchronization flags

Concurrency can be guaranteed by providing a synchronization flag


before and after multi-byte data and synchronizing the data with the
flags. An example of guaranteeing the concurrency of 6-byte data is
given below.
(1) Data structure
A synchronization flag is prepared at the byte position preceding
the 6-byte data and at the byte position following the 6-byte data,
thus allocating an 8-byte area in total.
R0099
R0100
:
R0105
R0106

Synchronization flag 1
Data section
Synchronization flag 2

(2) Processing on the data write side


The data is updated using the procedure below.
1
Synchronization flag 1 is incremented.
2
The data section is updated.
3
The same value as set in synchronization flag 1 is set in
synchronization flag 2.

- 42 -

B-62714EN/04

OPERATION

1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B


(3) Processing on the data read side
The data is processed using the procedure below.
1
At the start of the second level, the 8 bytes are copied from
R0099 to the synchronization area R0199.
2
A check is made to see if R0199 = R0206.
3
If R0199 = R0206, R0200 is handled as 6-byte data.

CAUTION
If the size of the data section to be synchronized is
increased by combining multiple bytes of data,
synchronization may become difficult.
In such a case, divide the data section on a
variable-by-variable basis before setting
synchronization flags.

- 43 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

LCD-MOUNTED TYPE 16i/18i/21i-A,


Power Mate i-D/H
This chapter describes the setting procedure for operating the master
function and slave function.

NOTE
Notes on PMi-D/H
- With PMi-D/H, only the slave function can be
used.
- With PMi-D/H, the I/O Link-II board (A20B-81000310) and I/O Link-II board B (A20B-8100-0381)
can be used.
This chapter provides descriptions based on the
use of I/O Link-II B. When using the I/O Link-II
board, the same specifications as for Power
Mate-D/F/H described in Chapter 3 are
applicable. So, see Chapter 3.

- 44 -

B-62714EN/04

2.1

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

MASTER FUNCTION

Display of the setting screen

Procedure
(1) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(2) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 2-1 appears.

Screen 2-1
(3) Select the soft key [MASTER]. Screen 2-2 appears.

Screen 2-2
- 45 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

(4) Select the soft key [ADDR] on Screen 2-2. Screen 2-3 appears.
When setting 15 stations or more, switch the screen with the
page keys and .

Screen 2-3

- 46 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Setting items and display items

Setting items
Item
MAX SLAVE NO.

SCAN TIME

BAUD-RATE

STATUS ADDRESS

OPTION1

OPTION2

DO ADDR

DO SIZ

DI ADDR

DI SIZ

- 47 -

Table III-2-1
Description
Maximum slave station number used for
communication with the master station.
Setting range: 1 to 31
Interval for performing one scan of input/output
service. A maximum speed is set automatically
according to [MAX SLAVE NO], so that this parameter
need not be set.
Communication speed.
Setting range: 0 to 3
0: 1.0 Mbps
1: 500 kbps
2: 250 kbps
3: 125 kbps
Two methods of setting are available:
- Input using numeric keys
- Input by soft key selection
(Displayed when the cursor is placed on this
parameter)
Start address of an area for storing communication
status.
Setting range: R area of the PMC
The storing of communication status can be disabled
by selecting the soft key [DISABLE] displayed when
the cursor is placed on this parameter.
When the storing of communication status is
disabled, "----" is displayed.
Not used
Successive error detach detection counter.
Recommended setting: 3 [hexadecimal]
Setting range: 00 to FF (hexadecimal)
When the default value 0 is used, the setting of 3 is
assumed for operation.
DO data area start address.
Setting range: R area of the PMC
DO data area size.
Setting range: 0 to 128
(Unit: Bytes)
When DO is not used, set 0.
DI data area start address.
Setting range: R area of the PMC
DI data area size.
Setting range: 0 to 128
(Unit: Bytes)
When DI is not used, set 0.

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Item

TYPE

MAXT

REFRESH TIME

OPERATION

B-62714EN/04

Table III-2-1
Description
Parameter stypeM for initializing slave stations.
Setting range: 31 to 33 (hexadecimal)
Set one of the following values according to the type
of communication:
- When enabling both DO and DI: 33 (hexadecimal)
- When enabling both DI only: 31 (hexadecimal)
- When enabling both DO only: 32 (hexadecimal)
Parameter max_int (slave station communication
monitoring time) for initializing slave stations.
Setting range: 0 to 65535
(Unit: 10 msec)
When no slave station needs to monitor the
communication of the master station, set 0 (for waiting
infinitely).
Interval at which DI data from all slave stations set in
MAX SLAVE NO. is reflected in the R area of the
PMC.
Unit: 1 msec

Operations of the setting screen

Setting parameters
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], [IOLNK2], and
[MASTER] in this order. Screen 2-2 appears.
(4) With the cursor keys, move the cursor to an item for which data
is to be entered.
(5) Enter data with the MDI keys.
(6) Select the soft key [INPUT] to execute the input of data.
Example: Setting 100 in MAX SLAVE NO.
(a) Move the cursor to MAXT.

- 48 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H


(b) Enter 100 with the MDI keys.

(c) Select the soft key [INPUT] to execute the input of data.
Thus, the set data is stored in the nonvolatile memory on the CNC.

Operating the auxiliary soft key [SEQ]


Based on DI/DO ADDRESS and SIZE of the station where the cursor
is placed, DI/DO ADDRESS areas can be automatically allocated
sequentially for the subsequent stations. For DI/DO SIZE, TYPE,
and MAXT, the same values as set for the slave where the cursor is
placed are set.
Example:
Allocating addresses for all stations sequentially when the values
of DI or DO SIZE are the same for all stations and the values of
the initialization service parameters (TYPE, MAXT) are the
same for all stations
(1) For station #1, set the start address of DI/DO ADDRESS, DI/DO
SIZE, TYPE, and MAXT. (See Screen 2-a.)

Screen 2-a
(2) Check that the cursor is placed on station #1.
(3) Select this soft key.
- 49 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

(4) The confirmation message "ARE YOU READY?" is displayed


in the lower-left corner of the screen.
(5) After checking each parameter, select the soft key [YES] for
automatic setting. (See Screen 2-b.)

NOTE
When setting an arbitrary station number and up,
move the cursor to the station number, then perform
the operation described above.

Screen 2-b

- 50 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Operating the auxiliary soft key [SAME]


The same value can be set in the parameter column where the cursor
is placed.
Example:
Setting 16 for DI SIZE of all stations
(1) Set 16 for DI SIZE of an arbitrary station. (See Screen 2-c.)

Screen 2-c
(2) Check that the cursor is placed on the DI SIZE parameter
column.
(3) Select this soft key.
(4) The confirmation message "ARE YOU READY?" is
displayed in the lower-left corner of the screen.

- 51 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

(5) After checking the parameter, select the soft key [YES] for
automatic setting. (See Screen 2-d.)

Screen 2-d

- 52 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Operating the auxiliary soft key [ADDR]


Based on DI/DO SIZE of the station where the cursor is placed,
DI/DO ADDRESS areas can be automatically allocated sequentially
for the subsequent stations. The values of DI/DO SIZE, TYPE, and
MAXT are not affected.
Example:
Allocating addresses for all stations sequentially when the value
of DI/DO SIZE differs from one station to another
(1) Set DI/DO SIZE for each station.
(2) For station #1, set the start address of DI/DO ADDRESS.
(See Screen 2-e.)

Screen 2-e
(3) Check that the cursor is placed on station #1.
(4) Select this soft key.
(5) The confirmation message "ARE YOU READY?" is
displayed in the lower-left corner of the screen.
(6) After checking each parameter, select the soft key [YES]
for automatic setting. (See Screen 2-f.)

NOTE
When setting an arbitrary station number and up,
move the cursor to the station number, then perform
the operation described above.

- 53 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

Screen 2-f

NOTE
When the soft keys for the auxiliary address
allocation functions are used, the confirmation
message "ARE YOU READY?" is displayed, and
addresses are allocated automatically after
confirmation. Automatic address allocation is
performed not only for the stations displayed on the
screen but also for slave station #1 to #[MAX SLAVE
NO].

- 54 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Restart
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], [IOLNK2], and
[MASTER] in this order. Screen 2-2 appears.
(4) Select the soft key [START]. The master function is restarted
with the current settings displayed on Screen 2-2 or Screen 2-3.

(5) If the settings are correct, LINK STARTED is displayed.


(6) If a setting item is incorrect, PARAMETERS ARE WRONG is
displayed.

CAUTION
When the soft key [START] is selected, the set
parameters are updated, and reset service is also
performed for slave stations #1 to #[MAX SLAVE
NO].
So, the same processing as performed when the
power is turned on again after resetting the network
to the initial state (initialization service for all slave
stations input/output service) is performed.

- 55 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

DI/DO data allocation of the master function

DO data allocation
A DO data area can be set for each slave station according to [DO
ADDR] and [DO SIZ].

NOTE
A DO data area can be shared by slave stations by
setting the same DO data area start address and the
same DO data area size for each slave station.

DI data allocation
A DI data area can be set for each slave station according to [DI
ADDR] and [DI SIZ].

CAUTION
No DI data area can be shared by slave stations.
Example:
A 32-byte DO data area for slave station #1 is allocated starting
at R0100, a 32-byte DI data area for slave station #1 is allocated
starting at R0300, a 48-byte DO data area for slave station #2 is
allocated starting at R0200, and a 48-byte DI data area for slave
station #2 is allocated starting at R0400. The DI data area and DI
data areas are allocated as shown below.

R0100

DO data from the master station to


slave station #1

32 bytes

R0200

DO data from the master station to


slave station #2

48 bytes

R0300

DI data from slave station #1 to


the master station

32 bytes

R0400

DI data from slave station #2 to


the master station

48 bytes

- 56 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Communication status for ladder detection of the master function

Communication status allocation


ERROR STATUS

[STATUS ADDRESS]
+1
+2
+3

Status of communication with


slave station #1
Status of communication with
slave station #2
Status of communication with
slave station #3

+[MAX SLAVE NO]

Status of communication with


slave station #[MAX SLAVE NO]

ERROR STATUS
ERROR STATUS (1 byte) :
Communication line errors detected by the master station are
indicated.
bit 7

Bits 7 to 5 :
Bit 4 :
Bit 3 :
Bit 1 :
Bit 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Reserved (0 at all time)


Abort detection
CRC error detection
Detection of data consisting of an incorrect number of bits
Receive buffer overflow

CAUTION
Many errors are caused by hardware failures (on
communication boards or communication cables)
and noise. Recheck the method of communication
cable connection, terminating resistor, and noise
protection.

- 57 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

Status of communication with remote slave stations


Status of communication with remote slave stations #1 to #[MAX
SLAVE NO] :
The status of communication with each slave station is indicated
(1 byte for each).
bit 7

Bit 7 :

Bits 6 to 1 :
Bit 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with a slave station)


When LINK STATUS = 0, the link is disconnected.
When LINK STATUS = 1, communication is performed
normally.
Reserved (0 at all times)
Communication error flag
When communication error flag = 0, the successive error detach
detection counter is not exceeded.
When communication error flag = 1, the successive error detach
detection counter is exceeded.

Communication status for user visual check of the master function


User visual check allows the user to visually check communication
status while a network is being built or during operation after a
network is built. This status information is displayed by selecting the
soft key [STATUS] on the setting screen (Screen 2-2) for the master
station.

Screen 2-6
(Screen 2-6 indicates that communication with slave stations #1 and
#5 is normal, but communication with the other slave stations is
disconnected.)

- 58 -

B-62714EN/04

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

ERROR STATUS
ERROR STATUS (1 byte) :
Communication line errors detected by the master station are
indicated in hexadecimal.
bit 7

Bits 7 to 5 :
Bit 4 :
Bit 3 :
Bit 1 :
Bit 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Reserved (0 at all time)


Abort detection
CRC error detection
Detection of data consisting of an incorrect number of bits
Receive buffer overflow

LINK STATUS with remote slave stations


Link status with remote slave stations #1 to #[MAX SLAVE NO]:
The detailed status of communication with each slave station are
indicated (1 byte each):
"NO" : Slave station number
"LINK" : Status of the link with a slave station
"SERV" : Code representing a service where an error was
detected
"LAYR" : Code representing a communication layer where an
error was detected
"CODE" : Code representing the cause of an error
Table III-2-5 indicates the communication status patterns indicated by
LINK STATUS.
LINK

SERV

LAYR

CODE

ON

00H

00H

00H

OFF

00H

00H

00H

ER01

30H

81H

20H

ER02

30H

80H

A1H

Description
Input/output normal:
Input/output service is being
performed with a target slave station
normally.
During initialization:
A target slave station is being polled
for initialization service.
Initialization instruction rejected:
An attempt to perform initialization
service for a target slave station is
rejected by the slave station because
of an initialization parameter
mismatch.
Invalid initialization response
parameter:
Initialization service was performed for
a target slave station, but an
initialization success response
returned from the slave station is
invalid

- 59 -

Cause/action
--------------------Turn on the power to a target slave
station or make a target slave station
ready for communication.
Check the initialization parameters (I/O
SIZE, slave type) of the master station
and target slave station.

A response from the target slave station


includes a protocol-related error.
If this error occurs frequently, ask the
manufacturer of the target slave station
to make a check.

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H


LINK

ER03

ER04

ER05

SERV

10H

10H

30H

LAYR

80H

70H

70H

CODE

Description

A2H

Slave station detached:


After communication is established,
the value of the successive error
detach detection counter is exceeded,
and communication with the target
slave station is disabled.

61H

No input/output data:
A response frame for input/output
service from a target slave station
contains no data.

90H

Abnormal initialization response


command:
A response for initialization service
from a target slave station is
abnormal.

OPERATION

B-62714EN/04

Cause/action
When input/output service is performed
with a target slave station, ER03 occurs if
the value of the successive error detach
detection counter is exceeded for a
cause.
If this error occurs frequently, first check
for hardware failures (on communication
boards, communication cables) and
check noise protection.
A response from the target slave station
includes a protocol-related error.
If this error occurs frequently, ask the
manufacturer of the target slave station
to make a check.
A response frame from a target slave
station is destroyed.
If this error occurs frequently, first check
for hardware failures (on communication
boards, communication cables) and
check noise protection. If this error still
occurs, ask the manufacturer of the
target slave station to make a check.

NOTE
The codes indicated by SERV, LAYR, and CODE
are defined by OPCN-1. When asking the
manufacturer of a target slave station to make a
check, inform the manufacturer of these codes.

CONNECTION MONITOR
CONNECTION MONITOR:
The communication status of each slave station is indicated.
One of the following values is indicated:
"0"
: Normal communication
"-"
: Disconnected
"E"
: Error(from ER01 to ER05 indicated in Table III-2-5)
" " (blank): Slave station not included in MAX SLAVE NO.

NOTE
LINK STATUS and CONNECTION MONITOR
provide real-time communication status indications.
So, for an error that periodically occurs, the
indication blinks.

- 60 -

B-62714EN/04

2.2

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

SLAVE FUNCTION

Display of the setting screen

Procedure
(1) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(2) Select the soft keys [PMCDGN], [I/OCHK], and [IOLNK2] in
this order. Screen 2-4 appears.

Screen 2-4
(3)

Select the soft key [SLAVE].

Screen 2-5 appears.

Screen 2-5

- 61 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

Setting items

Item
STATION NO.

BAUD-RATE

STATUS ADDRESS

OPTION1
OPTION2

DI/DO MAP MODE

MAX SLAVE NO.

DO ADDRESS

DO SIZE

- 62 -

Table III-2-4
Description
Station number of the slave station.
Setting range: 1 to 31(Note)
Communication speed.
Setting range: 0 to 3
0: 1.0 Mbps
1: 500 kbps
2: 250 kbps
3: 125 kbps
Two methods of setting are available:
- Input using numeric keys
- Input by soft key selection
(Displayed when the cursor is placed on this
parameter)
Start address of an area for storing communication
status.
Setting range: R area of the PMC
The storing of communication status can be disabled
by selecting the soft key [DISABLE] displayed when
the cursor is placed on this parameter.
When the storing of communication status is
disabled, "----" is displayed.
Not used
Not used
Determines the method of allocating a DI/DO data
area.
Setting: 0, 1
0: DI/DO data transfer function
A DI data area and DO data area are allocated for one
station.
1: Global I/O transfer function
A DI data area is allocated for the number of stations
set in MAX SLAVE NO. plus 1, and a DO data area is
allocated for one station.
Two methods of setting are available: input using
numeric keys and input by soft key selection.
(Displayed when the cursor is placed on this
parameter)
Maximum slave number that takes in DO data when
global I/O transfer is performed.
Setting range: 1 to 31
When DI/DO data transfer (NORMAL) is selected in
DI/DO MAP MODE, this parameter is disabled and "-" is displayed.
DO data area start address.
Setting range: R area of the PMC
DO data area size.
Setting range: 0 to 128(Caution)
(Unit: Bytes)
When DO is not used, set 0.

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Item
DI ADDRESS

DI SIZE

Table III-2-4
Description
DI data area start address.
Setting range: R area of the PMC
DI data area size.
Setting range: 0 to 128(Caution)
(Unit: Bytes)
When DI is not used, set 0.

CAUTION
When using the global I/O transfer function, ensure
that the DI data size and DO data size of each slave
station on the network do not exceed 48 bytes.
NOTE
When using the global I/O transfer function, set
slave station numbers sequentially to allocate an
area efficiently.
Operations of the setting screen

Setting parameters
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], [IOLNK2], and
[SLAVE] in this order. Screen 2-5 appears.
(4) With the cursor keys, move the cursor to an item for which data
is to be entered.
(5) Enter data with the MDI keys.
(6) Select the soft key [INPUT] to execute the input of data.
Example: Setting 128 in DI SIZE
(a) Move the cursor to MAXT.

- 63 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

(b) Enter 128 with the MDI keys.

(c) Select the soft key [INPUT] to execute the input of data.
Thus, the set data is stored in the nonvolatile memory of the CNC.

Restart
(1) Place the CNC in the MDI mode.
(2) Press the function key SYSTEM, then select the soft key [PMC]
to switch to the PMC screen.
(3) Select the soft keys [PMCDGN], [I/OCHK], [IOLNK2], and
[SLAVE] in this order. Screen 2-5 appears.
(4) Select the soft key [START]. The slave function is restarted with
the current settings displayed on Screen 2-5.
(5) If the settings are correct, LINK STARTED is displayed.

(6) If a setting item is incorrect, PARAMETERS ARE WRONG is


displayed.

NOTE
When LINK STARTED is displayed, the slave
station waits for initialization service from the master
station.

- 64 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

DI/DO data allocation of the slave function

DO data allocation
[DO ADDRESS]

DO data from the local slave station to


the master station

[DO SIZE]

DI data allocation when DI/DO data transfer is set (when DI/DO MAP MODE = 0)
[DI ADDRESS]

DI data from the master station to the


local slave station

[DO SIZE]

DI data allocation when global I/O transfer is set (when DI/DO MAP MODE = 1)
[DI ADDRESS]
+[DI SIZE] 1
+[DI SIZE] 2
+[DI SIZE] 3
:
+[DI SIZE]
[STATION NO]
:
+[DI SIZE]
[MAX SLAVE NO]

DI data from the master station to the


local slave station

[DO SIZE]

DO data from slave station #1 to the


master station
DO data from slave station #2 to the
master station
DO data from slave station #3 to the
master station
:
Not used. (The area for the local slave
station is not used. The area can be
used for other purposes such as a DO
data output area for the local station.)
:
DO data from slave station #[MAX
SLAVE NO] to the master station

Example:
When [STATION NO] = 2, [MAX SLAVE NO] = 3, [DI
ADDRESS] = R0300, and [DI SIZE] = 10 for a slave station
performing global I/O transfer, DI data is allocated as follows:
R0300
R0310
R0320
R0330

DI data from the master station to


slave station #2
DO data from slave station #1 to the
master station
Not used
DO data from slave station #3 to the
master station

NOTE
For global I/O transfer, note the following when
allocating DI data:
- [DI/DO DATA SIZE] must match the maximum size
of other slaves.
- The total DI data area size required is [DI/DO
DATA SIZE] [MAX SLAVE NO].
- 65 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

Restrictions on the global I/O transfer function

Conditions for taking in DO data from a remote slave station to the master
station
When the two conditions below are satisfied, DO data from a remote
slave station to the master station is taken in.
Condition 1 : 48 bytes x bytes y bytes
where
x : Size of DI data from the master station to the local slave
station
y : Size of DO data from a remote slave station to the master
station
Condition 2 : Station m Station n
where
m : [MAX SLAVE NO] set at the local slave station
n : Station number of a remote slave station
Example:
When the station number of the local slave station is 2, there are
five remote slave stations, and each slave station is set as
follows:
Setting of slave station #1: DO data size = 16 bytes
Setting of slave station #2: [MAX SLAVE NO] = 4,
[STATION NO] = 2, [DI/DO MAP MODE] =2, [DI/DO
DATA SIZE] = 32
Setting of slave station #3: DO data size = 32 bytes
Setting of slave station #4: DO data size = 48 bytes
Setting of slave station #5: DO data size = 8 bytes
According to the restrictions on global I/O transfer:
Slave station #4 does not satisfy condition 1.
Slave station #5 does not satisfy condition 2.
So, slave station #2 takes in only DO data from slave station #1
to the master station and DO data from slave station #3 to the
master station.
DI data allocation for slave station #2
DO data from slave station #1
(16 bytes)
Not used
(16 bytes)

32 bytes

Not used
(Area for the local station number)

32 bytes

DO data from slave station #3

32 bytes

Not used
(For slave station #4)

32 bytes

- 66 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Communication status for ladder detection of the slave function

Communication status allocation (when DI/DO MAP MODE = 0 [DI/DO data


transfer])
[STATUS ADDRESS]

Status of communication with the


master station

Communication status allocation (when DI/DO MAP MODE = 1 [global I/O


transfer])
[STATUS ADDRESS]
+1
+2
+3
:
+[STATION NO]
:
+[MAX SLAVE NO]

Status of communication with the


master station
Status of communication with
slave station #1
Status of communication with
slave station #2
Status of communication with
slave station #3
:
(This area corresponds to the
local slave station, and is not
used. This area cannot be used
for other purposes.)
:
Status of communication with
slave station #[MAX SLAVE NO]

Status of communication with the master station


Status of communication with the master station (1 byte):
The status of communication with the master station is indicated.
bit 7

Bit 7 :

Bits 6, 5 :
Bit 4 :
Bit 3 :
Bit 2 :
Bit 1 :
Bit 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with the master station)


When LINK STATUS = 0, the link is disconnected.
When LINK STATUS = 1, communication is performed
normally.
Reserved (0 at all times)
Abort detection
CRC error detection
Overrun error detection
Detection of data consisting of an incorrect number of bits
Receive buffer overflow

NOTE
Many errors are caused by hardware failures (on
communication boards or communication cables)
and noise. Recheck the method of communication
cable connection, terminating resistor, and noise
protection.
- 67 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

Status of communication with remote slave stations


Status of communication with slave stations #1 to #[MAX SLAVE
NO]:
The status of reception of DO data from each slave station is
indicated (1 byte for each).
bit 7

Bit 7 :

Bits 6 to 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with a remote slave station)


When LINK STATUS = 0, the link is disconnected.
When LINK STATUS = 1, communication is performed
normally.
Reserved (0 at all times)

Communication status for user visual check of the slave function


User visual check allows the user to visually check communication
status while a network is being built or during operation after a
network is built.

Communication status for user visual check (when DI/DO MAP MODE = 0
[DI/DO data transfer])
This status can be displayed by selecting the soft key [STATUS] on
the slave station setting screen (Screen 2-5).

Screen 2-7
(Screen 2-7 shows that the local slave station (#5) and the master
station are communicating with each other normally.)

- 68 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Communication status for user visual check (when DI/DO MAP MODE = 1
[global I/O transfer])
This status can be displayed by selecting the soft key [STATUS] on
the slave station setting screen (Screen 2-5).

Screen 2-8
(Screen 2-8 shows that the local slave station (#5) and the master
station are communicating with each other normally, and that the
local slave station is performing global I/O transfer with only slave
station #1.)

ERROR STATUS
ERROR STATUS (1 byte):
Communication line errors detected by a slave station are
indicated in hexadecimal.
bit 7

Bits 7 to 5 :
Bit 4 :
Bit 3 :
Bit 2 :
Bit 1 :
Bit 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Reserved (0 at all time)


Abort detection
CRC error detection
Overrun error detection
Detection of data consisting of an incorrect number of bits
Receive buffer overflow

NOTE
Many errors are caused by hardware failures (on
communication boards or communication cables)
and noise. Recheck the method of communication
cable connection, terminating resistor, and noise
protection.
- 69 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

LINK STATUS with the master station


Link status with the master station (1 byte):
The detailed status of communication of the master station are
indicated as follows:
"NO" :
Slave station number of the local station
"LINK" : Status of the link with the master station
"SERV" : Code representing a service where an error was
detected
"LAYR" : Code representing a communication layer where an
error was detected
"CODE" : Code representing the cause of an error
Table III-2-6 indicates the communication status patterns indicated by
LINK STATUS.
LINK

SERV

LAYR

CODE

ON

00H

00H

00H

OFF

00H

00H

00H

ER01

30H

81H

20H

ER02

30H

80H

A1H

Table III-2-6
Description
Input/output normal:
Input/output service is being
performed with the master station
normally.
Disconnected:
Communication with the master
station is disconnected.
Initialization instruction rejected:
An attempt by the master station to
perform initialization service for the
slave station is rejected by the slave
station because of an initialization
parameter mismatch.
DL_len invalid:
When input/output service is
performed, the data length of a
request frame from the master station
is invalid.

Cause/action
--------------------Turn on the power to the master station
or make the master station ready for
communication.
Check the initialization parameters (I/O
SIZE, slave type) of the master station
and slave station.
If this error occurs frequently, first check
for hardware failures (on communication
boards, communication cables) and
check noise protection. If this error still
occurs, ask the manufacturer of the
master station to make a check.

NOTE
1 The codes indicated by SERV, LAYR, and CODE
are defined by OPCN-1. When asking the
manufacturer of the master station to make a check,
inform the manufacturer of these codes.
2 LINK STATUS provides a real-time communication
status indication. So, for an error that periodically
occurs, the indication blinks.

- 70 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

CONNECTION MONITOR
CONNECTION MONITOR:
The communication status of each slave station is indicated.
One of the following values is indicated:
"0"
: Normal communication
"-"
: Disconnected
"E"
: Error (ER01 or ER02 indicated in Table III-2-6)
"*"
: Local slave station
" " (blank) : Slave station not included in MAX SLAVE NO.

NOTE
LINK STATUS and CONNECTION MONITOR
provide real-time communication status indications.
So, for an error that periodically occurs, the
indication blinks.

- 71 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

OPERATION

B-62714EN/04

When the DPL/MDI operation package of Power Mate i-D/H is used


For the method of using the DPL/MDI operation package, refer to
"FANUC Power Mate i series DPL/MDI Operation Package
Operator's Manual: Supplement (B-63175EN/01-06(03))."

Setting parameters
Set the parameters below when setting the slave function by using the
DPL/MDI operation package with PMi-D/H.
30100

[Input type]
[Data type]
[Valid data range]

Station number of the local station

Parameter input
Word
1 to 31(Note)

NOTE
When using the global I/O transfer function, set
slave station numbers sequentially to allocate an
area efficiently.
30101

[Input type]
[Data type]
[Valid data range]

30102

[Input type]
[Data type]
[Valid data range]
30103

[Input type]
[Data type]
[Valid data range]

Baud rate

Parameter input
Word
0 to 3
Set a baud rate.
0 : 1 Mbps
1 : 500 kbps
2 : 250 kbps
3 : 125 kbps
Internal relay address of the start of communication status

Parameter input
Word
Set 82 as R.
Internal relay offset of the start of communication status

Parameter input
Word
-1, 0 to 9999
Set an offset used to allocate communication status.
-1, 0 :
Communication status is not allocated.
1 to 9999:Communication status is allocated.

- 72 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

30106

[Input type]
[Data type]
[Valid data range]

30107

DI/DO MAP MODE

Parameter input
Word
0 : DI/DO data transfer function
1 : Global I/O transfer function
Maximum slave station number from which data is received by the local
station when the global I/O transfer function is used

[Input type]
[Data type]
[Valid data range]

30108

[Input type]
[Data type]
[Valid data range]
30109

[Input type]
[Data type]
[Valid data range]

Parameter input
Word
0 to 31
0:
The global I/O transfer function is not used.
1 to 31 : The global I/O transfer function is used. Set a maximum
slave station number from which data is received by the
local slave station.
Internal relay address of the start of DO

Parameter input
Word
Set 82 as R.
Internal relay offset of the start of DO

Parameter input
Word
0 to 9999

30110

[Input type]
[Data type]
[Valid data range]

DO byte length

Parameter input
Word
0 to 128(Caution)
Set a DO data area size.

CAUTION
When using the global I/O transfer function, ensure
that the DI data size and DO data size of each slave
station on the network do not exceed 48 bytes.

- 73 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H


30111

[Input type]
[Data type]
[Valid data range]
30112

[Input type]
[Data type]
[Valid data range]

B-62714EN/04

Internal relay address of the start of DO

Parameter input
Word
Set 82 as R.
Internal relay offset of the start of DO

Parameter input
Word
0 to 9999

30113

[Input type]
[Data type]
[Valid data range]

OPERATION

DI byte length

Parameter input
Word
0 to 128(Caution)
Set a DI data area size.

CAUTION
When using the global I/O transfer function, ensure
that the DI data size and DO data size of each slave
station on the network do not exceed 48 bytes.
NOTE
When any of the parameters above is modified,
alarm 000 (power-off request) is issued. So, the
power must be turned off then back on. A modified
parameter value does not become effective until the
power is turned off then back on.

- 74 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Diagnostic data
When the DPL/MDI operation package is used with PMi-D/H, check
the communication status for user visual check of the slave function
according to the diagnostic data below.
8100

[Data type]
[Valid data range]
[Data]

DI byte length

Word
0 to 00FF
Hexadecimal representation of a communication line error detected
by the slave station
bit 7

Bits 7 to 5:
Bit 4:
Bit 3:
Bit 2:
Bit 1:
Bit 0:

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

Reserved (0 at all times)


Abort detection
CRC error detection
Overrun error detection
Detection of data consisting of an incorrect number of bits
Receive buffer overflow

NOTE
Many errors are caused by hardware failures (on
communication boards or communication cables)
and noise. Recheck the method of communication
cable connection, terminating resistor, and noise
protection.
8101

[Data type]
[Data]

LINK STATUS 1

Word
The link information of the first station is indicated.
ON
: 255 is indicated because this corresponds to FF.
OFF : 0 is indicated.
ER?? : The hexadecimal value 00?? is represented in decimal. For
example, 0063 is represented as 99.
Blank : When no connection is made

8102

[Data type]
[Data]

LINK STATUS 2

Word
The link information of the second station is indicated.
Information is indicated in the same format as for the first station.

8103

[Data type]
[Data]

LINK STATUS 3

Word
The link information of the third station is indicated.
Information is indicated in the same format as for the first station.
- 75 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H


8104

[Data type]
[Data]

Word
The link information of the fourth station is indicated.
Information is indicated in the same format as for the first station.
LINK STATUS 5

Word
The link information of the fifth station is indicated.
Information is indicated in the same format as for the first station.

8106

[Data type]
[Data]

LINK STATUS 6

Word
The link information of the sixth station is indicated.
Information is indicated in the same format as for the first station.

8107

[Data type]
[Data]

LINK STATUS 7

Word
The link information of the seventh station is indicated.
Information is indicated in the same format as for the first station.

8108

[Data type]
[Data]

LINK STATUS 8

Word
The link information of the eighth station is indicated.
Information is indicated in the same format as for the first station.

8109

[Data type]
[Data]

LINK STATUS 9

Word
The link information of the ninth station is indicated.
Information is indicated in the same format as for the first station.

8110

[Data type]
[Data]

LINK STATUS 10

Word
The link information of the tenth station is indicated.
Information is indicated in the same format as for the first station.

8111

[Data type]
[Data]

B-62714EN/04

LINK STATUS 4

8105

[Data type]
[Data]

OPERATION

LINK STATUS 11

Word
The link information of the eleventh station is indicated.
Information is indicated in the same format as for the first station.

- 76 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

8112

[Data type]
[Data]

LINK STATUS 12

Word
The link information of the twelfth station is indicated.
Information is indicated in the same format as for the first station.

8113

[Data type]
[Data]

LINK STATUS 13

Word
The link information of the thirteen station is indicated.
Information is indicated in the same format as for the first station.

8114

[Data type]
[Data]

LINK STATUS 14

Word
The link information of the fourteenth station is indicated.
Information is indicated in the same format as for the first station.

8115

[Data type]
[Data]

LINK STATUS 15

Word
The link information of the fifteenth station is indicated.
Information is indicated in the same format as for the first station.

8116

[Data type]
[Data]

LINK STATUS 16

Word
The link information of the sixteenth station is indicated.
Information is indicated in the same format as for the first station.

8117

[Data type]
[Data]

LINK STATUS 17

Word
The link information of the seventeenth station is indicated.
Information is indicated in the same format as for the first station.

8118

[Data type]
[Data]

LINK STATUS 18

Word
The link information of the eighteenth station is indicated.
Information is indicated in the same format as for the first station.

8119

[Data type]
[Data]

LINK STATUS 19

Word
The link information of the nineteenth station is indicated.
Information is indicated in the same format as for the first station.

- 77 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H


8120

[Data type]
[Data]

Word
The link information of the twentieth station is indicated.
Information is indicated in the same format as for the first station.
LINK STATUS 21

Word
The link information of the twenty-first station is indicated.
Information is indicated in the same format as for the first station.

8122

[Data type]
[Data]

LINK STATUS 22

Word
The link information of the twenty-second station is indicated.
Information is indicated in the same format as for the first station.

8123

[Data type]
[Data]

LINK STATUS 23

Word
The link information of the twenty-third station is indicated.
Information is indicated in the same format as for the first station.

8124

[Data type]
[Data]

LINK STATUS 24

Word
The link information of the twenty-fourth station is indicated.
Information is indicated in the same format as for the first station.

8125

[Data type]
[Data]

LINK STATUS 25

Word
The link information of the twenty-fifth station is indicated.
Information is indicated in the same format as for the first station.

8126

[Data type]
[Data]

LINK STATUS 26

Word
The link information of the twenty-sixth station is indicated.
Information is indicated in the same format as for the first station.

8127

[Data type]
[Data]

B-62714EN/04

LINK STATUS 20

8121

[Data type]
[Data]

OPERATION

LINK STATUS 27

Word
The link information of the twenty-seventh station is indicated.
Information is indicated in the same format as for the first station.

- 78 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

8128

[Data type]
[Data]

LINK STATUS 28

Word
The link information of the twenty-eighth station is indicated.
Information is indicated in the same format as for the first station.

8129

[Data type]
[Data]

LINK STATUS 29

Word
The link information of the twenty-ninth station is indicated.
Information is indicated in the same format as for the first station.

8130

[Data type]
[Data]

LINK STATUS 30

Word
The link information of the thirtieth station is indicated.
Information is indicated in the same format as for the first station.

8131

[Data type]
[Data]

8132

[Data type]
[Valid data range]
8133

[Data type]
[Valid data range]

LINK STATUS 31

Word
The link information of the thirty-first station is indicated.
Information is indicated in the same format as for the first station.
Service being provided when an error is detected

Word
A value from 0 to 00FF is represented in decimal.
Layer when an error is detected

Word
A value from 0 to 00FF is represented in decimal.

8134

[Data type]
[Valid data range]

Error code

Word
A value from 0 to 00FF is represented in decimal.

- 79 -

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

2.3

OPERATION

B-62714EN/04

DATA CONCURRENCY
When DI data is handled by a ladder program, the I/O Link-II function
guarantees the concurrency of data on a byte-by-byte basis, but does
not guarantee the concurrency of multiple bytes of data.
The I/O Link-II function does not exchanges data in synchronism with
a ladder program, so that the function does not guarantees the
concurrency of DI data consisting of 2 bytes or more. This means that
when a ladder program reads 2-byte DI data, for example, the higher
byte and lower byte of the data may be updated at different timings.

Example where concurrency is not guaranteed


When the 2-byte data 1234 (hex) is entered from the I/O Link-II board
to the area R0300 set to the value 0000 (hex), the ladder program may
read the value 0034 (hex).
DI data

R area of the PMC


R0300

00

00

R0300

00

34

34

12

If the ladder program reads R0300


during this period, 0034 (hex) is read.
R0300

Example of countermeasure:

12

34

Control using synchronization flags

Concurrency can be guaranteed by providing a synchronization flag


before and after multi-byte data and synchronizing the data with the
flags. An example of guaranteeing the concurrency of 6-byte data is
given below.
(1) Data structure
A synchronization flag is prepared at the byte position preceding
the 6-byte data and at the byte position following the 6-byte data,
thus allocating an 8-byte area in total.
R0099
R0100
:
R0105
R0106

Synchronization flag 1
Data section
Synchronization flag 2

(2) Processing on the data write side


The data is updated using the procedure below.
1
Synchronization flag 1 is incremented.
2
The data section is updated.
3
The same value as set in synchronization flag 1 is set in
synchronization flag 2.

- 80 -

B-62714EN/04

OPERATION

2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H


(3) Processing on the data read side
The data is processed using the procedure below.
1
At the start of the second level, the 8 bytes are copied from
R0099 to the synchronization area R0199.
2
A check is made to see if R0199 = R0206.
3
If R0199 = R0206, R0200 is handled as 6-byte data.

CAUTION
If the size of the data section to be synchronized is
increased by combining multiple bytes of data,
synchronization may become difficult.
In such a case, divide the data section on a
variable-by-variable basis before setting
synchronization flags.

- 81 -

3.Power Mate-D/F/H

OPERATION

B-62714EN/04

Power Mate-D/F/H
This chapter describes the setting procedure for operating the slave
function.

NOTE
With PMi-D/H, only the slave function can be used.
With PMi-D/H, the I/O Link-II board (A20B-81000310) and I/O Link-II board B (A20B-8100-0381) can
be used.
When using the I/O Link-II board with PMi-D/H, read
this chapter instead of Chapter 2.

- 82 -

3.1

3.Power Mate-D/F/H

OPERATION

B-62714EN/04

SLAVE FUNCTION

Setting parameters

Parameters
0171

[Input type]
[Data type]
[Valid data range]

DI byte length

Parameter input
Byte
0 to 32: Set a DI data area size when the DI/DO data transfer
function is used.
0 to 48: Set a DI data area size when the global I/O transfer function
is used.
Set a DI data area size.

0172

[Input type]
[Data type]
[Valid data range]

DO byte length

Parameter input
Byte
0 to 32: Set a DO data area size when the DI/DO data transfer
function is used.
0 to 48: Set a DO data area size when the global I/O transfer
function is used.
Set a DO data area size.

CAUTION
When using the global I/O transfer function, ensure
that the DI data size and DO data size of each slave
station on the network do not exceed 48 bytes.
0173

[Input type]
[Data type]
[Valid data range]

Local station number

Parameter input
Byte
1 to 31(Note)
Set the station number of the local station.

NOTE
When using the global I/O transfer function, set
slave station numbers sequentially to allocate an
area efficiently.

- 83 -

3.Power Mate-D/F/H

OPERATION

0174

[Input type]
[Data type]
[Valid data range]

B-62714EN/04

Baud rate

Parameter input
Byte
0(Caution)
Set a baud rate.
0: 1 Mbps

CAUTION
The baud rate is fixed at 1 Mbps.
0180

Maximum slave station number from which data is received by the local
station when the global I/O transfer function is used

[Input type]
[Data type]
[Valid data range]

0181

[Input type]
[Data type]
[Valid data range]

0182

[Input type]
[Data type]
[Valid data range]

Parameter input
Byte
0 to 31(Caution)
0:
The global I/O transfer function is not used.
1 to 31: The global I/O transfer function is used. Set a maximum
station number from which data is to be received by the local
station.
Internal relay address of the start of DI data

Parameter input
Word
0 to 999
Set the start address of a DI data area (R area of the PMC). This
parameter is valid only when the global I/O transfer function is used.
Internal relay address of the start of DO data

Parameter input
Word
0 to 999
Set the start address of a DO data area (R area of the PMC). This
parameter is valid only when the global I/O transfer function is used.

- 84 -

OPERATION

B-62714EN/04

0187

[Input type]
[Data type]
[Valid data range]

3.Power Mate-D/F/H

Internal relay address of the start of communication status

Parameter input
Word
0 to 999
Set the start address of communication status (R area of the PMC).
0
: Communication status is not allocated in a R area of the
PMC.
1 to 999 : Communication status is allocated in a R area of the PMC.

NOTE
For communication status, a 32-byte area is
allocated from the specified internal relay address of
the start of communication status.
0188

[Input type]
[Data type]
[Valid data range]

Master station communication monitoring time

Parameter input
Word
0 to 1000
Set a time-out value used when no DI data is sent from the master
station.
0
: 300 ms
1 to 1000 : 1 to 1000 ms

- 85 -

3.Power Mate-D/F/H

OPERATION

B-62714EN/04

DI/DO data allocation when DI/DO data transfer is set

For PM-D/F/H
- DO data allocation
Y1002

DO data from the local slave


station to the master station

No.172

X1002

DI data from the master station to


the local slave station

No.171

- DI data allocation

When the I/O Link-II board (A20B-8100-310) is used with PMi-D/H


- DO data allocation
Y1032

DO data from the local slave


station to the master station

No.172

X1032

DI data from the master station to


the local slave station

No.171

- DI data allocation

NOTE
When the I/O Link-II board (A20B-8100-310) is used
with PMi-D/H, and DI/DO data transfer is selected,
the maximum allocatable DI/DO sizes are 32
bytes/32 bytes.

- 86 -

B-62714EN/04

3.Power Mate-D/F/H

OPERATION

DI/DO data allocation when global I/O transfer is set

DO data allocation
[No. 0182] (R area)

DO data from the local slave


station to the master station

[No.172]

[No. 0181] (R area)

DI data from the master station to


the local slave station

[No.171]

DI data allocation

+[No.0171] 1
+[No.0171] 2
+[No.0171] 3
:

+[No.0171] [No.0173]

:
+[No.0171] [No.0180]

DO data from slave station #1 to


the master station
DO data from slave station #2 to
the master station
DO data from slave station #3 to
the master station
:
Not used (The area for the local
slave station is not used. This
area can be used for output of
local station DO data or any other
purposes.)
:
DO data from slave station [No.
0180] to the master station

Example:
When [No. 0173] = 2, [No. 0180] = 3, [No. 0181] = 300, and
[No. 0171] = 10 for a slave station performing global I/O
transfer, DI data is allocated as follows:
R0300
R0310
R0320
R0330

- 87 -

DI data from the master station to


slave station #2
DO data from slave station #1 to
the master station
Not used
DO data from slave station #3 to
the master station

3.Power Mate-D/F/H

OPERATION

B-62714EN/04

Restrictions on the global I/O transfer function


Conditions for taking in DO data from a remote slave station to the
master station
When the two conditions below are satisfied, DO data from a remote
slave station to the master station is taken in.
Condition 1: 48 bytes x bytes = y bytes
where
x : Size of DI data from the master station to the local slave
station
y : Size of DO data from a remote slave station to the master
station
Condition 2: Station m Station n
where
m : Maximum slave number [No. 0180] set at the local slave
station
n : Station number of a remote slave station

CAUTION
When the network includes a CNC that has I/O
Link-II board B mounted, the global I/O transfer
function cannot be used.

- 88 -

B-62714EN/04

OPERATION

3.Power Mate-D/F/H

Example:
When the station number of the local slave station is 2, there are
five remote slave stations, and each slave station is set as
follows:
Setting of slave station #1: DO data size = 16 bytes
Setting of slave station #2: [MAX SLAVE NO] = 4,
[STATION NO] = 2, [DI/DO MAP MODE] =2, [DI/DO
DATA SIZE] = 32
Setting of slave station #3: DO data size = 32 bytes
Setting of slave station #4: DO data size = 48 bytes
Setting of slave station #5: DO data size = 8 bytes
According to the restrictions on global I/O transfer:
Slave station #1 does not satisfy condition 1.
Slave station #4 does not satisfy condition 1.
Slave station #5 does not satisfy condition 2.
So, slave station #2 takes in only DO data from slave station #3
to the master station.
DI data allocation at slave station #2
Not used
(For slave station #1)
Not used
(16 bytes)

32 bytes

Not used
(Area for the local station
number)

32 bytes

DO data from slave station #3

32 bytes

Not used
(For slave station #4)

32 bytes

- 89 -

3.Power Mate-D/F/H

OPERATION

B-62714EN/04

Communication status for ladder detection

Communication status allocation


[No. 0187] (R area)
+1
+2
+3
:
:
:
+31

ERROR STATUS
Status of communication with
slave station #1
Status of communication with
slave station #2
Status of communication with
slave station #3
:
:
:
Status of communication with
slave station #31

CAUTION
A communication status area for 32 stations is
always allocated. The area for a free station number
cannot be used for other purposes.

- 90 -

3.Power Mate-D/F/H

OPERATION

B-62714EN/04

ERROR STATUS
ERROR STATUS (1 byte):
Communication line errors detected by the master station are
indicated.
bit 7

Bit 7 :
Bit 6 :
Bit 5 :
Bit 4 :
Bit 3 :
Bit 2 :
Bits 1, 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with the master station)


- When LINK STATUS = 0, the link is disconnected.
- When LINK STATUS = 1, communication is performed normally.
Short frame error
Abort detection
Detection of data consisting of an incorrect number of bits
Overrun error detection
FCS error detection
Reserved (0 at all times)

NOTE
Many errors are caused by hardware failures (on
communication boards or communication cables)
and noise. Recheck the method of communication
cable connection, terminating resistor, and noise
protection.

Status of communication with slave stations #1 to #31


Status of communication with slave stations #1 to #31:
The status of reception of DO data from remote slave stations is
indicated (1 byte for each).
bit 7

Bit 7 :

Bits 6 to 0 :

bit 6

bit 5

bit 4

bit 3

bit 2

bit 1

bit 0

LINK STATUS (status of the link with a remote slave station)


When LINK STATUS = 0, the link is disconnected.
When LINK STATUS = 1, communication is performed
normally.
Reserved (0 at all times)

NOTE
1 When the value set in parameter No. 180 is not 0, a
32-byte communication status area is allocated.
2 When the value set in parameter No. 180 is 0, no
communication status area is allocated.

- 91 -

3.Power Mate-D/F/H

3.2

OPERATION

B-62714EN/04

DATA CONCURRENCY
When DI data is handled by a ladder program, the I/O Link-II function
guarantees the concurrency of data on a byte-by-byte basis, but does
not guarantee the concurrency of multiple bytes of data.
The I/O Link-II function does not exchanges data in synchronism with
a ladder program, so that the function does not guarantees the
concurrency of DI data consisting of 2 bytes or more. This means that
when a ladder program reads 2-byte DI data, for example, the higher
byte and lower byte of the data may be updated at different timings.

Example where concurrency is not guaranteed


When the 2-byte data 1234 (hex) is entered from the I/O Link-II board
to the area R0300 set to the value 0000 (hex), the ladder program may
read the value 0034 (hex).
DI data

R area of the PMC


R0300

00

00

R0300

00

34

34

12

If the ladder program reads R0300


during this period, 0034 (hex) is read.
R0300

Example of countermeasure:

12

34

Control using synchronization flags

Concurrency can be guaranteed by providing a synchronization flag


before and after multi-byte data and synchronizing the data with the
flags. An example of guaranteeing the concurrency of 6-byte data is
given below.
(1) Data structure
A synchronization flag is prepared at the byte position preceding
the 6-byte data and at the byte position following the 6-byte data,
thus allocating an 8-byte area in total.
R0099
R0100
:
R0105
R0106

Synchronization flag 1
Data section
Synchronization flag 2

(2) Processing on the data write side


The data is updated using the procedure below.
1
Synchronization flag 1 is incremented.
2
The data section is updated.
3
The same value as set in synchronization flag 1 is set in
synchronization flag 2.

- 92 -

B-62714EN/04

OPERATION

3.Power Mate-D/F/H

(3) Processing on the data read side


The data is processed using the procedure below.
1
At the start of the second level, the 8 bytes are copied from
R0099 to the synchronization area R0199.
2
A check is made to see if R0199 = R0206.
3
If R0199 = R0206, R0200 is handled as 6-byte data.

CAUTION
If the size of the data section to be synchronized is
increased by combining multiple bytes of data,
synchronization may become difficult.
In such a case, divide the data section on a
variable-by-variable basis before setting
synchronization flags.

- 93 -

IV. CONNECTION

B-62714EN/04

CONNECTION

1.COMMUNICATION FUNCTION CONNECTION

COMMUNICATION FUNCTION
CONNECTION
This chapter provides information required for I/O Link-II connection.

CAUTION
For conditions on using equipment other than the
board, contact the manufacturer of the equipment.
For network installation, care must be taken to
protect against noise sources. Provide a sufficient
space to separate noise sources such as power
lines and motors electrically from the network
cabling, and also ground each device. If the
impedance of ground is too high for sufficient
grounding, a communication error can occur. Before
actual operation after equipment installation,
conduct a communication test for confirmation.
FANUC is not liable for network trouble that arises
from equipment other than the board.

- 97 -

1.COMMUNICATION FUNCTION CONNECTION CONNECTION

1.1

B-62714EN/04

HARDWARE SPECIFICATIONS
The table below provides the I/O Link-II specifications.
Item
Topology
Physical layer (cable)

Transfer rate

Connection method
Communication
method
Number of slave
stations
Station addressing
Electric
characteristics
Isolation between
cables and stations

Hardware specifications
Bus
Twisted pair cable with shielding(Note)
Transfer rate
Maximum cable length
125Kbps
1000m
250 Kbps
800m
500 Kbps
480m
1M bps
240m
Note 1) The maximum cable length is the
standard value used as field guidance.
Note 2) The transfer rates above are accurate to
an error of within 0.1%.
Two-wire/three-wire system, terminal block
Half-duplex, synchronous
31 stations max.
Master station: No number assigned
Slave station: Number from 1 to 1F(H)
Compliant with EIA RS485
Photo-coupler
Baseband
NRZI (Non Return to Zero Inverted)

Coding
0

NOTE
Recommended cable:
KPEV-S 2P 0.9 mm2 manufactured by Hitachi Cable
Ltd., or equivalent

- 98 -

B-62714EN/04

1.2

CONNECTION

1.COMMUNICATION FUNCTION CONNECTION

CABLE CONNECTION
(1) When the master station is connected to a slave station
As shown below, TA (T1) and TB (T2) must be connected with
each other when units at terminals are connected.
Master station

Slave station

TA(T1)

TA(T1)

TB(T2)

TB(T2)

SG

SG

SHD

SHD

FG

FG

Fig. 3.5(a)

Example of connection for the three-wire system and 7-pin


terminal block (for terminal station)

TA: Connect a terminating resistor.


TB: Connect a terminating resistor.
A: Data signal A
B: Data signal B
SG: Signal ground
SHD:Shield (Not used)
(Not used. Not provided for a 5-pin terminal block.)
FG: Frame ground
(Not used. Not provided for a 5-pin terminal block.)

NOTE
Ground the cable shield at both ends of the cable by
using cable clamps.

- 99 -

1.COMMUNICATION FUNCTION CONNECTION CONNECTION

(2)

B-62714EN/04

When the master station is connected to multiple slave stations


TA (T1)
TB (T2)
A
B
Shield

SG

Shield

SHD
FG

Fig. 3.5(b)

Example of connection for the three-wire system and 7-pin


terminal block (for intermediate station)

TA Do not connect a terminating resistor.


TB Do not connect a terminating resistor.
A Data signal A
B Data signal B
SG Signal ground
SHDShield (Not used)
(Not used. Not provided for a 5-pin terminal block.)
FG Frame ground
(Not used. Not provided for a 5-pin terminal block.)

NOTE
Ground the cable shield at both ends of the cable by
using cable clamps.

- 100 -

B-62714EN/04

1.3

CONNECTION

1.COMMUNICATION FUNCTION CONNECTION

SECURING CABLES
For connector locations, see the outline drawing of each board.

Cable

Clamp
Ground plate

Secure the cable with clamps so that if the cable is pulled, no tension
is applied to the connector at each end of the cable. The clamp serves
also for cable shield grounding.

- 101 -

1.COMMUNICATION FUNCTION CONNECTION CONNECTION

1.4

NOISE PROTECTION

1.4.1

Separating Signal Lines

B-62714EN/04

The signal cables belong to group C. For the method of separating the
signal cables from Groups A and B, refer to the connection manual
(B-63003EN, etc.) of each CNC.

1.4.2

Cable Clamps and Shielding


All cables that are run into the CNC unit and require shielding must
be clamped as shown below. The Ethernet twisted pair cable must
also be shielded in this way. This clamping serves not only to secure
cables but also to perform shielding, and therefore is extremely
important to stable system operation. Be sure to clamp the cables.
Peel off part of the cable cover as shown in the figure to expose the
outer coating of the shield, and press the outer coating against the
ground plate with the clamp fixture.
The machine tool builder must prepare a ground plate and install it as
follows:

Ground plate
Cable

Cable clamp
Ground plate

Shield
Cable cover

- 102 -

B-62714EN/04

CONNECTION

1.COMMUNICATION FUNCTION CONNECTION

Prepare the following ground plate:

Mounting screw hole


Ground terminal
(used for grounding)
Clamp fixture mounting hole

For the ground plate, use a nickel-plated iron plate at least 2 mm


thick.
8mm

Ground plate

12mm

20mm

55mm max

28mm
6mm

17mm

Outside dimensions of the clamp fixture

Ordering code of the clamp fixture:


A02B-0124-K001 (8 clamp fixtures)

- 103 -

2.16/18/21-B, 16/18-C

CONNECTION

B-62714EN/04

16/18/21-B, 16/18-C
This chapter provides information required for connecting the I/O
Link-II board when 16/18/21-B or 16/18-C is used.

- 104 -

CONNECTION

B-62714EN/04

2.1

2.16/18/21-B, 16/18-C

SPECIFICATIONS
The specifications of the I/O Link-II board are described below.
- Series 16/18-MODEL B/C
Name
Ordering code
Board drawing number
Heat dissipation
Installation condition

I/O Link-II board


A02B-0120-J282 (slave)
A02B-0120-J283 (master)
A16B-2202-0152
9 (W)(Note 1)
(Note 2)

- Series 21-MODEL B
Name
Ordering code
Board drawing number
Heat dissipation
Installation condition

I/O Link-II board


A02B-0218-J282 (slave)
A02B-0218-J283 (master)
A16B-2202-0152
9 (W)(Note 1)
(Note 2)

NOTE
1 For the heat dissipation of the CNC and optional
units, refer to the connection manual of the CNC.
2 When using the I/O Link-II board, observe the
installation condition (intra-cabinet environment
condition) of the CNC controller unit where the board
is installed.

- 105 -

2.16/18/21-B, 16/18-C

2.2

CONNECTION

B-62714EN/04

INSTALLATION
This section provides information about I/O Link-II board installation.
The I/O Link-II board can be installed in the option slot of the basic
unit.

- 106 -

B-62714EN/04

2.3

2.16/18/21-B, 16/18-C

CONNECTION

CABLE CONNECTION
(1) Terminal block for the I/O Link-II interface (TB1)
The terminal block for the I/O Link-II interface consists of a
terminal block on the cable connection side and a terminal block
on the printed circuit board side, which can be separated from
each other. See Fig. 2(a).
I/O Link-II interface board

Terminal block for the


I/O Link-II interface
board

TB1

Terminal block on the printed


circuit board
Terminal block on the cable
connection side
Fig. 2(a)

Terminal block for the I/O Link-II interface

A terminal block on the cable connection side is installed on the


printed circuit board.
Mounting screw (2 pcs)

Fig. 2(b)

M3 screw terminal (7 pcs)

Exterior view of the terminal block on the cable connection


side

- 107 -

2.16/18/21-B, 16/18-C

CONNECTION

B-62714EN/04

(2) Using the procedure below, connect the I/O Link-II cable to the
terminal block on the cable connection side separated from the
interface board. See Fig. 2(c).
Connect the paired wires of the cable to signal A and signal
B.
Make a connection to SG.
For a station where a terminating resistor is to be connected,
connect TA and TB with each other.
Terminal block on the cable
connection side
M3 screw terminal (7 terminals)

SHG SG B
FG TB TA

Signal name
Description
TA, TB
A terminating register is connected/unconnected.
TA/TB connected
Terminating resistor connected
TA/TB open
Terminating resistor unconnected
A
Data signal A
B
Data signal B
SG
Signal ground
Fig. 2(c)

- 108 -

Signal assignment

B-62714EN/04

2.16/18/21-B, 16/18-C

CONNECTION

(3) Secure the terminal block on the cable connection side to the
terminal block on the printed circuit board side of the interface
board with the mounting screws.

Terminal block on
the printed circuit
board side
Terminal block
on the cable
connection
side

I/O Link-II
cable

Fig. 2(d)

Attaching the terminal block on the cable connection side to


the interface board

NOTE
The terminal block on the cable connection side is
delivered with the printed circuit board. Place an
order on the terminal block, if necessary, according
to the following table:
Manufacturer

Model

FANUC ordering code

Fujicon

F5205A-7P-CA

A63L-0001-0619#A

- 109 -

3.LCD-MOUNTED TYPE 16i/18i/21i-A/BCONNECTION

B-62714EN/04

LCD-MOUNTED TYPE 16i/18i/21i-A/B


This chapter provides information required for connecting the I/O
Link-II board when LCD-mounted type 16i/18i/21i-A/B is used.

- 110 -

CONNECTION3.LCD-MOUNTED

B-62714EN/04

3.1

TYPE 16i/18i/21i-A/B

SPECIFICATIONS
The specifications of the I/O Link-II board are described below.
- LCD-mounted type Series 16i/18i/21i-MODEL A/B
Name
Ordering code
Board drawing
number
Power supply capacity
Heat dissipation
Installation condition

I/O Link-II board


A02B-0236-J282 (slave)
LCD-mounted
type 16i/18i/21i-A
A02B-0236-J283 (master)
A02B-0281-J282 (slave)
LCD-mounted
type 16i/18i/21i-B
A02B-0281-J283 (master)
A20B-8100-0250
24V 0.6(A) (Note 1)
9 (W) (Note 1)
(Note 2)

NOTE
1 For the power supply capacity and heat dissipation
of the CNC and optional units, refer to the
connection manual of the CNC.
2 When using the I/O Link-II board, observe the
installation condition (intra-cabinet environment
condition) of the CNC controller unit where the
board is installed.

- 111 -

3.LCD-MOUNTED TYPE 16i/18i/21i-A/BCONNECTION

3.2

B-62714EN/04

INSTALLATION
This section provides information about I/O Link-II board installation
when LCD-mounted type 16i/18i/21i-MODEL A/B is used.
-

The I/O Link-II board can be installed in any option slot of the
one-slot or three-slot basic unit.

I/O Link-II
interface board

I/O Link-II
interface board

Mother board

- 112 -

B-62714EN/04

3.3

CONNECTION3.LCD-MOUNTED

TYPE 16i/18i/21i-A/B

CABLE CONNECTION
(1) Terminal block for the I/O Link-II interface (TB1)
The terminal block for the I/O Link-II interface consists of a
terminal block on the cable connection side and a terminal block
on the printed circuit board side, which can be separated from
each other. See Fig. 3(a).

I/O Link-II interface board


Terminal block for
the I/O Link-II
interface
TB1

Terminal block on
the printed circuit
board side
Terminal block on the
cable connection side
Fig. 3(a)

Terminal block for the I/O Link-II interface

A terminal block on the cable connection side (A02B-0236K201) is not delivered with the printed circuit board. So, place
an order separately.
Mounting screw (2 pcs)

M3 screw terminal (5 pcs)

Mis-insertion
protection

Fig. 3(b)

Exterior view of the terminal block on the cable connection


side (A02B-0236-K201)

- 113 -

3.LCD-MOUNTED TYPE 16i/18i/21i-A/BCONNECTION

B-62714EN/04

(2) Using the procedure below, connect the I/O Link-II cable to the
terminal block on the cable connection side separated from the
interface board. See Fig. 3(c).
-

Orient the terminal block on the cable connection side so


that the mis-insertion protection key faces you.
Connect the paired wires of the cable to signal A and signal
B.
Make a connection to SG.
For a station where a terminating resistor is to be connected,
connect T1 and T2 with each other.

Mis-insertion
protection key

SG B

A T2 T1

Terminal block on the cable


connection side
M3 screw terminal (5
terminals)
A02B-0236-K201
Signal name Description
T1, T2
A terminating register is
connected/unconnected.
T1/T2 connected Terminating
resistor connected
T1/T2 open
Terminating resistor
unconnected
A
Data signal A
B
Data signal B
SG
Signal ground
Fig. 3(c)

- 114 -

Signal assignment

I/O Link-II cable

B-62714EN/04

CONNECTION3.LCD-MOUNTED

TYPE 16i/18i/21i-A/B

(3) Secure the terminal block on the cable connection side to the
terminal block on the printed circuit board side of the interface
board with the mounting screws.
I/O Link-II interface
board

TB1

Terminal block on the


printed circuit board
Terminal block on the
cable connection side
I/O Link-II cable
Fig. 3(d)

Attaching the terminal block on the cable connection side to


the interface board

Terminal block on the


cable connection side
A02B-0236-K201

I/O Link-II cable


Fig. 3(e)

Attaching the terminal block on the cable connection side to


the interface board (when option slot 4 is used)

- 115 -

4.STAND-ALONE TYPE 16i/18i/21i-A CONNECTION

B-62714EN/04

STAND-ALONE TYPE 16i/18i/21i-A


This chapter provides information required for connecting the I/O
Link-II board when stand-alone type 16i/18i/21i-A is used.

- 116 -

CONNECTION

B-62714EN/04

4.1

4.STAND-ALONE TYPE 16i/18i/21i-A

SPECIFICATIONS
The specifications of the I/O Link-II board are described below.
- Stand-alone type Series 16i/18i/21i-MODEL A
Name
Ordering code

Board drawing number

Power supply capacity


Heat dissipation
Installation condition

I/O Link-II board B


A02B-0265-J282 (slave)
A02B-00265-283 (master)
A20B-8100-0380
(Board B1: Connector board
manufactured by Phoenix Contact)
A20B-8100-0381
(Board B2: Connector board
manufactured by Hirose Electric)
24V 0.6(A) (Note 1)
6 (W) (Note 1)
(Note 2)

NOTE
1 For the power supply capacity and heat dissipation
of the CNC and optional units, refer to the
connection manual of the CNC.
2 When using the I/O Link-II board, observe the
installation condition (intra-cabinet environment
condition) of the CNC controller unit where the board
is installed.

- 117 -

4.STAND-ALONE TYPE 16i/18i/21i-A CONNECTION

4.2

B-62714EN/04

INSTALLATION
This section provides information about I/O Link-II board installation.
-

For LCD-mounted type Series 16i/18i/21i-MODEL A


The I/O Link-II board can be installed in any mini-slot of the
one-slot or three-slot basic unit.

TBA

- 118 -

CONNECTION

B-62714EN/04

4.3

4.STAND-ALONE TYPE 16i/18i/21i-A

CABLE CONNECTION (USING CONNECTORS


MANUFACTURED BY PHOENIX CONTACT)

Connector
Connector pin assignment
TBA 1 2 3 4 5
Mounting
screw

Terminal No.

Signal name

T1

T2

3
4
5

A
B
SG

Signal type
A terminating resistor is connected.
(T1/T2 connected)
No terminating resistor is connected.
(T1/T2 open)
Data signal A
Data signal B
Signal ground

Cable connector:
Manufactured by Phoenix Contact
MSTB2.5/5-STF-5.08 (delivered with the product)
Applicable wire material AWG24-12

Communication cable connection


Screw for
securing a
cable

Detach the cable connector from the board by removing the mounting
screws. Connect the communication cable to the connector according
to the procedure below.
(1) Peel off the cable cover, then cut off an excess shield.
(2) Peel off the cover of each wire to match the length of the crimp
terminal(Note).
(3) Loosen the cable securing screws of the connector so that the
wires can be inserted easily.
(4) Insert the signal wires into the corresponding holes of the
terminal block of the connector.
(5) Secure the wires by tightening the cable securing screws of the
connector.
(6) Insert the connector with the cable attached into the connector on
the board side.
(7) Install the connector by tightening the mounting screws of the
connector.

NOTE
A crimp terminal can also be used.
Twist the wires from which the cover is peel off, then
install a crimp terminal.
The following crimp terminal is recommended:
- AI series manufactured by Phoenix Contact
(Special tool ZA3)
- 119 -

4.STAND-ALONE TYPE 16i/18i/21i-A CONNECTION

4.4

B-62714EN/04

CABLE CONNECTION (USING CONNECTORS


MANUFACTURED BY HIROSE ELECTRIC)

Connector
Connector pin assignment
TBA 1 2 3 4 5

Terminal No.

Signal name

T1

T2

3
4
5

A
B
SG

Mounting
screw

Signal type
A terminating resistor is connected.
(T1/T2 connected)
No terminating resistor is connected.
(T1/T2 open)
Data signal A
Data signal B
Signal ground

Cable connector:
Manufactured by Hirose Electric
HR31-5.08P-5SC (plug)
HR31-SC-121 x 5 (crimp terminal) :
Applicable wire material 0.25 to 1.65 mm2
The plug is delivered with the board.
Place an order on the crimp terminal (A02B-0259-K211) separately.

NOTE
The crimp terminal is not delivered with the board.

Communication cable connection


(1) Peel off the cable cover by about 30 mm, then cut off an excess
shield.
(2) Peel off the cover of each signal wire by about 5 mm.
(3) Twist the signal wires from which the cover is peel off, then
install a crimp terminal.
Use a crimping tool compliant with JIS C9711, and perform
crimping at the 1.25 indication location.
Recommended crimping tool: HR31-TC-01 manufactured by
Hirose Electric
(4) Insert each signal wire into a plug.
When inserting a crimp terminal into a plug, observe the
following orientation:
Crimp contact

- 120 -

Wire

B-62714EN/04

CONNECTION

4.STAND-ALONE TYPE 16i/18i/21i-A

(5) Insert the plug into the board, then tighten the machine screw of
the plug. The machine screw of the plug has a tip of + bit and
number 0.
This crimp terminal can connect and crimp two cables with the multidrop method.

Crimp terminal extraction


If wires are connected incorrectly, the crimp terminal can be extracted
as described below.
A rod of 1 mm can be used for extraction.
Recommended tool: HR31-SC-TP manufactured by Hirose Electric
(1) Press the extraction tool against the mold transformer. (See Fig.
1.)
(2) While pressing the extracting tool against the mold transformer,
tilt the extracting tool to release the extraction protection of the
crimp terminal. (See Fig. 2.)
(3) Pull out the extraction tool.
(4) Pull the wire to extract the crimp terminal.
Mold transformer

Mold transformer
Wire

Extraction tool

Fig. 1

Extraction tool

Wire

Fig. 2

Line expansion
When a CNC is to be added to an existing line, another crimp
terminal (A02B-0259-K211) is required.
(1) Extract the crimp terminal from the plug on the CNC at the last
stage of the line.
(2) Remove the existing communication cable from the crimp
terminal.
(3) Crimp the communication cable and the additional
communication cable onto a new crimp terminal, then insert the
new crimp terminal into the plug.

- 121 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

Power Mate-D/F/H
This chapter provides information required for connecting the I/O
Link-II board when Power Mate-D/F/H is used.

- 122 -

CONNECTION

B-62714EN/04

5.1

5.Power Mate-D/F/H

SPECIFICATIONS
The I/O Link-II board of Power Mate-D/F/H is built into the main unit
of Power Mate-D/F/H.
- Power Mate-D/F/H
Name
Ordering code
Board drawing number
Power supply capacity
Heat dissipation

I/O Link-II board


A02B-0166-H051 (Power Mate-D)
A02B-0198-H050 (Power Mate-F)
A02B-0211-J050 (Power Mate-H)
A20B-2100-0040 or A20B-2100-0041
Included in the power supply capacity and
heat dissipation of the main unit of each
Power Mate model.

NOTE
1 The installation condition of the I/O Link-II board is
the same as the installation condition (intra-cabinet
environment condition) of the main CNC unit.
2 A20B-2100-0040 and A20B-2100-0041 are
compatible with each other.

- 123 -

5.Power Mate-D/F/H

5.2

CONNECTION

B-62714EN/04

CONNECTION
This section provides information about I/O Link-II board connection.
Power Mate
I/O Link-II
board

Base
printed
circuit

Connector for 20pin ribbon cable

PCR connector
manufactured by
Honda (20 pins)

Machine
operator's
panel

Relay terminal
unit

I/O Link-II

Fig. 5.2(a)

Power Mate connection

The I/O Link-II board of the Power Mate is built into the control unit
of the Power Mate. A relay terminal unit is externally required for
connection to the I/O Link-II cable. This unit is connected to the
Power Mate via a branch cable.
DI/DO connectors such as for emergency stop are provided on the
board.

- 124 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

(1) Connectors on the I/O Link-II board (viewed from the bottom of
the unit)
JD2
Connectors on the I/O Link-II board
FANUC
I/O
Link-II

JD23

CM42
CM41
Machine side
Power magnetics cabinet
interface

CM41
CM42

SW1
SW2

Switch setting

SW1

SW3

Switch setting

SW2

SW4

Switch setting

SW3

Switch setting

SW4

(Switches SW1 to SW4 are not used.)

I/O Link-II card

Base printed
circuit board

Fig. 5.2(b)

I/O Link-II board connector drawing

NOTE
1 The installation condition of the I/O Link-II board is
the same as the installation condition (intra-cabinet
environment condition) of the main CNC unit.
2 A20B-2100-0040 and A20B-2100-0041 are
compatible with each other.
SW1 to SW4 are not installed on the following
printed circuit boards of the I/O Link-II board:
A20B-2100-0040/02A and later
A20B-2100-0041/02A and later
3 The board for the Power Mate provides no LED
indication.
4 On the board for the Power Mate, authorization is
performed using parameters.

- 125 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

(2) Dimensions of the relay terminal unit (A08B-0048-C331)


(viewed from the top of the unit)
Screw mounting hole
163.0

16.7
JD23
45.0

TB1

AI

BI

SH

AO

BO

SG SHD TMA TMR TMB SHG

12

16.7
153.0

4.5

42

Unit: mm

Fig. 5.2(c)

Relay terminal unit


100

Fig. 5.2(d)

Cable lead-in diagram

- 126 -

B-62714EN/04

5.Power Mate-D/F/H

CONNECTION

(3) Attaching the relay terminal unit


(a) DIN rail
The relay terminal unit is attached to the DIN mounting
rail.
35
25

Fig. 5.2(e)

Recommended DIN rail

(b) Screwing
The relay terminal unit is screwed using the mounting
holes.

11.6

2-M4

Fig. 5.2(f)

- 127 -

163.0

Plate hole drilling dimensions

5.Power Mate-D/F/H

5.3

CONNECTION

B-62714EN/04

COMMUNICATION CABLE CONNECTION


Connect the I/O Link-II cable to the relay terminal unit as shown
below. The relay terminal unit is connected to the Power Mate via a
branch cable.
Cable

Relay terminal unit

Cable

PCR connector
manufactured by Honda
(20 pins)
I/O Link-II board

Branch cable(Note 1)

Ferrite core(Note 2)
PCR connector
manufactured by Honda
(20 pins)

Fig.5.3(a)

Power Mate (slave station) connection

NOTE
1 A branch cable is to be prepared by the machine
tool builder or is to be purchased from FANUC. For
purchase from FANUC, specify the ordering code
A02B-0166-K891 (cable length: 300 mm). A branch
cable purchased from FANUC is not provided with a
ferrite core. The machine tool builder is to prepare a
ferrite core.
2 For a branch cable, a ferrite core is required to
improve noise protection. Install a ferrite core as
close as possible to the Power Mate. Select a ferrite
core that satisfies the following:
(1) The outer diameter of the branch cable (A02B0166-K891) is about 6.2 mm.
(2) A connector is provided at each end of the
branch cable. So, a split type ferrite core is
required.
Recommended ferrite core:
ZCAT2032-0930 manufactured by TDK

- 128 -

CONNECTION

B-62714EN/04

5.Power Mate-D/F/H

Cable 1

Cable 2

Fig. 5.3(b)

Relay terminal unit connection

NOTE
Ground the cable shield to the cable clamp. The
cable need not be connected to pins (4) and (8).

- 129 -

5.Power Mate-D/F/H

CONNECTION

Name (function)
Cable 1

B-62714EN/04

Description
Data signal A
Data signal B
Signal ground
Shield

Cable 2
Data signal A
Data signal B
Signal ground
Shield
Terminating resistor connection/disconnection
- TA/TB connected
.....A terminating resistor is connected.
- TA/TB open
.....No terminating resistor is connected.

SHG (FG)
M4 screw terminals (12 terminals)

Fig. 5.3(c)

Power Mate terminal block (relay terminal unit)

- 130 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

I/O Link-II board

Relay terminal unit

JD23

JD23

Ferrite core

PCR connector
manufactured by Honda
(20 pins)
Connector: PCRE20FS or PCR-E20FA
Housing: PCR-V20LA

Recommended wire:
A66L-0001-0248#10P (#28AWG x 10 pairs)
Max. length: 300 mm (to be made as short as possible)
FANUC cable specification:
A02B-0166-K891 (300 mm long, without ferrite core)

Fig. 5.3(d)

Branch cable connection

- 131 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

Connector and wire


The PCR series connector manufactured by Honda is usable with a
Power Mate branch cable.
Recommended connector
Connector: PCR-E20FS or PCR-E20FA
Housing: PCR-V20LA
The cable wire indicated below is usable with a branch cable.
Table 5.3
Cable wire

Use

10-pair cable
(for PCR
connector)

General
purpose

- 132 -

Cable wire
FANUC specification
Structure
number
2

0.08 mm
10 pairs

A66L-0001-0284#10P

Remarks

B-62714EN/04

5.4

5.Power Mate-D/F/H

CONNECTION

CONNECTION WITH BUILT-IN DI/DO

Overview
Power Mate
Base printed
circuit board

I/O Link-II
board

Connector for 20-pin


ribbon cable

PCR connector
manufactured by Honda
(20 pins)

Machine
operator's
panel
Relay
terminal
unit

I/O Link-II

Fig. 5.4(a)

Power Mate connection diagram

The I/O Link-II board is provided with built-in DI/DO for responding
at high speed without passing through the I/O Link-II.
<1> Sixteen DI points and sixteen DO points can be used.
<2> All DIs are DC input signals B.
Common switching
7 points x 1 set, 8 points x 1 set, 1 point 24 V common fixed
<3> DOs are of sink type.
<4> The external dimensions of the Power Mate unit are the same as
regular types.
The 20-pin ribbon cable comes out from the bottom of the Power
Mate unit.

NOTE
1 DOs on this board are of sink type, so this board is
not CE mark-compliant. When this board is used in
CE mark-compliant mode, the DOs of this board
cannot be used.
If DOs are needed, use I/O that matches the CE
mark-compliant FANUC I/O Link.
2 The CE mark-compliant label is not attached onto
the Power Mate in which this board is incorporated.

- 133 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

Connector and cable


Connector specification on the board side:
Compliant with the MIL-C-83503 standard.
20 pins with a central key used for mis-insertion protection
(1) Use a cable side connector compliant with the standard.
Hirose HIF3BA-20D-2.54R
(2) When this cable is run out of the cabinet, use a group shielded
cable.
(3) Connector pin number
The row closer to the mis-insertion protection key is row A,
and the other row is row B.
The pin nearest to the triangular pin mark is A1.
Printed circuit board insertion
di ti

Mis-insertion
protection key

Pin mark

Top view

A
B
10

(When viewed from the cable side)


Fig. 5.4(b)

- 134 -

Connector pin numbers

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

Signal specifications
- Input signal specifications (DC input signal B)
DC input signals B are high-speed signals that are sent to the Power
Mate from the machine.
(1) The contacts on the machine side must satisfy the following:
Contact capacity: 30 VDC, 16 mA min.
Leakage current between open contacts:
1 mA max. (voltage 26.4 V)
Voltage drop between closed contacts:
2 V max. (current 8.5 mA, cable voltage drop included)

NOTE
DC input signals B can also be used with the
following input specifications:
Voltage drop between closed contacts:
3.5 V max.
(current 8.5 mA, cable voltage drop included)
Receiver delay time: 4 ms max.
(2) The receiver circuit for these signals is as follows:
Machine
DC input signal
Filter and level
conversion

Receiver circuit

Fig. 5.4(c)
DC input signal

Receiver output signal.


Logic is 0 at transistor
OFF, and logic is 1 at
transistor ON.

Receiver circuit

ON

Logic 1

OFF

Logic 0

Receiver output signal


2 ms max.

Fig. 5.4(d)

- 135 -

2 ms max.

Input signal width and delay time

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

(3) Selecting common lines


For DC input signals B, you can choose from two types of
common lines. One is of fixed source type (0 V common). The
other is a source type (0 V common) or sink type (24 V
common), which are selectable by wiring on the machine side, as
shown below.
Machine
DC input signal
Filter and level
conversion circuit

Receiver output

Receiver circuit

Fig. 5.4(e)

Common line connection

(a) When the sink type is used


Connect (A)-(B), and connect (C)-(D). Logic is 0 when the
contact is open, and logic is 1 when the contact is closed.
(b) When the source type is used
Connect (A)-(D), and connect (B)-(C). Logic is 1 when the
contact is open, and logic is 0 when the contact is closed.

NOTE
The safety standard requires the use of the sink
type.

- 136 -

B-62714EN/04

5.Power Mate-D/F/H

CONNECTION

- Output signal specifications


DC output signals B are used to drive indicator LEDs and relays on
the machine. Transistors are used for the driver.
(1) Output transistor ratings
(a) Maximum load current at output ON
200 mA max. including momentary current
(b) Saturation voltage at output ON
1.6 V max., 1.0 V typ. at load current of 200 mA
(c) Withstand voltage at output OFF
24 V 20% max. including momentary voltage
(d) Leakage current at output OFF
100 A max.
(2) Output circuit
Machine side
Control unit
Signal

Relay
Regulated power
supply

Lamp

Control unit
Signal
Protection resistor

Regulated power
supply

Fig. 5.4(f)

NOTE
Connect 0V on the machine power supply to 0V on
the control unit (CM41-A10, B10, CM42-A10, B10).
Do not make a ground connection on the machine
side.
(3) When an inductive load such as a machine-side relay is
connected, be sure to attach a spark killer. Ensure that a spark
killer is inserted as close as possible (within 20 cm) to the load.
When a capacitive load is connected to the machine side,
current-limiting resistors must be inserted in series, and the
machine must be used within the rated current and voltage
including momentary current and voltage.
(4) When lamps are lit directly by transistor output, rush current
may flow and damage the transistor. For this reason, provide a
protection circuit as shown above, and use the machine within
the rated current and voltage including momentary current and
voltage.
- 137 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

Signal list
- DI signals
PMC ADDRESS
X1000

X1001

#7

#6

#5

#4

#3

#2

#1

#0

DI07

DI06

DI05

DI04

DI03

DI02

DI01

DI00

41-B05

41-A5

41-B04

41A04

41-B03

41-A03

41-B02

41-A02

#7

#6

#5

#4

#3

#2

#1

#0

DI17

DI16

DI15

DI14

DI13

DI12

DI11

DI10

42-B05

42-A5

42-B04

42A04

42-B03

42-A03

42-B02

42-A02

: DC input signal B
: Common-switchable DC input signal B

NOTE
The above signals are used as fixed-address input
signals such as an emergency stop input signal.
Their addresses vary from one Power Mate model to
another. So, refer to the relevant connection
manual.
- DO signals
Y1000

Y1001

#7

#6

#5

#4

#3

#2

#1

#0

DO07

DO06

DO05

DO04

DO03

DO02

DO01

DO00

41-B09

41-A09

41-B08

41-B07

41-A07

41-B06

41-A06

41A08

#7

#6

#5

#4

#3

#2

#1

#0

DO17

DO16

DO15

DO14

DO13

DO12

DO11

DO10

42-B09

42-A09

42-B08

42-B07

42-A07

42-B06

42-A06

- 138 -

42A08

B-62714EN/04

CONNECTION

5.Power Mate-D/F/H

Machine interface
I/O Link-II board

(Connector for 20-pin ribbon cable)

Male

Male

Female

Female

Power magnetics cabinet on the machine side and machine


operator's panel
Fig. 5.4(g)

- 139 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

DI connection details
Example of connection

Pin No.
Bit No.
Address No.
Filter and level conversion circuit

Emergency stop

Fig. 5.4(h)

Machine interface of the I/O Link-II board (1)

X1000 represents DC input signals B (for high-speed signal input).


X1000.0 to X1000.3 and X1000.5 to X1000.7 are common-switchable.
The figure above indicates an example of sink-type input.

- 140 -

CONNECTION

B-62714EN/04

5.Power Mate-D/F/H

Example of connection
Pin No.
Bit No.
Address No.
Filter and level conversion circuit

Fig. 5.4(i)

Machine interface of the I/O Link-II board (2)

X1001 represents DC input signals B (for high-speed signal input).


X1001 is common-switchable. The figure above indicates an example
of sink-type input.

- 141 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

DO connection details

Bit No.
Address No.

Pin No.

Example of connection

Sink-type driver

Regulated
power supply
0V
+24V

Fig. 5.4(j)

Machine interface of the I/O Link-II board (3)

- 142 -

5.Power Mate-D/F/H

CONNECTION

B-62714EN/04

Bit No.
Address No.

Pin No.

Example of connection

Sink-type driver

Regulated
power supply
0V
+24V

Fig. 5.4(k)

Machine interface of the I/O Link-II board (4)

- 143 -

6.Power Mate i-D/H

CONNECTION

B-62714EN/04

Power Mate i-D/H


This chapter provides information required for connecting the I/O
Link-II slave board and I/O Link-II slave board B (collectively
referred to as the I/O Link-II board) when Power Mate i-D/H is used.

- 144 -

6.1

6.Power Mate i-D/H

CONNECTION

B-62714EN/04

SPECIFICATIONS
With the Power Mate i, the I/O Link-II slave board and I/O Link-II
slave board B are used. These two types of slave boards differ in the
interface connector.
The specifications of the I/O Link-II slave board are as follows:
Name
Ordering code
Board drawing number
Interface connector
Power supply capacity
Heat dissipation

I/O Link-II slave board


A02B-0259-J210
A20B-8100-0310
Connector manufactured by Phoenix Contact
24 VDC 10%, 0.3 A (to be supplied from the
main unit)
6 (W)

The specifications of I/O Link-II slave board B are as follows:


Name
Ordering code
Board drawing number
Interface connector
Power supply capacity
Heat dissipation

I/O Link-II slave board B


A02B-0259-J282
A20B-8100-0381
Connector manufactured by Hirose Electric
24 VDC 10%, 0.3 A (to be supplied from the
main unit)
7 (W)

NOTE
The installation condition of the two types of slave
boards above is the same as the installation
condition (intra-cabinet environment condition) of
the main CNC unit.

Interface connector
Power Mate i

I/O Link-II board

Interface connector
I/O Link-II

TBA

The interface connector for the I/O Link-II board of the Power Mate i
is a 5-pin connector, and two I/O Link-II cable wires are installed.
Terminating resistors are built into the I/O Link-II board. So, connect
T1 with T2 by using a wire.

- 145 -

6.Power Mate i-D/H

CONNECTION

B-62714EN/04

NOTE
1 This interface is based on the three-wire system,
with two FGs omitted from the 7-pin terminal block.
Perform cable clamping and shielding with clamp
fixtures.
2 When the I/O Link-II slave board is used, the
interface connector must be detached (with the
communication cable connected) before the base
printed circuit board can be installed or removed.
When I/O Link-II slave board B is used, the base
printed circuit board can be installed or removed
without detaching the interface connector if the
communication cable is not disturbing.
3 On the communication cable, attach a ferrite core as
close as possible to the connector TBA (to improve
noise protection).

Differences between the slave board and slave board B


Compared with the I/O Link-II slave board, I/O Link-II slave board B
has improved functions. However, I/O Link-II slave board B is not
compatible with the I/O Link-II slave board. I/O Link-II slave board B
differs from the I/O Link-II slave board as described below.
(1) When the DI/DO data transfer function is used, the DI/DO size is
extended from 62 bytes/62 bytes to 128 bytes/128 bytes.
Moreover, the allocation area is changed from X/Y addresses to
R addresses.
(2) The communication connector and the method of communication
cable connection are changed. Wires, after crimped to a special
crimp terminal with a crimping tool compliant with JIS C9711,
are inserted into a plug. When a wrong wiring is made, a rod of
1 mm can be used for extraction. A plug (cable-side connector)
is delivered with I/O Link-II slave board B. However, a crimp
terminal (A02B-0259-K211) must be ordered separately. For line
expansion, an additional crimp terminal is required.
(3) The I/O Link-II slave board imposes a restriction on the
installation and removal of the base printed circuit board of the
Power Mate i. On the other hand, I/O Link-II slave board B does
not impose such a restriction.

- 146 -

B-62714EN/04

CONNECTION

6.Power Mate i-D/H

NOTE
1 If I/O Link-II slave board B and I/O Link-II board B of
the CNC are placed on the same line, the global I/O
transfer function does not operate normally on the
I/O Link-II board of the Power Mate i. (The DI/DO
data transfer function can operate normally.)
2 If I/O Link-II slave board B and I/O Link-II board
B1/B2 of the CNC are on the same line, the global
I/O transfer function does not operate normally on
the I/O Link-II board of the Power Mate-D/F/H. (The
DI/DO data transfer function can operate normally.)

Differences from the I/O Link-II board of Power Mate-D/F/H


The I/O Link-II slave board and I/O Link-II slave board B differ from
the I/O Link-II board of Power Mate-D/H as described below.
(1) No relay terminal unit and branch cable are required.
(2) A 5-pin communication connector is used.
(3) No built-in DI/DO is available on the board. (The DI/DO:32/24
built into the main unit can be used.)
(4) The I/O Link-II slave board and I/O Link-II slave board B are CE
mark-compliant.

- 147 -

6.Power Mate i-D/H

6.2

CONNECTION

B-62714EN/04

INSTALLATION
The I/O Link-II board can be installed in any option slot of the basic
unit.

TBA

- 148 -

CONNECTION

B-62714EN/04

6.3

6.Power Mate i-D/H

CABLE CONNECTION (I/O Link-II SLAVE BOARD)

Connector
Connector pin assignment
TBA 1 2 3 4 5
Mounting
screw

Terminal No.

Signal name

T1

T2

3
4
5

A
B
SG

Signal type
A terminating resistor is connected.
(T1/T2 connected)
No terminating resistor is connected.
(T1/T2 open)
Data signal A
Data signal B
Signal ground

Cable connector:
Manufactured by phoenix Contact
MSTB2.5/5-STF-5.08 (delivered with the product)
Applicable wire material AWG24-12

Communication cable connection


Screw for
securing a
cable

Detach the cable connector from the board by removing the mounting
screws. Connect the communication cable to the connector according
to the procedure below.
(1) Peel off the cable cover, then cut off an excess shield.
(2) Peel off the cover of each wire to match the length of the crimp
terminal(Note).
(3) Loosen the cable securing screws of the connector so that the
wires can be inserted easily.
(4) Insert the signal wires into the corresponding holes of the
terminal block of the connector.
(5) Secure the wires by tightening the cable securing screws of the
connector.
(6) Insert the connector with the cable attached into the connector on
the board side.
(7) Install the connector by tightening the mounting screws of the
connector.

NOTE
A crimp terminal can also be used.
Twist the wires from which the cover is peel off, then
install a crimp terminal.
The following crimp terminal is recommended:
- AI series manufactured by Phoenix Contact
(Special tool ZA3)
- 149 -

6.Power Mate i-D/H

6.4

CONNECTION

B-62714EN/04

CABLE CONNECTION (I/O Link-II SLAVE BOARD B)

Connector
Connector pin assignment
TBA 1 2 3 4 5

Terminal No.

Signal name

T1

T2

3
4
5

A
B
SG

Mounting
screw

Signal type
A terminating resistor is connected.
(T1/T2 connected)
No terminating resistor is connected.
(T1/T2 open)
Data signal A
Data signal B
Signal ground

Cable connector:
Manufactured by Hirose Electric
HR31-5.08P-5SC (plug)
HR31-SC-121 x 5 (crimp terminal)
Applicable wire material 0.25 to 1.65 mm2
The plug is delivered with the board.
Place an order on the crimp terminal (A02B-0259-K211) separately.

NOTE
The crimp terminal is not delivered with the board.

Communication cable connection


(1) Peel off the cable cover by about 30 mm, then cut off an excess
shield.
(2) Peel off the cover of each signal wire by about 5 mm.
(3) Twist the signal wires from which the cover is peel off, then
install a crimp terminal.
Use a crimping tool compliant with JIS C9711, and perform
crimping at the 1.25 indication location.
Recommended crimping tool: HR31-TC-01 manufactured by
Hirose Electric
(4) Insert each signal wire into a plug.
When inserting a crimp terminal into a plug, observe the
following orientation:
Crimp contact

- 150 -

Wire

B-62714EN/04

6.Power Mate i-D/H

CONNECTION

(5) Insert the plug into the board, then tighten the machine screw of
the plug. The machine screw of the plug has a tip of + bit and
number 0.
This crimp terminal can connect and crimp two cables with the multidrop method.

Crimp terminal extraction


If wires are connected incorrectly, the crimp terminal can be extracted
as described below.
A rod of 1 mm can be used for extraction.
Recommended tool: HR31-SC-TP manufactured by Hirose Electric
(1) Press the extraction tool against the mold transformer. (See Fig.
1.)
(2) While pressing the extracting tool against the mold transformer,
tilt the extracting tool to release the extraction protection of the
crimp terminal. (See Fig. 2.)
(3) Pull out the extraction tool.
(4) Pull the wire to extract the crimp terminal.
Mold transformer

Mold transformer
Wire

Extraction tool

Fig. 1

Extraction tool

Wire

Fig. 2

Line expansion
When a CNC is to be added to an existing line, another crimp
terminal (A02B-0259-K211) is required.
(1) Extract the crimp terminal from the plug on the CNC at the last
stage of the line.
(2) Remove the existing communication cable from the crimp
terminal.
(3) Crimp the communication cable and the additional
communication cable onto a new crimp terminal, then insert the
new crimp terminal into the plug.

- 151 -

V. MAINTENANCE

B-62714EN/04

MAINTENANCE

1.16/18/21-B, 16/18-C

16/18/21-B, 16/18-C
This chapter provides hardware information required for maintaining
the I/O Link-II board used with Series 16/18-B/C and 21-B.

- 155 -

1.16/18/21-B, 16/18-C

1.1

MAINTENANCE

B-62714EN/04

COMPONENT LAYOUT
Print characters
such as connector
names
I/O
LINK-II
DC-DC
LEDM1
SW1-1
SW2-1
SW3-1
SW4-1

ROM

TB1

SH1
JD5A

CPU
SCA
module module

JD1B1
JD1A1

Name
I/O Link-II board
CPU module
SCA module

- 156 -

PCB drawing number


A16B-2202-1502
A20B-2902-0030
A20B-2901-0682

Remarks

1.2

1.16/18/21-B, 16/18-C

MAINTENANCE

B-62714EN/04

LED INDICATIONS AND THEIR MEANINGS


On the I/O Link-II board used with Series 16/18-B/C and 21-B, four
green LEDs (STATUS), three red LEDs (ALARM), and four green
LEDs (LEDM1) for software control display are provided for status
indication at the top of the front of the panel.
In the description below, each LED has one of the following states:
A : Turned off B : Turned on C : Blinking D : Irrelevant
I/O
LINK-II
STATUS
ALARM
LEDM1

9 8

11 10

STATUS LEDs (green)


No.

LED indication

1234

STATUS

BAAA

STATUS

BCAA

Board state
The I/O Link-II board is operating
normally.
DI/DO data transfer is being performed
normally.

ALARM LEDs (red)


No.
1

LED indication 1 2 3
ALARM
BAA

No.

LED indication

Board state
A RAM parity error occurred.

LEDM1 (green)
1
2
3
4
5
6

12
BB
BB
AA
BB
AA
CA
AB
AA
BB
AA
BA
AA
BA
CD

- 157 -

Board state
State immediately after power-on
The communication board is being
initialized.
The communication board software is
running.
A RAM parity error occurred.
An F-bus error occurred.
An F-bus system emergency occurred.
A communication error (such as an FCS
error, command error, frame length error,
and response timeout) occurred. This
indication is provided if a communication
error occurs even once.

1.16/18/21-B, 16/18-C

1.3

MAINTENANCE

B-62714EN/04

SETTING

Setting pin (SH1)


The I/O Link-II board has a setting pin (SH1) mounted. This setting
pin is used for testing at the factory. This setting pin is set before
shipment. Do no change the setting. If the plug is removed, the board
malfunctions.

Rotary switch (SW1-1)


Baud rate setting
The I/O Link-II board has a rotary switch (SW1-1) mounted. This
switch is used for setting a baud rate. This switch is set to 0 before
shipment.
Setting
0

Baud rate
1Mbps

CAUTION
The baud rate is to be fixed at 1 Mbps. Do not
change the setting.

Rotary switches (SW2-1, SW3-1)


SW2-1 and SW3-1 are not used. These switches are set to 0 before
shipment.

Rotary switch (SW4-1)


SRAM initialization
The parameters related to the I/O Link-II function are stored in the
SRAM on the I/O Link-II board. When using the I/O Link-II board for
the first time, initialize the SRAM on the board according to the
procedure below.
(1) While the power to the CNC is off, set the rotary switch (SW4-1)
on the board to F.
(2) Turn on the power, and check that the normal CNC screen
appears. (At this time, the SRAM is initialized.)
(3) Turn off the power, then reset SW4-1 from F to 0. Finally, turn
on the power again.

- 158 -

B-62714EN/04

MAINTENANCE

2.LCD-MOUNT TYPE 16i/18i/21i-A/B

LCD-MOUNT TYPE 16i/18i/21i-A/B


This chapter provides hardware information required for maintaining
the I/O Link-II board used with 16i/18i/21i-A/B.

- 159 -

2.LCD-MOUNT TYPE 16i/18i/21i-A/B MAINTENANCE

COMPONENT LAYOUT
SH1

Communi
cation
LSI

DC-DC

CPU

ROM

2.1

B-62714EN/04

LED 6 5 4 3 2 1 SW1

Name
I/O Link-II board

- 160 -

PCB drawing number


A20B-8100-0250

TB1

SH3

Remarks

MAINTENANCE

B-62714EN/04

2.2

2.LCD-MOUNT TYPE 16i/18i/21i-A/B

LED INDICATIONS AND THEIR MEANINGS


On the I/O Link-II board, five green LEDs and one red LED are
provided for status indication. The locations and display information
of the LEDs are described below.
In the description below, each LED has one of the following states:
A : Turned off

B : Turned on

C : Blinking D : Irrelevant

LED 6 5 4 3 2 1

LEDs for state indication (green)


No.
1

LED indication

1234
BBBB

BBAA

CDAA

AAAB

5
6

AABB
AABA

CDBA

No.

LED indication

5
B

Board state
State immediately after power-on
The communication board is being
initialized.
DI/DO data transfer is being performed
normally.
The communication board software is
running.
An F-bus error occurred.
An F-bus system emergency occurred.
A communication error (such as an FCS
error, command error, frame length error,
and response timeout) occurred. This
indication is provided if a communication
error occurs even once.
Board state
The I/O Link-II board is operating
normally.

LED for alarm indication (red)


No.
1

LED indication

- 161 -

6
B

Board state
A RAM parity error occurred.

2.LCD-MOUNT TYPE 16i/18i/21i-A/B MAINTENANCE

2.3

B-62714EN/04

SETTING

Setting pin (SH1)


The I/O Link-II board has a setting pin (SH1) mounted. This setting
pin is used for testing at the factory. This setting pin is set before
shipment. Do no modify the setting. If the plug is removed, the board
malfunctions.

Setting pin (SH3)


The I/O Link-II board has a setting pin (SH3) mounted. This setting
pin is used for testing at the factory. No plug is installed before
shipment. Do no install a plug. Otherwise, the board malfunctions.

Rotary switch (SW1)


The I/O Link-II board has a rotary switch (SW1) mounted.
SRAM initialization and baud rate setting
The parameters related to the I/O Link-II function are stored in the
SRAM on the I/O Link-II board. When using the I/O Link-II board for
the first time, initialize the SRAM on the board according to the
procedure below.
(1) While the power to the CNC is off, set the rotary switch (SW1)
on the board to E.
(2) Turn on the power, and check that the normal CNC screen
appears. (At this time, the SRAM is initialized.)
(3) Turn off the power, then reset SW1 from E to 0. Finally, turn on
the power again.
(4) The I/O Link-II board operates at a baud rate of 1 Mbps.
Setting
0

Baud rate
1Mbps

CAUTION
The baud rate is to be fixed at 1 Mbps. Do not
change the setting.

- 162 -

B-62714EN/04

MAINTENANCE

3.STAND-ALONE TYPE 16i/18i/21i-A

STAND-ALONE TYPE 16i/18i/21i-A


This chapter provides hardware information required for maintaining
the I/O Link-II board used with stand-alone type 16i/18i/21i-A.

- 163 -

3.STAND-ALONE TYPE 16i/18i/21i-A MAINTENANCE

3.1

COMPONENT LAYOUT

3.1.1

Board B1

Custom
LSI

B-62714EN/04

Custom
LSI

MPU

SH1

TBA

Name
I/O Link-II board

- 164 -

PCB drawing number


A20B-8100-0380

Remarks

MAINTENANCE

B-62714EN/04

3.1.2

3.STAND-ALONE TYPE 16i/18i/21i-A

Board B2

Custom
LSI

Custom
LSI

MPU

SH1
TBA

Name
I/O Link-II board

- 165 -

PCB drawing number


A20B-8100-0381

Remarks

3.STAND-ALONE TYPE 16i/18i/21i-A MAINTENANCE

3.2

B-62714EN/04

LED INDICATIONS AND THEIR MEANINGS


On the I/O Link-II board, four green LEDs (RUN, COM, SO, and
SLV) and two red LEDs (TER and PRT) are provided for status
indication. The locations and display information of the LEDs are
described below.
In the description below, each LED has one of the following states:
A : Turned off

B : Turned on

C : Blinking D : Irrelevant

TBA

1(RUN)(GREEN)

2(COM)(GREEN)

3(SO )(GREEN)

4(SLV)(GREEN)

A(TER)(RED)

B(PRT)(RED)

NOTE
The face plate is indicated using dotted lines.

LEDs for state indication


No.
1

LED indication
1(RUN)
B

2(COM)

3
4

3(SO)
4(SLV)

B
B

Board state
Turned on when the board starts normally.
Turned on when communication starts.
Master station: Turned on when a response is
made to an initialization service request.
Slave station: Turned on when a response is
made to an initialization service request.
Turned on each time transmission is performed.
Turned on for a slave station.

LEDs for error occurrence indication


No.

LED indication

A(TER)

B(PRT)

- 166 -

Board state
A communication error was detected in data
reception.
A parity error occurred in main memory.

MAINTENANCE

B-62714EN/04

3.3

3.STAND-ALONE TYPE 16i/18i/21i-A

SETTING

Setting pin (SH1)


The I/O Link-II board has a setting pin (SH1) mounted. This setting
pin chooses whether to use this board for the slave function or master
function of I/O Link-II.
Install a plug on the SLAVE side or MASTER side as desired.
This setting is made before shipment according to the specifications.
So, do not change the setting. If the plug is removed, the board
malfunctions.

- 167 -

4.Power Mate-D/F/H

MAINTENANCE

B-62714EN/04

Power Mate-D/F/H
This chapter provides hardware information required for maintaining
the I/O Link-II board used with Power Mate-D/F/H.

- 168 -

B-62714EN/04

4.1

4.Power Mate-D/F/H

MAINTENANCE

COMPONENT LAYOUT
Connector CN4
ROM

ST1

Rotary switch

JD23

Upper
Lower

Name

PCB drawing number

I/O Link-II board

A20B-2100-0040
A20B-2100-0041

- 169 -

CM42
CM41
Remarks
A20B-2100-0040 and
A20B-2100-0041 are
compatible with each other.

4.Power Mate-D/F/H

4.2

MAINTENANCE

B-62714EN/04

SETTING

Setting pin (ST1)


The I/O Link-II board has a setting pin (ST1) mounted. This setting
pin is used for testing at the factory. No plug is installed before
shipment. Do no install a plug. Otherwise, the board malfunctions.

Rotary switches (SW1 to SW4)


The I/O Link-II board has rotary switches SW1 to SW4 installed.
These switches are not used. These switches are set to 0 before
shipment.

NOTE
1 SW1 to SW4 are not installed on the following
printed circuit boards of the I/O Link-II board:
A20B-2100-0040/02A and later
A20B-2100-0041/02A and later
2 The board for the Power Mate provides no LED
indication.
3 On the board for the Power Mate, authorization is
performed using parameters.

- 170 -

B-62714EN/04

MAINTENANCE

5.Power Mate i-D/H

Power Mate i-D/H


This chapter provides hardware information required for maintaining
the I/O Link-II board used with Power Mate i-D/H.
Two types of I/O Link-II boards are used with Power Mate i-D/H.
The I/O Link-II slave board uses a connector terminal block
manufactured by Phoenix Contact.
I/O Link-II board B uses a thin connector terminal block
manufactured by Hirose Electric.

NOTE
1 The connector terminal block TBA can be attached
and detached with the I/O Link-II cable connected.
When the connector terminal block TBA is
reconnected, tighten the screws of the terminal
block again.
2 Before the board can be removed from the basic
unit, the connector terminal block TBA must be
detached.
3 For the method of attaching and detaching the
connector terminal block, see Chapter 6 of the part
for connection.

- 171 -

5.Power Mate i-D/H

MAINTENANCE

5.1

I/O Link-II SLAVE BOARD

5.1.1

Component Layout

B-62714EN/04

Custom
LSI

Custom
LSI

ROM

DC-DC

MPU

TBA

Name
I/O Link-II slave board

- 172 -

PCB drawing number


A20B-8100-0310

Unit drawing number


A02B-0259-J210

5.1.2

5.Power Mate i-D/H

MAINTENANCE

B-62714EN/04

LED Indications and Their Meanings


On the I/O Link-II slave board, one green LED and one red LED are
provided for status indication. The locations and display information
of the LEDs are described below.
In the description below, each LED has one of the following states:
A : Turned off

B : Turned on

C : Blinking D : Irrelevant

TBA

LED 2 (GREEN)

LED A (RED)

In the figure above, the face plate is indicated using dotted lines.
Name

Color

LED A

Red

LED 2

Green

Meaning
A RAM parity error
occurred on the I/O
Link-II slave board.
This LED is turned on
when communication is
performed normally
using the I/O Link-II
slave board. This LED
is off before
communication starts or
when a communication
error occurs.

- 173 -

Action
If this LED is turned on, the
error may be recovered by
turning the power off than back
on. However, replace the PCB.
If this LED is not turned on,
take the following actions as
required:
1) Check the I/O Link-II cable.
2) Check the connector
terminal block TBA.
3) Check the state of the I/O
Link-II master unit.
4) Replace the PCB.

5.Power Mate i-D/H

MAINTENANCE

5.2

I/O Link-II SLAVE BOARD B

5.2.1

Component Layout

Custom
LSI

B-62714EN/04

Custom
LSI

MPU

SH1
TBA

Name
I/O Link-II slave board B

- 174 -

PCB drawing number


A20B-8100-0381

Unit drawing number


A02B-0259-J282

5.2.2

5.Power Mate i-D/H

MAINTENANCE

B-62714EN/04

LED Indications and Their Meanings


On I/O Link-II slave board B, four green LEDs (RUN, COM, SO, and
SLV) and two red LEDs (TER and PRT) are provided for status
indication. The locations and display information of the LEDs are
described below.
In the description below, each LED has one of the following states:
A : Turned off

B : Turned on

C : Blinking D : Irrelevant

TBA

1(RUN)(GREEN)

2(COM)(GREEN)

3(SO )(GREEN)

4(SLV)(GREEN)

A(TER)(RED)

B(PRT)(RED)

In the figure above, the face plate is indicated using dotted lines.

LEDs for state indication


No.
1

LED indication
1(RUN)
B

2(COM)

3(SO)

4(SLV)

Board state
Turned on when the board starts normally.
Turned on when communication starts.
The board is used for a slave station. So, this LED
is turned on when a response is made to an
initialization service request.
Turned on each time transmission is performed.
Turned on (to indicate that the station is a slave
station).

LEDs for error occurrence indication


No.

LED indication

A(TER)

B(PRT)

- 175 -

Board state
A communication
error was detected
in data reception.

A parity error
occurred in the
memory on the
slave board.

Action
1) Check the I/O Link-II cable.
2) Check the connector
terminal block TBA.
3) Check the state of the I/O
Link-II master unit.
4) Replace the slave board.
The error may be recovered
by turning the power off than
back on. However, replace
the slave board.

5.Power Mate i-D/H

5.2.3

MAINTENANCE

B-62714EN/04

Setting

Setting pin (SH1)


The I/O Link-II board has a setting pin (SH1) mounted. This setting
pin is used to indicate that the board is used for the I/O Link-II slave
function. A plug is installed on the SLAVE side. Do no change the
setting. If the plug is removed, the board malfunctions.

- 176 -

Index

B-62714EN/04

Index
56

DI/DO data allocation of the slave function38,


ALARM LEDs (red) ........................................ 157

65

APPLICABLE MODELS .................................... 5

DI/DO data allocation when DI/DO data


transfer is set ................................................ 86

DI/DO data allocation when global I/O transfer

BAUD-RATE............................................... 47, 62

is set ............................................................... 87

DI/DO data transfer function........................... 17


Differences between the slave board and slave

Communication cable connection119, 120, 149,

board B......................................................... 146

150

Differences from the I/O Link-II board of Power

Communication status for ladder detection.... 90

Mate-D/F/H.................................................. 147

Communication status for ladder detection of

Display of the setting screen .......... 22, 32, 45, 61

the master function................................. 30, 57

DO ADDR .......................................................... 47

Communication status for ladder detection of

DO ADDRESS....................................... 23, 33, 62

the slave function.................................... 40, 67

DO SIZ ............................................................... 47

Communication status for user visual check of

DO SIZE ............................................................ 62

the master function....................................... 58

DO data ............................................................. 17

Communication status for user visual check of


the slave function.......................................... 68

Connector ................................ 119, 120, 149, 150


EDs for state indication (green) ..................... 161

Connector and cable ....................................... 134


Connector and wire ........................................ 132

Crimp terminal extraction ..................... 121, 151

GENERAL WARNINGS AND NOTES ............. 3


Global I/O transfer function ............................. 17

GLOSSARY ....................................................... 16

DEFINITION OF WARNING, CAUTION, AND


NOTE............................................................... 2

DI ADDR ........................................................... 47

I/O LINK-II ....................................................... 24

DI ADDRESS ........................................ 23, 33, 63

I/O LINK-II ....................................................... 34

DI SIZ ................................................................ 47

I/O LINK-II I/O FUNCTION ............................. 9

DI SIZE ............................................................. 63

Initial state........................................................ 16

DI data............................................................... 17

Initialization service ......................................... 16

DI/DO DATA SIZE ..................................... 23, 33

Input signal specifications (DC input signal B)

DI/DO MAP MODE .............................. 23, 33, 62

...................................................................... 135

DI/DO data allocation of the master function28,

Input/output service ......................................... 16

i-1

Index

B-62714EN/04

Interface connector ......................................... 145

Rotary switch (SW4-1).................................... 158

Rotary switches (SW1 to SW4)....................... 170


Rotary switches (SW2-1, SW3-1) ................... 158

LED for alarm indication (red) ...................... 161

LEDM1 (green) ............................................... 157


LEDs for error occurrence indication .... 166, 175

SCAN TIME .......................................... 23, 33, 47

LEDs for state indication ....................... 166, 175

Setting items ..................................................... 62

Line expansion........................................ 121, 151

Setting items and display items........... 23, 33, 47

Setting parameters ........................................... 83


Setting pin (SH1) .................... 158, 162, 167, 176

MAX SLAVE NO............................. 23, 33, 47, 62

Setting pin (SH3) ............................................ 162

MAXT ................................................................ 48

Setting pin (ST1)............................................. 170


Slave station...................................................... 16

Slave type .......................................................... 17

One scan ............................................................ 17

STATION NO.................................................... 62

OPCN-1 (formerly called JPCN-1 or JEMA net)

STATUS ADDRESS........................ 23, 33, 47, 62

....................................................................... 16

STATUS LEDs (green) ................................... 157

OPCN-1 certified device ................................... 16

stypeM ............................................................... 18

Operations of the setting screen .... 25, 35, 48, 63

stypeS ................................................................ 18

OPTION1 ........................................ 23, 33, 47, 62

Successive error detach detection counter ...... 17

OPTION2 ........................................ 23, 33, 47, 62


Output signal specifications........................... 137

TYPE.................................................................. 48

REFRESH TIME ........................................ 24, 48

Restrictions on the global I/O transfer function

When the DPL/MDI operation package of Power

................................................................. 66, 88

Mate i-D/H is used ........................................ 72

Rotary switch (SW1) ....................................... 162


Rotary switch (SW1-1).................................... 158

i-2

#$%""

& $%"""

 )$%33-

5($%336

&/)

"

"1

"

"

 )

))

4.
/).//  $

)/2




 )0




&'() )*+,
-.
/  $

 )

&/)

   !

 

))

Printed at GE Fanuc Automation S.A. , Luxembourg

March 2001

S-ar putea să vă placă și