You are on page 1of 152

GE Fanuc Automation

Computer Numerical Control Products

DeviceNet Board
Operators Manual
GFZ-63404EN/03

June 2002

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 2002 GE Fanuc Automation North America, Inc.


All Rights Reserved.

SAFETY PRECAUTIONS

B-63404EN/03

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
funcction described in this manaul.
Users ahould also read the relevant descriptions in the Operators 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 PRECAUTION

B-63404EN/03

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
Warnings and Cautions according to their bearing on safety. Also,
supplementary information is described as Notes.
Read the
Warnings, Cautions, and Notes thoroughly before attempting to use
the machine.

WARNING
Applied when there is a danger of the user being
injured or when there is a danger 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
Notes is used to indicate supplementary information
other than Warnings and Cautions.
Read this manual carefully, and store it in a safe place.

s-2

SAFETY PRECAUTIONS

B-63404EN/03

GENERAL WARNINGS AND CAUTIONS


WARNING
1 Before operating the machine, thoroughly check the
entered data. 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.
2 Never attempt to machine a workpiece without first
checking the programmed value, compensation
value, current position, and external signal settings.
Also, never attempt to machine a workpiece without
first checking the operation of the machine. Before
starting a production run, ensure that the machine is
operating 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. Failure to
confirm the correct operation of the machine may
result in the machine behaving unexpectedly,
possibly causing damage to the workpiece and/or
machine itself, or injury to the user.
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 PRECAUTION

B-63404EN/03

WARNING
5 The parameters for the CNC and PMC are factoryset. Usually, there is no need to change them.
When, however, there is no alternative other than to
change a parameter, ensure that you fully 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.
CAUTION
1 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.
2 The operator's manual for DeviceNet board
describes all the basic functions of the CNC,
including the optional functions. The selected
optional functions vary with the machine. Some
functions described in this manual may not,
therefore, be supported by your machine. Check the
machine specifications before using DeviceNet
board.
3 Some machine operations and screen functions are
implemented by the machine tool builder. For an
explanation of their usage and related notes, refer to
the manual provided by the machine tool builder.
For example:
On some machines, executing a tool function
causes the tool change unit to operate. When
executing a tool function on such a machine, stand
well clear of the tool change unit. Otherwise, there
is a danger of injury to the operator.
Many auxiliary functions trigger physical
operations, such as rotation of the spindle.
Before attempting to use an auxiliary function,
therefore, ensure that you are fully aware of the
operation to be triggered by that function.

s-4

SAFETY PRECAUTIONS

B-63404EN/03

NOTE
Command programs, parameters, and variables are
stored in nonvolatile memory in the CNC.
Generally, the contents of memory are not lost by a
power on/off operation. However, the contents of
memory may be erased by mistake, or important
data in nonvolatile memory may have to be erased
upon recovering from a failure.
To enable the restoration of data as soon as possible
if such a situation arises, always make a backup of
the data in advance.

s-5

TABLE OF CONTENTS

B-63404EN/03

TABLE OF CONTENTS
SAFETY PRECAUTIONS....................................................................................................................... s-1
I. OUTLINE
1

OUTLINE............................................................................................................................................ 3

II. OPERATION
1

DeviceNet FUNCTIONS..................................................................................................................... 9
1.1

OUTLINE......................................................................................................................................... 10

1.2

SETTING MASTER FUNCTIONS................................................................................................. 11

1.2.1

Setting the Bus Parameters .................................................................................................... 14

1.2.2

Setting Slave Parameters........................................................................................................ 23

1.2.3

Starting Communications ....................................................................................................... 32

1.2.4

Master Function Data Refresh Rate....................................................................................... 37

1.3

SETTING SLAVE FUNCTIONS .................................................................................................... 46

1.3.1

Starting Communications ....................................................................................................... 60

1.3.2

Slave Function Data Refresh Rate ......................................................................................... 61

CONFIGURING A SAFE SYSTEM ................................................................................................. 66


2.1

TROUBLESHOOTING COMMUNICATIONS ERRORS ............................................................. 67

2.2

HANDLING MULTIPLE-BYTE DATA ......................................................................................... 68

III. CONNECTION
1

CONNECTING DeviceNet FUNCTIONS ........................................................................................ 71


1.1

CONNECTING DeviceNet.............................................................................................................. 72

1.2

DeviceNet CABLES......................................................................................................................... 74

1.3

CABLE LENGTH AND BAUD RATE............................................................................................ 75

1.4

TERMINATOR ................................................................................................................................ 78

1.5

CONNECTOR.................................................................................................................................. 79

1.6

GROUNDING THE CABLE WIRES.............................................................................................. 82

1.7

CABLE CLAMP ............................................................................................................................... 84

1.8

COMMUNICATIONS POWER SUPPLY....................................................................................... 85

1.8.1

Designing a Power Supply Connection................................................................................... 86

1.8.2

Determining the Power Supply Locations.............................................................................. 86

1.8.3

Verification by Graph-Based Simple Calculation .................................................................. 89

c-1

TABLE OF CONTENTS

1.8.4

Verifying by Calculation Expression ...................................................................................... 94

1.8.5

Supplying Multiple Power Supplies on Separated Paths...................................................... 97

1.8.6

Relationship with NC Power Supply ...................................................................................... 98

DeviceNet FOR 16i/18i/21i (LCD-MOUNTED TYPE) ..................................................................... 99


2.1

SPECIFICATIONS........................................................................................................................ 100

2.2

INSTALLATION............................................................................................................................ 101

2.2.1

Environmental Conditions .................................................................................................... 101

2.2.2

Leading in Cables .................................................................................................................. 101

2.2.3

Names of Parts on the DeviceNet Board .............................................................................. 102

DeviceNet BOARD FOR 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H.......................... 103
3.1

SPECIFICATIONS........................................................................................................................ 104

3.2

INSTALLATION............................................................................................................................ 105

3.2.1

B-63404EN/03

Environmental Conditions .................................................................................................... 105

3.3

MOUNTING .................................................................................................................................. 106

3.4

DeviceNet Board B ........................................................................................................................ 107

3.5

DeviceNet Board C ........................................................................................................................ 108

DeviceNet BOARD FOR 15i ........................................................................................................... 109


4.1

SPECIFICATIONS........................................................................................................................ 110

4.2

INSTALLATION............................................................................................................................ 111

4.2.1
4.3

Environmental Conditions .................................................................................................... 111

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

IV. MAINTENANCE.............................................................................................................................. 113


1

16i/18i/21i (LCD-MOUNTED TYPE) DeviceNet............................................................................ 115


1.1

LAYOUT OF PARTS ..................................................................................................................... 116

1.2

DESCRIPTION OF INDICATOR LEDS...................................................................................... 117

1.3

HOW TO ATTACH AND REMOVE THE DeviceNet BOARD ..................................................... 118

DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H ......................... 119
2.1

DeviceNet BOARD ........................................................................................................................ 120

2.1.1

Layout of Parts....................................................................................................................... 120

2.1.2

Description Of Indicator LEDs ............................................................................................. 121

2.1.3

Short Pin TM1........................................................................................................................ 122

2.1.4

How to Attach and Remove the DeviceNet Board ............................................................... 123

2.2

DeviceNet BOARD B..................................................................................................................... 125

c-2

TABLE OF CONTENTS

B-63404EN/03

2.3

DeviceNet BOARD C..................................................................................................................... 126

2.3.1

Layout of Parts....................................................................................................................... 126

2.3.2

Description Of Indicator LEDs ............................................................................................. 127

APPENDIX
A

DEVICE PROFILES AND OBJECT LIBRARIES ...................................................................................... 131


A.1

DeviceNet BOARD C..................................................................................................................... 132

c-3

I. OUTLINE

OUTILINE

B-63404EN/03

1.OUTLINE

OUTLINE
This manual comprises the following sections:

Descriptions in This Manual


SAFETY PRECAUTIONS
Describes the precautions you must observe when you read this
manual.
I. OUTLINE
Describes how this manual is organized, applicable models and
related manuals.
II. OPERATION
Describes how to set the various data for performing DeviceNet
communications.
III. CONNECTION
Describes how to connect the various devices for performing
DeviceNet communications and precautions.
IV. MAINTENANCE
Describes the drawing numbers for the DeviceNet board, meanings
of LED indications and error messages.

Trademark
DeviceNet is a trademark of ODVA (Open
DeviceNet Vendor Association).

-3-

1.OUTLINE

OUTLINE

B-63404EN/03

Applicable Machine Names


This manual covers the following machines.
The following abbreviations are sometimes used in text descriptions.
Machine Name
FANUC Series 15 i-MA
FANUC Series 150 i-MA
FANUC Series 16 i-TA
FANUC Series 16 i-MA
FANUC Series 160 i-TA
FANUC Series 160 i-MA
FANUC Series 18 i-TA
FANUC Series 18 i-MA
FANUC Series 180 i-TA
FANUC Series 180 i-MA
FANUC Series 21 i-TA
FANUC Series 21 i-MA
FANUC Series 210 i-TA
FANUC Series 210 i-MA
FANUC Series 16 i-TB
FANUC Series 16 i-MB
FANUC Series 160 i-TB
FANUC Series 160 i-MB
FANUC Series 18 i-TB
FANUC Series 18 i-MB
FANUC Series 180 i-TB
FANUC Series 180 i-MB
FANUC Series 21 i-TB
FANUC Series 21 i-MB
FANUC Series 210 i-TB
FANUC Series 210 i-MB
FANUC Power Mate i-MODEL D
FANUC Power Mate i-MODEL H

-4-

Abbreviation
15i-MA
Series 15i-A
150i-MA
16i-TA
16i-MA
Series 16i-A
160i-TA
160i-MA
18i-TA
18i-MA
Series 18i-A
180i-TA
180i-MA
21i-TA
21i-MA
Series 21i-A
210i-TA
210i-MA
16i-TB
16i-MB
Series 16i-B
160i-TB
160i-MB
18i-TB
18i-MB
Series 18i-B
180i-TB
180i-MB
21i-TB
21i-MB
Series 21i-B
210i-TB
210i-MB
Power Mate i-D
Power Mate i
Power Mate i-H

B-63404EN/03

1.OUTLINE

OUTILINE

Related Manuals
The following tables shows the related manuals for each machine
type.
Also refer to these manuals when using this manual.
Series 15i/150i-MA related manuals
Manual Name
Descriptions
Connection Manual (Hardware)
Connection Manual (Function)
Operators Manual (Programming)
Operators Manual (Operation)
Maintenance Manual
Parameter Manual

Specification Number
B-63322EN
B-63323EN
B-63323EN-1
B-63324EN
B-63324EN-1
B-63325EN
B-63330EN

Series 16i/18i/160i/180i-TA/MA related manuals


Manual Name
Descriptions
Connection Manual (Hardware)
Connection Manual (Function)
Operators Manual (For Lathe)
Operators Manual (For Machining Center)
Maintenance Manual
Parameter Manual

Specification Number
B-63002EN
B-63003EN
B-63003EN-1
B-63004EN
B-63014EN
B-63005EN
B-63010EN

Series 21i/210i-TA/MA related manuals


Manual Name
Descriptions
Connection Manual (Hardware)
Connection Manual (Function)
Operators Manual (For Lathe)
Operators Manual (For Machining Center)
Maintenance Manual
Parameter Manual

Specification Number
B-63002EN
B-63003EN
B-63003EN-1
B-63084EN
B-63094EN
B-63005EN
B-63090EN

Series 16i/18i/160i/180i-TB/MB related manuals


Manual Name
Descriptions
Connection Manual (Hardware)
Connection Manual (Function)
Operators Manual (For Lathe)
Operators Manual (For Machining Center)
Maintenance Manual
Parameter Manual

-5-

Specification Number
B-63522EN
B-63523EN
B-63523EN-1
B-63524EN
B-63534EN
B-63525EN
B-63530EN

1.OUTLINE

OUTLINE

B-63404EN/03

Series 21i/210i-TB/MB related manuals


Manual Name
Descriptions
Connection Manual (Hardware)
Connection Manual (Function)
Operators Manual (For Lathe)
Operators Manual (For Machining Center)
Maintenance Manual
Parameter Manual

Specification Number
B-63522EN
B-63523EN
B-63523EN-1
B-63604EN
B-63614EN
B-63525EN
B-63610EN

Power Mate i-D/H related manuals


Manual Name
Descriptions
Connection Manual (Hardware)
Connection Manual (Function)
Operators Manual (For Lathe)
Maintenance Manual
Parameter Manual

-6-

Specification Number
B-63172EN
B-63173EN
B-63173EN-1
B-63174EN
B-63175EN
B-63180EN

II. OPERATION

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

DeviceNet FUNCTIONS
This chapter describes DeviceNet functions.

-9-

1.DeviceNet FUNCTIONS

1.1

OPERATION

B-63404EN/03

OUTLINE

Unusable Network Functions


DeviceNet functions cannot be used together with Profibus functions.

Number of networks connectable to NC

LCD-mounted type Series 16i/18i/21i


One DeviceNet communications board can be mounted.
The connection to the network is made by one function, either
the slave function or master function.

Stand-Alone type Series 16i/18i/21i Series 15 i -A, and Power


Mate i-D/H series
Two DeviceNet communications boards can be mounted.
Note, however, that when two boards are mounted, one should
be used as the slave function and the other should be used as the
master function.

Outline of DeviceNet function specifications


(1) Master functions

Poll I/O Connection is supported.

Max. number of connected slaves: 32


(MAC-ID setup range: 0 to 63)

Slave assigned addresses


The respective DI/DO signals are assigned continuously
starting from any address in the R area, with single bytes (8
bits) assigned to each address.

Number of slave DI/DO communication points


: Input signal 0 to 32 bytes
: Output signal 0 to 32 bytes

(2) Slave function

MAC-ID setup range: 0 to 63

Assigned addresses
DI/DO signals are assigned continuously starting from any
address in the R area, with single bytes (8 bits) assigned to
each address.

Number of DI/DO communication points


: Input signal 0 to 64 bytes
: Output signal 0 to 64 bytes

- 10 -

OPERATION

B-63404EN/03

1.2

1.DeviceNet FUNCTIONS

SETTING MASTER FUNCTIONS


To use the DeviceNet master functions, you must set the bus
parameters and the slave parameters.
"Bus parameters" are for identifying on the network the DeviceNet
interface board that is currently mounted on the control unit (CNC).
"Slave parameters" are for identifying on the network each of the
connected slaves.
The bus parameters are used to specify an MAC-ID, baud rate,
address assignment information, and information about whether to
hold or clear a DI signal related to a communication error(*). Setting
the slave parameters involves setting the MAC-ID, vendor ID, device
type, product code, connection and DI/DO address assignments of the
node to be connected to each slave No.
The following briefly describes each of these items.
The "MAC-ID (Media Access Control ID)" is the ID used for
identifying on the network the DeviceNet communications board that
is currently mounted on the CNC.
This MAC-ID is set to a value within the range 0 to 63, and must not
duplicate the ID of another node on the network.
The "baud rate" is the network's communicating speed, and must be
set to the same value for each node to be connected to the network.
"Address assignment" refers to setting of the DI/DO sizes when I/O of
the DI/DO signals is performed and to setting of the PMC addresses
(addresses of R areas) that are used.
"Vendor ID, device type and product code" are used for specifying the
type of each slave that is connected to the network. If these setting
values do not match the values specific to each of the actually
connected slaves, a connections error will occur.
"Connection" refers to the connection type with each slave. Normally,
set "0". Setting to "0" sets support of Poll I/O Connection.
*

See Chapter 2, "Configuring a Safe System" for information


about whether to hold or clear a DI signal related to a
communication error.

- 11 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Setting Master Functions on the Series 16i/18i/21i-A/B


Procedure (CRT/MDI)
(1) Press function key

SYSTEM

and then soft key [PMC] to switch to

the PMC screen.


If you press soft keys [PMCDGN] ([>]) [I/OCHK]
[D_NET] in that order, the DeviceNet Function initial screen
(screen 1.2. (a) below) is displayed.

Screen 1.2 (a)

Table 1.2 shows the display items in the initial screen and a
description of these items.
Table 1.2: Display items in initial screen
Description
ID of software running on the DeviceNet interface
board
Example) 0014
MODULE REVISION
Version of software running on the DeviceNet
interface board
Example) 0209 Version 2.9
CONTROL SOFTWARE
Series and version number of DeviceNet function
control software on NC
I/F MPU REVISION
Version of the MPU on DeviceNet slave board C
Example) H Version 08
Item
MODULE ID

If options are not set for the master function and slave function,
information relating to the corresponding functions and soft keys are
not displayed in the above screen.
In the display example in screen 1.2 (a), both of the options for master
function and slave function are already set.
- 12 -

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

(2) Next, press soft key [MASTER]. The DEVICENET MASTER


SETTING screen (screen 1.2 (b)) is displayed.

Screen 1.2 (b)

(3) Switch to either of the following parameter setup screens by


pressing soft key [BUS] or [SLAVE], respectively.
(a) Bus parameter setup screen
[BUS]
(b) Slave parameter setup screen
[SLAVE]

CAUTION
Communications with the slave are not established if
setup of the bus parameters is not completed.
Normally, set up the bus parameters before you set
up the slave parameters.
Descriptions here on regarding parameter setup assume that each of
the nodes are connected to the network and the setup required for
communications (e.g. MAC-ID of each slave and baud rate settings)
are completed.
For details on how to set up the slave, refer to the manual for the
device you are using.

- 13 -

1.DeviceNet FUNCTIONS

1.2.1

OPERATION

B-63404EN/03

Setting the Bus Parameters

Setting Bus Parameters on the Series 16i/18i/21i-A/B


Pressing soft key [BUS] in screen 1.2 (b) displays screen 1.2.1(a).

Screen 1.2.1(a) Bus parameter setup screen (Series 16i/18i/21i-A/B)

In the following description, let's set the node No. of this master node,
baud rate and the area for storing the status information for verifying
the communications status on the PMC.
You can enter setting values in this screen provided that the following
conditions are satisfied:
(a) Setting parameter PWE must be set to "1".
(b) The unit must be in the MDI mode or in an emergency stop
state.
(c) DISABLE must be selected at the "1 DIS/ENB" item.

- 14 -

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

Setting Bus Parameters on the Series 15i-A


Set each parameter on the bus parameter setup screen.

Screen 1.2.1(b) Bus parameter setup screen (Series 15i-A)

