I - O Link-II Connection Manual, GFZ-62714EN - 04

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 182

GE Fanuc Automation

Computer Numerical Control Products

I/O Link―II

Connection Manual

GFZ-62714EN/04 February 2001


GFL-001
Warnings, Cautions, and Notes
as Used in this Publication

Warning
Warning notices are used in this publication to emphasize that hazardous voltages, currents,
temperatures, or other conditions that could cause personal injury exist in this equipment or may
be associated with its use.
In situations where inattention could cause either personal injury or damage to equipment, a
Warning notice is used.

Caution
Caution notices are used where equipment might be damaged if care is not taken.

Note
Notes merely call attention to information that is especially significant to understanding and
operating the equipment.

This document is based on information available at the time of its publication. While efforts
have been made to be accurate, the information contained herein does not purport to cover all
details or variations in hardware or software, nor to provide for every possible contingency in
connection with installation, operation, or maintenance. Features may be described herein which
are not present in all hardware and software systems. GE Fanuc Automation assumes no
obligation of notice to holders of this document with respect to changes subsequently made.

GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory


with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or
usefulness of the information contained herein. No warranties of merchantability or fitness for
purpose shall apply.

©Copyright 2001 GE Fanuc Automation North America, Inc.


All Rights Reserved.
B-62714EN/04 SAFETY PRECAUTIONS

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 Operator’s
Manual to become fully familiar with the functions to be used.

CONTENTS

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


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

s-1
SAFETY PRECAUTIONS B-62714EN/04

1 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
B-62714EN/04 SAFETY PRECAUTIONS

2 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 factory-
set. 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
B-62714EN/04 SAFETY PRECAUTIONS

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
B-62714EN/04 Table of Contents

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

2 LCD-MOUNTED TYPE 16i/18


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

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


2.2 SLAVE FUNCTION ........................................................................................................................ 61
2.3 DATA CONCURRENCY................................................................................................................. 80

3 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

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


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

2.1 SPECIFICATIONS........................................................................................................................ 105


2.2 INSTALLATION ........................................................................................................................... 106
2.3 CABLE CONNECTION ................................................................................................................ 107

3 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

4 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

5 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

6 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
B-62714EN/04 Table of Contents

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

2 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

3 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

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

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


4.2 SETTING ....................................................................................................................................... 170

5 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
B-62714EN/04 GENERAL 1.GENERAL

1 GENERAL
Describes the organization of this manual, applicable models.

-3-
1.GENERAL GENERAL B-62714EN/04

1.1 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-
B-62714EN/04 GENERAL 1.GENERAL

1.2 APPLICABLE MODELS

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

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

-5-
II. SPECIFICATIONS
B-62714EN/04 SPECIFICATIONS 1.I/O LINK-II I/O FUNCTION

1 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 SPECIFICATIONS B-62714EN/04

1.1 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/21-B 16/18/21-B


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

- 10 -
B-62714EN/04 SPECIFICATIONS 1.I/O LINK-II I/O FUNCTION

1.2 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 SPECIFICATIONS B-62714EN/04

1.3 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 Slave station #2 Slave station #3 Slave station #N