On this screen, specify the node No. of this master node, its baud rate,
and the area for storing the status information for verifying the status
of communication on the PMC.
You can enter setting values in this screen provided that the following
conditions are satisfied:
<1> Bit 0 (PWE) of setting parameter No. 8000 = 1
<2> The unit is in the MDI mode or at an emergency stop.
<3> DISABLE is selected at "DISABLE/ENABLE."
If no option is set for the master or slave function, the above screen
displays neither information nor a soft key related to the
corresponding function.
Screen 1.2.1 (b) is an example of specifying options of both the
master and slave functions.

- 15 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Display procedures
Procedure 1
(1) Press function key

SYSTEM

repeatedly until the bus parameter

screen, slave parameter screen, or slave function setup screen is


displayed.
(2) If the slave parameter screen or slave function setup screen is
displayed, press soft key [BUS PARAM] in the operation
selection menu.
Procedure 2
(1) Press function key

SYSTEM

or soft key [SYSTEM].

(2)

Press soft key [CHAPTER] repeatedly until [DEVICENET] is


displayed.
(3) Press soft key [DEVICENET].
(4) If the slave parameter screen or slave function setup screen is
displayed, press [BUS PARAM] in the operation selection menu.

Cursor/paging
1

Move the cursor using the cursor keys


-

If the cursor is at "DI HOLD/CLEAR," pressing cursor key


moves the cursor to "DISABLE/ENABLE" in the

slave parameter screen for slave No. 001.


If the cursor is at "DISABLE/ENABLE," pressing cursor
key

moves the cursor to "DI SIZE" in the slave

parameter screen for slave No. 032.


If the slave function is enabled, the slave function setup
screen is displayed.
2

Pressing page key

PAGE

displays the slave parameter screen for

slave No. 001.


Pressing page key

PAGE

displays the slave parameter screen for

slave No. 032.


If the slave function is enabled, the slave function setup screen is
displayed.

- 16 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

Diagnosis Information on the Bus Parameters Setting Screen


STATUS and COMMUNUNICATION STATUS are displayed in bus
parameter setting screen as diagnostics information used for verifying
the communications status.
Table 1.2.1 (b) describes this diagnostics information.

Setting the MAC-ID and baud rate


Set the node number "2. MAC-ID" of this master node and the baud
rate "3. BAUD RATE" to appropriate values referring to items 2 and
3 in Table 1.2.1 (a).

Assigning status information


Set to parameters the addresses and sizes of the R areas to which
status information data is to be assigned.
The content up to the STATUS SIZE setting value items (see Table
1.2.1 (c)) is assigned continuously starting from the specified R area
signal.
For example, to assign eight bytes of status information from R1500
onwards, set each of the data items as follows in screen 1-5.
4 STATUS ADDRESS = R1500
5 STATUS SIZE
=
8
Status information is assigned to R area signals as follows according
to this setting.
Status Information Assignments
STATUS information
Slave communications status 1
Slave communications status 2
Slave communications status 3
Slave communications status 4
IDLE/ACTIVE information
CAN BUS STATUS 1 information
CAN BUS STATUS 2 information

R1500
R1501
R1502
R1503
R1504
R1505
R1506
R1507

On the PMC, start communications with the slaves using this status
information (STATUS information, slave communication status, etc.).
Also use this status information to process on the PMC any
communications errors that may occur.
The error status of this status information is returned to the normal
communications status when the cause of the error is removed. So, if
the error status must be held, perform this operation on the PMC.

CAUTION
When you set the assignment data, carefully set the
data so that areas to be secured as data do not
duplicate areas that are currently used for ladder
programs on the PMC.
- 17 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.2.1 (a): Bus parameter setup items


Item
Description
1.DIS/ENB
Sets whether to disable or enable
(DISABLE/ENABLE)
communications.
Move the left and right cursor keys to select this
parameter setting. (For the 15i-A, use soft keys.)
Set ENABLE after setting of the master function
parameters is completed.
Communications is started several seconds after
setting ENABLE.
ENABLE
: Enables communications.
DISABLE
: Disables communications.
2.MAC-ID
Sets the number for identifying on the network the
DeviceNet interface board mounted on the control
unit (CNC).
Set a number that does not duplicate the MAC-ID
of other nodes on the network within the range 0 to
63.
(MAC-ID: Media Access Control ID)
3.BAUD-RATE
Sets the baud rate.
The setting range is 0 to 2.
The baud rate for each setting is as follows:
0: 125 kbps
1: 250 kbps
2: 500 kbps
The baud rate is limited by the maximum network
length and other factors. For details, refer to
"Connecting DeviceNet Functions" in the
Connections Manual.
4.STATUS ADDRESS
Set the areas to be used as the status information
5.STATUS SIZE
data buffer.
Set the leading buffer address and buffer size.
Use the R area as the address to be set.
Size setting range: 0 to 8
6.DI HOLD/CLEAR
Specify whether to hold or clear DI data if
Note) See Chapter 2, communication is abnormal.
"Configuring a
0: To hold DI data.
Safe System."
1: To clear DI data.

- 18 -

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

Table 1.2.1 (b): Diagnostics information


(STATUS/COMMUNICATION STATUS)
Item
Description
STATUS:
DISABLE
: Disables communications.
ENABLE
: Enables communications.
(normal communications
status)
ERROR
: Communications error has
occurred.
Check COMMUNICATION
STATUS and the status of
the master device.
INVALID MAC ID
: The MAC-ID is not set
correctly.
DUPLICATE MAC ID : Duplicate MAC-IDs have
been set.
BUS FAULT
: Bus error has occurred.
POWER ON ERROR : An error occurred when
the power was turned ON
or when ENABLE was set.
Check the DeviceNet
interface board mounting
state.
COMMUNICATION
Indicates the status of the Group 2 Master/Slave
STATUS:
Connection Set. "01" indicates an active state.
IDLE/ACTIVE
00: IDLE state
(Group 2 Master/Slave Connection Set is not
established.)
01: ACTIVE state
(Group 2 Master/Slave Connection Set is
established.)
COMMUNICATION
Indicates the status information of the CAN
STATUS:
(Controller Area Network) bus. Status information
CAN BUS STATUS1
is expressed in hexadecimal with 1 byte
expressing each item of information. Each of the
bits of the status information is significant.
CAN BUS STATUS1 (1byte Data)
#7
#6
#5
[ML] [RO] [TO]

#4
[TA]

#3
[A]

#2
#1
#0
[BO] [BW] [OL]

The meaning of 1 of each bit is as follows.


(Values in parentheses () indicate values in the
normal communications status.)
#01 OL (1) : Online state
#1 BW (0) : Bus warning state
A communications error has
occurred, and the CAN chip
automatically stopped frame transfer.
Probable causes are an incorrect
baud rate setting or noise.

- 19 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.2.1 (b) (continued): Diagnostics information


(STATUS/COMMUNICATION STATUS)
Item
Description
COMMUNICATION
#2 BO (0) : Bus OFF state
STATUS:
A communications error has
CAN BUS STATUS1
occurred, and the CAN chip
automatically turned offline. Probable
causes are an incorrect baud rate
setting or a hardware malfunction.
#3 A (1) : Network is active.
Data is being sent and received.
#4 TA (0) : Response error state
There is no response from the
communications destination within 25
to 50 msec. The communications
destination node may not exist on the
network.
#5 TO (0) : Time-out state
High priority data may be being
transferred excessively.
#6 RO (0) : Receive buffer overrun has occurred.
#7 ML (0) : Message lost has occurred.
COMMUNICATION
CAN BUS STATUS2 (1byte Data)
STATUS:
#7
#6
#5
#4
#3
#2
#1
#0
CAN BUS STATUS2
[SA] [05] [02] [01]
[--]
[--] [BP] [ER]
The meaning of 1 of each bit is as follows.
(Values in parentheses () indicate values in the
normal communications status.)
#0 ER (0) : A CAN communications error has
occurred.
A probable cause is noise or a
hardware malfunction.
#1 BP (1) : Network power ON state
#2 -#3 -#4 01
: Baud rate is 125 kbps.
#5 02
: Baud rate is 250 kbps.
#6 05
: Baud rate is 500 kbps.
#7 SA (1) : The network scanner is active.

- 20 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.2.1 (c): Relationship between STATUS SIZE setting values


and STATUS information
Setting
Item
Description
Value
1
STATUS information
This 1-byte data notifies the PMC of the
communications status.
00h : Disables communications.
01h : Enables communications. (normal
communications status)
03h : Communications error has
occurred.
For details, check the
COMMUNICATION STATUS and
status of the master device.
82h : Illegal MAC-ID
84h : Duplicate MAC-ID
8Eh : Bus error has occurred.
8?h : An error other than the above
occurred at start of
communications.
2
Slave communications
This 1-byte data indicates the
status 1
communications status with each node
(slave No. 1 to 8)
having slave No. 1 to 8 in each of its
respective eight bits.
Bit
Node

Slave communications
status 2
(slave No. 9 to 16)

#7 #6 #5 #4 #3 #2 #1 #0
8 7 6 5 4 3 2 1

Communications status (common to all


bits)
1: Enables communications. (normal
communications status)
0: Disables communications.
This 1-byte data indicates the
communications status with each node
having slave No. 9 to 16 in each of its
respective eight bits.
Bit
Node

#7 #6 #5 #4 #3 #2 #1 #0
16 15 14 13 12 11 10 9

Communications status (common to all


bits)
1: Enables communications. (normal
communications status)
0: Disables communications.

- 21 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.2.1 (c) (continued): Relationship between setting values of


STATUS SIZE and STATUS information
Setting
Item
Description
Value
4
Slave communications
This 1-byte data indicates the
status 3
communications status with each node
(slave No. 17 to 24)
having slave No. 17 to 24 in each of its
respective eight bits.
Bit
Node
Slave communications
status 3
(slave No. 17 to 24)

Slave communications
status 4
(slave No. 25 to 32)

#7 #6 #5 #4 #3 #2 #1 #0
24 23 22 21 20 19 18 17

Communications status (common to all


bits)
1: Enables communications. (normal
communications status)
0: Disables communications.
This 1-byte data indicates the
communications status with each node
having slave No. 25 to 32 in each of its
respective eight bits.
Bit
Node

COMMUNICATION
STATUS:
IDLE/ACTIVE
information

COMMUNICATION
STATUS: CAN BUS
STATUS1 information

#7 #6 #5 #4 #3 #2 #1 #0
32 31 30 29 28 27 26 25

Communications status (common to all


bits)
1: Enables communications. (normal
communications status)
0: Disables communications.
This 1-byte data notifies the PMC of the
state of Group 2 Master/Slave
Connection Set of the DeviceNet.
00h: IDLE state
01h: ACTIVE state
This 1-byte data notifies the PMC of
CAN BUS STATUS1 information.
#7

#6

#5

#4

#3

#2

#1

#0

[ML] [RO] [TO] [TA] [ A ] [BO] [BW] [OL]

COMMUNICATION
STATUS: CAN BUS
STATUS2 information

For details, refer to the CAN BUS


STATUS1 information described above.
This 1-byte data notifies the PMC of
CAN BUS STATUS2 information.
#6

#5

#4

#3

#2

[SA] [05]

#7

[02]

[01]

[--]

[--]

#1

#0

[BP] [ER]

For details, refer to the CAN BUS


STATUS1 information described above.

- 22 -

OPERATION

B-63404EN/03

1.2.2

1.DeviceNet FUNCTIONS

Setting Slave Parameters

Setting Slave Parameters on the Series 16i/18i/21i-A/B


Pressing soft key [SLAVE] in the DEVICENET MASTER SETTING
initial screen (screen 1.2 (a)) displays the slave parameter setup
screens (screens 1.2.2 (a) and 1.2.2 (b)).

Switch between screens


using pagekeys .

Screen 1.2.2 (a) Bus parameter setup screen (Series 16i/18i/21i-A/B) (1)

Screen 1.2.2 (b) Bus parameter setup screen (Series 16i/18i/21i-A/B) (2)

- 23 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Select the slave No. whose parameters are to be set by using soft keys
[PRV.NO] and [NXT.NO].
Table 1.2.2 (a) describes the parameters that are set in these screens.
You can enter setting values in these screens provided that the
following conditions are satisfied:
(a) Setting parameter PWE must be set to "1".
(b) The unit must be in the MDI mode or in an emergency stop
state.
(c) "DISABLE" must be selected at the "1 DIS/ENB" item.

- 24 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Setting Slave Parameters on the Series 15i-A


In the slave parameter screen, specify slave parameters and address
assignment.

Screen 1.2.2 (c) Bus parameter setup screen (Series 15i-A)

Table 1.2.2(a) lists the parameters to be set up in this screen.


You can enter setting values in this screen provided that the following
conditions are satisfied:
<1> Bit 0 (PWE) of setting parameter No. 8000 = 1
<2> The unit is in the MDI mode or at an emergency stop.
<3> DISABLE is selected at "DISABLE/ENABLE."

Display procedures
Procedure 1
(1) Press function key

SYSTEM

repeatedly until the bus parameter

screen, slave parameter screen, or slave function setup screen is


displayed.
(2) If the bus parameter screen or slave function setup screen is
displayed, enter the desired slave number, and press soft key
[SLAVE PARAM].
Procedure 2
(1) Press function key

SYSTEM

or soft key [SYSTEM].

(2) Press soft key [CHAPTER] repeatedly until [DEVICENET] is


displayed.
(3) Press soft key [DEVICENET].
(4) If the bus parameter screen or slave function setup screen is
displayed, enter the desired slave number, and press soft key
[SLAVE PARAM].
- 25 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Cursor/paging
1 Move the cursor using the cursor keys
-

If the cursor is on a "DO SIZE" line, pressing cursor key


moves the cursor to "DISABLE/ENABLE" for the

next slave number.


If the cursor is on the last "DO SIZE" line for slave No. 032,
pressing the cursor key moves the cursor to
"DISABLE/ENABLE" in the bus parameter screen.
If the slave function is enabled, the slave function setup
screen is displayed.
If the cursor is at "DISABLE/ENABLE," pressing cursor
moves the cursor to "DO SIZE" for the previous

key

slave number.
If the cursor is at "DISABLE/ENABLE" for slave No. 001,
pressing the cursor key moves the cursor to "DI
HOLD/CLEAR" in the bus parameter screen.
If the slave function is enabled, the slave function setup
screen is displayed.
PAGE

Pressing page keys

screen for the previous or next slave number, respectively.


In the slave parameter screen for slave No. 001, pressing page
key

displays the slave parameter

displays the slave parameter screen for slave No. 002.

In the slave parameter screen for slave No. 032, pressing page
key

PAGE

PAGE

PAGE

displays the bus parameter screen.

If the slave function is enabled, the slave function setup screen is


displayed.
In the slave parameter screen for slave No. 001, pressing page
key

PAGE

displays the bus parameter screen.

The following procedures can display the slave parameter screen


for the specified slave number.
Procedure 1
(1) Press soft key [SLAVE PARAM].
(2) Key in the desired slave number.
(3) Press soft key [EXEC].
Procedure 2
(1) Key in the desired slave number.
(2) Press soft key [SLAVE PARAM].

- 26 -

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

(1) To proceed to "3 VENDOR ID", "4 DEVICE TYPE" and "5
PRODUCT CODE", set the respective vendor ID, device type
and product code. These setting values are referenced to as
values specific to the connected slave. If the setting values do
not match the values specific to the connected slave, an error(s)
occurs. Note, however, that setting of these items is arbitrary.
(Communications will not be influenced if these setting values
are left at their "0000" settings. If these setting values are set to
"0000," the slaves will not be referenced.)
In a normal communications state with the connected slaves,
these values can be read and the respective items automatically
set by operating soft key [INIT].
(Refer to "1.2.3 Starting communications, Automatic setting of
slave parameters.")
(2) To proceed to "6 CONNECTION" set "0". The connection type
with the slave is Poll I/O Connection. Also set the connection
type on the slave device to Poll I/O Connection.
STATUS and CONDITION are displayed in this screen as diagnostics
information used for verifying the communications status.
Table 1.2.2 (b) describes this diagnostics information.

- 27 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.2.2 (a): Slave parameter setup items


Item
Description
1 DIS/ENB
Sets whether to disable or enable communications
(DISABLE/ENABLE)
with the node having the selected slave No.
Move the left and right cursor keys to select this
parameter setting. (Soft keys are used in the 15iA.)
Set ENABLE after setting of the master function
parameters is completed.
Communications is started several seconds after
setting ENABLE.
DISABLE
: Disables communications.
ENABLE
: Enables communications.
2 MAC-ID
Sets the number for identifying on the network the
slave to be connected.
Set a number that does not duplicate the MAC-ID
of other nodes on the network within the range 0 to
63.
(MAC-ID: Media Access Control ID)
3 VENDOR ID
Set the vendor ID/device type/product code of the
4 DEVICE TYPE
slave to be connected.
5 PRODUCT CODE
Set in hexadecimal within the range 0000 to FFFF.
(default: 0000)
These setting values are used for specifying the
type of connected type. If the setting value does
not match the value specific to the connected
slave, an error (INVALID VENDOR ID/INVALID
DEVICE TYPE/INVALID PRODUCT CODE)
occurs. Note, however, that this error is not
detected when the setting value is set to "0000".
Also, as nodes on the network are identified by a
MAC-ID, communications is performed normally
even if the setting value of these items is set to
"0000".
In a normal communications state, the values of
these items can be read from the connected slave
and the read values automatically set to the
respective items by operating soft key [INIT].
6 CONNECTION
Sets the connection type with the slave.
"0" must be set.
Setting to "0" sets the connection type with the
slave to Poll I/O Connection.
7 DI ADDRESS
Set the areas to be used as the DI/DO data buffer.
8 DI SIZE
Set the leading buffer address and buffer size.
9 DO ADDRESS
Use the R area as the address to be set.
10 DO SIZE
Size setting range: 0 to 32

- 28 -

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

Table 1.2.2 (b): Diagnostics information (STATUS/CONDITION)


Item
Description
STATUS
Displays the communications status.
DISABLE
: Disables communications.
ENABLE
: Enables communications.
ERROR
: Communications error has
occurred.
For details, check CONDITION,
status of COMMUNICATION
STATUS in the bus parameter
screen, and the status of the
master function.
INVALID MAC ID
: The MAC-ID is not set correctly.
DUPLICATE MAC ID
: Duplicate MAC-IDs have been set.
DUPLICATE DEVICE : A MAC-ID duplicating the bus
parameter has been set.
INVALID CONNECTION : Connection by the correct I/O
Connection is not made.
The connection by these
DeviceNet master functions is Poll
I/O Connection.
POWER ON ERROR
: An error occurred when the power
was turned ON or when ENABLE
was set.
Check the network cable
connections or DeviceNet interface
board mounting state.
CONDITION Displays the states of the connected slaves.
(00) DISABLE
: Disables communications.
(01) IDLE
: Network scan standby state
(02) DEVICE BEING SCANED : Normal communications
status
Scanning of connected
slaves is being performed
correctly.
(03) TIMED-OUT
: Time-out state
There is no response from
the slaves.
(04) CONNECTION ERROR
: The UCMM (Unconnected
Message Manager)
connection cannot be
performed correctly.
(05) CONNECTION BUSY
: Master/Slave connection is
busy.
(06) CONNECTION ERROR
: Master/Slave connection
cannot be established.
(07) INVALID VENDOR ID
: The vendor ID of the
currently connected slave
differs from the parameter
setting value.
(08) VENDOR ID ERROR
: The vendor ID of the
currently connected slave
cannot be read.

- 29 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.2.2 (b) (continued): Diagnostics information


(STATUS/CONDITION)
Item
Description
CONDITION (09) INVALID DEVICE TYPE
: The device type of the
(continued)
currently connected slave
differs from the parameter
setting value.
(0A) DEVICE TYPE ERROR
: The device type of the
currently connected slave
cannot be read.
(0B) INVALID PRODUCT CODE: The product code of the
currently connected slave
differs from the parameter
setting value.
(0C) PRODUCT CODE ERROR : The product code of the
currently connected slave
cannot be read.
(0D) INVALID INPUT SIZE
: The DI size of the currently
connected slave differs
from the DI SIZE
parameter setting value.
(0E) INPUT SIZE ERROR
: The DI size of the currently
connected slave cannot be
read.
(0F) INVALID OUTPUT
: The DO size of the
currently connected slave
differs from the DO SIZE
parameter setting value.
(10) OUTPUT SIZE ERROR
: The DO size of the
currently connected slave
cannot be read.
(17) SYNC FAULT
: Failed to synchronize
Master/Slave connection.
(??) ERROR
: Other error state

Assigning DI/DO addresses


Set to parameters the addresses and sizes of the R areas to which
DI/DO areas are to be assigned. For example, to assign six bytes of DI
data (data input to the CNC from the slave) to R1000 onwards and
assign two bytes of DO data (data output from the CNC to the slave)
to R1100 onwards, set each of the data items as follows in screen
1.2.2 (b).
4 DI ADDRESS
5 DI SIZE
6 DO ADDRESS
7 DO SIZE

= R1000
=
6
= R1100
=
2

DI/DO is assigned to R area signals as follows according to this


setting.

- 30 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

R1000
R1001
R1002
R1003
R1004
R1005

DI Assignments
1st DI data from slave
2nd DI data from slave
3rd DI data from slave
4th DI data from slave
5th DI data from slave
6th DI data from slave

R1100
R1101

DO Assignments
1st DO data to slave
2nd DO data to slave

When a DI only slave or a DO only slave is connected, set the value


of the parameter that specifies the size of the unused DO or DI to "0".

CAUTION
When you set the assignment data, carefully set the
data so that areas to be secured as each assigned
data item are not duplicated. Also, thoroughly check
before setting to prevent areas that are currently
used for other slave assignment addresses and PMC
ladder programs from being duplicated.

- 31 -

1.DeviceNet FUNCTIONS

1.2.3

OPERATION

B-63404EN/03

Starting Communications
After you have finished setting up the bus parameters and slave
parameters, start communications by selecting ENABLE at the "1
DIS/ENB" item. Move the cursor from DISABLE to ENABLE. After
a few seconds, communications is started, and the STATUS display
changes to ERROR and the CONDITION display changes to (01)
IDLE as shown in screens 1.2.3 (a) and (b) below.

Case of the Series 16i/18i/21i-A/B

Screen 1.2.3 (a) Case of Series 16i/18i/21i-A/B

Case of the Series 15i-A

Screen 1.2.3 (b) Case of Series 15i-A

- 32 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

When communications with the currently connected slave is


performed normally, the STATUS display changes to ENABLE and
the CONDITION display changes to (02) DEVICE BEING
SCANNED. (See screens 1.2.3 (c) and (d) below.)

Case of the Series 16i/18i/21i-A/B

Screen 1.2.3 (c) Case of Series 16i/18i/21i-A/B

To continue setting other slave parameters, press soft key [PRV.NO]


or [NXT.NO] to change the slave No. Up to 32 slaves can be set.

Case of the Series 15i-A

Screen 1.2.3 (d) Case of Series 15i-A

- 33 -

1.DeviceNet FUNCTIONS

OPERATION

To set up another slave parameter, press page keys

B-63404EN/03

PAGE
PAGE

to

switch to that slave number.

Cursor operations and switching of screens are not possible for


several seconds until the connection for communications is
established.

- 34 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

Automatic setting of slave parameters


You can automatically set "3 VENDOR ID", "4 DEVICE TYPE" and
"5 PRODUCT CODE" by pressing soft key [INIT] in screen 1.2.3 (b)
in a normal communications state (STATUS display: ENABLE,
CONDITION display: (02) DEVICE BEING SCANNED).

Case of the Series 16i/18i/21i-A/B


When you press soft key [INIT], soft keys [YES] and [NO] are
displayed. (See screens 1.2.3 (e) and (f) below.)

Screen 1.2.3 (e) Case of Series 16i/18i/21i-A/B

Next, press soft key [YES] to automatically set these items.

- 35 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Case of the Series 15i-A


Pressing soft keys [INIT] [EXEC] enables "VENDOR ID,"
"DEVICE TYPE," and "PRODUCT CODE" to be set up
automatically.

Screen 1.2.3 (f) Case of Series 15i-A

CAUTION
Automatic setting of parameters is not performed
when communications is not being performed
normally.

- 36 -

B-63404EN/03

1.2.4

1.DeviceNet FUNCTIONS

OPERATION

Master Function Data Refresh Rate


The "data refresh rate" is the time required for the control unit (CNC)
to update all I/O signals assigned to the R areas.

CAUTION
The data refresh rate does not indicate the I/O
response time on the network. The I/O response
time is dependent on the condition of the network.
Refreshing of I/O signals in the master function is performed every 8
msec at a maximum of 32 bytes for both DI and DO. In other words,
the data refresh rate changes as shown in the following table
according to the number of communications points on each slave.
Table 1.2.4 (a)
Total Number of Slave Communications Points
Data Refresh Rate
1 to 32byte
8ms
33 to 64byte
16ms
65 to 96byte
24ms
In the same way from here on, the data refresh rate is extended by 8 ms at a
time as the total number of slave communications points increases by 32
bytes.

For example, the total DI size becomes 68 bytes when the sizes of the
DI/DO signals on each slave are set as follows. (See table below.)

Slave No.
1
2
3
4
5
6
Total DI/DO size

Table 1.2.4 (b)


DI Size
16
16
0
8
24
4
68

DO Size
0
16
8
8
0
0
32

At this time, as the data refresh rate of the DI signal is 24 msec and
the total DO size is 32 bytes according to Table 1.2.4 (a), the data
refresh rate of DO signals becomes 8 msecs. In this instance, the time
until all DI/DO signals are updated becomes the slower time of 24
msec.

- 37 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Setting Master Functions on Power Mate i-D/H


On the Power Mate i-D/H, master functions can be set using the
regular parameters, and you can confirm "STATUS" and
"CONDITION" in the regular diagnostics screen.

NOTE
1 When the DeviceNet parameters have been set, the
power must be turned OFF temporarily.
2 In the case of Power Mate i-D two-path control,
setting and diagnostics can be performed only from
the 1st path.
Procedure when using CRT/MDI
The setup procedure is exactly the same as the Procedure (CRT/MDI)
in "Setting Master Functions on the Series 16i/18i/21i-A/B" described
earlier. For details, see this item.

Procedure when using DPL/MDI


(1) Press the

DGNOS
PARAM

key to switch to the parameter screen.

(2) Set the parameters described later in the same way as regular
parameters.
(3) Press the

DGNOS
PARAM

key to switch to the diagnostics screen.

(4) Check the diagnostics numbers described later.

Procedure when using the DPL/MDI operation package (PC)


(1) Press the

F4
DGN
PRM

key to switch to the parameter screen.

(2) Set the parameters described later in the same way as regular
parameters.
(3) Press the

F4
DGN
PRM

key to switch to the diagnostics screen.

(4) Check the diagnostics numbers described later.

- 38 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Parameters
Enable/disable communications
DI16

28100

[Data type]
[Data range]

Byte
0, 1
Sets whether to disable or enable communications. Communications
is started when this parameter is set to "1" and the power is turned ON
again.
This parameter is equivalent to the "1 DIS/ENB" setting in screen
1.2.1(a) or 1.2.1(b).
Setting Value
0
1

Meaning
Disables communications.
Enables communications.
MAC-ID
DI16

28101

[Data type]
[Data range]

Byte
0 to 63
Sets the number for identifying on the network the DeviceNet
interface board mounted on the control unit (CNC).
Set a number that does not duplicate the MAC-ID of other nodes on
the network within the range 0 to 63.
(MAC-ID: Media Access Control ID)
This parameter is equivalent to the "2 MAC-ID" setting in screen
1.2.1(a) or 1.2.1(b).
Baud rate
DI16

28102

[Data type]
[Data range]

Byte
0 to 2
Sets the baud rate. The baud rate is limited by the maximum network
length and other factors. For details, see the "Connecting the
DeviceNet Functions" item in the Connections section.
This parameter is equivalent to the "3 BAUD-RATE" setting in screen
1.2.1(a) or 1.2.1(b).
Setting Value
0
1
2

28116

[Data type]
[Data range]

Baud rate
125Kbps
250Kbps
500Kbps
Status information data buffer area

Byte
0
Sets the area to be used as the status information data buffer. Use the
R area as the address to be set.
This parameter is equivalent to the buffer area setting in "4 STATUS
ADDRESS" in screen 1.2.1(a) or 1.2.1(b).
Setting Value
0

Buffer Area
R area

- 39 -

1.DeviceNet FUNCTIONS

OPERATION

28117

[Data type]
[Data range]

Status information data buffer address

Word
0 to (value obtained by subtracting the setting value of No.28118 from
the maximum value of the R area)
Sets the leading address of the status information data buffer.
This parameter is equivalent to the buffer address setting in "4
STATUS ADDRESS" in screen 1.2.1(a) or 1.2.1(b).

28118

[Data type]
[Data range]

Status information data buffer size

Byte
0 to 4
Sets the size of the status information data buffer.
This parameter is equivalent to the "5 STATUS SIZE" setting in
screen 1.2.1(a) or 1.2.1(b).

28119

[Data type]
[Data range]

Holding/Clearing the DI data

Byte
0, 1
Sets the state of the DI data when communication is not normal.
This parameter is equivalent to the "6 HOLD/CLEAR" setting in
screen 1.2.1(a) or 1.2.1(b).
Setting Value
0
1

28200

[Data type]
[Data range]

Meaning
Holding the DI data
Clearing the DI data

Disable/enable communications with slave No.1.

Byte
0, 1
Sets whether to disable or enable communications with the slave No.1
node. Communications is started when this parameter is set to "1" and
the power is turned ON again.
This parameter is equivalent to the "1 DIS/ENB" setting in screen
1.2.2(a) or 1.2.1(c).
Setting Value
0
1

Meaning
Disables communications.
Enables communications.

28201

[Data type]
[Data range]

B-63404EN/03

MAC-ID of slave No.1

Byte
0 to 63
Sets the number for identifying the slave to be connected.
Set a number that does not duplicate the MAC-ID of other nodes on
the network within the range 0 to 63.
(MAC-ID: Media Access Control ID)
This parameter is equivalent to the "2 MAC-ID" setting in screen
1.2.2(a) or 1.2.1(c).
- 40 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

28203

Vendor ID of slave No.1

28204

Device type of slave No.1

28205

Product code of slave No.1

[Data type]
[Data range]

Word
0 to 65535
Sets the vendor code/device type/product code of the slave to be
connected. Set this parameter in decimal (default=0). This setting is
used to specify the type of connected slave. If the setting value does
not match the value specific to the connected slave, an error
(INVALID VENDOR ID/INVALID DEVICE TYPE/INVALID
PRODUCT CODE) occurs. Note, however, that this error is not
detected when the setting value is set to "0". Also, as nodes on the
network are identified by a MAC-ID, communications is performed
normally even if the setting value of this parameter is set to "0".
This parameter is equivalent to the "3 VENDOR ID" / "4 DEVICE
TYPE" / "5 PRODUCT CODE" settings in screen 1.2.2(a) or 1.2.1(c).

28206

[Data type]
[Data range]

Connection type of slave No.1

Byte
0
Sets the connection type with the slave. "0" must be set. Setting to "0"
sets the connection type with the slave to Poll I/O Connection.
This parameter is equivalent to the "6 CONNECTION" setting in
screen 1.2.2(a) or 1.2.1(c).
Setting Value
0

28210

[Data type]
[Data range]

DI data buffer area of slave No.1

Byte
0
Sets the area to be used as the DI data buffer. Use the R area as the
address to be set. This parameter is equivalent to the buffer area
setting in "7 DI ADDRESS" in screen 1.2.2(b) or 1.2.1(c).
Setting Value
0

28211

[Data type]
[Data range]

Connection Type
Poll I/O Connection

Buffer Area
R area
DI data buffer address of slave No.1

Word
0 to (value obtained by subtracting the setting value of No.28212 from
the maximum value of the R area)
Sets the area to be used as the DI data buffer. Set the leading address
of the buffer.
This parameter is equivalent to the buffer address setting in "7 DI
ADDRESS" in screen 1.2.2(b) or 1.2.1(c).
- 41 -

1.DeviceNet FUNCTIONS

OPERATION

28212

[Data type]
[Data range]

DI data buffer size of slave No.1

Byte
0 to 32
Sets the area to be used as the DI data buffer. Set the size of the buffer
within the range 0 to 32.
This parameter is equivalent to the "8 DI SIZE" setting in screen
1.2.2(b) or 1.2.1(c).

28213

[Data type]
[Data range]

DO data buffer area of slave No.1

Byte
0
Sets the area to be used as the DO data buffer. Set the leading address
of the buffer.
This parameter is equivalent to the buffer area setting in "9 DO
ADDRESS" in screen 1.2.2(b) or 1.2.1(c).
Setting Value
0

28214

[Data type]
[Data range]

28215

[Data type]
[Data range]

B-63404EN/03

Buffer Area
R area
DO data buffer address of slave No.1

Word
0 to (value obtained by subtracting the setting value of No.28215 from
the maximum value of the R area)
Sets the area to be used as the DO data buffer. Set the leading address
of the buffer.
This parameter is equivalent to the buffer address setting in "9 DO
ADDRESS" in screen 1.2.2(b) or 1.2.1(c).
DO data buffer size of slave No.1

Byte
0 to 32
Sets the area to be used as the DO data buffer. Set the size of the
buffer within the range 0 to 32.
This parameter is equivalent to the "10 DO SIZE" setting in screen
1.2.2(b) or 1.2.1(c).
From here on, parameter numbers for slave number n (where, n=1 to
32) are numbers obtained by adding (n-1) x 20 to the parameter
number of slave No.1.

- 42 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

28200
+(n-1)20

Enable/disable communications with slave No. n

28201
+(n-1)20

MAC-ID of slave No. n

28203
+(n-1)20

Vendor ID of slave No. n

28204
+(n-1)20

Device type of slave No. n

28205
+(n-1)20

Product code of slave No. n

28206
+(n-1)20

Connection type of slave No. n

28210
+(n-1)20

DI data buffer area of slave No. n

28011
+(n-1)20

DI data buffer address at slave No. n

28012
+(n-1)20

DI data buffer size at slave No. n

28013
+(n-1)20

DO data buffer area at slave No. n

28014
+(n-1)20

DO data buffer address at slave No. n

28015
+(n-1)20

DO data buffer size at slave No. n

- 43 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Diagnostics
900

Communications status of slave No.1

Indicates the communications status of slave No.1.


This diagnostic is equivalent to the "STATUS" setting in screens
1.2.2 (a), 1.2.2 (b) and 1.2.2(c).
Value
0
1
2
3

129
130
131
132
133
134
135
136
137
138
139
140
141
142
143

Display on Screens
1.2.2 (a), 1.2.2 (b) and 1.2.2(c)
DISABLE
ENABLE
ERROR

INVALID MAC ID
DUPLICATE MAC ID
DUPLICATE DEVICE

Meaning
Disables communications.
Enables communications.
Reserved
Communications error has occurred.
For details, check CONDITION, status of STATUS information (R area)
and the error status of the slave device.
Reserved
The MAC-ID is not set correctly.
Reserved
Duplicate MAC-IDs have been set.
A MAC-ID duplicating the bus parameter has been set.
Reserved

INVALID CONNECTION

Connection by the correct I/O Connection is not made.


The connection by these DeviceNet master functions is Poll I/O
Connection.
Reserved

POWER ON ERROR

An error occurred when the power was turned ON or when ENABLE was
set.
Check the network cable connections or DeviceNet interface board
mounting state.

144
145
146

- 44 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

901

Status of slave No.1

Indicates the status of slave No.1.


This diagnostic is equivalent to the "CONDITION" setting in screens
1.2.2 (a), 1.2.2 (b) and 1.2.2(c).

0
1
2

Display on Screens
1.2.2 (a), 1.2.2 (b) and 1.2.2(c)
DISABLE
IDLE
DEVICE BEING SCANNED

TIMED-OUT

CONNECTION ERROR

5
6
7

CONNECTION BUSY
CONNECTION ERROR
INVALID VENDOR ID

8
9

VENDOR ID ERROR
INVALID DEVICE TYPE

10
11

DEVICE TYPE ERROR


INVALID PRODUCT CODE

12
13

PRODUCT CODE ERROR


INVALID INPUT SIZE

14
15

INPUT SIZE ERROR


INVALID OUTPUT SIZE

16
23
??

OUTPUT SIZE ERROR


SYNC FAULT
ERROR

Value

Meaning
Disables communications.
Network scan standby state
Normal communications status
Scanning of connected slaves is being performed correctly.
Time-out state
There is no response from the slaves.
The UCMM (Unconnected Message Manager) connection cannot be
performed correctly.
Master/Slave connection is busy.
Master/Slave connection cannot be established.
The vendor ID of the currently connected slave differs from the parameter
setting value.
The vendor ID of the currently connected slave cannot be read.
The device type of the currently connected slave differs from the
parameter setting value.
The device type of the currently connected slave cannot be read.
The product code of the currently connected slave differs from the
parameter setting value.
The product code of the currently connected slave cannot be read.
The DI size of the currently connected slave differs from the DI SIZE
parameter setting value.
The DI size of the currently connected slave cannot be read.
The DO size of the currently connected slave differs from the DO SIZE
parameter setting value.
The DO size of the currently connected slave cannot be read.
Failed to synchronize Master/Slave connection.
Other error state

From here on, diagnostics numbers for slave number n (where, n=1 to
32) are numbers obtained by adding (n-1) x 2 to the diagnostics
number of slave No.1.
900
+(n-1)2

Communications status of slave No. n

901
+(n-1)2

Status of slave No. n

- 45 -

1.DeviceNet FUNCTIONS

1.3

OPERATION

B-63404EN/03

SETTING SLAVE FUNCTIONS


To use the DeviceNet slave functions, you must set the MAC-ID,
baud rate and address assignments.
The "MAC-ID (Media Access Control ID)" is the ID used for
identifying on the network the DeviceNet communications board that
is currently mounted on the CNC.
This MAC-ID is set to a value within the range 0 to 63, and must not
duplicate the ID of another node on the network. The "baud rate" is
the network's communicating speed. Set the same value as the baud
rate currently set for communications on the network. (Refer to the
baud rate setting of the master device currently used on the network.)
"Address assignment" refers to setting of the DI/DO sizes when I/O of
the DI/DO signals is performed and to setting of the PMC addresses
(addresses of R areas) that are used.

Setting Slave Functions on Series 16i/18i/21i-A/B


Procedure (CRT/MDI)
(1) Press function key

SYSTEM

and then soft key [PMC] to switch to

the PMC screen.


(2) If you press soft keys [PMCDGN] ([>]) [I/OCHK]
[D_NET] in that order, the DeviceNet Function initial screen
(screen 1.2 (a) below) is displayed.
If you press [SLAVE] in this screen, the slave function setup
screen (screen 1.3(a) or 1.3(c)) is displayed.
You can enter setting values in this screen provided that the following
conditions are satisfied:
(a) Setting parameter PWE must be set to "1".
(b) The unit must be in the MDI mode or in an emergency stop
state.
(c) "DISABLE" must be selected at the "1 DIS/ENB" item.
Table 1.3(a) shows the setting items in this screen.
STATUS and COMMUNUNICATION STATUS are displayed in this
screen as diagnostics information used for verifying the
communications status.
Table 1.3(b) describes this diagnostics information.

- 46 -

B-63404EN/03

Switch between screens


using page keys .

OPERATION

1.DeviceNet FUNCTIONS

Screen 1.3 (a) Slave functions setting screen (Series 16i/18i/21i-A) (1)

Screen 1.3 (b) Slave functions setting screen (Series 16i/18i/21i-A) (2)

- 47 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Setting Slave Functions on Series 15i-A

Screen 1.3 (c) Slave functions setting screen (Series 15i-A)

You can enter setting values in this screen provided that the following
conditions are satisfied:
<1> Bit 0 (PWE) of setting parameter No. 8000 = 1
<2> The unit is in the MDI mode or at an emergency stop.
<3> DISABLE is selected at "DISABLE/ENABLE."
Table 1.3(a) lists the items to be set up in this screen.
Table 1.3(c) lists the diagnostics information for verifying
communication statuses.

- 48 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Display procedures
Procedure 1
(1) Press function key

SYSTEM

repeatedly until the bus parameter

screen, slave parameter screen, or slave function setup screen is


displayed.
(2) If the bus parameter screen or slave parameter screen is
displayed, press soft key [SLAVE SETTING] in the operation
selection menu.
Procedure 2
(1) Press function key

SYSTEM

or soft key [SYSTEM].

(2) Press soft key [CHAPTER] repeatedly until [DEVICENET] is


displayed.
(3) Press soft key [DEVICENET].
(4) If the bus parameter screen or slave parameter screen is
displayed, press [SLAVE SETTING] in the operation selection
menu.

Cursor/paging
1

Move the cursor using the cursor keys

If the master function is enabled:


If the cursor is at "DI HOLD/CLEAR," pressing cursor key
moves the cursor to "DISABLE/ENABLE" in the bus
-

parameter screen.
If the cursor is at "DISABLE/ENABLE", pressing cursor
key

moves the cursor to "DI SIZE" in the slave

parameter screen for slave No. 032.


-

Pressing page key


Pressing page key

PAGE

screen for slave No. 032.

- 49 -

displays the bus parameter screen.

PAGE

displays the slave parameter

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.3 (a): Setting items in slave function screen


Item
Description
1.DIS/ENB
Sets whether to disable or enable
(DISABLE/ENABLE)
communications.
Move the left and right cursor keys to select this
parameter setting. (For the 15i-A, use soft keys.)
Set ENABLE after setting of the master function
parameters is completed.
Communications is started a few seconds after
setting ENABLE.
DISABLE
: Disables communications.
ENABLE
: Enables communications.
2.MAC-ID
Sets the number for identifying on the network the
DeviceNet interface board mounted on the control
unit (CNC).
Set a number that does not duplicate the MAC-ID
of other nodes on the network within the range 0 to
63.
(MAC-ID: Media Access Control ID)
3.BAUD-RATE
Sets the baud rate.
The setting range is 0 to 2.
The baud rate for each setting is as follows:
0: 125 kbps
1: 250 kbps
2: 500 kbps
The baud rate is limited by the maximum network
length and other factors. For details, refer to
"Connecting DeviceNet Functions" in the
Connections section.
4 DI ADDRESS
Set the areas to be used as the DI/DO data
5 DI SIZE
buffers.
6 DO ADDRESS
Set the leading buffer address and buffer size.
7 DO SIZE
Use the R area as the address to be set.
Size setting range: 0 to 64
8.STATUS ADDRESS
Set the areas to be used as the status information
9.STATUS SIZE
data buffer.
Set the leading buffer address and buffer size.
Use the R area as the address to be set.
Size setting range: 0 to 4
10. DI HOLD/CLEAR
Specify whether to hold or clear DI data if
communication is abnormal.
Note) See Chapter 2,
0: To hold DI data.
"Configuring a
1: To clear DI data.
Safe System."