[Remote slave [Local slave [Remote slave [Remote slave
station] station] station] 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 -
B-62714EN/04 SPECIFICATIONS 1.I/O LINK-II I/O FUNCTION

1.4 SPECIFICATIONS

Type Master station Master station Slave station


LCD-mounted type
Applicable CNC 16/18/21-B, 16/18-C 16/18/21-B, 16/18-C
16i/18i/21i-A/B
Board (printed circuit board I/O Link-II board I/O Link-II board I I/O Link-II board
drawing number) A16B-2202-0152 A20B-8100-0250 A16B-2202-0152
Control software 6546 series 6546 series 6545 series
62 bytes/62 bytes (16/18-C)
Maximum DI/DO size of the 62 bytes/62 bytes (16/18-C)
32 bytes/32 bytes 128 bytes/128 bytes
DI/DO data transfer function 32 bytes/32 bytes (16/18/21-B)
(16/18/21-B)
Maximum DI/DO size of the
--- --- 48 bytes
global I/O transfer function
R0000-R0999 for both
DI/DO allocatable area of
DI and DO
the DI/DO data transfer R0000-R0999 for both DI R0000-R0999 for both DI and
(PMC-SA1/SA5)
function and DO DO
R0000-R1499 for both
(PMC-SA1/SA3) (PMC-SA1/SA3)
DI and DO
DI/DO allocatable area of R0000-R1499 for both DI R0000-R1499 for both DI and
(PMC-SB5)
the global I/O transfer and DO DO
R0000-R2999 for both
function (PMC-SB3/SC3/SB5) (PMC-SB3/SC3/SB5)
DI and DO
R0000-R2999 for both DI R0000-R2999 for both DI and
(PMC-SB6)
and DO DO
Status information R0000-R7999 for both
(PMC-SB4/SC4/SB6) (PMC-SB4/SC4/SB6)
allocatable area DI and DO
(PMC-SB7)
I,II I,II I,II
Reference items of this III-1.1,III-1.3 III-1.1, III-1.3 III-1.2, III-1.3
manual IV-1,IV-2 IV-1,IV-3 IV-1,IV-2
V-1 V-2 V-1
JEMA net --- --- ---

- 13 -
1.I/O LINK-II I/O FUNCTION SPECIFICATIONS B-62714EN/04

Type Master station Master station Slave station


LCD-mounted type
Applicable CNC PM-D/F/H PMi-D/H
16i/18i/21i-A/B
Board (printed circuit board I/O Link-II board I/O Link-II board I/O Link-II board
drawing number) A20B-8100-0250 A20B-2100-0041, 0040 A20B-8100-0310
Control software 6545 series 8816 series 8816 series
Maximum DI/DO size of the 32 bytes/32 bytes (PM-F/H)
128 bytes/128 bytes 32 bytes.32 bytes
DI/DO data transfer function 64 bytes/64 bytes (PM-D)
Maximum DI/DO size of the
48 bytes 48 bytes(Caution) 48 bytes(Caution)
global I/O transfer function
R0000-R0999 for both DI
DI/DO allocatable area of DI : X1002-X1063 DI : X1032-X1063
and DO
the DI/DO data transfer DO : Y1002-Y1063 DO : Y1032-Y1063
(PMC-SA1/SA5)
function (PMC-PA1/PA3) (PMC-SB5/SB6)
R0000-R1499 for both DI
and DO
DI/DO allocatable area of
(PMC-SB5)
the global I/O transfer
R0000-R2999 for both DI
function R0000-R0999 for both DI R0000-R0999 for both DI
and DO
and DO and DO
(PMC-SB6)
(PMC-PA1/PA3) (PMC-SB5/SB6)
Status information R0000-R7999 for both DI
allocatable area and DO
(PMC-SB7)
I,II I,II I,II
Reference items of this III-1.2,III-1.3 III-3.1,III-3.2 III-3.1,III-3.2
manual IV-1,IV-3 IV-1,IV-5 IV-1,IV-6.1, IV-6.2, IV-6.3
V-2 V-4 V-5.1
JEMA net --- --- ---

- 14 -
B-62714EN/04 SPECIFICATIONS 1.I/O LINK-II I/O FUNCTION

Type Master station Slave station Slave station


Stand-alone type Stand-alone type
Applicable CNC PMi-D/H
16i/18i/21i-A 16i/18i/21i-A
I/O Link-II board B1 I/O Link-II board B1
Board (printed circuit board A20B-8100-0380 A20B-8100-0380 I/O Link-II board B
drawing number) I/O Link-II board B2 I/O Link-II board B2 A20B-8100-0381
A20B-8100-0381 A20B-8100-0381
Control software 654B series 654A series 654A series
Maximum DI/DO size of the
128 bytes/128 bytes 128 bytes/128 bytes 128 bytes/128 bytes
DI/DO data transfer function
Maximum DI/DO size of the
--- 48 bytes 48 bytes
global I/O transfer function
DI/DO allocatable area of R0000-R0999 for both DI R0000-R0999 for both DI
the DI/DO data transfer and DO and DO
R0000-R1499 for both DI
function (PMC-SA1/SA5) (PMC-SA1/SA5)
and DO
DI/DO allocatable area of R0000-R1499 for both DI R0000-R1499 for both DI
(PMC-SB5)
the global I/O transfer and DO and DO
R0000-R2999 for both DI
function (PMC-SB5) (PMC-SB5)
and DO
R0000-R2999 for both DI R0000-R2999 for both DI
Status information (PMC-SB6)
and DO and DO
allocatable area
(PMC-SB6) (PMC-SB6)
I,II I,II I,II
Reference items of this III-2.1,III-2.3 III-2.2,III-2.3 III-2.2,III-2.3
manual IV-1,IV-4 IV-1,IV-4 IV-1, IV-6.1, IV-6.2, IV-6.4
V-3 V-3 V-5.2
JEMA net OPCN-1 certified device OPCN-1 certified device 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 PMi-
D/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 SPECIFICATIONS B-62714EN/04

1.5 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 -
B-62714EN/04 SPECIFICATIONS 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 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bits 7 and 6 : Reserved (0 at all times)


Bit 5 : 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
Bit 4 : 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 : DW (data write)


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

stypeS
Slave type set by a slave station
stypeS bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bits 7 to 4 : Reserved (0 at all times)


Bit 3 : DW (data write)
Set DW = 1 to enable data write service.
Bit 2 : DR (data read)
Set DR = 1 to enable data read service.
Bit 1 : DO (output from the master station) when viewed from the master
station
Set DO = 1 to perform input/output service and enable output.
Bit 0 : 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

1 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 B-62714EN/04

1.1 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
Table III-1-1
Item Description
Maximum slave station number used for
MAX SLAVE NO. 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 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 ADDRESS status.
Setting range: R area of the PMC
Slave station communication monitoring time
Recommended setting: 14 [hexadecimal] →40 msec
OPTION1
Setting unit: msec
Setting range: 03 to D0 (hexadecimal)
Successive error detach detection counter.
Recommended setting: 3 [hexadecimal]
OPTION2 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
DI/DO MAP MODE
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)
DI/DO DATA SIZE Setting range: 0 to 128 (LCD-mounted type
16i/18i/21i-A)
(Unit: Bytes)
DO data area start address.
DO ADDRESS
Setting range: R area of the PMC
DI data area start address.
DI ADDRESS
Setting range: R area of the PMC
MESSAGE SIZE Not used
OUTPUT ADDRESS Not used
INPUT ADDRESS Not used

- 23 -
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
Table III-1-1
Item Description
Interval at which DI data from all slave stations set in
REFRESH TIME. 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
I/O Link-II board are displayed.

- 24 -
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 Link-
II 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 data from the master station to
[DO ADDRESS] [DI/DO DATA SIZE]
slave station #1

DO data from the master station to
+[DI/DO DATA SIZE] × 1
slave station #2
DO data from the master station to
+[DI/DO DATA SIZE] × 2
slave station #3
DO data from the master station to
+[DI/DO DATA SIZE] × 3
slave station #4
: :
: :
: :
+[DI/DO DATA SIZE]× DO data from the master station to
([MAX SLAVE NO]-1) 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:

DO data from the master station to


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

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


Common DO data is allocated for all slaves.
[DO ADDRESS] DO data from the master station to ↑
slave stations #1 to slave station [DI/DO DATA SIZE]
#[MAX SLAVE NO] ↓

- 28 -
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 data from slave station #1 to the
[DI ADDRESS] [DI/DO DATA SIZE]
master station

DI data from slave station #2 to the
+[DI/DO DATA SIZE]× 1
master station
DI data from slave station #3 to the
+[DI/DO DATA SIZE]× 2
master station
DI data from slave station #4 to the
+[DI/DO DATA SIZE]× 3
master station
: :
: :
: :
+[DI/DO DATA SIZE]× DI data from slave station #[MAX
([MAX SLAVE NO]-1) 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:
DI data from slave station #1 to the
R0300
master station
DI data from slave station #2 to the
R0310
master station
DI data from slave station #3 to the
R0320
master station

- 29 -
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]

Status of communication with


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

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

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : Reserved (0 at all time)


Bit 6 : Short frame error
Bit 5 : Abort detection
Bit 4 : Detection of data consisting of an incorrect number of bits
Bit 3 : Overrun error detection
Bit 2 : FCS error detection
Bits 1, 0 : 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 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7: 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.
Bits 6 to 1: Reserved (0 at all times)
Bit 0: 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 B-62714EN/04