- 50 -

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

When the Devicenet Slave Board (A20B-8100-0490) or Slave Board A(A20B-8100-0491)is used
Table 1.3 (b): Diagnostics information
(STATUS/COMMUNICATIONS STATUS)
Item
Description
STATUS:
DISABLE
: Disables communications.
ENABLE
: Enables communications.
(normal communications
status)
ERROR
: Communications error has
occurred.
Check COMMUNICATION
STATUS and the status of
the master device.
INVALID MAC ID
: The MAC-ID is not set
correctly.
DUPLICATE MAC ID : Duplicate MAC-IDs have
been set.
BUS FAULT
: Bus error has occurred.
POWER ON ERROR : An error occurred when
the power was turned ON
or when ENABLE was set.
Check the DeviceNet
interface board mounting
state.
IDLE/ACTIVE
Indicates the status of the Group 2 Master/Slave
Connection Set. "01" indicates an active state.

CAN BUS STATUS1

00: IDLE state


(Group 2 Master/Slave Connection Set is not
established.)
01: ACTIVE state
(Group 2 Master/Slave Connection Set is
established.)
Indicates the status information of the CAN
(Controller Area Network) bus. Status information
is expressed in hexadecimal with 1 byte
expressing each item of information. Each of the
bits of the status information is significant.
CAN BUS STATUS1 (1byte Data)
#7
#6
#5
[ML] [RO] [TO]

#4
[TA]

#3
[A]

#2
#1
#0
[BO] [BW] [OL]

The meaning of bits is as follows.


(Values in parentheses () indicate values in the
normal communications status.)
#01 OL (1) : Online state
#1 BW (0) : Bus warning state
A communications error has
occurred, and the CAN chip
automatically stopped frame transfer.
Probable causes are an incorrect
baud rate setting or noise.

- 51 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1-3 (b) (continued): Diagnostics information


(STATUS/COMMUNICATIONS STATUS)
Item
Description
CAN BUS STATUS1
#2 BO (0) : Bus OFF state
A communications error has
occurred, and the CAN chip
automatically turned offline. Probable
causes are an incorrect baud rate
setting or a hardware malfunction.
#3 A (1) : Network is active.
Data is being sent and received.
#4 TA (0) : Response error state
There is no response from the
communications destination within 25
to 50 msec. The communications
destination node may not exist on the
network.
#5 TO (0) : Time-out state
High priority data may be being
transferred excessively.
#6 RO (0) : Receive buffer overrun has occurred.
#7 ML (0) : Message lost has occurred.
CAN BUS STATUS2
CAN BUS STATUS2 (1byte Data)
#7
[SA]

#6
[05]

#5
[02]

#4
[01]

#3
[--]

#2
[--]

#1
[BP]

#0
[ER]

The meaning of each bit is as follows.


(Values in parentheses () indicate values in the
normal communications status.)
#0 ER (0) : A CAN communications error has
occurred.
A probable cause is noise or a
hardware malfunction.
#1 BP (1) : Network power ON state
#2 -#3 -#4 01
: Baud rate is 125 kbps.
#5 02
: Baud rate is 250 kbps.
#6 05
: Baud rate is 500 kbps.
#7 SA (1) : The network scanner is active.

- 52 -

B-63404EN/03

OPERATION

1.DeviceNet FUNCTIONS

When the DeviceNet Slave Board B(A20B-8100-0650) is used


Table 1.3 (c): Diagnostics information
(STATUS/COMMUNICATIONS STATUS)
Item
Description
STATUS
00 DISABLE
Disables communications.
01 ENABLE
Enables communications.
(normal communications
status)
03 ERROR
Communications error has
occurred.
Check the status and error.
IDLE/
The display is in hexadecimal notation and consists of one byte.
ACTIVE
The individual bits of the status information have their respective
meanings.
When the bits are 1, they mean:
#7
#6
#5
#4
#3
#2
#1
#0
[VR]
[IC]
(A value enclosed in parentheses corresponds to a normal
communication status.)
#0 IC
(1) : Initialization completed
#1 VR
(1) : Valid-data-being-received flag
CONDITION 00 OFFLINE
DISABLE has been selected.
STATUS
01 INITIAL COMPLETE
The DeviceNet interface has
been initialized.
02 CHECK BAUDRATE
A baud rate check is in
progress.
- If the specified baud rate is
incorrect, the operation is
halted in this status.
03 CHECK NODE DUPLICATION A check for a duplicate MACID specification is in
progress.
04 WAIT CONNECTION ONLINE The DeviceNet is waiting for
communication with the
master to begin.
The operation is halted in this
status if:
- A cable is broken or not
connected normally.
- The specified MAC-ID is
invalid in the master side.
- The DI/DO SIZE setting
does not match that in the
master side.
05 ONLINE
Communication is effective
(normal communication
status).
06 WAIT CONNECTION TIMEOUT Communication is
interrupted.

- 53 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Table 1.3 (c): Diagnostics information


(STATUS/COMMUNICATIONS STATUS)
Item
Description
STATUS 80 HARDWARE ABNORMAL ERROR Check the error.
81 SETTING ERROR
82 NODE DUPLICATION ERROR
83 BUS OFF ERROR
(Undefined) WATCH DOG ERROR A failure has occurred on the
DeviceNet interface board.
ERROR
00
No alarm condition has
STATUS
occurred. (Normal
communication status)
01 ROM ERROR
A failure has occurred on the
02 RAM ERROR
DeviceNet interface board.
03 DP-RAM ERROR
04 CAN ERROR
09 PARAMETER ERROR
The setting is incorrect.
0B NODE DUPLICATION ERROR

There is a duplicate MAC-ID


specification on the network.

0C BUS OFF ERROR

This failure occurs if:


- The line is disturbed by
noise or any other
abnormal condition.
- A baud rate does not
match between nodes.
A failure has occurred in the
power supply for DeviceNet
communication.
Another failure has occurred
on the DeviceNet interface
board.

0D NETWORK POWER ERROR

(Undefined) WATCH DOG ERROR

Note) For the models other than Series 15i, only numbers are
displayed.

Setting the MAC-ID and baud rate


Set the node No. "2. MAC-ID" of this slave node and the baud rate "3.
BAUD RATE" to appropriate values referring to items 2 and 3 in
Table 1.3 (a).

- 54 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Assigning DI/DO addresses


Set to parameters the addresses and sizes of the R areas to which
DI/DO areas are to be assigned. For example, to assign six bytes of DI
data (data input to the CNC from the master) to R1000 onwards and
assign two bytes of DO data (data output from the CNC to the master)
to R1100 onwards, set each of the data items as follows in screen
1.3(a) or 1.3(c).

4 DI ADDRESS
5 DI SIZE
6 DO ADDRESS
7 DO SIZE

= R1000
=
6
= R1100
=
2

DI/DO is assigned to R area signals as follows according to this


setting.

R1000
R1001
R1002
R1003
R1004
R1005

DI Assignments
1st DI data from master
2nd DI data from master
3rd DI data from master
4th DI data from master
5th DI data from master
6th DI data from master

R1100
R1101

DO Assignments
1st DO data to master
2nd DO data to master

When a DI only slave or a DO only slave is connected, set the value


of the parameter that specifies the size of the unused DO or DI to "0".
Assign DI/DO in the same way on the master device, too. For details
on how to set parameters on the master device, refer to the
Specifications Manual for the master device to be used.

NOTE
When you set the assignment data, carefully set the
data so that area to be secured as each assigned
data item are not duplicated. Also, thoroughly check
before setting to prevent areas that are currently
used for other slave assignment addresses and PMC
ladder programs from being duplicated.

- 55 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Assigning status information


Assign the status information. This information is used for verifying
the communications status on the PMC.
Set to parameters the address and size of the R area in which the
status information data is to be assigned.
When the Devicenet Slave Board (A20B-8100-0490) or Slave Board A(A20B-8100-0491)is used

Table 1.3(d) shows the relationship between the STATUS SIZE


setting values and the status information data to be assigned.
Table 1.3 (d): Relationship between STATUS SIZE setting values and
STATUS information
Setting
Item
Description
Value
1
STATUS information
This 1-byte data notifies the PMC of the
communications status.
00h : Disables communications.
01h : Enables communications. (normal
communications status)
03h : Communications error has
occurred.
For details, check the
COMMUNICATION STATUS and
status of the master device.
82h : Illegal MAC-ID
84h : Duplicate MAC-ID
8Eh : Bus error has occurred.
8?h : An error other than the above
occurred at start of
communications.
2
COMMUNICATION
This 1-byte data notifies the PMC of the
STATUS:
state of Group 2 Master/Slave
IDLE/ACTIVE
Connection Set of the DeviceNet.
information
00h: IDLE state
01h: ACTIVE state
3
COMMUNICATION
This 1-byte data notifies the PMC of
STATUS: CAN BUS
CAN BUS STATUS1 information.
STATUS1 information
#7 #6 #5 #4 #3 #2 #1 #0
[ML] [RO] [TO] [TA]

COMMUNICATION
STATUS: CAN BUS
STATUS2 information

[A]

[BO] [BW] [OL]

For details, refer to the CAN BUS


STATUS1 information described above.
This 1-byte data notifies the PMC of
CAN BUS STATUS2 information.
#6

#5

#4

#3

#2

[SA] [05]

#7

[02]

[01]

[--]

[--]

#1

#0

[BP] [ER]

For details, refer to the CAN BUS


STATUS1 information described above.

- 56 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

Setting the status information storage area


The content up to the STATUS SIZE setting value items (see Table
1.3(d)) is assigned continuously starting from the specified R area
signal.
For example, to assign four bytes of status information from R1500
onwards, set each of the data items as follows in screen 1-5.
4 STATUS ADDRESS = R1500
5 STATUS SIZE
=
4
Status information is assigned to R area signals as follows according
to this setting.
Status Information Assignments
STATUS information
IDLE/ACTIVE information
CAN BUS STATUS 1 information
CAN BUS STATUS 2 information

R1500
R1501
R1502
R1503

- 57 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

When the Devicenet Slave Board C (A20B-8100-0650) is used

Table 1.3(e) lists the relationships between the STATUS SIZE


settings and the status information assigned according to the settings.

Item
STATUS (This
1-byte data
notifies the
PMC of the
communication
status.)
IDLE/ACTIVE
(This 1-byte
data notifies the
PMC of the
communication
status.)

CONDITION
STATUS (This
1-byte data
notifies the
PMC of the
communication
status.)

ERROR
STATUS (This
1-byte data
notifies the
PMC of the
communication
status.)

Table 1.3(e) Meanings of status information


Value
Description
00h
Communication is disabled.
01h
Communication is enabled.
(Normal communication status)
03h
A communication error has occurred.
Check the status and error.
The individual bits have their respective meanings.
When the bits are 1, they mean:
(Values enclosed in parentheses corresponds to the normal
communication status.)
#0 (1)
Initialization completed. (Normal
communication status)
#1 (1)
Effective-data-being-received flag (normal
communication status)
00h
DISABLE is selected.
01h
Initialization is completed.
02h
A check on the baud rate is in progress.
03h
A check for a duplicate MAC-ID
specification is in progress.
04h
The DeviceNet is waiting for
communication to begin.
05h
Communication is enabled.
(Normal communication status)
06h
Communication is interrupted.
80h to 83h
Communication is disabled.
For details, check the error.
Other values in a A failure has occurred on the DeviceNet
range between
interface board.
00h and FFh
00h
No alarm condition has occurred.
(Normal communication status)
01h to 04h
A failure has occurred on the DeviceNet
interface board.
09h
The setting is incorrect.
0Bh
There is a duplicate MAC-ID specification
on the network.
0Ch

This failure occurs if:


- The line is disturbed by noise or any
other abnormal condition.
- A baud rate does not match between
nodes.
0Dh
A failure has occurred in the power supply
for DeviceNet communication.
Other values in a A failure has occurred on the DeviceNet
range between
interface board.
00h and FFh

- 58 -

OPERATION

B-63404EN/03

1.DeviceNet FUNCTIONS

Setting the status information storage area


Status information is assigned sequentially starting at the signal in the
specified R area.
For example, to assign four bytes of status information from R1500
onwards, set each of the data items as follows in screen 1-5.
4 STATUS ADDRESS = R1500
5 STATUS SIZE
=
4
Status information is assigned to R area signals as follows according
to this setting.
Status Information Assignments
STATUS
IDLE/ACTIVE
Status
Error

R1500
R1501
R1502
R1503

On the PMC, start communications using this status information. Also


use this status information to process on the PMC any
communications errors that may occur.
The error status of this status information is returned to the normal
communications status when the cause of the error is removed. So, if
the error status must be held, perform this operation on the PMC.

CAUTION
When you set the assignment data, carefully set the
data so that areas to be secured as data do not
duplicate areas that are currently used for ladder
programs on the PMC.

- 59 -

1.DeviceNet FUNCTIONS

1.3.1

OPERATION

B-63404EN/03

Starting Communications

Case of the Series 16i/18i/21i-A/B


After you have finished setting up the parameters, start
communications by selecting ENABLE at the "1 DIS/ENB" item.
Move the cursor from DISABLE to ENABLE. After several seconds,
communications is started, and the STATUS display changes to
ENABLE as shown in screen 1.3.1 below.

Screen 1.3.1

Case of the Series 16i/18i/21i-A


After parameter setting is completed, setting DISABLE/ENABLE to
ENABLE triggers communication and changes the status indication to
ENABLE.

Cursor operations and switching of screens are not possible for a few
seconds until the connection for communications is established.

- 60 -

OPERATION

B-63404EN/03

1.3.2

1.DeviceNet FUNCTIONS

Slave Function Data Refresh Rate


The "data refresh rate" is the time required for the control unit (CNC)
to update all I/O signals assigned to the R areas.

NOTE
The data refresh rate does not indicate the I/O
response time on the network. The I/O response
time is dependent on the condition of the network.
Table 1.3.2(a) shows the relationship between the total number of
DI/DO communications points and the data refresh rate in the slave
function.
Table 1.3.2 (a)
Total Number of Slave Communications Points
1 to 64byte

Data Refresh Rate


8ms

The relationship changes as follows when master functions are used


together with slave functions.
Table 1.3.2 (b)
Number of DI/DO Communications Points (byte)
1 to 32
33 to 64

Data Refresh Rate


8ms
16ms

A maximum of 32 bytes of DI/DO is updated every 8 msec.

CAUTION
This data refresh rate sometimes changes according
to the configured options taking the overall
performance of the CNC into consideration.

- 61 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Setting Slave Functions on Power Mate i-D/H


On the Power Mate i-D/H, slave functions can be set using the regular
parameters.

NOTE
1 When the DeviceNet parameters have been set, the
power must be turned OFF temporarily.
2 In the case of Power Mate i-D two-path control,
setting can be performed only from the 1st path.
Procedure when using CRT/MDI
The setup procedure is exactly the same as the Procedure (CRT/MDI)
in "Setting Slave Functions on the Series 16i/18i/21i-A/B" described
earlier. For details, see this item.

Procedure when using DPL/MDI


(1) Press the

DGNOS
PARAM

key to switch to the parameter screen.

(2) Set the parameters described later in the same way as regular
parameters.

Procedure when using the DPL/MDI operation package (PC)


(1) Press the

F4
DGN
PRM

key to switch to the parameter screen.

(2) Set the parameters described later in the same way as regular
parameters.

- 62 -

1.DeviceNet FUNCTIONS

OPERATION

B-63404EN/03

Parameters
28000

[Data type]
[Data range]

Enable/disable communications

Byte
0, 1
Sets whether to disable or enable communications. Communications
is started when this parameter is set to "1" and the power is turned ON
again.
This parameter is equivalent to the "1 DIS/ENB" setting in screen
1.3(a) or 1.3(c).
Setting Value
0
1

Meaning
Disables communications.
Enables communications.

28001

[Data type]
[Data range]

MAC-ID

Byte
0 to 63
Sets the number for identifying on the master device the DeviceNet
interface board mounted on the control unit (CNC).
Set a number that does not duplicate the MAC-ID of other nodes on
the network within the range 0 to 63.
(MAC-ID: Media Access Control ID)
This parameter is equivalent to the "2 MAC-ID" setting in screen
1.3(a) or 1.3(c).

28002

[Data type]
[Data range]

Baud rate

Byte
0 to 2
Sets the baud rate. Set the same value as the baud rate of the master
device as the setting value.
This parameter is equivalent to the "3 BAUD-RATE" setting in screen
1.3(a) or 1.3(c).
Setting Value
0
1
2

Baud rate
125Kbps
250Kbps
500Kbps

28010

[Data type]
[Data range]

DI data buffer area

Byte
0
Sets the area to be used as the DI data buffer. Use the R area as the
address to be set.
This parameter is equivalent to the buffer area setting in "4 DI
ADDRESS" in screen 1.3(a) or 1.3(c).
Setting Value
0

Buffer Area
R area

- 63 -

1.DeviceNet FUNCTIONS

OPERATION

28011

[Data type]
[Data range]

DI data buffer address

Word
0 to (value obtained by subtracting the setting value of No.28012 from
the maximum value of the R area)
Sets the area to be used as the DI data buffer. Set the leading address
of the buffer.
This parameter is equivalent to the buffer address setting in "4 DI
ADDRESS" in screen 1.3(a) or 1.3(c).

28012

[Data type]
[Data range]

DI data buffer size

Byte
0 to 64
Sets the area to be used as the DI data buffer. Set the size of the buffer
within the range 0 to 64.
This parameter is equivalent to the "5 DI SIZE" setting in screen
1.3(a) or 1.3(c).

28013

[Data type]
[Data range]

DO data buffer area

Byte
0
Sets the area to be used as the DO data buffer. Use the R area as the
address to be set.
This parameter is equivalent to the buffer area setting in "6 DO
ADDRESS" in screen 1.3(a) or 1.3(c).
Setting Value
0

Buffer Area
R area

28014

[Data type]
[Data range]

DO data buffer address

Word
0 to (value obtained by subtracting the setting value of No.28015 from
the maximum value of the R area)
Sets the area to be used as the DO data buffer. Set the leading address
of the buffer.
This parameter is equivalent to the buffer address setting in "6 DO
ADDRESS" in screen 1.3(a) or 1.3(c).

28015

[Data type]
[Data range]

B-63404EN/03

DO data buffer size

Byte
0 to 64
Sets the area to be used as the DO data buffer. Set the size of the
buffer within the range 0 to 64.
This parameter is equivalent to the "7 DO SIZE" setting in screen
1.3(a) or 1.3(c).

- 64 -

OPERATION

B-63404EN/03

28016

[Data type]
[Data range]

Status information data buffer area

Byte
0
Sets the area to be used as the status information data buffer. Use the
R area as the address to be set.
This parameter is equivalent to the buffer area setting in "8 STATUS
ADDRESS" in screen 1.3(a) or 1.3(c).
Setting Value
0

28017

[Data type]
[Data range]

Buffer Area
R area
Status information data buffer address

Word
0 to (value obtained by subtracting the setting value of No.28108 from
the maximum value of the R area)
Sets the leading address of the status information data buffer. Set the
leading address of the buffer.
This parameter is equivalent to the buffer address setting in "8
STATUS ADDRESS" in screen 1.3(a) or 1.3(c).

28018

[Data type]
[Data range]

Status information data buffer size

Byte
0 to 4
Sets the size of the status information data buffer. Set the size of the
buffer within the range 0 to 64.
This parameter is equivalent to the "9 STATUS SIZE" setting in
screen 1.3(a) or 1.3(c).

28019

[Data type]
[Data range]

1.DeviceNet FUNCTIONS

Holding/Clearing the DI data

Byte
0, 1
Sets the state of the DI data when communication is not normal.
This parameter is equivalent to the "10 HOLD/CLEAR" setting in
screen 1.3(a) or 1.3(c).
Setting Value
0
1

Meaning
Holding the DI data
Clearing the DI data

- 65 -

2.CONFIGURING A SAFE SYSTEM

OPERATION

B-63404EN/03

CONFIGURING A SAFE SYSTEM


This chapter describes how to configure a safe system when creating a
system using DeviceNet functions.

- 66 -

B-63404EN/03

2.1

OPERATION

2.CONFIGURING A SAFE SYSTEM

TROUBLESHOOTING COMMUNICATIONS ERRORS

Using the Series 16i/18i/21i-A/B (DeviceNet function software series 6576/edition 02


or earlier)
With this DeviceNet function, assignment data is not updated when a
communications error occurs. For this reason, DI data is held at the
state that was active when the alarm was detected.

Using the Series 16i/18i/21i-A/B (DeviceNet function software series 6576/edition 03


or later) or Series 15i-A
In this DeviceNet function, whether to hold or clear the DI data when
a communication error has occurred can be selected by setting the DI
HOLD/CLEAR parameter as follows:
DI HOLD/CLEAR
0: The DI data is held in the state where it was when an alarm
condition was detected.
1: The DI data is cleared.

When designing the system, design the system so that the status of the
status information is monitored at all times and the system operates
stably. You can also prepare signals in DI/DO data, by which data is
exchanged, for indicating whether or not communications is being
performed instead of using the status information, and you can also
judge whether or not communications is being performed normally by
monitoring whether or not chose signals are being read. On the slave
system side, start and continue operations after receiving permission
from the master device.

- 67 -

2.CONFIGURING A SAFE SYSTEM

2.2

OPERATION

B-63404EN/03

HANDLING MULTIPLE-BYTE DATA


With this DeviceNet function, data communications on the network
and updating of data assigned to PMC R area are performed
asynchronously. For this reason, handling of data of two bytes or
longer must be synchronized on the PMC (in the ladder program).
For example, when multiple-byte DI data is read from the master
device on a slave, signals for acquiring synchronization must be
provided before and after the data, DI data must be read when the
synchronizing signals set by the master device is correctly read by the
slave, and the slave must reset the synchronizing signals when it has
finished reading the DI data and then notify the master device that it
has finished reading the DI data.

- 68 -

III. CONNECTION

B-63404EN/03

CONNECTION

1.CONNECTING DeviceNet FUNCTIONS

CONNECTING DeviceNet FUNCTIONS


This chapter describes information relating to connecting DeviceNet
functions.
Refer to issued DeviceNet specifications from ODVA about the
standard of DeviceNet.

NOTE
The following DeviceNet connecting fixtures are
made available but not supplied by FANUC. Buy
connecting fixtures that comply with the DeviceNet
standard from a third party.
Communications cables
Communications power supply
Terminator
T-branch tap
Power supply tap
Crimped terminals
Trademark
DeviceNet is a trademark of ODVA (Open
DeviceNet Vendor Association.)

- 71 -

1.CONNECTING DeviceNet FUNCTIONS

1.1

CONNECTION

B-63404EN/03

CONNECTING DeviceNet
With FANUC DeviceNet, one DeviceNet board is needed for each
network. The number of networks that can be connected and available
functions is limited to the machine type.
Machine Type
FS16i/18i/21i
(LCD-mounted type)
FS16i/18i/21i
(Stand-alone type)
and Power Mate i

1)

Number of Networks

Function

Master or slave

Master 1 control, Slave


1 control

Master function
The "master function" refers to controlling I/O of other slave
units to be connected on the network with the CNC as the master
unit as shown in the figure below.
Master
(CNC)

#3

#4

#5

#6

#N

-Slaves

Up to 32 slaves can be connected to a single master.


2)

Slave function
Master
(group 1) #1

slave
(CNC)
#11

slave
#12

slave
(CNC)
#21

Master
(group 2) #2

slave

slave

slave

slave

#13

#22

#23

#24

DeviceNet-Slaves

Master/Slave Combinations
Group
1
2

Master
#1
#2

Slave
#11,#12,#13
#21,#22,#23,#24

Up to 64 devices, including masters and slaves, can connected on a


single network.
- 72 -

B-63404EN/03

1.2

CONNECTION

1.CONNECTING DeviceNet FUNCTIONS

DeviceNet CABLES
There are two types of DeviceNet cable: thick cable and thin cable.
Normally, thick cable is used as the trunk line when a long-distance
network is required. Normally, thin cable is used as branch cable as it
is thinner and more flexible than thick cable. Thin cable can also used
as the trunk in short-distance networks.
Use cables that comply with the DeviceNet standard.

- 73 -

1.CONNECTING DeviceNet FUNCTIONS

1.3

CONNECTION

B-63404EN/03

CABLE LENGTH AND BAUD RATE


There are some restrictions in configuring a network: maximum
network length, branch length and total branch length. These factors
are also restricted by the baud rate.

Maximum network length


The "maximum network length" refers to whichever is longer, the
distance between furthermost nodes or the distance between
terminators.
Whichever of these is longer is the maximum
network length.
Terminator

Terminator
Node

T-branch tap

T-branch tap
Branch
length

Node
Node
Branch length

Communications
power supply

Node

The following table shows the maximum network length according to


cable type.
Cable Type
Thick cable (5-wire)
Thin cable (5-wire)

Maximum Network Length


500m
100m

NOTE
Thin cable can also be used as the trunk if the
maximum network length is within 100 m. In this
case, also pay attention to the maximum current
capacity of the cable so that this limit value is not
exceeded.
The maximum network length is also limited by the baud rate.

Baud Rate
500 K bit/sec
250 K bit/sec
125 K bit/sec

Maximum Network Length


When Only Thick Cable Is
Used
100m
250m
500m

- 74 -

Maximum Network Length


When Only Thin Cable Is
Used
100m

B-63404EN/03

CONNECTION

1.CONNECTING DeviceNet FUNCTIONS

NOTE
When Thick Cable Is Used Together With Thin
Cable
A mixture of thick cable and thin cable can be used
for the cable connecting furthermost nodes. Note,
however, that in this case, the line lengths of each
type of cable must satisfy the expression in the
following table. So, the total network length becomes
shorter than when the network is configured by
connecting only thick cable.
Prevent the maximum current consumption of the cables from being
exceeded.
Baud Rate
500 K bit/sec
250 K bit/sec
125 K bit/sec

Maximum Network Length


Lthick + Lthin < 100m
Lthick + 2.5 Lthin < 250m
Lthick + 5 Lthin < 500m

Lthick: Length of thick cable, Lthin: Length of thin cable


Example
Maximum network length
1m

25m

100m

40m

Node

T-branch tap
3m

1m
Terminator

Terminator

T-branch tap

Node
5m

2m
Node
Branch length
Communications
power supply

Node

Baud Rate
Maximum Network Length
Acceptability
500 K bit/sec Lthick + Lthin=175 < 100m
NG
250 K bit/sec Lthick + 2.5 Lthin = 125 + 2.5 50=250 < 250m
OK
125 K bit/sec Lthick + 5 Lthin = 125 + 5 50 = 375 < 500m
OK

According to the above calculation, communications at 250 kbit/sec


and 125 kbit/sec is possible in this case. Note, however, that a
network cannot be configured if the maximum allowable current
consumption of the cables is exceeded even if the above conditions
are satisfied.

- 75 -

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

Branch length
The "branch length" refers to the longest value from where the trunk
is divided into a branch up to the first node connected to the branch.
The maximum branch length is 6 m.
Branches can be sub-divided into further branches.
Calculation example
Trunk line

Trunk line

T-branch tap A

T-branch tap

T-branch tap A to node A: 6 m


T-branch tap A to node B: 5 m
T-branch tap A to node C: 6 m

4m

Branch length (max. 6 m)

T-branch tap B
1m

2m

Node

All branches are within 6 m.

Node B

1m

Node A

Node C

Branch length

Total branch length


The "total branch length" refers to the length obtained by totaling the
length of all branches. The total branch length is sometimes exceeds
this restriction even if all of the branches is within 6 m. Also, the total
branch length restriction also varies according to the baud rate.
Baud Rate
500 K bit/sec
250 K bit/sec
125 K bit/sec

Maximum Total Branch Length


39m
78m
156m

Calculation example
Terminator

Terminator
T-branch
tap A

T-branch tap C

4m

Node B

T-branch tap A to T-branch tap B: 4 m


T-branch tap B to Node A: 2 m
T-branch tap B to Node B: 1 m
Node B to Node C: 1 m
T-branch tap C to Node D: 6 m

Node C

The total branch length is 12 m.

6m

T-branch tap B

1m

2m
Node A

Node D

1m

- 76 -

CONNECTION

B-63404EN/03

1.4

1.CONNECTING DeviceNet FUNCTIONS

TERMINATOR
To reduce the influence of signal reflection and ensure more stable
communications, terminators must be attached to both ends of the
trunk. Terminators need not be attached to the ends of branches. Do
not attach terminators to the ends of branches; attach them only to the
ends of the trunk.
The following shows the specifications and how to connect a
terminator.
CAN L(2)
R = 121O, 1/4w
Allowable resistance error: 1%
Metal sheath
CAN H(4)

NOTE
Numbers in parentheses () indicate the connector
pin No.
Install the terminator within 1 m of the end (node or
T-branch tap) of the branch line.
1m
Terminator
T-branch tap

Node

- 77 -

1.CONNECTING DeviceNet FUNCTIONS

1.5

CONNECTION

B-63404EN/03

CONNECTOR

Connector
DeviceNet interface connector

Terminal No.

1
2
3
4
5

Signal Name

VCAN L
SHIELD
CAN H
v+

Color Code

Black
Blue
Bare
White
Red

Signal Type
Signal cable - side
Communications data Low side
Shield
Communications data High side
Signal cable + side

Cable connector:
Manufactured by Phoenix Contacts Inc.
MSTB2.5/5-ST-5.08AU (provided with the product)
Applicable cable conductor AWG24-12

Connecting the communications cable


Connect the communications cable to the DeviceNet interface
connector according to the following procedure.
(1) Strip about 30 mm of the cable sheath and remove unwanted
sheath.
(2) Peel off the aluminum tape covers the signal leads and the power
leads, and strip the sheath of the signal leads and power leads
matched to the length of the crimped terminals.
(3) Twist the stripped signal leads and power leads and attach the
crimped terminals.
We recommend the following crimped terminal:
Phoenix Contacts Inc.
AI series (special tool ZA3)
(4) Loosen the cable fastening screws on the connector so that the
line materials can be easily inserted.
(5) Insert each of the signal leads into the holes on the connector
terminal plate so that the sheath colors of the shielded lead,
signal leads and power leads match the colors indicated on the
connector.
(6) Tighten the power leads in place with the cable fastening screws
on the connector.
Two thin cables can be connected to this connector in a multi-drop
configuration. In this case, insert two leads into a single hole on the
terminal plate. Thick cable cannot be used in a multi-drop
configuration. In a multi-drop configuration, use T-branch taps.

- 78 -

CONNECTION

B-63404EN/03

1.CONNECTING DeviceNet FUNCTIONS