1.2 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
Table III-1-3
Item Description
Maximum slave station number used for
MAX SLAVE NO. communication with the master station.
Setting range: 1 to 31(Note)
Station number of the slave station.
SCAN TIME
Setting range: 1 to 31(Note)
Start address of an area for storing communication
STATUS ADDRESS 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
OPTION1
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.
OPTION2 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
DI/DO MAP MODE
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)
DI/DO DATA SIZE 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
DO ADDRESS
Setting range: R area of the PMC
DI data area start address
DI ADDRESS
Setting range: R area of the PMC
MESSAGE SIZE Not used
OUTPUT ADDRESS Not used
INPUT ADDRESS 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
Item Description
The series and edition of the EPROM installed on
I/O LINK-II
the I/O Link-II board are displayed.

- 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 Link-
II 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 data from the local slave station to
[DO ADDRESS] [DI/DO DATA SIZE]
the master station

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

DI data from the master station to the
[DO ADDRESS] [DI/DO DATA SIZE]
local slave station

DI data allocation when global I/O transfer is set (when DI/DO MAP MODE = 2)

DI data from the master station to the
[DO ADDRESS] [DI/DO DATA SIZE]
local slave station

DO data from slave station #1 to the
+[DI/DO DATA SIZE]× 1
master station
DO data from slave station #2 to the
+[DI/DO DATA SIZE]× 2
master station
DO data from slave station #3 to the
+[DI/DO DATA SIZE]× 3
master station
: :
Not used.(The area for the local slave
+[DI/DO DATA SIZE]× station is not used. The area can be
[STATION NO] used for other purposes such as a DO
data output area for the local station.)
: :
+[DI/DO DATA SIZE]× DO data from slave station #[MAX
[MAX SLAVE NO] 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:
DI data from the master station to
R0300
slave station #2
DO data from slave station #1 to the
R0310
master station
R0320 Not used
DO data from slave station #3 to the
R0330
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) 32 bytes
Not used
(16 bytes)

Not used 32 bytes


(Area for the local station number)

DO data from slave station #3 32 bytes

Not used 32 bytes


(For slave station #4)

- 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] Status of communication with the
master station
+1 Status of communication with
slave station #1
+2 Status of communication with
slave station #2
+3 Status of communication with
slave station #3
: :
(This area corresponds to the
local slave station, and is not
+[STATION NO]
used. This area cannot be used
for other purposes.)
: :
+[MAX SLAVE NO] 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 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : 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.
Bit 6 : Short frame error
Bit 5 : Abort detection
Bit 4 : Detection of data consisting of an incorrect number of bits
Bit 3 : Overrun error detection
Bit 2 : FCS error detection
Bits 1, 0 : 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 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : 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.
Bits 6 to 0 : Reserved (0 at all times)

- 41 -
1.16/18/21-B, 16/18-C, LCD-MOUNTED TYPE 16i/18i/21i-A/B OPERATION B-62714EN/04

1.3 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
34

R0300 00 34
12 If the ladder program reads R0300
during this period, 0034 (hex) is read.
R0300 12 34

Example of countermeasure: 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 Synchronization flag 1
R0100
: Data section
R0105
R0106 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

2 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-8100-
0310) 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 OPERATION 2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

2.1 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
Table III-2-1
Item Description
Maximum slave station number used for
MAX SLAVE NO. 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
SCAN TIME
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
BAUD-RATE 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
STATUS ADDRESS
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.
OPTION1 Not used
Successive error detach detection counter.
Recommended setting: 3 [hexadecimal]
OPTION2 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.
DO ADDR
Setting range: R area of the PMC
DO data area size.
Setting range: 0 to 128
DO SIZ
(Unit: Bytes)
When DO is not used, set 0.
DI data area start address.
DI ADDR
Setting range: R area of the PMC
DI data area size.
Setting range: 0 to 128
DI SIZ
(Unit: Bytes)
When DI is not used, set 0.

- 47 -
2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H OPERATION B-62714EN/04

Table III-2-1
Item Description
Parameter stypeM for initializing slave stations.
Setting range: 31 to 33 (hexadecimal)
Set one of the following values according to the type
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
MAXT (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
REFRESH TIME
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.


DO data from the master station to
R0100 32 bytes
slave station #1


DO data from the master station to
R0200 48 bytes
slave station #2


DI data from slave station #1 to
R0300 32 bytes
the master station


DI data from slave station #2 to
R0400 48 bytes
the master station

- 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]

Status of communication with


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

: :

: :

: :

Status of communication with


+[MAX SLAVE NO]
slave station #[MAX SLAVE NO]

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

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bits 7 to 5 : Reserved (0 at all time)


Bit 4 : Abort detection
Bit 3 : CRC error detection
Bit 1 : Detection of data consisting of an incorrect number of bits
Bit 0 : 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 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : 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.
Bits 6 to 1 : Reserved (0 at all times)
Bit 0 : 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 OPERATION 2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

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

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bits 7 to 5 : Reserved (0 at all time)


Bit 4 : Abort detection
Bit 3 : CRC error detection
Bit 1 : Detection of data consisting of an incorrect number of bits
Bit 0 : 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 Description Cause/action


Input/output normal:
Input/output service is being
ON 00H 00H 00H ---------------------
performed with a target slave station
normally.
During initialization: Turn on the power to a target slave
OFF 00H 00H 00H A target slave station is being polled station or make a target slave station
for initialization service. ready for communication.
Initialization instruction rejected:
An attempt to perform initialization
Check the initialization parameters (I/O
service for a target slave station is
ER01 30H 81H 20H SIZE, slave type) of the master station
rejected by the slave station because
and target slave station.
of an initialization parameter
mismatch.
Invalid initialization response
parameter: A response from the target slave station
Initialization service was performed for includes a protocol-related error.
ER02 30H 80H A1H a target slave station, but an If this error occurs frequently, ask the
initialization success response manufacturer of the target slave station
returned from the slave station is to make a check.
invalid

- 59 -
2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H OPERATION B-62714EN/04

LINK SERV LAYR CODE Description Cause/action


When input/output service is performed
with a target slave station, ER03 occurs if
Slave station detached:
the value of the successive error detach
After communication is established,
detection counter is exceeded for a
the value of the successive error
ER03 10H 80H A2H cause.
detach detection counter is exceeded,
If this error occurs frequently, first check
and communication with the target
for hardware failures (on communication
slave station is disabled.
boards, communication cables) and
check noise protection.
A response from the target slave station
No input/output data:
includes a protocol-related error.
A response frame for input/output
ER04 10H 70H 61H If this error occurs frequently, ask the
service from a target slave station
manufacturer of the target slave station
contains no data.
to make a check.
A response frame from a target slave
station is destroyed.
Abnormal initialization response
If this error occurs frequently, first check
command:
for hardware failures (on communication
ER05 30H 70H 90H A response for initialization service
boards, communication cables) and
from a target slave station is
check noise protection. If this error still
abnormal.
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 OPERATION 2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