- Connector (DeviceNet boards B and C)


Cable-end connector for DeviceNet boards B and C:
Manufactured by Hirose Electric Co., Ltd.
HR31-5.08p-5SC (plug) and
HR31-SC-121 5 pieces (crimp terminals)
Applicable cable conductor 0.25 to 1.65 mm2
The plug is shipped along with DeviceNet boards B and C. The plug
has a label indicating a color code. No crimp terminal is shipped
unless separately ordered. (A02B-0259-K211).

NOTE
No crimp terminal is shipped along with DeviceNet
board B or C.

- Connecting the communication cable (DeviceNet boards B and C)


To attach a communication cable to the DeviceNet interface
connector, follow this procedure.
(1) Remove the sheath of the cable to a length of about 30 mm, and
cut off the excess shielding.
(2) Remove the aluminum tape from around the signal and power
supply wires. Also remove the insulator from each wire to a
length of about 5 mm.
(3) Twine the stripped signal wire strands. Also twine the stripped
power supply wire strands. Attach a crimp terminal to each
bundle of wire strands.
To crimp the terminal, use a crimp tool complying with JIS
C9711 by setting its indication to 1.25.
Recommended crimp tool:
HR31-TC-01 manufactured by Hirose Electric Co., Ltd.
(4) Insert the shielding wire, signal wire, and power supply wire into
the plug by matching their insulator colors to the color codes
indicated on the connector.
When attaching each crimp terminal to the plug, keep them in
the orientation shown below.
Crimp terminal

(5)

Wire

Insert the plug into the DeviceNet board, and fasten it with its
bolts using a No. 0 cross-head bit.

These crimp terminals are of a multidrop type. Each terminal can be


used to crimp two thin cable wires together. They are not for thick
cables.

- 79 -

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

- Pulling out crimp terminals (DeviceNet boards B and C)


If you made a misconnection, correct it by pulling out the crimp
terminal according to this procedure.
A rod 1 mm in diameter can be used to pull out a crimp terminals.
Recommended tool: HR31-SC-TP manufactured by Hirose Electric
Co., Ltd.
(1) Push a pull-out tool against the molded lance. (See Fig. 1.)
(2) While pushing the molded lance, tilt the pull-out tool to release
the crimp terminal lock. (See Fig. 2.)
(3) Pull out the pull-out tool.
(4) Pull the wire to take out the crimp terminal.
Molded lance

Molded lance
Wire

Wire

Pull-out tool

Pull-out tool
Fig. 1

Fig. 2

- Extending the line (DeviceNet boards B and C)


Adding a CNC to the existing line requires another crimp terminal
A02B-0259-K211.
(1) Pull out the crimp terminal from the plug of the CNC at the last
stage of the line.
(2) Detach the existing communication cable from the crimp
terminal.
(3) Attach the detached communication cable and an additional
communication cable to a new crimp terminal, and insert it to the
plug.
For details, see "Connecting the communication cable (DeviceNet
boards B and C)."

- 80 -

CONNECTION

B-63404EN/03

1.6

1.CONNECTING DeviceNet FUNCTIONS

GROUNDING THE CABLE WIRES


Wire the cable referring to the figure below when connecting the
cable to the connector.
DeviceNet
Board

Communications
power supply

V- V+ FG
100 ? min.

Connector
1 2 3 4 5

Drain wire/shield
Signal line (CAN_L)
Signal line (CAN_H)
Power line (V-)
Power line (V+)

Grounding the network


In the DeviceNet specification, it is recommended that only one place
on the network be grounded and a place as near as possible to the
center of the network be grounded to prevent a ground loop.
As shown in the figure above, connect the shielded lead of the cable
to frame ground (FG) for the communications power supply and
ground FG to a maximum resistance of 100.
When multiple power supplies are used, connect and ground the
shielded lead only at the power supply near the center of the network.
Do not connect the shielded lead to the frame ground of other power
supplies, and ground these FGs to a maximum of 100. When you use
multiple power supplies, user a special power supply tap made by
other manufacturers.
Only one communications power supply:
T-branch tap or power supply tap

Master

Power
supply

Slave

Two or more communications power supplies:


Ground at only one location near the center
Power supply
tap

Master

Power
supply

- 81 -

Slave

Power
supply

Slave

Power
supply

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

Obtaining a ground lead


There are three ways of obtaining a ground lead:

By drawing out from the connector to which the communications


cable is connected
Insert the ground lead into the same hole as the shielded lead
of the communications cable and fix in place.
By drawing out from the T-branch tap
Connect only the ground lead to one of the connectors on the
T-branch tap.
By using the cable clamp
Ground the communications cable shield by the cable clamp,
and connect the communications power supply ground to the
clamp base.

NOTE
Be sure to ground the shield lead of each
communications cable. If there is even one place
that is not grounded, the shielding effect of the entire
network is impaired.

- 82 -

CONNECTION

B-63404EN/03

1.7

1.CONNECTING DeviceNet FUNCTIONS

CABLE CLAMP
The cable clamp has two functions: to support the cable and to shield
the cable. As shown in the figures below, peel off part of the cable
sheath to expose the outer shield cover, and press this part against the
earth plate with the earth plate.

Earth plate

Cable

Cable clamp

Earth plate

Shield

Cable sheath

- 83 -

1.CONNECTING DeviceNet FUNCTIONS

1.8

CONNECTION

B-63404EN/03

COMMUNICATIONS POWER SUPPLY


With DeviceNet, power must be supplied for communications. Use a
power supply that satisfies the specifications shown in the table below
and that has insulated AC input and DC output as the communications
power supply. Also, select a communications power supply having
margin in its current capacity greater than the total current
consumption of all nodes to which power is to be supplied.
Communications Power Supply Specifications
Item
Output voltage
Output current
Input fluctuation
Load fluctuation
Influence of ambient temperature
Output ripple
Output side capacity
Ambient temperature
Inrush Current Limit
Protection against overvoltage
Protection against overcurrent
Startup time
Overshoot at startup
Insulation
Compliant standards

Ambient humidity
Surge current

Specifications
24VDC 1%
16 A max.
Max. 0.3%
Max. 0.3%
Max. 0.03%/C
250mVp-p
Max. 7000 F
During operation : 0 to 50C
During storage : -40 to +85C
Less than 65 A (peak)
Provided
Provided (max. current 125%)
250 ms up to 5% value of final output
voltage
Max. 0.2%
Across output and AC power supply,
and output and housing
Necessary
: UL
Recommended : FCC Class, B, CSA
TUV, VDE
30 to 90% (no condensation allowed)
Max. 10%

Be sure to supply power from the trunk down to the branches. The
maximum current capacity of the communications cable is 8A on
thick cables and 3A on thin cables.
The communications power supply is connected in various forms
depending on the user's power supply requirements.
The current capacity of the branch varies according to the branch
length. The longer the branch, the smaller the branch's maximum
current capacity becomes. The same applies if the cable used as the
branch is thick cable or thin cable. Calculate the possible current
capacity (I) on a single branch (the total current that is consumed on
each branch) according to the following expression:
I = 4.57/L

- 84 -

I: Allowable current (A)


L: Branch length (m)

B-63404EN/03

1.8.1

CONNECTION

1.CONNECTING DeviceNet FUNCTIONS

Designing a Power Supply Connection


Design the power supply connection in the following order:
(1) Provisional determine the position of the power supply.
(2) Calculate the current consumption of all nodes to be located on
the network.
(3) Calculate the length at the provisional position, and calculate a
rough value for the current that can be supplied to the cable
according to the graph.
(4) Verify whether or not the supplied current satisfies the current
consumption.
(5) Change the position of the power supply and verify again.
(6) If the conditions are not satisfied by the simple calculation
according to the graph in step (3), calculate the supplied current
according to the calculation expression and verify again.
(7) If the conditions in the calculation expression are not satisfied in
step (6), provide two or more power supplies, separate the power
supply paths, and verify whether or not the supply current
satisfies the conditions for each of the power supplies.

1.8.2

Determining the Power Supply Locations


Power supplies can be located in the four configurations shown
below.
In principle, select configurations (1) and (2).
If the power supply conditions are not satisfied in configurations (1)
and (2), study the use of configuration (3). To provide two or more
power supplies for the simultaneous supply of power, configuration
(4) is also possible.
(1) When nodes are located both sides of the power supply:
Power supply tap
or T-branch tap

Terminator

Node

Node

Node

Terminator

Node

Node

Communications
power supply

(2) When the nodes are located to one side of the power supply:

NOTE
We recommend the configuration in (1) when
supplying power to many nodes from a single power
supply.
- 85 -

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

(3) When the power supply path is separated between two or more
power supplies:
Path 1

path 2

Power supply tap

Power supply tap

Terminator

Terminator

Node
Communications
power supply

Node

Node

Node

Node

Communications
power supply

Remove the fuse and separate V+.

Fuse

V+
V-

Set V- common to
paths 1 and 2.
24V 0V

(4) When two or more power supplies are


simultaneously cover all of the nodes in between:
Power supply tap

provided

to

Power supply tap


Terminator

Terminator

Node
Communications
power supply

Node

Node

Node

Node
Communications
power supply

NOTE
If the current capacity flowing to the thick cable
exceeds 8A even if the position of the
communications power supply is changed, the power
supply conditions cannot be satisfied by one power
supply. So, use two or more power supplies.
When thick cable is used in the configuration in (1),
there will be no problems if the current capacities on
both sides of the trunk from the communications
power supply are both 8A or less. For this reason, a
configuration up to a maximum current capacity of
16A is possible.
If the current capacity flowing to the thin cable
exceeds 3A when thin cable is used for the trunk,
verify whether or not the conditions are satisfied by
changing to thick cable.

- 86 -

CONNECTION

B-63404EN/03

1.CONNECTING DeviceNet FUNCTIONS

Factors for determining the power supply locations


Two factors for determining whether or not current can be supplied
normally are the current capacity required by each node and voltage
drop on the cable. Calculate the following two values beforehand:

Current capacity required at each node

Distance from the power supply(ies)

How to calculate the power supply


There are two ways of calculating the power supply for the trunk:
1) Simple calculation according to the graph
2) Calculation by calculation expression (Voltage drop is calculated
from the resistance of the communications cable and the current
consumption.)

NOTE
Calculate the power supply so that the conditional
expression for the current consumption on branches
according to the branch length is satisfied for each
branch.
Distance to furthest node on trunk
or to branch tap from power supply

Terminator

Power supply tap

Node

Regarded as no
distance

Node

Node

Node Terminator

Communications
power supply

The conditions are sometimes satisfied by calculating using the


calculation expression even if the power supply conditions are
not satisfied by calculating simply according to the graph. In this
case, locating the power supply at a hypothetical position poses
no problem.

NOTE
When using a common power supply for
communications and the NC, the power supply
cannot be calculated by graph-based simple
calculation in the following item. Calculate the power
supply according to the calculation expression.

- 87 -

1.CONNECTING DeviceNet FUNCTIONS

B-63404EN/03

Verification by Graph-Based Simple Calculation


Voltage drop occurs when current flows to the communications cable.
The longer the communications cable, the larger the current value
becomes and the larger the voltage drop occurs.
The voltage of the communications power supply at each node must
be 11 VDC or more.
The following tables and graphs show the maximum current for each
cable thickness by which a sufficient voltage can be supplied to the
communications power even if a voltage drop occurs.

Thick cable

Thick cable (m)


0 25 50 100 150 200 250 300 350 400 450 500
Max. current (A) 8.00 8.00 5.42 2.93 2.01 1.53 1.23 1.03 0.89 0.78 0.69 0.63
8
7

Max. current (A)

6
5
4
3
2
1
0
0

50

100

150

200
250
300
Thin cable (m)

350

400

450

500

Thin cable

Thick cable (m)


0 10 20 30 40 50 60 70 80 90 100
Max. current (A) 3.00 3.00 3.00 2.06 1.57 1.26 1.06 0.91 0.80 0.71 0.64
3

Max. current (A)

1.8.3

CONNECTION

0
0

10

- 88 -

20

30

40

50
60
Thin cable (m)

70

80

90

100

CONNECTION

B-63404EN/03

1.CONNECTING DeviceNet FUNCTIONS

Graph-based simple calculation


The items must be checked in order (1) to (3) for each of the nodes
located in the same direction viewed from the power supply.
If nodes are located on both sides of the power supply, items (1) to (3)
must be checked in each direction.
(1) Calculate total current consumption (A) for all nodes located on
the network in each direction.
(2) Calculate from the graph maximum current (B) that can flow to
the cable based upon the cable type (thick or thin) and the
distance to the furthermost end on the trunk from the power
supply.
(3) If total current consumption (A) calculated in (1) is less than or
equal to maximum current (B) calculated in (2), this means that
the power supply conditions are satisfied for all nodes.

NOTE
The graph to refer to varies according to the cable
type (thick or thin) used for the trunk.
Remedies
If total current consumption (A) calculated in (1) is greater than
maximum current (B) calculated in (2), study the following:

Move the power supply towards the center to configure the


network so that nodes are located on both sides of the power
supply.

If nodes are already located on both sides of the power supply,


move the power supply towards the direction on which the larger
current consumption is required.

Swap with thick cable if thin cable is used.


If A is grater than B in any of the above measures, study the positions
of the nodes according to the calculation expression taking into the
actual positions of the nodes.

When the power supply unit is located at the one of the network (example 1):
The following shows an example where thick cable having a total
length of 200 m is used for the power supply, and the communications
power supply is located at the end of the network.
In this example, the current consumptions of each node are assumed
to be as shown in the following figure.
200m

Terminator

Power supply
Node
tap

Node

Node

0.1A

0.25A

0.05A

Communications
power supply

Total length of power supply line = 200 m


- 89 -

Node Terminator
0.25A
Trunk line (5-lead cable)

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

Total current consumption = 0.1A + 0.15A + 0.05A + 0.25A = 0.65A


Maximum possible current calculated from the table for thick cable =
1.53A
The relationship becomes "total current consumption is less than the
maximum current," so you can verify that power can be supplied to all
nodes.

When the power supply unit is located at the center (example 2):
The following shows an example where thick cable having a total
length of 240 m is used for the power supply, and the communications
power supply is located at the center of the network.
As the communications power supply is located in the center of the
network, the maximum current flows to both the left and right of the
power supply. For this reason, a current twice the maximum current
can be supplied compared with when the communications power
supply is located at the end of the network.
In this example, the current consumptions of each node are assumed
to be as shown in the following figure.
Power supply tap
120m

Terminator

Node
0.1A

Node
0.45A

120m

Within
3m

Node
0.25A

Node

Terminator

0.3A
Trunk line (5-lead cable)

Communications
power supply

Total length of power supply line (left side) = Total length of power
supply line (right side) = 120 m
Total current consumption (left side) = 0.1 A + 0.45 A = 0.55 A
Total current consumption (right side) = 0.25 A + 0.3A = 0.55 A
Maximum current (left side) calculated from the table for thick cable
= Approx. 2.5 A
Maximum current (right side) calculated from the table for thick cable
= Approx. 2.5 A
(The above values are calculated by linear approximation between
100 and 150 m.)
The relationship becomes "total current consumption (left side) is less
than the maximum current (left side)" and the "total current
consumption (right side) is greater than the maximum current (right
side)," so you can verify that power can be supplied to all nodes.

- 90 -

CONNECTION

B-63404EN/03

1.CONNECTING DeviceNet FUNCTIONS

When current consumption is uneven on either side of the power supply unit (example 3)
The following shows an example where thick cable having a total
length of 240 m is used for the power supply, and the communications
power supply is located by moving it slightly away from the center of
the network.
If the total current consumption is uneven on either side of the power
supply unit and is insufficient even if the communications power
supply is located in the center of the network, the current
consumption conditions are sometimes satisfied by moving the power
supply unit slightly.
In this example, the current consumptions of each node are assumed
to be as shown in the following figure.
When the power supply unit is located in the center:
Power supply tap
120m

Terminator

Node

Node

Node

1.1A

1.25A

0.5A

120m

Within
3m

Node

Terminator

Node

Node

0.25A

0.25A
0.85A
Trunk line (5-lead cable)

Communications
power supply

Total length of power supply line (left side) = Total length of power
supply line (right side) = 120 m
Total current consumption (left side) = 1.1A + 1.25A + 0.5A = 2.85A
Total current consumption (right side) = 0.25A+0.25A+0.85A=1.35A
Maximum current (left side) calculated from the table for thick cable
= Approx. 2.5 A
Maximum current (right side) calculated from the table for thick cable
= Approx. 2.5 A
(The above values are calculated by linear approximation between
100 and 150 m.)
The relationship becomes "total current consumption (left side) is
greater than the maximum current (left side)," so it can be seen that
the current consumption is insufficient on the left side.
To remedy this, move the position of the power supply unit to the left
as shown in the figure below.
Power supply tap
100m

Terminator Node

Node

1.1A

1.25A

120m

Within
3m

Node

Node

0.5A

0.25A

0.25A
0.85A
Trunk line (5-lead cable)

Communications
power supply

Total length of power supply line (left side) = 100 m


Total length of power supply line (right side) = 140 m
- 91 -

Node

Terminator

Node

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

Total current consumption (left side) = 1.1A + 1.25A = 2.35A


Total current consumption (right side) = 0.5A+0.25A+0.25A+0.85A=
1.85A
Maximum current (left side) calculated from the table for thick cable
= 2.93A
Maximum current (right side) calculated from the table for thick cable
= Approx. 2.1 A
(The above values are calculated by linear approximation between
100 and 150 m on the right.)
As a result, the relationship becomes "total current consumption is
greater than the maximum current" for both the left and right sides, so
you can verify that power can be supplied to all nodes.

- 92 -

CONNECTION

B-63404EN/03

1.8.4

1.CONNECTING DeviceNet FUNCTIONS

Verifying by Calculation Expression


If the conditions cannot be satisfied by simply calculating from the
graph, verify the conditions according to the actual positions of each
node and the communications power supply.
With DeviceNet, the maximum voltage drop allowed in a system is
stipulated as 5V for each of the power supply lines (V+, V-) based
upon the voltage specifications (24 VDC) of the communications
power supply and the input voltage specifications (11 to 25 VDC) of
the communications power supply for each device.
This 5 V voltage drop comprises an allowable voltage drop of 4.65A
on the trunk and an allowable voltage drop of 0.35V on the branches.
The approach for considering voltage drop in the cable is as follows.
In the DeviceNet standard, the voltage drop in the communications
cable is stipulated to within 5 V or less including margin taking into
consideration the voltage specifications (24 VDC) and the input
voltage specifications (11 to 25 VDC) of the communications power
supply of each device.
Voltage drop at V+ (VA)
V1

V2
Voltage drop at V- (VB)
Supply voltage to each node

Supply voltage of communications power supply

V1: Supply voltage of communications power supply. Set V1 to 23 V


taking into consideration the fluctuation range of the power
supply voltage.
V2: Supply voltage to each node. Set V2 to > 13 V taking the margin
into consideration.
VA: Voltage drop at power cable V+
VB: Voltage drop at power cable VOn DeviceNet, set VA to less than or equal to 5V and VB to less
than or equal to 5V.
The voltage drop on the communications cables is stipulated at 5V or
less on each of the power lines (V+, V-).
This 5 V voltage drop comprises an allowable voltage drop of 4.65A
on the trunk and an allowable voltage drop of 0.35V on the branches.

Calculation expression
Fist, investigate the distance between the power supply and each of
the nodes, and the current consumption of the communications unit on
each device.
Then check whether or not the following conditional expression is
satisfied. If the conditional expression is satisfied, the conditions for
power supply to each node are satisfied. However, prevent the
maximum current capacity (thick cable: 8A, thin cable: 3A) of the
cables from being exceeded.

- 93 -

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

These conditions cannot be used if one power supply is shared as the


communications power supply and the NC power supply. This must
be studied separately.

Conditional expression (totalizing expression of voltage drop on


trunk)
(Ln Rc+Nt 0.005) ln < 5V
Ln: Distance between power supply and node (excluding
branch length)
Rc: Maximum cable resistance (thick cable: 0.015/m, thin
cable: 0.069/m)
Nt: Number of taps between each node and power supply
In: Current consumption required for communications units on
each node
0.005 = Contact resistance of tap

- 94 -

CONNECTION

B-63404EN/03

1.CONNECTING DeviceNet FUNCTIONS

When nodes are located to one side of the power supply (configuration example 1)
50m
Power
supply tap

30m
1m
Trunk line: thick cable

Terminator

Terminator

Communications
power supply

Branch: thin cable

50mA
Node

30mA
Node

50mA
Node

40mA
Node

30mA
Node

50mA
Node

8 units

10 units

5 units

Communications
power supplies

40mA
Node

30mA
Node

50mA
Node

<Group 1>
50mA+40mA5=250mA

<Group 2>
30mA8=240mA

<Group 3>
50mA10=500mA

The voltage drop is calculated for each group.


Group 1 : (10.015+10.005) 0.25=0.005V
Group 2 : (300.015+20.005) 0.24=0.1104V
Group 3 : (500.015+30.005) 0.50=0.3825V
Total voltage drop = 0.005 + 0.1104 + 0.3825 = 0.4979V 4.65V
So, in this configuration example, the conditional expression is not
satisfied.

When nodes are located both sides of the power supply (configuration example 2)
Path 1

Path 2
30m

20m

10m
Trunk line: thick cable

Terminator

Terminator

Power supply tap

50mA
Node

Branch: thin cable

40mA
Node

Communications
power supply

30mA
Node

50mA
Node

30mA
Node

50mA
Node

8 units

10 units

5 units

40mA
Node
Communications
power supplies

<Group 1>
50mA+40mA5=250mA

30mA
Node

50mA
Node

<Group 2>
30mA8=240mA

<Group 3>
50mA10=500mA

The voltage drop of each group is calculated for each path.


Group 1 of path 1 : (20 0.015+1 0.005) 0.25=0.07625V
Group 2 of path 2 : (10 0.015+1 0.005) 0.24=0.0372V
Group 3 of path 2 : (30 0.015+2 0.005) 0.50=0.23V
Voltage drop on path 1 =0.07625V<4.65V
- 95 -

1.CONNECTING DeviceNet FUNCTIONS

CONNECTION

B-63404EN/03

Total voltage drop on path 2 =0.0372V+0.23=0.2672V<4.65V


So, in this configuration example, the conditional expression is
satisfied on both paths.

1.8.5

Supplying Multiple Power Supplies on Separated Paths


When the conditions cannot be satisfied even by calculating with the
calculation expression, use two or more communications power
supplies and separate the power supply paths.

How to separate power supply paths


As two or more power supplies are used, use power supply taps for
each of the power supplies. Power supply taps are not provided by
FANUC. Power supply tapes that comply with the DeviceNet
standard must be purchased separately from another manufacturer.
The figure below shows the internal circuit of the power supply tap.

5-lead cable
A side

V+
CAN H
shield
CAN L
V-

Power supply tap


Fuse A Fuse B

V+
CAN H
shield
CAN L
V-

5-lead cable
B side

Shot key
diode

GND V- V+
terminal
Power supply unit

When the power supply path is separated at the cable A side, remove
fuse A, and when it is separated at the cable B side, remove fuse B
before use.

- 96 -

B-63404EN/03

1.8.6

CONNECTION

1.CONNECTING DeviceNet FUNCTIONS

Relationship with NC Power Supply


In principle, the communications power supply cannot be shared as
the NC power supply. Prepare separate power supplies for the
communications power supply and for the NC power supply.
However, note the following points when a power supply must
unavoidable be shared due to the difficulty of providing separate
power supplies because of space and cost considerations.
The minimum stipulated input voltage of the NC power supply (24
VDC input type) is 21.6 V and is higher than that of the
communications power supply. Satisfy this stipulation taking into
consideration loss caused by voltage drop on the cables. Also, the NC
control unit turns OFF when the communications cable breaks or is
disconnected or when there is a short-circuit caused by shared use.
Turn the communications power supply and NC power supply ON
and OFF in the following sequence when separate power supplies are
provided:

Turn ON the communications power supply at the same time or


before turning ON the NC power supply.

Turn OFF the communications power supply at the same time or


after turning OFF the NC power supply on the master node.
If only the communications power supply is turned OFF during
network operations, an abnormality may occur on other nodes that are
currently communicating.

- 97 -

2.DeviceNet FOR 16i/18i/21i (LCD-MOUNTED TYPE)

CONNECTION

B-63404EN/03

DeviceNet FOR 16i/18i/21i (LCDMOUNTED TYPE)


This chapter describes hardware specifications and connection
information relating to the DeviceNet board 16i/18i/21i (LCDmounted Type).

- 98 -

CONNECTION

B-63404EN/03

2.1

2.DeviceNet FOR 16i/18i/21i (LCD-MOUNTED TYPE)

SPECIFICATIONS
Item
Name
Specification Dwg. No.
Hardware Dwg. No.
Communications power
supply voltage
Current consumption
Weight

- 99 -

Specifications
DeviceNet interface board for LCD-mounted Type i
series
16i/18i/21i-A
A02B-0236-J301
16i/18i/21i-B
A02B-0281-J301
A20B-8001-0880
11 to 24 VDC (supplied from communications
connector)
Communications power supply: Max. 50 mA
Internal power supply circuit: 5 VDC, max. 850 mA
(supplied from NC unit)
200g

2.DeviceNet FOR 16i/18i/21i (LCD-MOUNTED TYPE)

CONNECTION

2.2

INSTALLATION

2.2.1

Environmental Conditions

B-63404EN/03

When using the DeviceNet board, strictly observe the installation


conditions (cabinet internal environment conditions) of the CNC
control unit in which it is mounted.

2.2.2

Leading in Cables
The cables are lead in only from the bottom in the same way as other
regular option PCBs.
The figure below shows the location of the connector on the
DeviceNet board.

View from rear of unit

DeviceNet interface

View from bottom of unit

Note, however, that the board mounting position in the above figure
and connector locations of boards other than the DeviceNet board
vary from the actual positions. For details of the actual connector
locations of boards other than the DeviceNet board, refer to the
respective Connections Manual.

NOTE
Fit or remove the DeviceNet board into the option
slot with the DeviceNet interface connector removed.
The DeviceNet board cannot be mounted on slot 2
when another optional PCB is mounted at slot 3 on a
3-slot type unit.
- 100 -

CONNECTION

B-63404EN/03

2.2.3

2.DeviceNet FOR 16i/18i/21i (LCD-MOUNTED TYPE)

Names of Parts on the DeviceNet Board

LED0
LED1
LED2
LED3
LEDA

DeviceNet interface connector


Communications board status indicators

Slot status and alarm


indicator LED

- 101 -

3.DeviceNet BOARD FOR 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

CONNECTION

B-63404EN/03

DeviceNet BOARD FOR 16i/18i/21i


(STAND-ALONE TYPE), Power Mate i-D/H
This chapter describes hardware specifications and connection
information relating to the DeviceNet slave board for the Series
16i/18i/21i (Stand-Alone Type) and the Power Mate i-D/H, and the
DeviceNet master board.

- 102 -

B-63404EN/03

3.1

CONNECTION

3.DeviceNet BOARD FOR 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

SPECIFICATIONS
Item
Name
Specification Dwg. No.
Functions
PCB Dwg. No.
Communications power
supply voltage
Current consumption
Weight
Item
Name
Specification Dwg. No.
Functions
PCB Dwg. No.
Communications power
supply voltage
Current consumption
Weight

Specifications
DeviceNet slave board
FS 16i/18i/21i (Stand-Alone
A02B-0265-J300
Type)
Power Mate i -D/H
A02B-0259-J240
DeviceNet slave function 1 channel
A20B-8100-0490
11 to 24 VDC (supplied from communications
connector)
Communications power supply: Max. 50 mA
Internal power supply circuit: 5 VDC, max. 850 mA
(supplied from NC unit)
200g
Specifications
DeviceNet master board
FS 16i/18i/21i (Stand-Alone
A02B-0265-J301
Type)
Power Mate i -D/H
A02B-0259-J241
DeviceNet master function, 1 channel
A20B-8100-0490
11 to 24 VDC (supplied from communications
connector)
Communications power supply: Max. 50 mA
Internal power supply circuit: 5 VDC, max. 850 mA
(supplied from NC unit)
200g

NOTE
1 There are two DeviceNet boards, the DeviceNet
slave board and DeviceNet master board. The PCB
specifications are the same, the only difference
being is the shorted position of setting pin TM1 on
the board. (The position of setting pin changes the
unit specifications.) Usually, TM1 is factory-set by
FANUC.
2 If a DeviceNet board (A02B-0265-K412) is supplied
together with the CNC, TM1 on the DeviceNet board
is factory-set to the MASTER position. To use the
DeviceNet board as a slave, set TM1 to the SLAVE
position by referring to Subsection 2.1.3 of Part IV,
"Maintenance."
3 The sequence in which this DeviceNet board is
attached and removed is fixed. See sections 2 and 3
of the Maintenance section.
4 When the axis control card (A17B-3700-050*) is
mounted on the opposite PCB, the connector causes
interference. Use DeviceNet board B or C.
- 103 -

3.DeviceNet BOARD FOR 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

3.2

INSTALLATION

3.2.1

Environmental Conditions

CONNECTION

B-63404EN/03

When using the DeviceNet board, the ambient temperature range


during operation of the control unit is 0C to 50C. For details of
other installation environment conditions, refer to the installation
environment conditions of each CNC control unit.

- 104 -

B-63404EN/03

3.3

CONNECTION

3.DeviceNet BOARD FOR 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

MOUNTING
On the FS16i/18i/21i (Stand-Alone Type), the DeviceNet board can
be mounted in the 1-slot or in all mini slots of the 3-slot basic unit. On
the Power Mate i-D/H, the DeviceNet board can be mounted on either
of the two mini slots.

- 105 -

3.DeviceNet BOARD FOR 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

3.4

CONNECTION

B-63404EN/03

DeviceNet Board B
DeviceNet board B is characterized by a crimp type connector
(manufactured by Hirose Electric Co., Ltd.) used in the
communication connector section. See Section 1.5, "Connector," of
Part III, "Connection," for explanations about how to crimp connector
terminals.
The descriptions in Sections 3.1 to 3.3 except for specification
drawing numbers and PCB drawing numbers apply also to DeviceNet
board B.
Item
Name
Specification Dwg. No.
PCB Dwg. No.
Item
Name
Specification Dwg. No.
Functions
PCB Dwg. No.

- 106 -

Specifications
DeviceNet slave board
FS 16i/18i/21i (Stand-Alone
A02B-0265-J302
Type)
A02B-0259-J242 Power Mate i D/H
A20B-8100-0491
Specifications
DeviceNet master board B
FS 16i/18i/21i (Stand-Alone
A02B-0265-J303
Type)
A02B-0259-J243 Power Mate i D/H
DeviceNet master function, 1 channel
A20B-8100-0491

B-63404EN/03

3.5

CONNECTION

3.DeviceNet BOARD FOR 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

DeviceNet Board C
DeviceNet board C is characterized by a crimp type connector
(manufactured by Hirose Electric Co., Ltd.) used in the
communication connector section. See Section 1.5, "Connector," of
Part III, "Connection," for explanations about how to crimp connector
terminals.
The descriptions in Sections 3.1 to 3.3 except for specification
drawing numbers and PCB drawing numbers apply also to DeviceNet
board C.
Item
Name
Specification Dwg. No.
Functions
PCB Dwg. No.
Communications power
supply voltage
Current consumption
Weight

Specifications
DeviceNet slave board C
FS 16i/18i/21i (Stand-Alone
A02B-0265-J304
Type)
DeviceNet slave function 1 channel
A20B-8100-0650
11 to 24 VDC (supplied from communications
connector)
Communications power supply: Max. 50 mA
Internal power supply circuit: 5 VDC, max. 600 mA
(supplied from NC unit)
110g

NOTE
1 No fixed procedure applies to the mounting or
dismounting of DeviceNet board C, unlike other
types of DeviceNet boards.
2 DeviceNet board C has no setting pin.

- 107 -

4.DeviceNet BOARD FOR 15i

CONNECTION

B-63404EN/03

DeviceNet BOARD FOR 15i


This chapter describes hardware specifications and connection
information relating to the DeviceNet slave board for the Series 15i/,
and the DeviceNet master board.

- 108 -

CONNECTION

B-63404EN/03

4.1

4.DeviceNet BOARD FOR 15i

SPECIFICATIONS
Item
Name
Specification Dwg. No.
Functions
Hardware Dwg. No.
Communications power
supply voltage
Current consumption
Weight
Item
Name
Specification Dwg. No.
Functions
Hardware Dwg. No.
Communications power
supply voltage
Current consumption
Weight

Specifications
DeviceNet slave board C
A02B-0261-J132
DeviceNet slave function 1 channel
A20B-8100-0650
11 to 24 VDC (supplied from communications
connector)
Communications power supply: Max. 50 mA
Internal power supply circuit: 5 VDC, max. 600 mA
(supplied from NC unit)
110g
Specifications
DeviceNet master board
A02B-0261-J131
DeviceNet master function, 1 channel
A20B-8100-0491
11 to 24 VDC (supplied from communications
connector)
Communications power supply: Max. 50 mA
Internal power supply circuit: 5 VDC, max. 850 mA
(supplied from NC unit)
200g

NOTE
1 Setting pin TM1 on DeviceNet board B is factory-set
by FANUC. See Section 2.4 of Part IV,
"Maintenance."
2 A fixed procedure applies to the mounting and
dismounting of DeviceNet board B. See Section 2.3
of Part IV, "Maintenance." No fixed procedure
applies to the mounting or dismounting of DeviceNet
board C, however.

- 109 -

4.DeviceNet BOARD FOR 15i

CONNECTION

4.2

INSTALLATION

4.2.1

Environmental Conditions

B-63404EN/03

When using the DeviceNet board, the ambient temperature (in the
cabinet) range during operation of the control unit is 0C to 50C. For
details of other installation environment conditions, refer to the
Connection Manual (Hardware) (B-63323EN)

- 110 -

CONNECTION

B-63404EN/03

4.3

4.DeviceNet BOARD FOR 15i

INSTALLATION
On the FS15i, the DeviceNet board can be mounted in the 2-slot or in all mini slots of
the 4-slot basic unit.

- 111 -

IV. MAINTENANCE

B-63404EN/03

MAINTENANCE

1.16i/18i/21i (LCD-MOUNTED TYPE) DeviceNet

16i/18i/21i (LCD-MOUNTED TYPE)


DeviceNet
This chapter describes maintenance related to the DeviceNet board
for the Series 16i/18i/21i (LCD-mounted Type).

- 115 -

1.16i/18i/21i (LCD-MOUNTED TYPE) DeviceNet

1.1

MAINTENANCE

B-63404EN/03

LAYOUT OF PARTS

LED0
LED1
LED2
LED3
LEDA

DeviceNet interface connector

HEALTH

- 116 -

NS

Slot status and alarm


indicator LED

MAINTENANCE

B-63404EN/03

1.2

1.16i/18i/21i (LCD-MOUNTED TYPE) DeviceNet

DESCRIPTION OF INDICATOR LEDS


This board has five status indicator LEDs (4 green, 1 red), and two
LEDs that light in both the red and green colors on the internal
daughter board. The table below describes the functions of these
LEDs.
Name
LED0 ~ 3
LEDA

Color
Green
Red

NS

Red/Green

HEALTH

Red/Green

- 117 -

Meaning
No particular meaning
This LED lights when an error occurs on the
internal daughter board, and goes out when the
power is turned ON.
When this LED lights, replace the DeviceNet
board.
The LED indicates the DeviceNet
module/network status. This LED indicates
whether or not the DeviceNet board power is
turned ON, and whether DeviceNet
communications is being performed normally.
For details of the meaning of the lit states of this
LED, refer to the Specifications Manual issued by
ODVA.
This LED indicates the status of the daughter
board.
It lights red after the power is turned ON. When
the firmware is loaded to the internal daughter
board, it lights green.
It lights red if a failure occurs on the daughter
board.
If the LED lights red, replace the DeviceNet
board.

1.16i/18i/21i (LCD-MOUNTED TYPE) DeviceNet

1.3

MAINTENANCE

B-63404EN/03

HOW TO ATTACH AND REMOVE THE DeviceNet BOARD

Outline
To remove and remove the DeviceNet board from the control unit, the
DeviceNet connector terminal plate must first be removed.

Removing the DeviceNet connector terminal plate


The terminal plate can be removed from the DeviceNet board
interface connector with the cable still connected. Remove the
terminal plate by pulling it towards you.

NOTE
The DeviceNet board cannot be removed unless the
connector's terminal plate has been removed first.
Removing and attaching the DeviceNet board
For details on how to remove and attach the DeviceNet board, refer to
"How to Remove and Attach Optional Boards" in the Maintenance
Manual in the respective Maintenance Manual.