2.2 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

Table III-2-4
Item Description
Station number of the slave station.
STATION NO.
Setting range: 1 to 31(Note)
Communication speed.
Setting range: 0 to 3
0: 1.0 Mbps
1: 500 kbps
2: 250 kbps
BAUD-RATE 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
STATUS ADDRESS
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.
OPTION1 Not used
OPTION2 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
DI/DO MAP MODE
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
MAX SLAVE NO.
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.
DO ADDRESS
Setting range: R area of the PMC
DO data area size.
Setting range: 0 to 128(Caution)
DO SIZE
(Unit: Bytes)
When DO is not used, set 0.

- 62 -
B-62714EN/04 OPERATION 2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H

Table III-2-4
Item Description
DI data area start address.
DI ADDRESS
Setting range: R area of the PMC
DI data area size.
Setting range: 0 to 128(Caution)
DI SIZE
(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 data from the master station to the
[DI ADDRESS] [DO SIZE]
local slave station ↓
DO data from slave station #1 to the
+[DI SIZE]× 1
master station
DO data from slave station #2 to the
+[DI SIZE]× 2
master station
DO data from slave station #3 to the
+[DI SIZE]× 3
master station
: :
Not used. (The area for the local slave
+[DI SIZE]× station is not used. The area can be
[STATION NO] used for other purposes such as a DO
data output area for the local station.)
: :
+[DI SIZE]× DO data from slave station #[MAX
[MAX SLAVE NO] 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:
DI data from the master station to
R0300
slave station #2
DO data from slave station #1 to the
R0310
master station
Not used
R0320

DO data from slave station #3 to the


R0330
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) 32 bytes
Not used
(16 bytes)

Not used 32 bytes


(Area for the local station number)

DO data from slave station #3 32 bytes

Not used 32 bytes


(For slave station #4)

- 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 of communication with the
[STATUS ADDRESS]
master station

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


transfer])
Status of communication with the
[STATUS ADDRESS]
master station
Status of communication with
+1
slave station #1
Status of communication with
+2
slave station #2
Status of communication with
+3
slave station #3
: :
(This area corresponds to the
local slave station, and is not
+[STATION NO]
used. This area cannot be used
for other purposes.)
: :
Status of communication with
+[MAX SLAVE NO]
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 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : 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.
Bits 6, 5 : Reserved (0 at all times)
Bit 4 : Abort detection
Bit 3 : CRC error detection
Bit 2 : Overrun error detection
Bit 1 : Detection of data consisting of an incorrect number of bits
Bit 0 : 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 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : 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.
Bits 6 to 0 : 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 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bits 7 to 5 : Reserved (0 at all time)


Bit 4 : Abort detection
Bit 3 : CRC error detection
Bit 2 : Overrun error detection
Bit 1 : Detection of data consisting of an incorrect number of bits
Bit 0 : 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.

Table III-2-6
LINK SERV LAYR CODE Description Cause/action
Input/output normal:
Input/output service is being
ON 00H 00H 00H ---------------------
performed with the master station
normally.
Disconnected: Turn on the power to the master station
OFF 00H 00H 00H Communication with the master or make the master station ready for
station is disconnected. communication.
Initialization instruction rejected:
An attempt by the master station to
Check the initialization parameters (I/O
perform initialization service for the
ER01 30H 81H 20H SIZE, slave type) of the master station
slave station is rejected by the slave
and slave station.
station because of an initialization
parameter mismatch.
If this error occurs frequently, first check
DL_len invalid:
for hardware failures (on communication
When input/output service is
boards, communication cables) and
ER02 30H 80H A1H performed, the data length of a
check noise protection. If this error still
request frame from the master station
occurs, ask the manufacturer of the
is invalid.
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 Station number of the local station

[Input type] Parameter input


[Data type] Word
[Valid data range] 1 to 31(Note)

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

30101 Baud rate

[Input type] Parameter input


[Data type] Word
[Valid data range] 0 to 3
Set a baud rate.
0 : 1 Mbps
1 : 500 kbps
2 : 250 kbps
3 : 125 kbps

30102 Internal relay address of the start of communication status

[Input type] Parameter input


[Data type] Word
[Valid data range] Set 82 as R.

30103 Internal relay offset of the start of communication status

[Input type] Parameter input


[Data type] Word
[Valid data range] -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 DI/DO MAP MODE

[Input type] Parameter input


[Data type] Word
[Valid data range] 0 : DI/DO data transfer function
1 : Global I/O transfer function

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

[Input type] Parameter input


[Data type] Word
[Valid data range] 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.

30108 Internal relay address of the start of DO

[Input type] Parameter input


[Data type] Word
[Valid data range] Set 82 as R.

30109 Internal relay offset of the start of DO

[Input type] Parameter input


[Data type] Word
[Valid data range] 0 to 9999

30110 DO byte length

[Input type] Parameter input


[Data type] Word
[Valid data range] 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 OPERATION B-62714EN/04

30111 Internal relay address of the start of DO

[Input type] Parameter input


[Data type] Word
[Valid data range] Set 82 as R.

30112 Internal relay offset of the start of DO

[Input type] Parameter input


[Data type] Word
[Valid data range] 0 to 9999

30113 DI byte length

[Input type] Parameter input


[Data type] Word
[Valid data range] 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 DI byte length

[Data type] Word


[Valid data range] 0 to 00FF
[Data] Hexadecimal representation of a communication line error detected
by the slave station

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bits 7 to 5: Reserved (0 at all times)


Bit 4: Abort detection
Bit 3: CRC error detection
Bit 2: Overrun error detection
Bit 1: Detection of data consisting of an incorrect number of bits
Bit 0: 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 LINK STATUS 1

[Data type] Word


[Data] 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 LINK STATUS 2

[Data type] Word


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

8103 LINK STATUS 3

[Data type] Word


[Data] 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 OPERATION B-62714EN/04

8104 LINK STATUS 4

[Data type] Word


[Data] The link information of the fourth station is indicated.
Information is indicated in the same format as for the first station.

8105 LINK STATUS 5

[Data type] Word


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

8106 LINK STATUS 6

[Data type] Word


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

8107 LINK STATUS 7

[Data type] Word


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

8108 LINK STATUS 8

[Data type] Word


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

8109 LINK STATUS 9

[Data type] Word


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

8110 LINK STATUS 10

[Data type] Word


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

8111 LINK STATUS 11

[Data type] Word


[Data] 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 LINK STATUS 12

[Data type] Word


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

8113 LINK STATUS 13

[Data type] Word


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

8114 LINK STATUS 14

[Data type] Word


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

8115 LINK STATUS 15

[Data type] Word


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

8116 LINK STATUS 16

[Data type] Word


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

8117 LINK STATUS 17

[Data type] Word


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

8118 LINK STATUS 18

[Data type] Word


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

8119 LINK STATUS 19

[Data type] Word


[Data] 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 OPERATION B-62714EN/04

8120 LINK STATUS 20

[Data type] Word


[Data] The link information of the twentieth station is indicated.
Information is indicated in the same format as for the first station.

8121 LINK STATUS 21

[Data type] Word


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

8122 LINK STATUS 22

[Data type] Word


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

8123 LINK STATUS 23

[Data type] Word


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

8124 LINK STATUS 24

[Data type] Word


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

8125 LINK STATUS 25

[Data type] Word


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

8126 LINK STATUS 26

[Data type] Word


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

8127 LINK STATUS 27

[Data type] Word


[Data] 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 LINK STATUS 28

[Data type] Word


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

8129 LINK STATUS 29

[Data type] Word


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

8130 LINK STATUS 30

[Data type] Word


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

8131 LINK STATUS 31

[Data type] Word


[Data] The link information of the thirty-first station is indicated.
Information is indicated in the same format as for the first station.

8132 Service being provided when an error is detected

[Data type] Word


[Valid data range] A value from 0 to 00FF is represented in decimal.

8133 Layer when an error is detected

[Data type] Word


[Valid data range] A value from 0 to 00FF is represented in decimal.

8134 Error code

[Data type] Word


[Valid data range] A value from 0 to 00FF is represented in decimal.

- 79 -
2.LCD-MOUNTED TYPE 16i/18i/21i-A, Power Mate i-D/H OPERATION B-62714EN/04

2.3 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
34

R0300 00 34
12 If the ladder program reads R0300
during this period, 0034 (hex) is read.
R0300 12 34

Example of countermeasure: 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 Synchronization flag 1
R0100
: Data section
R0105
R0106 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

3 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-8100-
0310) 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 -
B-62714EN/04 OPERATION 3.Power Mate-D/F/H

3.1 SLAVE FUNCTION

Setting parameters

Parameters
0171 DI byte length

[Input type] Parameter input


[Data type] Byte
[Valid data range] 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 DO byte length

[Input type] Parameter input


[Data type] Byte
[Valid data range] 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 Local station number

[Input type] Parameter input


[Data type] Byte
[Valid data range] 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 B-62714EN/04

0174 Baud rate

[Input type] Parameter input


[Data type] Byte
[Valid data range] 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] Parameter input


[Data type] Byte
[Valid data range] 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.

0181 Internal relay address of the start of DI data

[Input type] Parameter input


[Data type] Word
[Valid data range] 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.

0182 Internal relay address of the start of DO data

[Input type] Parameter input


[Data type] Word
[Valid data range] 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 -
B-62714EN/04 OPERATION 3.Power Mate-D/F/H

0187 Internal relay address of the start of communication status

[Input type] Parameter input


[Data type] Word
[Valid data range] 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 Master station communication monitoring time

[Input type] Parameter input


[Data type] Word
[Valid data range] 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

DO data from the local slave
Y1002 No.172
station to the master station

- DI data allocation

DI data from the master station to
X1002 No.171
the local slave station

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


- DO data allocation

DO data from the local slave
Y1032 No.172
station to the master station

- DI data allocation

DI data from the master station to
X1032 No.171
the local slave station

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 OPERATION 3.Power Mate-D/F/H

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

DO data allocation


DO data from the local slave
[No. 0182] (R area) [No.172]
station to the master station

DI data allocation

DI data from the master station to
[No. 0181] (R area) [No.171]
the local slave station

DO data from slave station #1 to
+[No.0171]× 1
the master station
DO data from slave station #2 to
+[No.0171]× 2
the master station
DO data from slave station #3 to
+[No.0171]× 3
the master station
: :
Not used (The area for the local
slave station is not used. This
+[No.0171]× [No.0173] area can be used for output of
local station DO data or any other
purposes.)
: :
DO data from slave station [No.
+[No.0171]× [No.0180]
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 DI data from the master station to
slave station #2
R0310 DO data from slave station #1 to
the master station
R0320 Not used

R0330 DO data from slave station #3 to


the master station

- 87 -
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) 32 bytes
Not used
(16 bytes)

Not used 32 bytes


(Area for the local station
number)

DO data from slave station #3 32 bytes

Not used 32 bytes


(For slave station #4)

- 89 -
3.Power Mate-D/F/H OPERATION B-62714EN/04

Communication status for ladder detection

Communication status allocation

ERROR STATUS
[No. 0187] (R area)

Status of communication with


+1
slave station #1
Status of communication with
+2
slave station #2
Status of communication with
+3
slave station #3
: :
: :
: :
Status of communication with
+31
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 -
B-62714EN/04 OPERATION 3.Power Mate-D/F/H

ERROR STATUS

ERROR STATUS (1 byte):


Communication line errors detected by the master station are
indicated.

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : 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.
Bit 6 : Short frame error
Bit 5 : Abort detection
Bit 4 : Detection of data consisting of an incorrect number of bits
Bit 3 : Overrun error detection
Bit 2 : FCS error detection
Bits 1, 0 : 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 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0

Bit 7 : 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.
Bits 6 to 0 : 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 OPERATION B-62714EN/04

3.2 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
34

R0300 00 34
12 If the ladder program reads R0300
during this period, 0034 (hex) is read.
R0300 12 34

Example of countermeasure: 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 Synchronization flag 1
R0100
: Data section
R0105
R0106 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

1 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 B-62714EN/04

1.1 HARDWARE SPECIFICATIONS

The table below provides the I/O Link-II specifications.

Item Hardware specifications


Topology Bus
Physical layer (cable) Twisted pair cable with shielding(Note)

Transfer rate Maximum cable length


125Kbps 1000m
250 Kbps 800m
500 Kbps 480m
Transfer rate
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%.
Connection method Two-wire/three-wire system, terminal block
Communication
Half-duplex, synchronous
method
Number of slave
31 stations max.
stations
Master station: No number assigned
Station addressing
Slave station: Number from 1 to 1F(H)
Electric
Compliant with EIA RS485
characteristics
Isolation between
Photo-coupler
cables and stations
Baseband
NRZI (Non Return to Zero Inverted)
Coding
0 1 0 1 1 0 0 0 0

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

- 98 -
B-62714EN/04 CONNECTION 1.COMMUNICATION FUNCTION CONNECTION

1.2 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)