CAUTION
The DeviceNet board cannot be mounted on slot 2
when another optional PCB is mounted at slot 3 on a
3-slot type unit.

- 118 -

B-63404EN/03

MAINTENANCE2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

DeviceNet BOARD FOR 15i, 16i/18i/21i


(STAND-ALONE TYPE), Power Mate i-D/H
This chapter describes the maintenance information relating to the
DeviceNet slave board for the Series 15i, Series 16i/18i/21i (StandAlone Type) and Power Mate i-D/H, and the DeviceNet master board.

- 119 -

2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

2.1

DeviceNet BOARD

2.1.1

Layout of Parts

MAINTENANCE

Setting
pin TM1

MASTER SLAVE

PWB
version
No.

PCB Dwg.
No.

LED indicators
MNS (Left),
HEALTH (right)

LED indicators
A321

External line
connector TBL
LED
MNS

LED
HEALTH

- 120 -

B-63404EN/03

B-63404EN/03

MAINTENANCE2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

2.1.2

Description Of Indicator LEDs


This board has four status indicator LEDs (3 green, 1 red), and two
LEDs that light in both the red and green colors on the internal
daughter board. The table below describes the functions of these
LEDs.
Name
LED1 ~ 3

Color
Green

Meaning
These LEDs indicate whether the DeviceNet
board is a master board or a slave board. These
LEDs go out when the power is turned ON.

Master board
Slave board
LEDA

Red

MNS

Red/Green

HEALTH

Red/Green

- 121 -

LED1
Lit
Lit

LED2
Out
Lit

LED3
Out
Out

This LED lights when an error occurs on the


internal daughter board, and goes out when the
power is turned ON.
When this LED lights, replace the DeviceNet
board.
The LED indicates the DeviceNet
module/network status. This LED indicates
whether or not the DeviceNet board power is
turned ON, and whether DeviceNet
communications is being performed normally.
For details of the meaning of the lit states of this
LED, refer to the Specifications Manual issued by
ODVA.
This LED indicates the status of the daughter
board.
It lights red after the power is turned ON. When
the firmware is loaded to the internal daughter
board, it lights green.
It lights red if a failure occurs on the daughter
board.
If the LED lights red, replace the DeviceNet
board.

2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

2.1.3

MAINTENANCE

B-63404EN/03

Short Pin TM1


This board has a 3-pin short pin TM1. TM1 indicates whether that
board is used for DeviceNet slave functions or DeviceNet master
functions.
Short pin

MASTER

SLAVE

When the short pin is set to SLAVE, that board is used for DeviceNet
slave functions. When it is set to MASTER, that board is used for
DeviceNet master functions.
The short pin is already set before the board is shipped from the
factory according to your particular specifications. Do not change the
setting.

NOTE
For some models, machine tool builders are
requested to set TM1.
In this case, first find the location of short pin TM1 by
referencing the parts layout drawing shown in
Subsection 2.1.1. To use the board as a master,
set TM1 to the MASTER position. To use the board
as a slave, set it to the SLAVE position.

- 122 -

B-63404EN/03

MAINTENANCE2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

2.1.4

How to Attach and Remove the DeviceNet Board

Outline
The sequence in which this DeviceNet board is attached and removed
from the control unit is fixed.

CAUTION
To prevent the inadvertent loss of data in SRAM
during this operation, back up the data in the CNC's
SRAM to built-in FROM (Power Mate i only) or to
memory card before you attach and remove the
DeviceNet board.
Removing the DeviceNet Board
1)

Removing the DeviceNet connector terminal plate


The terminal plate can be removed from the DeviceNet board
interface connector with the cable still connected. Loosen the
two screws shown in the figure below, and then remove the
terminal plate by pulling it towards you.

Screw
Base PCB

Device net board

NOTE
The base PCB cannot be removed unless the
connector's terminal plate has been removed first.
2)

Removing the base PCB


Remove the base PCB before you remove the DeviceNet board.
For details on how to remove the base PCB, refer to the
respective Maintenance Manual.

CAUTION
The DeviceNet board cannot be removed unless the
base PCB has been removed first. If the DeviceNet
board is removed without removing the base PCB,
the DeviceNet board may interfere and break the
base PCB.

- 123 -

2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

3)

MAINTENANCE

B-63404EN/03

Removing the DeviceNet board


Remove the DeviceNet board without the base PCB attached.
For details on how to remove the DeviceNet board, refer to
"How to Remove and Attach Optional Boards" in the respective
Maintenance Manual.

Attaching the DeviceNet board


1)

Removing the base PCB


Remove the base PCB before you remove the DeviceNet board.
For details on how to remove the base PCB, refer to the
respective Maintenance Manual.

CAUTION
The DeviceNet board cannot be attached unless the
base PCB has been removed first. If you attempt to
attach the DeviceNet board without removing the
base PCB, the DeviceNet board may interfere and
break the base PCB.
2)

Removing the DeviceNet connector terminal plate


Remove the interface connector terminal plate from the
DeviceNet board. Loosen the two screws shown in the figure
below to remove.
Screws

3)

Attaching the DeviceNet board


Attach the DeviceNet board without the base PCB attached.
For details on how to attach the DeviceNet board, refer to "How
to Remove and Attach Optional Boards" in the respective
Maintenance Manual.

4)

Attaching the base PCB


After you have attached the DeviceNet board, attach the base
PCB. For details on how to attach the base PCB, refer to the
respective Maintenance Manual.

5)

Attaching the DeviceNet connector terminal plate


Attach the interface connector terminal plate to the DeviceNet
board. After attaching the terminal plate, firmly tighten the two
screws on the terminal plate.

NOTE
The base PCB cannot be attached unless the
connector's terminal plate has been removed first.
- 124 -

B-63404EN/03

MAINTENANCE2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

2.2

DeviceNet BOARD B
DeviceNet board B is characterized by a crimp type connector
(manufactured by Hirose Electric Co., Ltd.) used in the
communication connector section. The parts layout, indicator LEDs,
and short pin of this board are the same as for DeviceNet board A.
See Subsection 2.1.4 also for explanations about how to mount and
dismount this board.

- 125 -

2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

2.3

DeviceNet BOARD C

2.3.1

Layout of Parts

MAINTENANCE

B-63404EN/03

Custom
LSI

MPU

TBL

Name
DeviceNet slave board C

- 126 -

PCB DRW number


A20B-8100-0650

Remarks

B-63404EN/03

MAINTENANCE2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

2.3.2

Description Of Indicator LEDs


This board has five status indicator LEDs (2 green(MS, NS), 3
red(ALM, MS, NS).

TBL

1(NS)(RED)

2(NS)(GREEN)

3(MS)(RED)

4(MS)(GREEN)

A(ALM)(RED)

NOTE
The face plate is indicated using dotted lines.

- 127 -

2.DeviceNet BOARD FOR 15i, 16i/18i/21i (STAND-ALONE TYPE), Power Mate i-D/H

MAINTENANCE

B-63404EN/03

Status LED indicators


The locations of the indicator LEDs and their definitions are
explained below.
A : Off B : On C : Blinking D : Don't care
ALM
No.

LED indicator
ALM (RED)

Board status

The board is reset, or an error has been detected


on the board.

MS (This is a modular status LED of the DeviceNet.


specification document issued by ODVA.)
No.

LED indicator
MS(GREEN),(RED)

BA

CA

3
4
5

AC
AB
CC

Board status
The board is running normally.
A setting has not been completed. The
insufficient or inaccurate setting requires
adjustment.
A recoverable error has occurred.
An irrecoverable error has occurred.
Self-diagnosis is in progress.

NS (This is a network status LED of the DeviceNet.


specification document issued by ODVA.)
No.

LED indicator
NS(GREEN),(RED)

AA

CA

BA

AC

AB

CC

- 128 -

Refer to the

Refer to the

Board status
The communication link is not on-line.
The communication link is on-line, but no
connection has been established.
The communication link is on-line, and a
connection has been established.
The connection is in the time-out state.
A network error was detected which disabled
communication.
The board has detected a network access error, is
in the Communication Faulted state, and has
received an Identify Communication Faulted
request.

APPENDIX

B-63404EN/03

APPENDIX

A.DEVICE PROFILES AND OBJECT LIBRARIES

DEVICE PROFILES AND OBJECT LIBRARIES


This appendix presents information about the communication data
and IDs defined for the DeviceNet.

- 131 -

A.DEVICE PROFILES AND OBJECT LIBRARIES

A.1

APPENDIX

B-63404EN/03

DeviceNet BOARD C

Device profile
General data

Applicable DeviceNet specification

Physical conformance data

Communication data

Vendor ID
Device type
Product code
Network current drain
Connector type
Whether there is a physical layer
insulation.
Supported LED
MAC ID setting
Default MAC ID
Transmission baud rate setting
Supported transmission baud rate
Predefined master/slave connection set
Dynamic connection support
(UCMM)
Explicit message fragmentation

Volume 1 Release2.0
Volume 2 Release2.0
591
0CH
1
50 mA on 24 VDC
Open plug
Yes
Module
Network
Parameter
0
Parameter
125Kbps,250Kbps,500Kbps
Group 2-only server
No
Yes

Object installation
1. Identity object (01H)
Object class

Attribute
Service

Unsupported
Unsupported

Object instance

Attribute

ID
1
2
3
4
5

Service

Description
Vendor
Device type
Product code
Revision
Status (bits supported)

6 Serial number
7 Product name
8 State
9 Configuration Consistency Value
10 Heartbeat Interval
DeviceNet service
05H Reset
0EH Get_attribute_Signle

*1 Value set up for an individual board


*2 A20B-8100-0650

- 132 -

GET

SET

Value

O
O
O
O
O

X
X
X
X
X

591
12
1
1.0
bit0
bit10
(*1)
(*2)

O
X
O
X
X
X
X
X
X
X
Parameter option
No
No

B-63404EN/03

2.

APPENDIX

A.DEVICE PROFILES AND OBJECT LIBRARIES

Message router object (02H)


Object class

Attribute
Service
Attribute
Service

Object instance
Additional vendor-specific specification

3.

Unsupported
Unsupported
Unsupported
Unsupported
No

DeviceNet object (03H)


Object class

ID
Description
1 revision
DeviceNet service
0EH Get_attribute_Signle

GET
SET
Value
O
X
02H
Parameter option
No

Attribute

ID

GET

Service

1 MAC ID
2 Baud rate
3 BOI
4 Bus-off counter
5 Allocation information
6 MAC ID switch changed
7 Baud rate switch changed
8 MAC ID switch value
9 Baud rate switch value
DeviceNet service

Attribute
Service

Object instance

Description

O
O
O
O
O
X
X
X
X

SET

Value

X
X
X
00H
X
X
X
X
X
X
Parameter option

0EH Get_attribute_Signle
4BH Allocate Master/Slave_Connection Set
4CH Release Master/Slave_Connection Set

No
No
No

4. Assembly object (04H)


Object class

Object instance
1

Attribute
Service

Unsupported
Unsupported

Section

Information

Maximum number of
instances

Instance type
Attribute

Static I/O
ID
Description
1 Number of Members in List
2 Member List
3 Data
DeviceNet service

1
GET
SET
Value
X
X
X
X
O
O
Parameter option

Service

0EH Get_attribute_Signle
10H Set_attribute_Signle

- 133 -

No
No

A.DEVICE PROFILES AND OBJECT LIBRARIES


5.

APPENDIX

B-63404EN/03

Connection object (05H)


Object class

Object
instance 1

Attribute
Service
Maximum available number of
active connections
Section

Information

Instance type
Production
trigger
Transport type
Transport class
Attribute

Explicit Message
Cyclic

Service

Server
3
ID Description
1 State
2 Instance type
3 Transport class trigger
4 Produced connection ID
5 Consumed connection ID
6 Initial comm. Characteristics
7 Produced connection size
8 Consumed connection size
9 Expected packed rate
12 Watchdog time-out action
13 Produced connection path length
14 Produced connection path
15 Consumed connection path length
16 Consumed connection path
17 Production inhibit time
DeviceNet service
05H Reset
0EH Get_attribute_Signle
10H Set_attribute_Signle

- 134 -

Unsupported
Unsupported
1

Maximum number of
instances
1

GET
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O

SET

Value

X
X
00H
X
83H
X
X
X
21H
X
FE00H
X
FE00H
O
O One of 01,03
X
0000
X
X
0000
X
X
Parameter option
No
No
No

APPENDIX

B-63404EN/03

Object
instance 2

A.DEVICE PROFILES AND OBJECT LIBRARIES

Section

Information

Maximum number of instances

Instance type
Production trigger
Transport type
Transport class
Attribute

Polled I/O
Cyclic
Server
2
ID Description

1
2
3
4
5
6
7
8
9
12
13

State
Instance type
Transport class trigger
Produced connection ID
Consumed connection ID
Initial comm. characteristics
Produced connection size
Consumed connection size
Expected packed rate
Watchdog time-out action
Produced connection path length

SET

O
O
O
O
O
O
O
O
O
O
O

X
X
X
X
X
X
X
X
O
O
X

Value
01H
82H

01H
(*1)
(*2)

17 Production inhibit time


DeviceNet service

00
0000 (IN:No)
0600 (IN:Yes)
O
X
No data (IN:No)
20_04_24_01_30_03 IN:Yes)
O
X
0000 (OUT:No)
0600 (OUT:Yes)
O
X
No data (OUT:No)
20_04_24_01_30_03 (OUT:Yes)
O
X
00
Parameter option

05H Reset
0EH Get_attribute_Signle
10H Set_attribute_Signle

No
No
No

14 Produced connection path


15 Consumed connection path
length
16 Consumed connection path

Service

GET

*1 Number of IN bytes used, in which the upper byte has been


replaced with the lower byte (Example: 4000H when 64 bytes
are used)
*2 Number of OUT bytes used, in which the upper byte has been
replaced with the lower byte (Example: 4000H when 64 bytes
are used)

- 135 -

A.DEVICE PROFILES AND OBJECT LIBRARIES

Object
instance 3

APPENDIX

B-63404EN/03

Section

Information

Maximum number of instances

Instance type
Production trigger
Transport type
Transport class
Attribute

Bit Strobed I/O


Cyclic
Server
2
ID Description

Service

1 State
2 Instance type
3 Transport class trigger
4 Produced connection ID
5 Consumed connection ID
6 Initial comm. Characteristics
7 Produced connection size
8 Consumed connection size
9 Expected packed rate
12 Watchdog time-out action
13 Produced connection path length
14 Produced connection path
15 Consumed connection path length
16 Consumed connection path
17 Production inhibit time
DeviceNet service
05H Reset
0EH Get_attribute_Signle
10H Set_attribute_Signle

GET
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O

SET

Value

X
X
01H
X
82H
X
X
X
02H
X
(*)
X
0800H
O
O
00
X
0600
X 20_04_24_01_30_03
X
0000
X
No data
X
00
Parameter option
No
No
No

Number of IN bytes used, in which the upper byte has been


replaced with the lower byte (example: 0800H when 8 bytes
are used)
For the bit strobe, up to 8 bytes are usable.

- 136 -

INDEX

B-63404EN/03

INDEX
DeviceNet FOR 16i/18i/21i (LCD-MOUNTED

TYPE)............................................................. 98

16i/18i/21i (LCD-MOUNTED TYPE) DeviceNet

DeviceNet FUNCTIONS .................................... 9

...................................................................... 115
E
A
Environmental Conditions ............. 100, 104, 110
Applicable Machine Names................................ 4
G
C
GENERAL WARNINGS AND CAUTIONS ...... 3
CABLE CLAMP ................................................ 83

GROUNDING THE CABLE WIRES ............... 81

CABLE LENGTH AND BAUD RATE............. 74


H

COMMUNICATIONS POWER SUPPLY........ 84


CONFIGURING A SAFE SYSTEM................. 66

HANDLING MULTIPLE-BYTE DATA........... 68

CONNECTING DeviceNet............................... 72

How to Attach and Remove the DeviceNet

CONNECTING DeviceNet FUNCTIONS ....... 71

Board............................................................ 123

CONNECTOR ................................................... 78

HOW TO ATTACH AND REMOVE THE


DeviceNet BOARD....................................... 118

D
DEFINITION OF WARNING, CAUTION,
AND NOTE ....................................................

INSTALLATION ............................. 100, 104, 111

Description Of Indicator LEDs .............. 121, 127

DESCRIPTION OF INDICATOR LEDS ....... 117

Layout of Parts........................................ 120, 126

Descriptions in This Manual.............................. 3

LAYOUT OF PARTS ...................................... 116

Designing a Power Supply Connection ........... 85

Leading in Cables ........................................... 100

Determining the Power Supply Locations ...... 85


DEVICE PROFILES AND OBJECT LIBRARIES......... 131

DeviceNet BOARD.......................................... 120

Master Function Data Refresh Rate................ 37

DeviceNet Board B ......................................... 106

MOUNTING.................................................... 105

DeviceNet BOARD B ...................................... 125

DeviceNet Board C .................................. 107, 132


DeviceNet BOARD C ...................................... 126

Names of Parts on the DeviceNet Board ....... 101

DeviceNet BOARD FOR 15i............................108

NSTALLATION .............................................. 110

DeviceNet BOARD FOR 15i/16i/18i/21i (STAND-

ALONE TYPE), Power Mate i-D/H ..............119

PECIFICATIONS............................................ 109

DeviceNet BOARD FOR 16i/18i/21i (STAND-

ALONE TYPE), Power Mate i-D/H........... 102


DeviceNet CABLES .......................................... 73

Related Manuals ................................................. 5

i-1

INDEX

B-63404EN/03

Relationship with NC Power Supply ............... 97

Separated Paths ............................................ 96

SETTING MASTER FUNCTIONS.................. 11

TERMINATOR.................................................. 77

SETTING SLAVE FUNCTIONS ..................... 46

TROUBLESHOOTING COMMUNICATIONS

Setting Slave Parameters................................. 23

ERRORS ........................................................ 67

Setting the Bus Parameters............................. 14

Short Pin TM1................................................. 122


Verification by Graph-Based Simple Calculation

Slave Function Data Refresh Rate .................. 61

........................................................................ 88

SPECIFICATIONS ................................... 99, 103

Verifying by Calculation Expression ............... 93

Starting Communications .......................... 32, 60


Supplying Multiple Power Supplies on

i-2


$%&""'


$%&"""

-$%'333



"

"&

"'

 



10 02

  ( , -- .  /0  0 

 ( 
 

 (
'+

 

 (




 (
')'*)&'

 



 
    !"!#

 



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