A A

B B

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 B-62714EN/04

(2) When the master station is connected to multiple slave stations

TA (T1)
TB (T2)

B
Shield Shield
SG

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 CONNECTION 1.COMMUNICATION FUNCTION CONNECTION

1.3 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 B-62714EN/04

1.4 NOISE PROTECTION

1.4.1 Separating Signal Lines

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

2 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 -
B-62714EN/04 CONNECTION 2.16/18/21-B, 16/18-C

2.1 SPECIFICATIONS

The specifications of the I/O Link-II board are described below.

- Series 16/18-MODEL B/C


Name I/O Link-II board
A02B-0120-J282 (slave)
Ordering code
A02B-0120-J283 (master)
Board drawing number A16B-2202-0152
Heat dissipation 9 (W)(Note 1)
Installation condition (Note 2)

- Series 21-MODEL B
Name I/O Link-II board
A02B-0218-J282 (slave)
Ordering code
A02B-0218-J283 (master)
Board drawing number A16B-2202-0152
Heat dissipation 9 (W)(Note 1)
Installation condition (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 CONNECTION B-62714EN/04

2.2 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 CONNECTION 2.16/18/21-B, 16/18-C

2.3 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) M3 screw terminal (7 pcs)

Fig. 2(b) 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 A
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) Signal assignment

- 108 -
B-62714EN/04 CONNECTION 2.16/18/21-B, 16/18-C

(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

3 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 -
B-62714EN/04 CONNECTION3.LCD-MOUNTED TYPE 16i/18i/21i-A/B

3.1 SPECIFICATIONS

The specifications of the I/O Link-II board are described below.

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


Name I/O Link-II board
A02B-0236-J282 (slave) LCD-mounted
A02B-0236-J283 (master) type 16i/18i/21i-A
Ordering code
A02B-0281-J282 (slave) LCD-mounted
A02B-0281-J283 (master) type 16i/18i/21i-B
Board drawing
A20B-8100-0250
number
Power supply capacity 24V 0.6(A) (Note 1)
Heat dissipation 9 (W) (Note 1)
Installation condition (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 B-62714EN/04

3.2 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 CONNECTION3.LCD-MOUNTED TYPE 16i/18i/21i-A/B

3.3 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-0236-


K201) 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) I/O Link-II cable
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) Signal assignment

- 114 -
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

4 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 -
B-62714EN/04 CONNECTION 4.STAND-ALONE TYPE 16i/18i/21i-A

4.1 SPECIFICATIONS

The specifications of the I/O Link-II board are described below.

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


Name I/O Link-II board B
A02B-0265-J282 (slave)
Ordering code
A02B-00265-283 (master)
A20B-8100-0380
(Board B1: Connector board
manufactured by Phoenix Contact)
Board drawing number
A20B-8100-0381
(Board B2: Connector board
manufactured by Hirose Electric)
Power supply capacity 24V 0.6(A) (Note 1)
Heat dissipation 6 (W) (Note 1)
Installation condition (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 B-62714EN/04

4.2 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 -
B-62714EN/04 CONNECTION 4.STAND-ALONE TYPE 16i/18i/21i-A

4.3 CABLE CONNECTION (USING CONNECTORS


MANUFACTURED BY PHOENIX CONTACT)

Connector
Connector pin assignment
TBA 1 2 3 4 5

Mounting
screw

Terminal No. Signal name Signal type


A terminating resistor is connected.
1 T1
(T1/T2 connected)
No terminating resistor is connected.
2 T2
(T1/T2 open)
3 A Data signal A
4 B Data signal B
5 SG 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


Detach the cable connector from the board by removing the mounting
screws. Connect the communication cable to the connector according
Screw for to the procedure below.
securing a (1) Peel off the cable cover, then cut off an excess shield.
cable (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 B-62714EN/04

4.4 CABLE CONNECTION (USING CONNECTORS


MANUFACTURED BY HIROSE ELECTRIC)

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

Terminal No. Signal name Signal type


A terminating resistor is connected.
1 T1
(T1/T2 connected)
No terminating resistor is connected.
2 T2
(T1/T2 open)
3 A Data signal A
4 B Data signal B
5 SG 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 Wire

- 120 -
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 multi-
drop 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 Wire

Extraction tool Extraction tool


Fig. 1 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

5 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 -
B-62714EN/04 CONNECTION 5.Power Mate-D/F/H

5.1 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 I/O Link-II board
A02B-0166-H051 (Power Mate-D)
Ordering code A02B-0198-H050 (Power Mate-F)
A02B-0211-J050 (Power Mate-H)
Board drawing number A20B-2100-0040 or A20B-2100-0041
Power supply capacity Included in the power supply capacity and
heat dissipation of the main unit of each
Heat dissipation
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 CONNECTION B-62714EN/04

5.2 CONNECTION

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

Power Mate Connector for 20-


pin ribbon cable Machine
Base I/O Link-II
printed board operator's
panel
circuit

Relay terminal
unit
PCR connector
manufactured by
Honda (20 pins)

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 -
B-62714EN/04 CONNECTION 5.Power Mate-D/F/H

(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 JD23
I/O
Link-II

CM42

CM41
Machine side
Power magnetics cabinet CM41
interface CM42

SW1

SW2 O Switch setting SW1

SW3 O Switch setting SW2

SW4 O Switch setting SW3

Switch setting SW4


O
(Switches SW1 to SW4 are not used.)

Base printed
circuit board
I/O Link-II card
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 S SH AO BO SG SHD TMA TMR TMB SHG
1 12

16.7

153.0

42 4.5

Unit: mm
Fig. 5.2(c) Relay terminal unit

100

Fig. 5.2(d) Cable lead-in diagram

- 126 -
B-62714EN/04 CONNECTION 5.Power Mate-D/F/H

(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 163.0

Fig. 5.2(f) Plate hole drilling dimensions

- 127 -
5.Power Mate-D/F/H CONNECTION B-62714EN/04

5.3 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 (A02B-
0166-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 -
B-62714EN/04 CONNECTION 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 B-62714EN/04

Name (function) Description


Cable 1
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 -
B-62714EN/04 CONNECTION 5.Power Mate-D/F/H

I/O Link-II board Relay terminal unit

JD23 JD23

Ferrite core

PCR connector
manufactured by Honda
(20 pins)
Connector: PCR-
E20FS 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


FANUC specification
Cable wire Use Structure Remarks
number
10-pair cable 2
General 0.08 mm
(for PCR A66L-0001-0284#10P
purpose 10 pairs
connector)

- 132 -
B-62714EN/04 CONNECTION 5.Power Mate-D/F/H

5.4 CONNECTION WITH BUILT-IN DI/DO

Overview
Power Mate
Connector for 20-pin
Base printed I/O Link-II ribbon cable Machine
circuit board board operator's
panel

Relay
terminal
PCR connector unit
manufactured by Honda
(20 pins)
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

Top view Pin mark

A
B

10 1
(When viewed from the cable side)
Fig. 5.4(b) Connector pin numbers

- 134 -
B-62714EN/04 CONNECTION 5.Power Mate-D/F/H

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

Receiver output signal.


Filter and level
Logic is 0 at transistor
conversion OFF, and logic is 1 at
transistor ON.
Receiver circuit

Fig. 5.4(c) Receiver circuit

DC input signal ON Logic 1

OFF Logic 0

Receiver output signal

2 ms max. 2 ms max.

Fig. 5.4(d) Input signal width and delay time

- 135 -
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

Receiver output
Filter and level
conversion circuit

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 CONNECTION 5.Power Mate-D/F/H

- 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
Relay
Signal
Regulated power
supply

Control unit Lamp

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
#7 #6 #5 #4 #3 #2 #1 #0
X1000 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
X1001 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
#7 #6 #5 #4 #3 #2 #1 #0
Y1000 DO07 DO06 DO05 DO04 DO03 DO02 DO01 DO00
41-B09 41-A09 41-B08 41A08 41-B07 41-A07 41-B06 41-A06

#7 #6 #5 #4 #3 #2 #1 #0
Y1001 DO17 DO16 DO15 DO14 DO13 DO12 DO11 DO10
42-B09 42-A09 42-B08 42A08 42-B07 42-A07 42-B06 42-A06

- 138 -
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 -
B-62714EN/04 CONNECTION 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. Example of connection


Address No. Pin No.
Sink-type driver

Regulated
power supply
0V +24V

Fig. 5.4(j) Machine interface of the I/O Link-II board (3)

- 142 -
B-62714EN/04 CONNECTION 5.Power Mate-D/F/H

Bit No. Example of connection


Address No. Pin No.
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

6 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 -
B-62714EN/04 CONNECTION 6.Power Mate i-D/H

6.1 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 I/O Link-II slave board
Ordering code A02B-0259-J210
Board drawing number A20B-8100-0310
Interface connector Connector manufactured by Phoenix Contact
24 VDC ±10%, 0.3 A (to be supplied from the
Power supply capacity
main unit)
Heat dissipation 6 (W)

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


Name I/O Link-II slave board B
Ordering code A02B-0259-J282
Board drawing number A20B-8100-0381
Interface connector Connector manufactured by Hirose Electric
24 VDC ±10%, 0.3 A (to be supplied from the
Power supply capacity
main unit)
Heat dissipation 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 CONNECTION B-62714EN/04

6.2 INSTALLATION

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

TBA

- 148 -
B-62714EN/04 CONNECTION 6.Power Mate i-D/H

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

Connector
Connector pin assignment
TBA 1 2 3 4 5

Mounting
screw

Terminal No. Signal name Signal type


A terminating resistor is connected.
1 T1
(T1/T2 connected)
No terminating resistor is connected.
2 T2
(T1/T2 open)
3 A Data signal A
4 B Data signal B
5 SG 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


Detach the cable connector from the board by removing the mounting
screws. Connect the communication cable to the connector according
Screw for to the procedure below.
securing a (1) Peel off the cable cover, then cut off an excess shield.
cable (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 CONNECTION B-62714EN/04

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

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

Terminal No. Signal name Signal type


A terminating resistor is connected.
1 T1
(T1/T2 connected)
No terminating resistor is connected.
2 T2
(T1/T2 open)
3 A Data signal A
4 B Data signal B
5 SG 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 Wire

- 150 -
B-62714EN/04 CONNECTION 6.Power Mate i-D/H

(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 multi-
drop 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 Wire

Extraction tool Extraction tool


Fig. 1 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

1 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 MAINTENANCE B-62714EN/04

1.1 COMPONENT LAYOUT

Print characters
such as connector
names

I/O
LINK-II
DC-DC
LEDM1
SW1-1
ROM SW2-1
SW3-1
SW4-1
TB1

SH1
CPU SCA JD5A
module module

JD1B1
JD1A1

Name PCB drawing number Remarks


I/O Link-II board A16B-2202-1502
CPU module A20B-2902-0030
SCA module A20B-2901-0682

- 156 -
B-62714EN/04 MAINTENANCE 1.16/18/21-B, 16/18-C

1.2 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
1 2 3 4
STATUS
ALARM

LEDM1 9 8
11 10

STATUS LEDs (green)


No. LED indication 1234 Board state
The I/O Link-II board is operating
1 STATUS BAAA
normally.
DI/DO data transfer is being performed
2 STATUS BCAA
normally.

ALARM LEDs (red)


No. LED indication 1 2 3 Board state
1 ALARM BAA A RAM parity error occurred.

LEDM1 (green)
No. LED indication 12 Board state
BB
1 State immediately after power-on
BB
AA The communication board is being
2
BB initialized.
AA The communication board software is
3
CA running.
AB
4 A RAM parity error occurred.
AA
BB
5 An F-bus error occurred.
AA
BA
6 An F-bus system emergency occurred.
AA
A communication error (such as an FCS
error, command error, frame length error,
BA
7 and response timeout) occurred. This
CD
indication is provided if a communication
error occurs even once.

- 157 -
1.16/18/21-B, 16/18-C MAINTENANCE B-62714EN/04

1.3 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 Baud rate


0 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

2 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 B-62714EN/04

2.1 COMPONENT LAYOUT

SH1
CPU

Communi

DC-DC
cation
LSI

ROM
TB1 SH3
LED 6 5 4 3 2 1 SW1

Name PCB drawing number Remarks


I/O Link-II board A20B-8100-0250

- 160 -
B-62714EN/04 MAINTENANCE 2.LCD-MOUNT TYPE 16i/18i/21i-A/B

2.2 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. LED indication 1234 Board state
1 BBBB State immediately after power-on
The communication board is being
2 BBAA
initialized.
DI/DO data transfer is being performed
3 CDAA
normally.
The communication board software is
4 AAAB
running.
5 AABB An F-bus error occurred.
6 AABA An F-bus system emergency occurred.
A communication error (such as an FCS
error, command error, frame length error,
7 CDBA and response timeout) occurred. This
indication is provided if a communication
error occurs even once.

No. LED indication 5 Board state


The I/O Link-II board is operating
1 B
normally.

LED for alarm indication (red)


No. LED indication 6 Board state
1 B A RAM parity error occurred.

- 161 -
2.LCD-MOUNT TYPE 16i/18i/21i-A/B MAINTENANCE B-62714EN/04

2.3 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 Baud rate


0 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

3 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 B-62714EN/04

3.1 COMPONENT LAYOUT

3.1.1 Board B1

Custom Custom
LSI LSI

MPU

SH1

TBA

Name PCB drawing number Remarks


I/O Link-II board A20B-8100-0380

- 164 -
B-62714EN/04 MAINTENANCE 3.STAND-ALONE TYPE 16i/18i/21i-A

3.1.2 Board B2

Custom Custom
LSI LSI

MPU

SH1

TBA

Name PCB drawing number Remarks


I/O Link-II board A20B-8100-0381

- 165 -
3.STAND-ALONE TYPE 16i/18i/21i-A MAINTENANCE B-62714EN/04

3.2 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
B(PRT)(RED)
A(TER)(RED)
4(SLV)(GREEN)
3(SO )(GREEN)

2(COM)(GREEN)
1(RUN)(GREEN)

NOTE
The face plate is indicated using dotted lines.

LEDs for state indication


No. LED indication Board state
1 1(RUN) B Turned on when the board starts normally.
Turned on when communication starts.
Master station: Turned on when a response is
2 2(COM) B made to an initialization service request.
Slave station: Turned on when a response is
made to an initialization service request.
3 3(SO) B Turned on each time transmission is performed.
4 4(SLV) B Turned on for a slave station.

LEDs for error occurrence indication


No. LED indication Board state
A communication error was detected in data
1 A(TER) B
reception.
2 B(PRT) B A parity error occurred in main memory.

- 166 -
B-62714EN/04 MAINTENANCE 3.STAND-ALONE TYPE 16i/18i/21i-A

3.3 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

4 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 MAINTENANCE 4.Power Mate-D/F/H

4.1 COMPONENT LAYOUT

Connector CN4
ROM

ST1

Rotary switch
JD23 Upper CM42
Lower CM41

Name PCB drawing number Remarks


A20B-2100-0040 and
A20B-2100-0040
I/O Link-II board A20B-2100-0041 are
A20B-2100-0041
compatible with each other.

- 169 -
4.Power Mate-D/F/H MAINTENANCE B-62714EN/04

4.2 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

5 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 B-62714EN/04

5.1 I/O Link-II SLAVE BOARD

5.1.1 Component Layout

Custom Custom
LSI LSI

ROM

DC-DC MPU

TBA

Name PCB drawing number Unit drawing number


I/O Link-II slave board A20B-8100-0310 A02B-0259-J210

- 172 -
B-62714EN/04 MAINTENANCE 5.Power Mate i-D/H

5.1.2 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 A (RED)

LED 2 (GREEN)

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

Name Color Meaning Action


If this LED is turned on, the
A RAM parity error
error may be recovered by
LED A Red occurred on the I/O
turning the power off than back
Link-II slave board.
on. However, replace the PCB.
This LED is turned on If this LED is not turned on,
when communication is take the following actions as
performed normally required:
using the I/O Link-II 1) Check the I/O Link-II cable.
LED 2 Green slave board. This LED 2) Check the connector
is off before terminal block TBA.
communication starts or 3) Check the state of the I/O
when a communication Link-II master unit.
error occurs. 4) Replace the PCB.

- 173 -
5.Power Mate i-D/H MAINTENANCE B-62714EN/04

5.2 I/O Link-II SLAVE BOARD B

5.2.1 Component Layout

Custom Custom
LSI LSI

MPU

SH1

TBA

Name PCB drawing number Unit drawing number


I/O Link-II slave board B A20B-8100-0381 A02B-0259-J282

- 174 -
B-62714EN/04 MAINTENANCE 5.Power Mate i-D/H

5.2.2 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

B(PRT)(RED)
TBA
A(TER)(RED)
4(SLV)(GREEN)
3(SO )(GREEN)

2(COM)(GREEN)
1(RUN)(GREEN)

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

LEDs for state indication


No. LED indication Board state
1 1(RUN) B Turned on when the board starts normally.
Turned on when communication starts.
The board is used for a slave station. So, this LED
2 2(COM) B
is turned on when a response is made to an
initialization service request.
3 3(SO) B Turned on each time transmission is performed.
Turned on (to indicate that the station is a slave
4 4(SLV) B
station).

LEDs for error occurrence indication


No. LED indication Board state Action
A communication 1) Check the I/O Link-II cable.
error was detected 2) Check the connector
in data reception. terminal block TBA.
1 A(TER) B
3) Check the state of the I/O
Link-II master unit.
4) Replace the slave board.
A parity error The error may be recovered
occurred in the by turning the power off than
2 B(PRT) B
memory on the back on. However, replace
slave board. the slave board.

- 175 -
5.Power Mate i-D/H MAINTENANCE B-62714EN/04

5.2.3 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 -
B-62714EN/04 Index

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
Communication cable connection119, 120, 149, Differences between the slave board and slave
150 board B...................................................... 146
Communication status for ladder detection ... 90 Differences from the I/O Link-II board of Power
Communication status for ladder detection of Mate-D/F/H ............................................... 147
the master function................................30, 57 Display of the setting screen .........22, 32, 45, 61
Communication status for ladder detection of DO ADDR ....................................................... 47
the slave function...................................40, 67 DO ADDRESS .....................................23, 33, 62
Communication status for user visual check of DO SIZ ............................................................ 47
the master function..................................... 58 DO SIZE ......................................................... 62
Communication status for user visual check of DO data........................................................... 17
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
...............................................................66, 88
Power Mate i-D/H is used ........................... 72
Rotary switch (SW1)..................................... 162
Rotary switch (SW1-1).................................. 158

i-2
 

   !

&'() )*+,
-.
/  $
" #$%""


 )0




"1 & $%""" )/2




"  )$%33- 4.


/).//  $

" 5($%336

 ) &/) ))  ) &/) ))


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

· All specifications and designs


are subject to change without
notice.

You might also like