You are on page 1of 304

FANUC PROF IBUS-DP Board

CONNECTION MANUAL

B-62923EN/01
• No part of this manual may be reproduced in any form.
• All specifications and designs are subject to change without notice.

The products in this manual are controlled based on Japan’s “Foreign Exchange and
Foreign Trade Law”. The export from Japan may be subject to an export license by the
government of Japan.
Further, re-export to another country may be subject to the license of the government of
the country from where the product is re-exported. Furthermore, the product may also be
controlled by re-export regulations of the United States government.
Should you wish to export or re-export these products, please contact FANUC for advice.

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

This manual contains the program names or device names of other companies, some of
which are registered trademarks of respective owners. However, these names are not
followed by ® or ™ in the main body.
B-62923EN/01 SAFETY PRECAUTIONS

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

When creating a system using the PROFIBUS-DP function, always


refer to Chapter 2, “BUILDING OF THE SAFE SYSTEM” in Part II,
“OPERATION.”

CONTENTS
1.1 DEFINITION OF WARNING, CAUTION, AND NOTE ...........s-2
1.2 GENERAL WARNINGS AND NOTES......................................s-3

s-1
SAFETY PRECAUTIONS B-62923EN/01

1.1 DEFINITION OF WARNING, CAUTION, AND NOTE

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

Applied when there is a danger of the user being injured or when there
is a damage of both the user being injured and the equipment being
damaged if the approved procedure is not observed.

WARNING
Applied when there is a danger of the user being
injured or when there is a damage of both the user
being injured and the equipment being damaged if
the approved procedure is not observed.

CAUTION
Applied when there is a danger of the equipment
being damaged, if the approved procedure is not
observed.

NOTE
The Note is used to indicate supplementary
information other than Warning and Caution.

- Read this manual carefully, and store it in a safe place.

s-2
B-62923EN/01 SAFETY PRECAUTIONS

1.2 GENERAL WARNINGS AND NOTES

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

s-3
SAFETY PRECAUTIONS B-62923EN/01

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 and programming manual
supplied with a CNC unit provide an overall
description of the machine's functions, including any
optional functions. Note that the optional functions
will vary from one machine model to another.
Therefore, some functions described in the manuals
may not actually be available for a particular model.
Check the specification of the machine if in doubt.
3 Some functions may have been implemented at the
request of the machine-tool builder. When using
such functions, refer to the manual supplied by the
machine-tool builder for details of their use and any
related cautions. Refer to the following two
examples.
<1> Some machines have a tool replacement
device that operates when a tool feature is
executed. When the user is working near the
device, he or she may touch it. Execute tool
features in a place sufficiently away from the
tool replacement device.
<2> Many auxiliary features cause machine
operation such as rotation of the spindle.
Understand the operations of auxiliary features
before using them.

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

s-4
B-62923EN/01 TABLE OF CONTENTS

TABLE OF CONTENTS

SAFETY PRECAUTIONS............................................................................s-1
1.1 DEFINITION OF WARNING, CAUTION, AND NOTE................................. s-2
1.2 GENERAL WARNINGS AND NOTES ........................................................ s-3

I. GENERAL
1 GENERAL ............................................................................................... 3
1.1 ORGANIZATION ........................................................................................... 4
1.2 APPLICABLE MODELS................................................................................. 5
2 OVERVIEW OF PROFIBUS-DP FUNCTIONS ........................................ 6
2.1 SOFTWARE FOR PROFIBUS-DP FUNCTIONS........................................... 7
2.2 MASTER FUNCTIONS.................................................................................. 8
2.3 SLAVE FUNCTIONS ..................................................................................... 9

II. OPERATION
1 16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C............................... 13
1.1 OVERVIEW ................................................................................................. 14
1.2 MASTER FUNCTION SETTING.................................................................. 15
1.2.1 Bus Parameter Setting ............................................................................................19
1.2.2 Slave Index Setting.................................................................................................25
1.2.3 Slave Parameter Setting..........................................................................................31
1.2.4 DI/DO Parameter Setting .......................................................................................36
1.2.5 Setting for Operation mode ....................................................................................42
1.2.6 Updating DI/DO Data for the Master Function......................................................45
1.2.7 About the number of available I/O module units ...................................................51
1.3 SLAVE FUNCTION SETTING ..................................................................... 53
1.3.1 Status Register........................................................................................................57
1.3.2 Updating DI/DO Data for the Slave Function ........................................................58
1.4 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION
MANUFACTURED BY FANUC.................................................................... 59
1.5 GSD FILE OF THE FANUC CNCS.............................................................. 64
2 Series 15i-A/B ...................................................................................... 72
2.1 OVERVIEW ................................................................................................. 73
2.2 MASTER FUNCTION SETTING.................................................................. 74
2.2.1 Bus Parameter Setting ............................................................................................75
c-1
TABLE OF CONTENTS B-62923EN/01

2.2.2 Slave Parameter Setting..........................................................................................79


2.2.3 Setting for Address Assignment.............................................................................84
2.3 SLAVE FUNCTION SETTING ..................................................................... 88
2.3.1 Status Register........................................................................................................92
2.4 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION
MANUFACTURED BY FANUC.................................................................... 93
2.5 GSD FILE OF THE FANUC CNCS.............................................................. 94
3 Power Mate-D/H ................................................................................. 100
3.1 SLAVE FUNCTION SETTING ................................................................... 101
3.2 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION
MANUFACTURED BY FANUC.................................................................. 102
3.3 GSD FILE OF THE FANUC CNCS............................................................ 103
4 BUILDING A SAFE SYSTEM.............................................................. 106
4.1 SYSTEM SAFETY ..................................................................................... 107
5 EXAMPLE OF CONNECTION ............................................................ 110
5.1 EXAMPLE OF CONFIGURATION............................................................. 111
5.1.1 Master Station Setting ..........................................................................................112
5.1.2 Slave Station Setting ............................................................................................116

III. CONNECTION
1 CONNECTING THE PROFIBUS FUNCTIONS ................................... 121
1.1 PROFIBUS CONNECTION ....................................................................... 122
1.2 PROFIBUS CABLE PARAMETERS .......................................................... 123
1.3 CABLE LENGTH AND TRANSFER RATE ................................................ 124
1.4 CONNECTOR............................................................................................ 125
1.5 CABLE CONNECTION.............................................................................. 126
1.6 TERMINATING RESISTOR....................................................................... 127
1.7 CABLE SHIELDING................................................................................... 128
2 PROFIBUS FOR THE Series 16/18-C ................................................ 129
2.1 CONFIGURATION..................................................................................... 130
2.2 INSTALLATION ......................................................................................... 131
2.2.1 Environmental Conditions....................................................................................131
2.2.2 Cable Installation..................................................................................................131
2.2.3 PROFIBUS Board Connector Layout ..................................................................133
2.3 CONNECTION DIAGRAM ......................................................................... 134

c-2
B-62923EN/01 TABLE OF CONTENTS

3 PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i ..... 135


3.1 CONFIGURATION..................................................................................... 136
3.2 INSTALLATION ......................................................................................... 139
3.2.1 Environmental Conditions....................................................................................139
3.2.2 Mounting the Board .............................................................................................139
3.2.3 Mounting the Adapter Unit ..................................................................................139
3.2.4 Connection between the PROFIBUS Board and Adapter Units ..........................140
3.2.5 Connector Layout .................................................................................................142
3.3 COMPLETE CONNECTION DIAGRAM .................................................... 144
4 PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i,
Series 15i, and Power Mate i ............................................................ 145
4.1 CONFIGURATION..................................................................................... 146
4.2 INSTALLATION ......................................................................................... 147
4.2.1 Environmental Conditions....................................................................................147
4.2.2 Mounting the Board .............................................................................................147
4.2.3 Connector Layout .................................................................................................148
4.3 COMPLETE CONNECTION DIAGRAM .................................................... 149
4.4 NOTES ON CONNECTING PROFIBUS BOARDS FOR
THE Power Mate i ..................................................................................... 150

5 PROFIBUS FOR THE Power Mate-D/H ............................................. 151


5.1 CONNECTION DIAGRAM ......................................................................... 152
5.2 ENVIRONMENTAL CONDITIONS ............................................................ 153
5.3 SIGNALS ................................................................................................... 154
5.3.1 PROFIBUS Interface............................................................................................154
5.3.2 Built-in I/O Machine Interface .............................................................................154
5.4 BUILT-IN I/O MACHINE INTERFACE ....................................................... 155
5.4.1 Overview ..............................................................................................................155
5.4.2 Details of DI Connection......................................................................................157
5.4.3 Details of DO Connection ....................................................................................159

IV. MAINTENANCE
1 PROFIBUS FOR THE Series 16/18-C ................................................ 163
1.1 COMPONENT LAYOUT ............................................................................ 164
1.2 LED INDICATORS AND THEIR MEANINGS ............................................ 165
1.2.1 DP-Master Function LED Indicators....................................................................165
1.2.2 DP-Slave Function LED Indicators......................................................................166

c-3
TABLE OF CONTENTS B-62923EN/01

2 LCD-MOUNTED TYPE PROFIBUS FOR THE Series 16i/18i/21i ..... 167


2.1 COMPONENT LAYOUT ............................................................................ 168
2.2 LED INDICATORS AND THEIR MEANINGS ............................................ 169
2.2.1 LED Indicators of the DP-Master Function .........................................................169
2.2.2 LED Indicators of the DP-Slave Function............................................................170

3 PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i,


Series 15i, AND Power Mate i........................................................... 171
3.1 COMPONENT LAYOUT ............................................................................ 172
3.2 LED INDICATORS AND THEIR MEANINGS ............................................ 173
3.2.1 LED Indicators of the DP-Master Function .........................................................173
3.2.2 LED Indicators of the DP-Slave Function............................................................174

4 PROFIBUS FOR THE Power Mate-D/H ............................................. 175


4.1 PROFIBUS DRAWING NUMBER.............................................................. 176
4.2 ALARM MESSAGES AND MEANINGS..................................................... 177

SUPPLEMENT
A SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS
USED................................................................................................... 181
A.1 MASTER FUNCTION SETTING................................................................ 182
A.1.1 Bus Parameter Setting ..........................................................................................185
A.1.2 Slave Parameter Setting........................................................................................190
A.1.3 Setting for Address Assignment...........................................................................194
A.1.4 Setting for Operation mode ..................................................................................198
A.1.5 Updating DI/DO Data for the Master Function....................................................200
A.2 SLAVE FUNCTION SETTING ................................................................... 204
A.2.1 Status Register......................................................................................................209
A.2.2 Updating DI/DO Data for the Slave Function ......................................................209
A.3 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION
MANUFACTURED BY FANUC.................................................................. 210
A.4 GSD FILE OF THE FANUC CNCS............................................................ 211
B SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS
USED................................................................................................... 212
B.1 MASTER FUNCTION SETTING................................................................ 213
B.1.1 Bus Parameter Setting ..........................................................................................215
B.1.2 Slave Parameter Setting........................................................................................220
B.1.3 Setting for Address Assignment...........................................................................224

c-4
B-62923EN/01 TABLE OF CONTENTS

B.1.4 Procedure using the DPL/MDI operation package...............................................228


B.1.4.1 Select and display the screen ........................................................................... 228
B.1.4.2 Number and item for selecting screen ............................................................. 231
B.2 SLAVE FUNCTION SETTING ................................................................... 235
B.2.1 Procedure using the DPL/MDI operation package...............................................239
B.2.2 Status Register......................................................................................................241
B.3 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION
MANUFACTURED BY FANUC.................................................................. 242
B.4 GSD FILE OF THE FANUC CNCS............................................................ 243
C SETTING WHEN SERIES 6556 IS USED........................................... 251
C.1 MASTER FUNCTION SETTING................................................................ 252
C.1.1 Bus Parameter Setting ..........................................................................................254
C.1.2 Slave Parameter Setting........................................................................................256
C.1.3 Setting for Address Assignment...........................................................................258
C.2 SLAVE FUNCTION SETTING ................................................................... 261
C.3 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION
MANUFACTURED BY FANUC.................................................................. 262
C.4 GSD FILE OF THE FANUC CNCS............................................................ 263
D SETTING METHOD FOR PMC-SD7 ................................................... 264
D.1 PMC ADDRESS SETTING FOR MASTER FUNCTOIN ............................ 265
D.2 PMC ADDRESS SETTING FOR SLAVE FUNCTOIN ............................... 269
D.3 EXAMPLE OF CONFIGURATION............................................................. 272
D.3.1 Master Station Setting ..........................................................................................273
D.3.2 Slave Station Setting ............................................................................................277

E SETTING USING A PERSONAL COMPUTER ................................... 278


E.1 SETTING USING DP-Configurator MANUFACTURED BY Softing ........... 279

c-5
I. GENERAL
B-62923EN/01 GENERAL 1.GENERAL

1 GENERAL
This chapter explains the organization of this manual and applied
models.

-3-
1.GENERAL GENERAL B-62923EN/01

1.1 ORGANIZATION

This manual consists of the following parts:

About this manual


SAFETY PRECAUTIONS
Describes the precautions which must be observed when any of the
functions explained in this manual is used.
I. GENERAL
Describes the organization of this manual, and lists applicable
models and related manuals.
II. OPERATION
Describes how to set the data necessary to enable
PROFIBUS-DP communication.
III. CONNECTION
Describes how to connect devices to enable PROFIBUS-DP
communication, as well as related precautions.
IV. MAINTENANCE
Describes PROFIBUS-DP board drawing numbers, the meanings
of LED indications, and error messages.

-4-
B-62923EN/01 GENERAL 1.GENERAL

1.2 APPLICABLE MODELS


The models covered by this manual are as follows. The
abbreviations listed below may be used to refer to the corresponding
models.

Model name Abbreviation


FANUC Series 16-MODEL C
Series 16-C 16-C
FANUC Series 160-MODEL C
16/18-C
FANUC Series 18-MODEL C
Series 18-C 18-C
FANUC Series 180-MODEL C
FANUC Series 16i-MODEL A
FANUC Series 160i-MODEL A Series 16i-A 16i-A
FANUC Series 160is-MODEL A
FANUC Series 18i-MODEL A
FANUC Series 180i-MODEL A Series 18i-A 18i-A
FANUC Series 180is-MODEL A
FANUC Series 21i-MODEL A
FANUC Series 210i-MODEL A Series 21i-A 21i-A
FANUC Series 210is-MODEL A
16i/18i/21i-
FANUC Series 16i-MODEL B A/B
FANUC Series 160i-MODEL B Series 16i-B 16i-B or
FANUC Series 160is-MODEL B Series
FANUC Series 18i-MODEL B 16i/18i/21i
FANUC Series 18i-MODEL B5
FANUC Series 180i-MODEL B Series 18i-B 18i-B
FANUC Series 180i-MODEL B5
FANUC Series 180is-MODEL B
FANUC Series 180is-MODEL B5
FANUC Series 21i-MODEL B
FANUC Series 210i-MODEL B Series 21i-B 21i-B
FANUC Series 210is-MODEL B
FANUC Series 15i-MODEL A
Series 15i-A 15i-A 15i-A/B
FANUC Series 150i-MODEL A
or
FANUC Series 15i-MODEL B
Series 15i-B 15i-B Series 15i
FANUC Series 150i-MODEL B
FANUC Power Mate-MODEL D Power Mate-D
Power Mate PM
FANUC Power Mate-MODEL H Power Mate-H
FANUC Power Mate i-MODEL D Power Mate i-D
Power Mate i PMi
FANUC Power Mate i-MODEL H Power Mate i-H

-5-
2.OVERVIEW OF PROFIBUS-DP FUNCTIONS GENERAL B-62923EN/01

2 OVERVIEW OF PROFIBUS-DP
FUNCTIONS
This chapter explains overview of FANUC PROFIBUS-DP functions.

CAUTION
After configuring DI/DO signals, please confirm that
the signals behave correctly with the conditions of
ensuring the safety.
The operation without the above confirmation may
cause critical accidents.

-6-
B-62923EN/01 GENERAL 2.OVERVIEW OF PROFIBUS-DP FUNCTIONS

2.1 SOFTWARE FOR PROFIBUS-DP FUNCTIONS

Table 2-1 lists each model and the series of each software component
that is applicable to the model.
In this manual, the software component required for using each
PROFIBUS-DP function is expressed as follows:
- Application software for PROFIBUS-DP function
→ CONTROL SOFTWARE
- Control software for PROFIBUS-DP master function
→ MASTER SOFTWARE
- Control software for PROFIBUS-DP slave function
→ SLAVE SOFTWARE

Table 2-1 Each Model and Its Corresponding Series of Each Software Component
Model name Software name Applicable series
MASTER SOFTWARE Series 6552
SLAVE SOFTWARE Series 6553
Series 16i/18i/21i-A/B
Power Mate i-D/H Series 6558
CONTROL SOFTWARE Series 6557
Series 6556
MASTER SOFTWARE Series 6552
Series 15i-A/B SLAVE SOFTWARE Series 6553
CONTROL SOFTWARE None
MASTER SOFTWARE Series 6554
SLAVE SOFTWARE Series 6551
Series 16/18-C Series 6558
CONTROL SOFTWARE Series 6557
Series 6556
SLAVE SOFTWARE Series 6551
Power Mate-D/H
CONTROL SOFTWARE None

NOTE
When the model is the Power Mate i-D/H and the
DPL/MDI and DPL/MDI operation package are
used, the specifications are those of Edition 07 or
earlier of series 6557.

-7-
2.OVERVIEW OF PROFIBUS-DP FUNCTIONS GENERAL B-62923EN/01

2.2 MASTER FUNCTIONS

The specifications of the PROFIBUS-DP Master function differ


depending on the CNC model and the series of CONTROL
SOFTWARE.

Table 2-2 Overview of the Master Function

Series 16i/18i/21i-A/B,
CNC Series 15i-A/B
Condition

Power Mate i-D/H, Series 16/18-C

Edition 08 Edition 07
CONTROL SOFTWARE Series 6558 or later of or later of Series 6556 None
series 6557 series 6557
Range of valid master
0 to 125 0 to 2 0 to 125
station numbers
Range of valid slave
station numbers for
0 to 125 0 to 125 3 to 32 0 to 125
which communication
can be performed
The maximum number
of the slaves which can 48 slaves 32 slaves 30 slaves 32 slaves
be connected
24 modules per a
slave
(The sum of
slaves and
Master functions

modules
is limited to 48 unit
The maximum number in the whole of
of the I/O modules per network. -
every slave When using both
Master and Slave,
the number of
modules is limited
until 8 units per a
slave.)
244 bytes
Maximum DI/DO data 244 bytes
(Total of 32/32 bytes
size per slave station (Total of DI/DO)
DI/DO)
Maximum user
parameter data size per 201 bytes 201 bytes 32 bytes 6 bytes 32 bytes
slave station
Maximum diagnose data
244 bytes 244 bytes 32 bytes 6 bytes 32 bytes
size per slave station

SUPPLEM SUPPLEM SUPPLEMENT-


Reference item in this manual II-1.2 II-2.2
ENT-A.1 ENT-B.1 C.1

-8-
B-62923EN/01 GENERAL 2.OVERVIEW OF PROFIBUS-DP FUNCTIONS

2.3 SLAVE FUNCTIONS

The specifications of the PROFIBUS-DP Slave function differ


depending on the CNC model and the series of CONTROL
SOFTWARE.

Table 2-3 Overview of the Slave Function (1/2)


Series 16i/18i/21i-A/B,
CNC
Power Mate i-D/H, Series 16/18-C
Condition

Edition 08 or later Edition 07 or later


CONTROL SOFTWARE Series 6558 Series 6556
of series 6557 of series 6557
Series 6551 or
Series 6551 or Edition 07 or later of Series 6551 or
SLAVE SOFTWARE Edition 05 or later
series 6553 series 6553
of series 6553
Range of valid slave
0 to 125 0 to 125 0 to 125 0 to 125
Slave functions

station numbers
244 bytes 244 bytes
Maximum DI/DO data size 32/32 bytes 32/32 bytes
(Total of DI/DO) (Total of DI/DO)
Approval given by the
PROFIBUS certification { { { -
organization
SUPPLEMENT-A. SUPPLEMENT-B. SUPPLEMENT-C.
Reference item in this manual II-1.3
2 2 2

Table 2-3 Overview of the Slave Function (2/2)


CNC Series 15i-A/B Power Mate-D/H
Condition

CONTROL SOFTWARE None None


Edition 05 or later of Edition 05 or later of
SLAVE SOFTWARE
series 6553 series 6551
Range of valid slave station
Slave functions

0 to 125 1 to 125
numbers
Maximum DI/DO data size 32/32 bytes 32/32 bytes
Approval given by the
PROFIBUS certification { {
organization
Reference item in this manual II-2.3 II-3.1

-9-
II. OPERATION
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1 16i/18i/21i-A/B, Power Mate i-D/H, AND


16/18-C
This chapter describes PROFIBUS-DP functions for 16i/18i/21i-A/B,
Power Mate i-D/H, and 16/18-C.

NOTE
PROFIBUS-DP cannot be used with DeviceNet.

- 13 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

1.1 OVERVIEW

In PROFIBUS-DP communication, two types of nodes are involved: a


master station (also referred to as a DP-Master) and a slave station
(also referred to as a DP-Slave). DI/DO data is exchanged between a
DP-Master and DP-Slave according to a data exchange request from
the DP-Master.
The DP-Master function is referred to as the PROFIBUS-DP Master
(class1) function (simply referred to as the master function). The
DP-Slave function is referred to as the PROFIBUS-DP Slave function
(simply referred to as the slave function).

Two classes of DP-Masters are used in PROFIBUS-DP


communication: class1 and class2. A DP-Master (class1) is a
DP-Master that communicates with DP-Slaves. A DP-Master (class2)
is a DP-Master that serves as the management station within a
PROFIBUS-DP system, and communicates with the DP-Master
(class1).
The master function of FANUC CNCs supports only the DP-Master
(class1) function, so that the FANUC DP-Master cannot be used as a
DP-Master (class2).

- 14 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.2 MASTER FUNCTION SETTING

To use the master function, bus parameters and slave parameters must
be set, and addresses must be assigned.
The bus parameters and slave parameters are referenced by the
PROFIBUS network. As for address assignment, PMC addresses used
by the DP-Master to transfer DI/DO signals to and from each
DP-Slave are set.
The slave parameters and the address assignment are set for each
slave.
The methods of setting the parameters are described below.

NOTE
1 The PROFIBUS Setting Tool (drawing number
A08B-9510-J530) is a personal computer (PC) tool
related to the PROFIBUS-DP master function.
This tool enables PROFIBUS-DP master function
parameters to be created on a PC.
Those who use the PROFIBUS-DP master function
for the first time or are unfamiliar with
PROFIBUS-DP master function setting are
recommended to purchase a copy of this tool.
The Ethernet function is necessary to use this tool.
2 To set the bus parameters and slave parameters,
you can also use DP-Configurator (tool running on a
PC) manufactured by Softing. For details of this
setting, see Section E.1, "Setting Using
DP-Configurator Manufactured BY Softing," in
"SUPPLEMENT."
But DP-Configurator can set only the bus
parameters and slave parameters.

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>, then press soft key [PMC] to
switch to the PMC screen.

(2) Pressing the soft keys [PMCDGN], [IOCHK], and [PROFI] in


the stated order displays Screen 1-1.

- 15 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Screen 1-1

- 16 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

(3) Pressing the soft key [MASTER] displays Screen 1-2.


After installing the PROFIBUS software 6558 into CNC, if
PROFIBUS parameter settings are set for the first time, the soft
key [INI.AL] should be pressed. By pressing [INI.AL], all of
PROFIBUS master parameters are initialized.

Screen 1-2

(4) The following parameters can be set by pressing the


corresponding soft keys on the screen 1-2:
[BUS] : Bus parameter setting
Please refer to “1.2.1. Bus Parameter Setting”
[SLAVE] : Slave parameter setting and address assignment
Please refer to “1.2.2. Slave Index Setting”
[MODE] : Operation mode setting
Please refer to “1.2.5. Setting for Operation Mode”

“REFRESH TIME” indicates the time required for updating DI/DO


data for the master function. For details, see Section 1.2.6,
"Updating DI/DO Data for the Master Function."

- 17 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

A error message may be displayed at the lower left of Screen 1-2. In


this case, take appropriate action, referencing the table below.

Table 1-1 Error messages of Screen 1-2


Message Caution and action
“INVALID MASTER When CONTROL SOFTWARE is
PARAMETERS” changed from 6557 Series to 6558, this
message will appear.
In this case, please enter the soft key
[INI.AL], and turn the power off, then on
again.
One or several invalid slaves exist.
The following reasons can be guessed.
-DI/DO size of a slave exceeds 244
“INVALID SLAVE EXISTS” bytes.
-An available slave does not exist.
-An invalid slave parameter is being
configured at a slave.
One or several invalid modules exist.
Configure valid parameter referring to
“ INVALID MODULE EXISTS” “1.2.4 DI/DO Parameter Setting”, and
turn the power off, then on again.

- 18 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.2.1 Bus Parameter Setting


(1) Pressing soft key [BUS] on Screen 1-2 displays Screen 1-3 to
enable bus parameter setting.

Screen 1-3

(2) By pressing the soft key [MS.USR] on Screen 1-3, the detail
parameter screen [MASTER USER DATA] will appear. Please
refer to “Detail parameter setting” of this section.
(3) The soft key [INIT] on Screen 1-3 initializes the bus parameters
to the standard values used when the transfer rate is 12 Mbps.

CAUTION
To change the transfer rate from 12 Mbps to a
different value, set the bus parameters again
according to Table 1-3, "Bus Parameter Settings
Corresponding to Each Transfer Rate" in this
section.

- 19 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Table 1-2 summarizes the bus parameters. Table 1-3 lists the bus
parameter values to be set for each transfer rate. For details, refer to
the following documents issued by PROFIBUS Nutzerorganisation
e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Detail parameter setting


The detail data of [MASTER USER DATA] can be configured as
follows.

(1) By pressing the soft key [MS.USR] on Screen 1-3, Screen 1-4
will appear.

Screen 1-4

(2) By pressing the soft key [LENGTH], the message [MASTER


USER DATA LENGTH] appears, and a data length can be
entered.
(3) Input values into [MASTER USER DATA=], shifting the cursor.

- 20 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Table 1-2 Bus Parameters


Item Description
FDL ADD Fieldbus data link address.
Station number of the DP-Master.
BAUDRATE Transfer rate code number.
(0:9.6 kbps, 1:19.2 kbps, 2:93.75 kbps, 3:187.5 kbps, 4:500 kbps, 6:1.5 Mbps, 7:3 Mbps,
8:6 Mbps, 9:12 Mbps)
T SL Slot time.
Maximum time from token frame transmission until the first character of a response frame is
read. (Unit: Bit time)
MIN T SDR Minimum station delay time of responders.
Minimum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
MAX T SDR Maximum station delay time of responders.
Maximum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
T QUI Transmitter fall/repeater switch time.
Wait time after data transmission until the receiver can be operated again. (Unit: Bit time)
T SET Setup time.
Time after the occurrence of an event until the execution of the corresponding action is
started. (Unit: Bit time)
T TR Target rotation time.
Estimated time required for a PROFIBUS token to make one rotation. (Unit: Bit time)
G Gap update factor.
Number of tokens that rotate during a gap maintenance period.
HSA Highest station address.
Maximum node number set on the PROFIBUS.
MAX RETRY Maximum number of retries.
BP FLAG User interface flag.
Bit 7: Error_Action_Flag
0: Does not change the operation mode if an error occurs.
1: Changes the operation mode from Operate mode to the Clear mode if an error occurs.
Bits 6 to 0: Reserved (to be set to 0)
MIN SLAVE INT Minimum slave interval between two slave poll cycles.
Minimum polling interval between slaves. (Unit: 100 μs)
POLL TIME OUT Poll timeout for master-master communication.
Maximum wait time after the issue of a request for communication between master stations
until a response is received. (Unit: 1 ms)
DATA CONTROL Time until the data transfer list is updated at least once. (Unit: 10 ms)
CLASS2 NAME Master who created this parameter sets.
Name of the DP-Master (class2) that created the bus parameters.
MASTER USER DATA Data necessary for the bus parameters and specified by the manufacturer.

- 21 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Remarks) Explanation of terms used in the above table


Bit time : Time (sec) required to send one bit of data
at a specified transfer rate. This is
equivalent to the reciprocal of a transfer
rate (bps).
Gap maintenance : Period during which the list for managing
period the address of the connected DP-Master is
updated. (Unit: Bit time)
Operation mode : Operation mode of a DP-Master (class1).
Offline : Mode that disables
communication with all nodes
Stop : Mode that enables
communication with the
DP-Master (class2)
Clear : Mode in which the output to the
DP-Slave is set to 0
Operate : Mode that enables DI/DO
communication with DP-Slaves
Data transfer list : List with a 16-byte area. This list is held in
the DP-Master so that each bit indicates
whether data transfer to and from each of
the nodes of station numbers 0 to 125 has
been performed (1) or not (0) (bits 6 and 7
of the 16th byte are not used).

- 22 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Table 1-3 Bus Parameter Settings Corresponding to Each Transfer Rate


Bus parameter Setting
1: FDL ADD 0 to 125
2: BAUDRATE (Kbps) ≤187.5 500 1500 3000 6000 12000
3: T SL 100 200 300 400 600 1000
4: MIN T SDR 11 11 11 11 11 11
5: MAX T SDR 60 100 150 250 450 800
6: T QUI 0 0 0 3 6 9
7: T SET 1 1 1 4 8 16
8: TTR 65000 65000 65000 65000 65000 65000
9: G 10 10 10 10 10 10
10: HSA 126 126 126 126 126 126
11: MAX RETRY 1 1 1 2 3 4
12: BP FLAG 0 0 0 0 0 0
13: MIN SLAVE INT 1 1 1 1 1 1
14: POLL TIME OUT 1000 1000 1000 1000 1000 1000
15: DATA CONTROL 100 100 100 100 100 100
16: CLASS2 NAME This parameter need not be set.
17: MASTER USER DATA 0 0 0 0 0 0

Viewing this table for parameter setting:


First, determine the value of 2: BAUDRATE. Then, set the other parameters according to the
set baud rate.

NOTE
For multiple master communication, satisfy the
following conditions:
- The value set for 1:FDL ADD for a master station is
not used as another master station number.
- The same values are set for bus parameters 2 to 11
for all master stations.
- When a larger value is set for T SET, T SL is larger
than T ID1.
(T ID1 = 33 + 2 + 2 × T SET + T QUI)

- 23 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

The following error message may be displayed at the lower left of


Screen 1-3 and 1-4. In this case, take appropriate action, referencing
the table below.

Table 1-4 Error messages of Screen 1-3 and 1-4


Message Caution and action
“INVALID INPUT” Invalid value was inputted.
(For example, in the case of attempting
to input a letter into the parameter of a
numerical attribution.)
The inputted value is exceeding the
“ INVALID RANGE” range.

- 24 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.2.2 Slave Index Setting


(1) By pressing the soft key [SLAVE] on Screen 1-2, Screen 1-5 will
appear.
According to Table 1-5, please configure “NO”, “NSL”, “DGN
ADDR” and “SIZ” per every slave.
If Power-OFF and ON is done once, the configured entries are
sorted in the order of “NO” (Slave number) automatically.

NOTE
The slave station which sends the diagnosis data of
more than 243 bytes to a master can not be
connected.

Screen 1-5

- 25 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Table 1-5 Parameters of Slave Index setting screen


Parameters Explanation
IDX Index number of slaves
Max.48 slaves can be configured.
NO Slave number
Available slaves are marked with “*” at the slave
number “NO” on the screen.
Range : 0 to 125
NSL Slot number.
The number of I/O module units which are
installed in the corresponding slave station.
As for the detail of “Slot”, please refer to
“Explanation of Slot” below.
Range : 1 to 24
Note) If both Master and Slave functions are
used at the same time, the range is limited
until 8 units.
DGN ADDR Start address of Diagnostic data.
As for the contents of Diagnostic data, please
refer to “Diagnostic data” at the end of this
section.
Range : Please refer to “CAUTION” of this
section.
SIZ Size of Diagnostic data
Range : 0 to 244 (byte)

[Explanation of Slot]
When a slave station consists of multiple I/O module units, the location which each
I/O module is installed in is called “Slot”.

Basic module
(Power supply I/O module I/O module I/O module
unit etc.)
Slot number 0 Slot No. 1 Slot No. 2 Slot No. n

In the above figure, NSL (Slot number) becomes equal to “n+1”.


Some of module units may not have an input/output interface. Even if so, this
module must be counted as one slot.

- 26 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

CAUTION
When assigning PROFIBUS data to PMC address,
please note the following.
(1) Only PMC R address area is available.
(When using PMC-SB5, PMC-SB6 or PMC-NB6,
more than R2999 can not be configured.
(2) Ensure that a specified DI data area, DO data
area, and Diagnostic data area do not overlap
one another.
(3) Ensure that the specified addresses do not
overlap a work area used for a ladder program.

NOTE
The slot number “NSL” should be inputted by manual
even when the Profibus parameters are configured
automatically by using Softing’s Configurator.

(2) The following soft keys are available.


[ENABLE]:
This key makes the selected slave available. An available
slave is marked with “*” at the position of the slave number
“NO” on the screen.

[DISBLE] :
This key annuls the selected slave.

[ NO.AT ] :
This key assigns slave numbers with a serial to the slave
which the cursor is located on and the following slaves.

[ ADR.AT ] :
This key assigns addresses to the selected slave and the
following available slaves.
For example, with the situation that the values are inputted
like Screen 1-5, when this key is pushed at the position of
IDX 7, DGN_ADDRs of IDX08-10 will be configured
automatically as R1506, R1512, R1518 respectively.

[ INIT ] :
This key initializes the parameter values of the selected
slave, including the slave parameter and DI/DO address
assignment.

[ INIT.AL ] :
This key initializes the parameter values of the selected
slave and the following slaves , including the slave
parameter and DI/DO address assignment.

- 27 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

(3) With the following keys, the sub-setting screens appear.


[ SLV.PR ] :
Slave Parameter Setting
-> Please refer to “1.2.3. Slave Parameter Setting”.
[ DI/DO ] :
Setting for Address Assignment
-> Please refer to “1.2.4. DI/DO Parameter Setting”.

Diagnostic data

Diagnostic data is classified as standard Diagnostic data (6 bytes) and


extended Diagnostic data (7th byte and later). DP-Slaves supplied by
other manufacturers may use extended Diagnostic data of more than
six bytes. When using DP-Slaves supplied by other manufacturers,
determine the size of the Diagnostic data by referencing the GSD file
of each DP-Slave.

For details, refer to the following documents issued by PROFIBUS


Nutzerorganisation e.V.
- PROFIBUS STANDARD DIN 19 245 Part 1
- Draft Standard PROFIBUS-DP DIN 19 245 Part 3

For details of standard Diagnostic data, see Table 1-6.

- 28 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Table 1-6 Standard Diagnostic data


Item Description
STATION STATUS 1 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Master_Lock
This bit indicates that the parameters of the DP-Slave are set by another DP-Master.
When the value of MASTER_ADDRESS is neither 255 nor the address of the
DP-Master, this bit is set by the DP-Master.
Bit 6: Diag.Prm_Fault
This bit is set by the DP-Slave when the latest parameter data contains an error.
Bit 5: Diag.Invalid_Slave_Response
This bit is set by the DP-Master when incorrect data is received from the DP-Slave.
Bit 4: Diag.Not_Supported
This bit is set by the DP-Slave when the DP-Slave receives an instruction that is not
supported by the DP-Slave.
Bit 3: Diag.Ext_Diag
This bit is set by the DP-Slave when extended Diagnostic data can be used. The
DP-Master of FANUC CNCs can reference up to 238 bytes of the extended Diagnostic
data.
Bit 2: Diag.Cfg_Fault
This bit is set by the DP-Slave when the latest configuration data differs from the data
held by the DP-Slave.
Bit 1: Diag.Station_Not_Ready
This bit is set by the DP-Slave when the DP-Slave is not ready for data transfer.
Bit 0: Diag.Station_Non_Existent
This bit is set by the DP-Slave when communication with the DP-Slave is impossible.
STATION STATUS 2 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Deactivated
This bit is set by the DP-Master when communication with the DP-Slave is disabled
during slave parameter setting.
Bit 6: Reserved (undefined)
Bit 5: Diag.Sync_Mode
This bit is set by the DP-Slave when the Sync control command is received.
Bit 4: Diag.Freeze_Mode
This bit is set by the DP-Slave when the Freeze control command is received.
Bit 3: Diag.WD_On
This bit is set by the DP-Slave when the disconnection detection function is operating.
Bit 2: Reserved (set to 1 at all times)
Bit 1: Diag.Stat_Diag
If this bit is set by the DP-Slave, the DP-Master reads the Diagnostic data until this bit is
reset.
Bit 0: Diag.Prm_Req
This bit is set by the DP-Slave when the parameters of the DP-Slave need to be set
again. The setting of this bit is held until the parameters are set again.

- 29 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Table 1-6 Standard Diagnostic data


Item Description
STATION STATUS 3 The state of a DP-Slave is indicated.

MASTER ADDRESS The address of the DP-Master that set the parameters of the DP-Slave is set. If the
(Size: 1 byte) parameters are not set by the DP-Master, 255 is set.
IDENT NUMBER The identification number of a DP-Slave is set.
(Size: 2 bytes)

The following error message may be displayed at the lower left of


Screen 1-5. In this case, take appropriate action, referencing the table
below.

Table 1-7 Error messages of Screen 1-5


Message Caution and action
“INVALID INPUT” Invalid value was inputted.
(For example, in the case of attempting
to input a letter into the parameter of a
numerical attribution.)
The inputted value is exceeding the
“ INVALID RANGE” range.

The inputted slave number ‘NO’ is


“ ’NO’ OVERLAP” overlapping with the other.

The total of slot number “NSL” is


“ ’NSL’ SUM OVER” exceeding the limit of 48 slots.

The ‘NO’ or ‘NSL’ of the slave indicated


“SET ‘NO’ AND ‘NSL’ OF
by the cursor is not being configured.
CURRENT IDX”
Both ‘NO’ and ‘NSL’ should be set.
In slave index table, there is the invalid
“INVALID IDX EXISTS” slave which the ‘NO’ or ‘NSL’ is not
configured in.

- 30 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.2.3 Slave Parameter Setting


(1) By pressing the soft key [SLV.PR] on Screen 1-5, Screen 1-6
will appear.
According to Table 1-8, please configure the slave parameters.

Screen 1-6

(2) By pressing the soft key [USR.PR], the detail parameter setting
screen appears and “USER PARAM DATA” can be configured.
By pressing the soft key [SL.USR], another detail parameter
setting screen appears and “SLAVE USER DATA” can be
configured.
For details, please refer to “Detail parameter setting” of this
section.

(3) Additionally, the following keys are available.


[PR.SLV], [NX.SLV] :
By pressing soft keys [PRV.SLV] and [NXT.SLV], the
slave number of a DP-Slave to be set can be changed. To
move to the screen of a desired slave number directly, input
the slave number, then press soft key [PRV.SLV] or
[NXT.SLV].

[ INIT ] :
The soft key [INIT] can initialize the slave parameters of a
specified slave number as the default values for a DP-Slave
of a FANUC CNC.

(4) By pressing the soft key [DI/DO], the DI/DO parameter setting
screen appears.
-> Please refer to “1.2.4. DI/DO Parameter Setting”.

- 31 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Table 1-8 shows the explanations of the slave parameters


For details, refer to the documents issued by PROFIBUS
Nutzerorganisation e.V.

Table 1-8 Slave Parameters


Item Description
IDENT NO. DP-Slave identification number.
This parameter specifies the identification number of a DP-Slave to be connected.
SLAVE FLAG Slave specification bit flag.
Bit 7: Active
0: Does not perform communication with the DP-Slave.
1: Performs communication with the DP-Slave.
Bit 6: New_Prm
0: Does not send new parameter data to the DP-Slave.
1: Sends new parameter data to the DP-Slave.
Bits 5 to 0: Reserved (to be service to 0)
SLAVE TYPE Manufacturer-specified type indication for the DP-Slave.
LOCK REQ, UNLOCK When LOCK_REQ=ON and UNLOCK_REQ=OFF are set, the DP-Slave disables the
REQ DP-Master from modifying the parameters.
When LOCK_REQ=OFF and UNLOCK_REQ=ON are set, the DP-Slave allows the
DP-Master to modify the parameters.
SYNC REQ When ON is set, the Sync control command can be used.
FREEZE REQ When ON is set, the Freeze control command can be used.
WD REQ When On is set, disconnection detection is performed.
WD FACT1, WD Coefficients for disconnection detection time determination.
FACT2 10 × WD_FACT1 × WD_FACT2 (msec)
MIN TSDR Minimum wait time until a response is returned to the DP-Master. (Unit: Bit time)
GROUP IDENT This parameter specifies groups for the DDLM_Global_Control instruction. Each bit
represents a group. Up to eight groups can be specified.
USER PRM DATA User parameter data.
Data necessary for the slave parameters and specified by the manufacturer.
CONFIG DATA Configuration data.
Data for specifying information such as the size of I/O data to be exchanged between the
DP-Master and DP-Slave.
SLAVE USER DATA Slave user data.
Data specified by the manufacturer to indicate the characteristics of the DP-Slave.

- 32 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Remarks) Explanation of terms used in the table


Sync control : Command for specifying operation in Sync
command mode. When operation is performed in Sync
mode, the DP-Slave updates the output signals
only when the Sync control command is
received.
Freeze control : Command for specifying operation in Freeze
command mode. When operation is performed in Freeze
mode, the DP-Slave updates input signals only
when the Freeze control command is received.
Disconnection : Function for checking if data is exchanged
detection normally between the DP-Master and
DP-Slave. If data is not exchanged after the
disconnection detection time determined by
WD FACT1 and WD FACT2 has elapsed, an
error is assumed.
Bit time : Time (sec) required to send one bit of data at a
specified transfer rate. This is equivalent to the
reciprocal of a transfer rate (bps).

NOTE
When using DP-Slaves provided by other
manufacturers, set the slave parameters according to
the GSD file attached to each DP-Slave.

When a DP-Slave manufactured by FANUC is


connected, see Section 1.4, "Setting the Slave
Parameters for Using a Slave Station Manufactured
by FANUC" of B-62924EN.

- 33 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Detail parameter setting


The detail data of [USER PARAM DATA] and [SLAVE USER
DATA] can be configured as follows.
As a example, the way of inputting values is explained with the screen
of [USER PARAM DATA].

(1) By pressing the soft key [USR.PR] on Screen 1-6, Screen 1-7 will
appear.

Screen 1-7

(2) By pressing the soft key [LENGTH], the message [USER


PARAM LENGTH] appears, and a data length can be entered.

(3) Input values into [USER PARAM DATA=], shifting the cursor.

As for the data contents of [USER PARAM DATA], please refer to


GSD file of the corresponding slave station too.

- 34 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

The following error message may be displayed at the lower left of


Screen 1-6. In this case, take appropriate action, referencing the table
below.

Table 1-9 Error messages of Screen 1-6


Message Caution and action
“INVALID INPUT” Invalid value was inputted.
(For example, in the case of attempting
to input a letter into the parameter of a
numerical attribution.)
The inputted value is exceeding the
“ INVALID RANGE” range.

In slave index table, there is the invalid


“INVALID IDX EXISTS” line that the ‘NO’ and ‘NSL’ is not being
configured.

- 35 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

1.2.4 DI/DO Parameter Setting

(1) By pressing the soft key [DI/DO] of Screen 1-5 or Screen 1-6, the
Screen 1-8 will appear.

Screen 1-8

Table 1-10 Parameters of DI/DO Parameter Setting screen


Paramter Explanation
NO Slave number
“RSV” means its column and later are not
configured yet.
SLT Slot number
DI/DO ADDR Start address of DI and DO data
Range : Refer to “CAUTION”
DI/DO SIZ Size of DI and DO data
Range : 0 to 244 (byte)
MOD State of I/O module
As for the detail, refer to [Explanation of MOD].

CONNECT SLOT The total number of slots

- 36 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

CAUTION
When assigning PROFIBUS data to PMC address,
please note the following.
(1) Only PMC R address area is available.
(When using PMC-SB5, PMC-SB6 or PMC-NB6,
more than R2999 can not be configured.
(2) Ensure that a specified DI data area, DO data
area, and Diagnostic data area do not overlap
one another.
(3) Ensure that the specified addresses do not
overlap a work area used for a ladder program.

NOTE
Max 244 bytes are configurable for DI/DO size per
each slave.

(2) By pressing the soft key [MOD.PR], the Module Setting screen
(such as Screen 1-9) corresponding to the I/O module unit will
appear.
For example, Screen 1-9 shows the Module Setting screen of Slot
number 1 of Slave number 3.

Screen 1-9

- 37 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Table 1-11 Parameters of Module Setting screen


Parameter Explanation
MODULE LENGTH Set the byte-size of a [MODULE] data of the
GSD file.
Range : 0 to 128 (byte)
NOTE : Further, as for one slave, the total of
every module size should be within 128
bytes.
MODULE(HEX) Set byte-data of [Module] according to the GSD
file.

SHIFT ON : A new module data area is inserted by the


size of inputted [MODULE LENGTH]. And
the inserted module data area is filled with
“00”.
When the above [MODULE] data is
configured by manual, “ON” should be
selected.
OFF:A new module data area is not inserted .
Please refer to the following note.

NOTE
Even if module data of slaves is downloaded by
using Softing Configurator, [MODULE LENGTH]
should be configured by manual.
But in this case, please select “OFF” with [SHIFT].
Because the whole of slave’s module data is
downloaded by the Configurator.
The module data will be separated according to the
size of [MODULE LENGTH] in the order of slave
number, and the separated module data will be
shown at the position of [MODULE] on the screen.

(3) By pressing the soft key [LENGTH], the message [MODULE


LENGTH] appears, and a data length can be entered.

(4) According to the size of [LENGTH], the module data per I/O
module unit can be inputted at [MODULE=].
For details, please refer to “Module data setting” of this section.

- 38 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

(5) After inputting module data, by pressing the return key [<], the
display returns to Screen 1-8. Please confirm that “MOD”
indicates either of the following conditions; (a) through (e).

[Explanation of MOD]
(a) ” - - - ” : The module is not configured yet.
(This module is regarded as “MODULE LENGH = 0”)
(b) " I / - " : The module has the input interface only.
(c) " - / 0 " : The module has the output interface only.
(d) " I / 0 " : The module has the input and output interface.
(e) " - / - " : The module has neither input/output interface.
(This module is regarded as “MODULE LENGTH = 1 and
MODULE(HEX) = 00”)
(f)"OVR" : At one slave station, the total of DI/DO size is
over 244 bytes.
(g)"ERR" : the module data is not correct.

(6) And then please move the cursor at the first slot of the slave, and
press the soft key [SIZ.AT]. The DI/DO size of every slot will be
configured automatically according to the contents of the module
data.

CAUTION
DI/DO size of every slot should be configured by
using the soft key [SIZ.AT].

(7) Please configure DI/DO address of every slot.

(8) About every slave station, please repeat the operation (1)- (7).

(9) To do the above operation, the following keys will be convenient.

[PR.SLV], [NX.SLV] :
By pressing the soft keys [PRV.SLV] and [NXT.SLV], the slave
number of a DP-Slave to be set can be changed. To move to the
screen of a desired slave number directly, enter a slave number,
then press the soft key [PRV.SLV] or [NXT.SLV].

[ ADD ] :
A new slot index can be added.

[ DELETE ] :
The selected slot index can be deleted.

[ ADR.AT ] :
This key assigns the serial address to the slave which the cursor is
located on and the following slaves.
For example, in Screen 1-8, when this key is pushed at the
position of SLT 00 of NO 7 (Slave number 7), each
DI/DO_ADDR of SLT01-03 will be configured automatically as
R0204/R0704, R0208/R0708 and R0212/R0712.

- 39 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Module data setting

In general, the selectable modules are listed in the GSD file of a slave.
Please select the appropriate data from the [Module] list of the GSD
file, corresponding to the I/O module unit you use, and configure the
parameter to Screen 1-9 as a module data.
A module data of Screen 1-9 can be inputted as follows.

Example)
This example explains the way of configuring the following I/O
module units like NO 3 (Slave number 3) of Screen 1-8.
[ Types of the installed I/O modules into the slave station (NO.3) ]
Basic Module No input/output interface
I/O Module (Type A) Input : one byte , Output : one byte
I/O Module (Type B) Input only : one byte

[Position of Modules on Slave station 3]


Basic module I/O Module I/O Module I/O Module
(TYPE A) (TYPE B) (TYPE A)
Slot number 0 Slot number 1 Slot number 2 Slot number 3

Here, the GSD file is assumed to be described as follows.



Module = ” NO I/O ” 0x00
EndModule
Module = ” TYPE A” 0x10, 0x20
EndModule
Module = ” TYPE B ”
EndModule


The contents (a part) of GSD file

- 40 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Thus, each module parameter should be configured as follows.

SLAVE NO/ SLOT NO Example of Parameter setting


SLAVE NO. = 3 MODULE LENGTH = 1
SLOT NO. = 0 MODULE(HEX) = 00

SLAVE NO. = 3 MODULE LENGTH = 2


SLOT NO. = 1 MODULE(HEX) = 10 20
SLAVE NO. = 3 MODULE LENGTH = 1
SLOT NO. = 2 MODULE(HEX) = 20

SLAVE NO. = 3 MODULE LENGTH = 2


SLOT NO. = 3 MODULE(HEX) = 10 20

Additionally, the following soft keys are available.


[PR.SLT], [NX.SLT] :
A slot number can be moved to the previous or next.

As for the format of GSD file, refer to the documents issued by


PROFIBUS Nutzerorganisation e.V.
• Draft Standard PROFIBUS-DP DIN 19 245 Part3

The following error message may be displayed at the lower left of


Screen 1-8 and 1-9. In this case, take appropriate action, referencing
the table below.

Table 1-12 Error messages of Screen 1-8 and 1-9


Message Caution and action
“INVALID INPUT” Invalid value was inputted.
(For example, in the case of attempting
to input a letter into the parameter of a
numerical attribution.)
The inputted value is exceeding the
“ INVALID RANGE” range.

The soft key was pressed when the


cursor is being located at an
inappropriate position.
“INVALID OPERATION”
For example, When the cursor is
located at ‘RSV’ of Screen 1-8, the soft
key is pressed.

- 41 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

1.2.5 Setting for Operation mode


(1) By pressing the soft key [MODE] on Screen 1-2, Screen 1-10 will
appear.
The current operation mode is displayed at [CURRENT MODE].

Screen 1-10

(2) By pressing the soft key [STOP], [CLEAR], or [OPERA], the


operation mode will be changed to the corresponding one. The
transition must be done in the order of [OPERATE]-> [CLEAR]->
[STOP], or [STOP]-> [CLEAR]-> [OPERATE].

(3) The current operation mode can also be indicated at the PMC R
address which is configured with [INDICATION ADDRESS].

The following table shows the explanation of each mode and its value.

Table 1-13 Explanation of Operation mode


Mode status Explanation
OFFLINE Communication with all nodes is disabled.
0x00
STOP Communication with another master station
(such as a class-2 master station) is enabled.
On the other hand, this master can not
communicate with any slave.
0x40
CLEAR The outputs of all slaves are cleared.
0x80
OPEARTE This master is exchanging DI/DO data with
slaves
0xC0

- 42 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

CAUTION
When assigning PROFIBUS data to PMC address,
please note the following.
(1) Only PMC R address area is available.
(When using PMC-SB5, PMC-SB6 or PMC-NB6,
more than R2999 can not be configured.
(2) Ensure that a specified DI data area, DO data
area, and Diagnostic data area do not overlap
one another.
(3) Ensure that the specified addresses do not
overlap a work area used for a ladder program.

(4) The following soft key is available.


[DISABLE] :
[INDICATION ADDRESS] is cleared. The operation mode is not
notified to PMC.
In that case, the [INDICATION ADDRESS] indication
becomes ” ----- ”.

NOTE
For the operation mode, pay careful attention to the
following points:
(1) When the power is turned on in the status in which
at least one slave station is ACTIVE, the master
station automatically becomes to the OPERATE
mode.
(2) In a case other than (1), that is, when the power is
turned on in the status in which all slave stations
are not ACTIVE, the master station automatically
becomes to the STOP mode.
(3) A FANUC master station cannot manually be put in
the OFFLINE mode.
If a FANUC master station is in the OFFLINE mode
immediately after power-on, an error may occur.
See Table 1-1, "Setting Error Message."

- 43 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

A message may be displayed at the lower left of Screen 1-10. In this


case, take appropriate action, referencing the table below.
Table 1-14 Messages of Screen 1-10
Message Caution and action
“MODE SET OK” Mode setting was performed normally.
Mode setting was performed in an invalid
order.
“INVALID OPERATION” (For example, a correct order is from
[OPERATE] to [STOP].)
Change the mode with a correct order.
This message is displayed if one of the
following three operations is performed:
1) [STOP] and [OFFLINE] are set in this order.
2) The power is turned on in the status in
which no slave stations are ACTIVE, and
[STOP] and [CLEAR] are set in this order.
3) After slave parameters are downloaded
from a class-2 master station, [STOP] and
"POWER MUST BE
[CLEAR] are set in this order.
OFF"
In case 1), the OFFLINE status is equal to the
power-off status.
In case 2) or 3), if settings are changed by
downloading from the slave parameter setting
screen or class-2 master station after
power-on, the change cannot be made take
effect immediately. For this reason, turn the
power off, then on again.
“INVALID INPUT” Invalid value was inputted.
(For example, in the case of attempting to input
a letter into the parameter of a numerical
attribution.)
The inputted value is exceeding the range.
“ INVALID RANGE”

- 44 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.2.6 Updating DI/DO Data for the Master Function


When making a ladder program, fully consider “Data refresh time”,
“Data simultaneity” and “Relation with ladder program” described
below.

Data refresh time

The data refresh time for the master function means the time required
for updating DI/DO data for all slave stations that is allocated in the R
area of the PMC by address assignment.

NOTE
-The processing time of a ladder program is not
included in the data refresh time.
-It should be considered that the reaction time is
twice data refresh time at the best. (The reaction
time is until receiving the response as DI data after
sending request as DO data.)
-DI/DO data means all DI/DO data of the available
slots which are included in available slaves.
Available slaves are marked with “*” at the position
[NO] of the Slave index screen.
Available slots are marked with either of “---“,
“I/O”,”I/-“,”-/O” or “-/-“ at the position [MOD] of the
DI/DO address screen.

When only the master function is used


The data refresh time for the master function is indicated at REFRESH
TIME on Screen 1-2.

REFRESH TIME : XXX MSEC ([XXX + XXX] is for


maintenance data.)

It is displayed with three digits. If the number of digits is exceeded,


OVR or OVER is displayed, but it does not affect communication.

- 45 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

The data refresh time can be estimated roughly by using the following
expression.

CAUTION
-The answer led from this expression can not be
guaranteed as the actual refresh time. Please use
an estimated value for a reference.
As for the actual refresh time, please see REFRESH
TIME of Screen 1-2.
The actual refresh time may increase/decrease by
8msec unit, against the estimated value.
Especially in the case that the number of slaves or
DI/DO data increases , and if the number of slaves
becomes more than ten and if its total size of DI/DO
data becomes more than 150 bytes, the actual
refresh time possibly becomes longer than the
estimated time.

-Note that DI/DO data may not be updated within the


time displayed for REFRESH TIME in either of the
following cases:
The status of at least one communication slave
station is changing every moment. (For example,
when diagnostic data is being updated.)
A service is being received from a class-2 master
station every moment.

By using the expression(A), please divide slaves into several groups in


the order of the slave number.
a1×N_slave + a2×N_slot + a3×SIZE ≤ C ............................... (A)
a1, a2, a3,C : Constant parameters
N_slave : Number of communication slave stations
N_slot : Number of slots
SIZE : DI/DO data size

Table 1-15 Constant Parameters in Expression (A)


16i/18i/21i-A/B,
CNC 16/18-C
Power Matei –D/H
a1 37 33
a2 8.6 8.2
Constant
a3 1.3 1.5
C 750 831

- 46 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

With the following procedure, the slaves are divided into several
groups.
<1> Add N_slot and SIZE respectively for each communication slave
station in ascending order of slave numbers. Each time N_slave,
N_slot and SIZE for a slave is added, substitute the cumulative
number of communication slave stations (N_slave), the number
of slots (N_slot) and the DI/DO data size (SIZE) in expression
(A) and check whether the condition is satisfied.
<2> Increase the values of N_slave, N_slot and SIZE and obtain the
maximum values of N_slavemax, N_slotmax and SIZEmax that
satisfy the condition for expression (A).
<3> When the value of the left-hand side exceeds C, clear the values
of N_slave, N_slot and SIZE once. Start calculation from step <1>
as the second group.
<4> Perform steps <1> to <3> for all communication slave stations
and count the number of slave group (n).

Thus, the data refresh time is obtained roughly as follows:


n × 8 msec

Example of calculating the data refresh time


[Conditions]
• CNC model: 16i/18i/21i-A/B
• Communication slave station settings for the master function:
- Slave No. 3: N_slot=1, SIZE = 122/122
- Slave No. 4: N_slot=1, SIZE = 122/122
- Slave No. 5: N_slot=1, SIZE = 122/122
- Slave No. 6: N_slot=1, SIZE = 122/122
[Calculation]
• First group
- Calculation for slave No. 3 and 4:
37×2 + 8.6×(1+1) + 1.3×(244+244)=726 <750
→ N_slave, N_slot and SIZE indicate the maximum values.
Slave No3 and 4 are first group.
- Calculation for slave No. 3 to 5:
37×3 + 8.6×(1+1+1) + 1.3×(244+244+244)=1088 >750
→ The values of N_slave, N_slot and SIZE should be cleared.
• Second group
- Calculation for slave No. 5 to 6:
37×2 + 8.6×(1+1) + 1.3×(244+244)=726 <750
→ Slave No 5 and 6 are second group. and calculation for all
communication slave stations is complete. Thus, the slave
group (n) is determined to be 2.
Thus, the data refresh time is 16 msec for this example.

- 47 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

When both the master and slave functions are used together
In this case, the data refresh time is similar to that described in "When
only the master function is used" above.
However, SIZE: DI/DO data size in expression (A) is as follows:
SIZE = SIZEmas + SIZEslv
SIZEmas : DI/DO data size for the master function
SIZEslv : DI/DO data size for the slave function

Example of calculating the data refresh time


[Conditions]
• CNC model: 16i/18i/21i-A/B
• Communication slave station settings for the master function :
- Slave No. 3: N_slot=1, SIZE = 122/122
- Slave No. 4: N_slot=1, SIZE = 122/122
- Slave No. 5: N_slot=1, SIZE = 122/122
- Slave No. 6: N_slot=1, SIZE = 122/122
• Settings for the slave function : DI/DO SIZE = 8/8

[Calculation]
• First group
- Calculation for slave No. 3 and 4:
37×2 + 8.6×(1+1) + 1.3×(244+244+16)=746 <750
→ N_slave, N_slot and SIZE indicate the maximum values.
Slave No 3 and 4 are first group.
- Calculation for slave No. 3 to 5:
37×3 + 8.6×(1+1+1) + 1.3×(244+244+244+16)=1109 >750
→ The values of N_slave, N_slot and SIZE should be cleared.
• Second group
- Calculation for slave No. 5 to 6:
37×2 + 8.6×(1+1) + 1.3×(244+244+16)=746 <750
→ Slave No 5 and 6 are second group and calculation for all
communication slave stations is complete. Thus slave
group (n) is determined to be 2.
Thus, the data refresh time is 16 msec for this example.

- 48 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Data simultaneity

With the master function and Slave function, when DI/DO signals are
handled with a ladder program, data simultaneity is guaranteed in each
of long data (4-byte data) units and word data (2-byte data) units
under the following constraints.
NOTE
If the following constraints are not satisfied,
simultaneity of each data length cannot be
guaranteed.

Data simultaneity for long data (4-byte data)


<1> Use the following commands in the PMC ladder program in
4-byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVN, EOR, AND, OR, and
NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
follow the rules below depending on the PMC type:
- For the PMC-SB6
Each R address area must start at a 4-byte boundary.
(Example:R0000, R0004, R0008, R0012, . . .)
- For the PMC-SB5, PMC-SA1, or PMC-SA5
Each R address area must start at 2 bytes ahead of a 4-byte
boundary.
(Example: R0002, R0006, R0010, R0014, . . .)

Data simultaneity for word data (2-byte data)


<1> Use the following commands in the PMC ladder program in
2-byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVW, MOVN, EOR, AND,
OR, and NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
each R address area must start at a 2-byte boundary.

Data simultaneity for byte data (1-byte data)


There is no constraint.
Simultaneity is always guaranteed within 1-byte data.

- 49 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Relation with ladder program

The refresh processing of PROFIBUS DI/DO data does not


synchronize with the processing of a ladder program. (Without
relation to the processing of a ladder program, the refresh processing
of PROFIBUS DI/DO data is executed.)
Thus, the following cautions should be considered for the
development of a ladder program.

CAUTION
Data simultaneity within one command of a ladder
program is guaranteed on the conditions of the
previous section.
But even while a ladder program works, the DI/DO
data updating of PROFIBUS is executed regardless
of a ladder program running.
Thus, a ladder programmer should consider the
following points.

- When a certain PROFIBUS input signal which is


set to the specified R address is read by the two
position of a ladder program, and even if the
ladder program can run within one scan time, it is
not guaranteed that the same value can be read.
The second ladder command may read the
different value from the one of the first.

- When a ladder program writes the data of


PRFIBUS output signal into the specified R
address, its signal may be transferred to the
slave before a ladder program runs until the end.

- 50 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.2.7 About the number of available I/O module units


The maximum number of I/O module units per slave station is
determined by Slave parameter length which can be calculated with
the following expression.

Slave parameter length = 26 + [ 9 + USER PRM DATA length] (note)


+ [ 2 + CONFIG DATA length] (note)
+ SLAVE USER DATA length
=< 240 bytes

(note) If the value of […] is an odd number, make it an even number by


adding one to an original value.

The length of each parameter (USER PRM DATA, CONFIG DATA,


SLAVE USER DATA) can be got from PROFIBUS Slave parameter
screen of CNC.

Example
Case 1: USER PRM DATA length =157, CONFIG DATA
length=46, SLAVE USER DATA length=0
26 + [ 9 + 157 ] + [ 2 + 46 ] + 0 = 240 (Available)

Case 2: USER PRM DATA length =158, CONFIG DATA


length=47, SLAVE USER DATA length=0
26 + [ 9 + 158 (+1) ] + [ 2 + 47 (+1)] + 0 = 244 (Not available)

NOTE
1 If Slave parameter length exceeds 240 bytes, the
following message is displayed at the top-menu of
PROFIBUS setting screen on CNC.
• In case of series 6557 of CONTROL SOFTWARE
“SET VALID SLAVE PARAM AND POWER OFF”
• In case of series 6558 of CONTROL SOFTWARE
“INVALID SLAVE EXISTS”
2 According to the limitation of the above-mentioned,
the number of available I/O module units might be
fewer than a capacity of its slave unit defined at
Slave unit’s manual, GSD file, etc.
3 In an instance, approximate 40 I/O module units can
be available per a slave station. (It is a rough
estimate. The length of USER PRM DATA and
CONFIG DATA is variable, depending upon kinds of
I/O module units, as well as the number of units.)
4 This check is executed automatically by using
PROFIBUS Setting Tool (A08B-9510-J530).

- 51 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

About CONFIG DATA length of series 6558 of CONTROL SOFTWARE


Add all length of module data per one slave station and you have the
length of CONFIG DATA.
For example, if Slave station 3 has four slots and the following
module data are set, the length of CONFIG DATA of Slave station 3
is “6” bytes.

Slave No. Slot No. The contents of Module data screen on CNC
3 0 MODULE LENGTH = 1
MODULE = 00

1 MODULE LENGTH = 2
MODULE = 10 20
2 MODULE LENGTH = 1
MODULE = 20

3 MODULE LENGTH = 2
MODULE = 10 20

- 52 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.3 SLAVE FUNCTION SETTING

Addresses must be assigned on a DP-Slave before the slave function


can be used.
By address assignment, a PMC address is set, and the sizes of the
DI/DO areas used for the DI/DO signal transfer between the
DP-Master and DP-Slave are set. The method of setting each
parameter is described below.

NOTE
Before a DP-Slave manufactured by FANUC can be
used, data dependent on the FANUC DP-Slave must
be set in the slave parameters of the DP-Master. So,
when setting the slave parameters of the DP-Master,
see Section 1.4, "Setting the Slave Parameters for
Using a slave Station Manufactured by FANUC" of
B-62924EN

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>. Then, press soft key [PMC] to
switch to the PMC screen.

(2) Pressing soft keys [PMCDGN], [IOCHK] , and [PROFI] in the


stated order displays Screen 1-11.

Screen 1-11

- 53 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

(3) Pressing the soft key [SLAVE] on this screen displays Screen
1-16.
If PROFIBUS parameter settings are set for the first time, the soft
key [INI.AL] should be pressed. By pressing [INI.AL], all of
PROFIBUS master parameters are initialized.

Screen 1-12

Table 1-16 Parameters for Slave function


Item Description
NO Slave number
DI/DO ADDR Start address of DI/DO data
Range: Please refer to “CAUTION”.
DI/DO SIZ Size of DI/DO data
Range: 0 to 244 bytes
IDENT NO Ident number
00A0: 16i/18i/21i-A/B, 16/18-C
00A1:Power Matei –D/H

- 54 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

CAUTION
When assigning addresses, pay careful attention to
the following points:
1 Ensure that the specified DI and DO areas do not
overlap one another.
2 Ensure that specified addresses do not overlap a
work area used for a ladder program.
3 Use the R area only. (When using the PMC-SB5, be
careful not to exceed R1499. When using the
PMC-SB6 or the PMC-NB6, be careful not to
exceed R2999.)

(4) STATUS on Screen 1-12 indicates the state of the DP-Slave.


Each item under STATUS has the meaning described below.

CONFIG STATUS
This item indicates whether slave parameter CONFIG
DATA of the DP-Master matches the configuration data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being performed
(match)
03: State in which received configuration data cannot be
accepted

PARAM STATUS
This item indicates whether slave parameter USER PRM
DATA of the DP-Master matches the parameter data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being performed
(match)
03: State in which received parameter data cannot be
accepted

WATCHDOG STATUS
This item indicates the connection state of the
communication link with the DP-Master.
00: Connected
01: Disconnected

- 55 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

LIVELIST STATUS
This item indicates whether the software of the slave
function is operating normally. During normal operation,
this item counts up from 00 to FF. When FF is reached,
another count operation starts from 00. This status indicates
whether the software of the slave function is operating
normally, but does not indicate whether communication is
being performed normally.

A message may be displayed at the lower left of Screen 1-12. In this


case, take appropriate action, referencing the table below.

Table 1-17 Error messages of Screen 1-12


Message Caution and action
“INVALID INPUT” Invalid value was inputted.
(For example, in the case of attempting to input
a letter into the parameter of a numerical
attribution.)
“ INVALID RANGE” The inputted value is exceeding the range.

- 56 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.3.1 Status Register


With the DP-Master, DP-Master status is set as diagnose data in the R
area of the PMC as described in Section 1.2.3, "Setting for Address
Assignment." With a DP-Slave, a status register is used. This is
equivalent to the diagnose data used with the DP-Master. The status
register is set at address R9094 in the R area of the PMC. For details
of the status register, see Table 1-10.

Table 1-10 Status Register


Item Description
Status register The state of a DP-Slave is indicated. (All the bits below are set by the software of the CNC.)
(Address: R9094) Bit 7: No PROFIBUS board is installed.
(Size: 1 byte) This bit is set when no PROFIBUS board is inserted into the slot.
Bit 6: The DP-Master is not ready for communication.
This bit is set if the DP-Master is not ready for communication when the power to the DP-Slave
is turned on. If communication with the DP-Master is established, but later disabled, this bit
remains set to 0.
Bit 5: Reserved.
Bit 4 or bit 3: The CPU has stopped.
Bit 4 or bit 3 is set when the CPU on the communication board of the DP-Slave has stopped
during communication. Whether bit 4 or bit 3 is set depends on the software processing on the
CNC being performed when the CPU stopped. In either case, the CPU has stopped.
Bit 2: WATCHDOG STATUS error.
This bit is set if a disconnection occurs during communication.
Bit 1: CONFIG STATUS error.
This bit is set if the DP-Slave cannot recognize the CONFIG DATA of the slave parameters of
the DP-Master.
Bit 0: PARAM STATUS error.
This bit is set when the DP-Slave cannot recognize USER PRM DATA of the slave parameters
of the DP-Master.

- 57 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

1.3.2 Updating DI/DO Data for the Slave Function


When creating a ladder program, fully consider the data simultaneity
described below.

Data simultaneity

With the FANUC master function and slave function, when DI/DO
signals are handled with a ladder program, data simultaneity is
guaranteed in each of long data (4-byte data) units and word data
(2-byte data) units under the following constraints.
NOTE
If the following constraints are not satisfied,
simultaneity of each data length cannot be
guaranteed.

Data simultaneity for long data (4-byte data)


<1> Use the following commands in the PMC ladder program in
4-byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVN, EOR, AND, OR, and
NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
follow the rules below depending on the PMC type:
- For the PMC-SB6
Each R address area must start at a 4-byte boundary.
(Example:R0000, R0004, R0008, R0012, . . .)
- For the PMC-SB5, PMC-SA1, or PMC-SA5
Each R address area must start at 2 bytes ahead of a 4-byte
boundary.
(Example: R0002, R0006, R0010, R0014, . . .)
CAUTION
To guarantee long data simultaneity, Edition 08 or
later of series 6557 of CONTROL SOFTWARE
must be used.

Data simultaneity for word data (2-byte data)


<1> Use the following commands in the PMC ladder program in
2-byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVW, MOVN, EOR, AND,
OR, and NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
each R address area must start at a 2-byte boundary.

Data simultaneity for byte data (1-byte data)


There is no constraint.
Simultaneity is always guaranteed within 1-byte data.

- 58 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

1.4 SETTING THE SLAVE PARAMETERS FOR USING A


SLAVE STATION MANUFACTURED BY FANUC

Before the slave station manufactured by FANUC can be used, data


dependent on the FANUC slave station must be set in the slave
parameters of the master station.
Table 1-11 indicates the values to be set in the slave parameters. Note
that if valid values are not set in these parameters, communication
may not be performed normally. (For the function of each slave
parameter, see Table 1-4 in Section 1.2.2, "Slave Parameter Setting.")
Table 1-11 Settings of the Slave Parameters
Item Setting/description
IDENT NO. 00A0: CNC
00A1: Power Mate CNC
Identification number of a slave station using a PROFIBUS product manufactured by FANUC.
SLAVE FLAG C0
Slave specification bit flag.
SLAVE TYPE 0
Manufacturer-specified slave type.
STATION 88
STATUS Bit flag where LOCK_REQ, UNLOCK_REQ, SYNC_REQ, FREEZE_REQ, and WD_REQ are
assigned to the bits starting from the higher bit (Bits 2, 1, and 0 are not used).
LOCK_REQ and WD_REQ only are set to ON.
WD FACT1, 2 Arbitrary
Set an appropriate value according to a desired disconnection detection time.
MIN TSDR Arbitrary
Set an appropriate value according to the state of the network.
GROUP IDENT 0
Set an identification group to be used when SYNC_REQ and FREEZE_REQ are used. With the
slave function of a FANUC CNC, the SYNC_REQ and FREEZE_REQ functions cannot be used.
So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
CONFIG DATA Data size : 3
Data : C0, Number of output bytes - 1, Number of input bytes - 1
Configuration data.
For details of this parameter, see "Explanation of CONFIG DATA" below.
SLAVE USER Data size : 0
DATA Data : None
Slave user data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.

NOTE
All settings indicated in Table 1-11 are represented in hexadecimal.

- 59 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

[Explanation of CONFIG DATA]

CAUTION
Input and output described below indicate the input
and output viewed from the master station,
respectively.
DI and DO indicate the input and output viewed
from the FANUC slave station, respectively.

For CONFIG DATA for using a FANUC slave station, usually set the
value specifying the input/output type with the first data and the
input/output size with the following data.
The value specifying the input/output type is set in hexadecimal as
follows:
(a) For using both input/output (input/output size > 0) : C0
(b) For using only output (input size = 0, output size > 0) : 80
(c) For using only input (input size > 0, output size = 0) : 40

For example, for (a) For using both input/output, the format is as
follows:
Data length: 3
Data: C0 output-size -1 input-size -1

Because the maximum values of input size -1 and output-size -1 are


3F, the above format can be used when the input or output size is up to
64 bytes.
When the input and output sizes are 65 bytes or more, the above
format is repeated as follows:
Data length: 6
Data: C0 output-size -1 input-size -1
C0 output-size -1 input-size -1

For using only output or input, the same format is used as follows:
(b) For using only output
Data length: Multiple of 2
Data: 80 output-size -1 ... repeated
(c) For using only input
Data length: Multiple of 2
Data: 40 input-size -1 ... repeated

The following lists all CONFIG DATA formats.


XX indicates output-size -1 and YY indicates input-size -1 (XX and
YY are hexadecimal numbers.)

(a) Format for using both input/output


<1> When the input size is 1 to 64 and the output size is 1 to 64
Data length: 3
Data: C0 XX YY
<2> When the input size is 65 to 128 and the output size is 65 to
128
(DI SIZE + DO SIZE ≤ 244 must be satisfied, however.)
Data length: 6
- 60 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Data: C0 XX YY C0 XX YY
<3> When the input size is 1 to 64 and the output size is 65 to
128
Data length: 5
Data: C0 XX YY 80 XX
<4> When the input size is 1 to 64 and the output size is 129 to
192
(DI SIZE + DO SIZE ≤ 244 must be satisfied, however.)
Data length: 7
Data: C0 XX YY 80 XX 80 XX
<5> When the input size is 1 to 64 and the output size is 193 to
244
(DI SIZE + DO SIZE ≤ 244 must be satisfied, however.)
Data length: 9
Data: C0 XX YY 80 XX 80 XX 80 XX
<6> When the input size is 65 to 128 and the output size is 1 to
64
Data length: 5
Data: C0 XX YY 40 YY
<7> When the input size is 129 to 192 and the output size is 1 to
64
(DI SIZE + DO SIZE ≤ 244 must be satisfied, however.)
Data length: 7
Data: C0 XX YY 40 YY 40 YY
<8> When the input size is 193 to 244 and the output size is 1 to
64
(DI SIZE + DO SIZE ≤ 244 must be satisfied, however.)
Data length: 9
Data: C0 XX YY 40 YY 40 YY 40 YY
<9> When the input size is 65 to 128 and the output size is 129
to 192
(DI SIZE + DO SIZE ≤ 244 must be satisfied, however.)
Data length: 8
Data: C0 XX YY C0 XX YY 80 XX
<10>When the input size is 129 to 192 and the output size is 65
to 128
(DI SIZE + DO SIZE ≤ 244 must be satisfied, however.)
Data length: 8
Data: C0 XX YY C0 XX YY 40 YY

(b) Format for using output


<1> When the input size is 0 and the output size is 1 to 64
Data length: 2
Data: 80 XX
<2> When the input size is 0 and the output size is 65 to 128
Data length: 4
Data: 80 XX 80 XX
<3> When the input size is 0 and the output size is 129 to 192
Data length: 6
Data: 80 XX 80 XX 80 XX
<4> When the input size is 0 and the output size is 193 to 244
Data length: 8

- 61 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

Data: 80 XX 80 XX 80 XX 80 XX 80 XX

(c) Format for using input


<1> When the input size is 1 to 64 and the output size is 0
Data length: 2
Data: 40 YY
<2> When the input size is 65 to 128 and the output size is 0
Data length: 4
Data: 40 YY 40 YY
<3> When the input size is 129 to 192 and the output size is 0
Data length: 6
Data: 40 YY 40 YY 40 YY
<4> When the input size is 193 to 244 and the output size is 0
Data length: 8
Data: 40 YY 40 YY 40 YY 40 YY 40 YY

- 62 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Tables 1-12 to 1-14 list examples of setting CONFIG DATA for a


master station for reference purposes.

Table 1-12 Examples of “(a) Setting CONFIG DATA for Using Both Input/Output”
Input/output sizes for the DI/DO sizes set for a CONFIG DATA set for the master station
master station FANUC slave station (equivalent to Module in the GSD file)
(a)-<1> Data length: 3
DI/DO SIZE = 64 / 64
Input/output sise = 64 / 64 Data: C0 3F 3F
(a)-<2> Data length: 6
DI/DO SIZE = 122 / 122
Input/output sise = 122 / 122 Data: C0 3F 3F C0 39 39
(a)-<3> Data length: 5
DI/DO SIZE = 128 / 64
Input/output sise = 64 / 128 Data: C0 3F 3F 80 3F
(a)-<4> Data length: 7
DI/DO SIZE = 192 / 1
Input/output sise = 1 / 192 Data: C0 3F 00 80 3F 80 3F
(a)-<5> Data length: 9
DI/DO SIZE = 243 / 1
Input/output sise =1 / 243 Data: C0 3F 00 80 3F 80 3F 80 32
(a)-<6> Data length: 5
DI/DO SIZE = 64 / 128
Input/output sise =128 / 64 Data: C0 3F 3F 40 3F
(a)-<7> Data length: 7
DI/DO SIZE = 1 / 192
Input/output sise = 192 / 1 Data: C0 00 3F 40 3F 40 3F
(a)-<8> Data length: 9
DI/DO SIZE = 1 / 243
Input/output sise = 243 / 1 Data: C0 00 3F 40 3F 40 3F 40 32
(a)-<9> Data length: 8
DI/DO SIZE = 129 / 65
Input/output sise = 65 / 129 Data: C0 3F 3F C0 3F 00 80 00
(a)-<10> Data length: 8
DI/DO SIZE = 65 / 129
Input/output sise =129 / 65 Data: C0 3F 3F C0 00 3F 40 00

Table 1-13 Examples of “(b) Setting CONFIG DATA for Using Only Output”
Input/output sizes for the DI/DO sizes set for a CONFIG DATA set for the master station
master station FANUC slave station (equivalent to Module in the GSD file)
(b)-<1> Data length: 2
DI/DO SIZE = 64 / 0
Input/output sise = 0 / 64 Data: 80 3F
(b)-<2> Data length: 4
DI/DO SIZE = 128 / 0
Input/output sise =0 / 128 Data: 80 3F 80 3F
(b)-<3> Data length: 6
DI/DO SIZE = 192 / 0
Input/output sise = 0 / 192 Data: 80 3F 80 3F 80 3F
(b)-<4> Data length: 8
DI/DO SIZE = 244 / 0
Input/output sise = 0 / 244 Data: 80 3F 80 3F 80 3F 80 33

Table 1-14 Examples of “(c) Setting CONFIG DATA for Using Only Input”
Input/output sizes for the DI/DO sizes set for a CONFIG DATA set for the master station
master station FANUC slave station (equivalent to Module in the GSD file)
(c)-<1> Data length: 2
DI/DO SIZE = 0 / 64
Input/output sise =64 / 0 Data: 40 3F
(c)-<2> Data length: 4
DI/DO SIZE = 0 / 128
Input/output sise = 128 / 0 Data: 40 3F 40 3F
(c)-<3> Data length: 6
DI/DO SIZE = 0 / 192
Input/output sise =192 / 0 Data: 40 3F 40 3F 40 3F
(c)-<4> Data length: 8
DI/DO SIZE = 0 / 244
Input/output sise = 244 / 0 Data: 40 3F 40 3F 40 3F 40 33

NOTE
For a FANUC slave station, a total of 244 bytes can
be set for the DI/DO sizes.

- 63 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

1.5 GSD FILE OF THE FANUC CNCS

A GSD file is attached to all PROFIBUS products that can be used as


master stations and slave stations. Each GSD file contains
product-specific information in a specified format.
This section describes three GSD files for a DP-Master and DP-Slave
using a FANUC CNC, and for a DP-Slave using a FANUC Power
Mate CNC. For details of the GSD files, refer to the following
document issued by PROFIBUS Nutzerorganisation e.V.:
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3

- 64 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

GSD file for a DP-Master using a FANUC CNC

#Profibus_DP
GSD Revision =2
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "3.0"
Ident_Number = 0x00CB
Protocol_Ident =0
Station_Type =1
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 8.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;

- 65 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

; Master specific parameters


;
Download_supp =1
Upload_supp =1
Act_Para_Brct_supp =0
Act_Param_supp =0
Max_MPS_Length = 65532
Max_Lsdu_MS = 244
Max_Lsdu_MM = 244
Min_Poll_Timeout = 100
;
Trdy_9.6 = 10
Trdy_19.2 = 10
Trdy_93.75 = 10
Trdy_187.5 = 10
Trdy_500 = 10
Trdy_1.5M = 10
Trdy_3M = 10
Trdy_6M = 10
Trdy_12M = 10
;
Tqui_9.6 =0
Tqui_19.2 =0
Tqui_93.75 =0
Tqui_187.5 =0
Tqui_500 =0
Tqui_1.5M =0
Tqui_3M =3
Tqui_6M =6
Tqui_12M =9
;
Tset_9.6 =1
Tset_19.2 =1
Tset_93.75 =1
Tset_187.5 =1
Tset_500 =1
Tset_1.5M =1
Tset_3M =4
Tset_6M =8
Tset_12M = 16
;

- 66 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

LAS_Len = 32
;
Tsdi_9.6 = 70
Tsdi_19.2 = 70
Tsdi_93.75 = 70
Tsdi_187.5 = 70
Tsdi_500 = 150
Tsdi_1.5M = 200
Tsdi_3M = 250
Tsdi_6M = 450
Tsdi_12M = 800
;
Max_Slaves_supp = 32
;

- 67 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

GSD file for a DP-Slave using a FANUC CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "2.0"
Ident_Number = 0x00A0
Protocol_Ident =0
Station_Type =0
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 9.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;

- 68 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

; Slave specific parameters


;
Freeze_Mode_supp =0
Sync_Mode_supp =0
Auto_Baud_supp =1
Set_Slave_Add_supp =0
User_Prm_Data_Len =0
Min_Slave_Intervall =1
Modular_Station =1
Max_Module =1
Max_Input_Len = 244
Max_Output_Len = 244
Max_Data_Len = 244
;
Module = "32 Byte Out, 32 Byte In" 0xC0,0x1F,0x1F
EndModule
Module = "28 Byte Out, 28 Byte In" 0xC0,0x1B,0x1B
EndModule
Module = "24 Byte Out, 24 Byte In" 0xC0,0x17,0x17
EndModule
Module = "20 Byte Out, 20 Byte In" 0xC0,0x13,0x13
EndModule
Module = "16 Byte Out, 16 Byte In" 0xC0,0x0F,0x0F
EndModule
Module = "12 Byte Out, 12 Byte In" 0xC0,0x0B,0x0B
EndModule
Module = " 8 Byte Out, 8 Byte In" 0xC0,0x07,0x07
EndModule
Module = " 4 Byte Out, 4 Byte In" 0xC0,0x03,0x03
EndModule
Module = " 2 Byte Out, 2 Byte In" 0xC0,0x01,0x01
EndModule
Module = "32 Byte Out, 1 Byte In" 0xC0,0x1F,0x00
EndModule
Module = " 1 Byte Out, 32 Byte In" 0xC0,0x00,0x1F
EndModule
;

NOTE
For a FANUC slave station, the DI/DO sizes can be
changed without restrictions as long as the total of
the DI/DO sizes does not exceed 244 bytes. For
this reason, all of the values to be specified for
Module cannot be listed.
For the values to be specified for Module, see
Tables 1-12 to 1-14 in Section 1.4, "Setting the
Slave Parameters for Using a Slave Station
Manufactured by FANUC."

- 69 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62923EN/01

GSD file for a DP-Slave using a FANUC Power Mate CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC Power Mate CNC"
Revision = "2.0"
Ident_Number = 0x00A1
Protocol_Ident =0
Station_Type =0
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 9.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;
; Slave specific parameters
;
Freeze_Mode_supp =0
Sync_Mode_supp =0
Auto_Baud_supp =1
Set_Slave_Add_supp =0
User_Prm_Data_Len =0
Min_Slave_Intervall =1
Modular_Station =1
Max_Module =1
Max_Input_Len = 244
Max_Output_Len = 244
Max_Data_Len = 244
;
Module = "32 Byte Out, 32 Byte In" 0xC0,0x1F,0x1F
EndModule
Module = "28 Byte Out, 28 Byte In" 0xC0,0x1B,0x1B
EndModule
- 70 -
B-62923EN/01 OPERATION 1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C

Module = "24 Byte Out, 24 Byte In" 0xC0,0x17,0x17


EndModule
Module = "20 Byte Out, 20 Byte In" 0xC0,0x13,0x13
EndModule
Module = "16 Byte Out, 16 Byte In" 0xC0,0x0F,0x0F
EndModule
Module = "12 Byte Out, 12 Byte In" 0xC0,0x0B,0x0B
EndModule
Module = " 8 Byte Out, 8 Byte In" 0xC0,0x07,0x07
EndModule
Module = " 4 Byte Out, 4 Byte In" 0xC0,0x03,0x03
EndModule
Module = " 2 Byte Out, 2 Byte In" 0xC0,0x01,0x01
EndModule
Module = "32 Byte Out, 1 Byte In" 0xC0,0x1F,0x00
EndModule
Module = " 1 Byte Out, 32 Byte In" 0xC0,0x00,0x1F
EndModule
;

NOTE
For a FANUC slave station, the DI/DO sizes can be
changed without restrictions as long as the total of
the DI/DO sizes does not exceed 244 bytes. For
this reason, all of the values to be specified for
Module cannot be listed.
For the values to be specified for Module, see
Tables 1-12 to 1-14 in Section 1.4, "Setting the
Slave Parameters for Using a Slave Station
Manufactured by FANUC."

- 71 -
2.Series 15i-A/B OPERATION B-62923EN/01

2 Series 15i-A/B
This chapter describes PROFIBUS-DP functions for Series 15i–A/B.

NOTE
PROFIBUS-DP cannot be used with DeviceNet.

- 72 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

2.1 OVERVIEW

In PROFIBUS-DP communication, two types of nodes are involved: a


master station (also referred to as a DP-Master) and a slave station
(also referred to as a DP-Slave). DI/DO data is exchanged between a
DP-Master and DP-Slave according to a data exchange request from
the DP-Master.
The DP-Master function is referred to as the PROFIBUS-DP Master
(class1) function (simply referred to as the master function). The
DP-Slave function is referred to as the PROFIBUS-DP Slave function
(simply referred to as the slave function).

Two classes of DP-Masters are used in PROFIBUS-DP


communication: class1 and class2. A DP-Master (class1) is a
DP-Master that communicates with DP-Slaves. A DP-Master (class2)
is a DP-Master that serves as the management station within a
PROFIBUS-DP system, and communicates with the DP-Master
(class1).
The master function of FANUC CNCs supports only the DP-Master
(class1) function, so that the FANUC DP-Master cannot be used as a
DP-Master (class2).

- 73 -
2.Series 15i-A/B OPERATION B-62923EN/01

2.2 MASTER FUNCTION SETTING

To use the master function, bus parameters and slave parameters must
be set, and addresses must be assigned.
The bus parameters are referenced by the network, and the slave
parameters are set for each slave. In address assignment, PMC
addresses used by the DP-Master to transfer DI/DO signals to and
from each DP-Slave are set.
The methods of setting the parameters are described below.

There are two types of screens for setting parameters.


1 Bus parameter screen
Used for setting bus parameters.
2 Slave parameter screen
Used for setting slave parameters and for address assignment.
Two pages are provided for each DP-Slave, and pages for 126
stations in total are provided.

- 74 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

2.2.1 Bus Parameter Setting

Setting bus parameters


Set parameters on the bus parameter screen.

Screen 2-1

Display procedure
Procedure 1
(1) Press the function key <SYSTEM> several times until the bus
parameter screen, slave parameter screen, or slave function
setting screen appears.
(2) When the slave parameter screen or slave function setting screen
appears, press the soft key [BUS PARAM].
Procedure 2
(1) Press the function key <SYSTEM>.
(2) Press the soft key [PROFIBUS].
(3) When the slave parameter screen or slave function setting screen
appears, press the soft key [BUS PARAM].
Cursor/paging

1 Use of the cursor keys moves the cursor.


• Pressing the cursor key <↓> in MASTER USER DATA
LENGTH moves the cursor to DISABLE/ENABLE on the
slave parameter screen for slave No. 000.
• Pressing the cursor key <↑> in FDL ADD displays the slave
function setting screen.
2 Pressing the page key <PAGE ↓> displays the slave parameter
screen for slave No. 000.
Pressing the page key <PAGE ↑> displays the slave function
setting screen.
Initialization
Use the soft key [INIT] to initialize the bus parameter values to
standard values used with a transfer rate of 12 Mbps.

- 75 -
2.Series 15i-A/B OPERATION B-62923EN/01

Table 2-1 summarizes the bus parameters. Table 2-2 lists the bus
parameter values to be set for each transfer rate. For details, refer to
the following documents issued by PROFIBUS Nutzerorganisation
e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Table 2-1 Bus Parameters


Item Description
FDL ADD Fieldbus data link address.
Station number of the DP-Master.
BAUDRATE Transfer rate code number.
(0:9.6 kbps, 1:19.2 kbps, 2:93.75 kbps, 3:187.5 kbps, 4:500 kbps, 6:1.5 Mbps, 7:3 Mbps,
8:6 Mbps, 9:12 Mbps)
T SL Slot time.
Maximum time from token frame transmission until the first character of a response frame is
read. (Unit: Bit time)
MIN T SDR Minimum station delay time of responders.
Minimum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
MAX T SDR Maximum station delay time of responders.
Maximum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
T QUI Transmitter fall/repeater switch time.
Wait time after data transmission until the receiver can be operated again. (Unit: Bit time)
T SET Setup time.
Time after the occurrence of an event until the execution of the corresponding action is
started. (Unit: Bit time)
T TR Target rotation time.
Estimated time required for a PROFIBUS token to make one rotation. (Unit: Bit time)
G Gap update factor.
Number of tokens that rotate during a gap maintenance period.
HSA Highest station address.
Maximum node number set on the PROFIBUS.
MAX RETRY Maximum number of retries.
BP FLAG User interface flag.
Bit 7: Error_Action_Flag
0: Does not change the operation mode if an error occurs.
1: Changes the operation mode from Operate mode to the Clear mode if an error occurs.
Bits 6 to 0: Reserved (to be set to 0)
MIN SLAVE INT Minimum slave interval between two slave poll cycles.
Minimum polling interval between slaves. (Unit: 100 μs)
POLL TIME OUT Poll timeout for master-master communication.
Maximum wait time after the issue of a request for communication between master stations
until a response is received. (Unit: 1 ms)
DATA CONTROL Time until the data transfer list is updated at least once. (Unit: 10 ms)
CLASS2 NAME Master who created this parameter sets.
Name of the DP-Master (class2) that created the bus parameters.
MASTER USER DATA Data necessary for the bus parameters and specified by the manufacturer.

- 76 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

Remarks) Explanation of terms used in the above table


Bit time : Time (sec) required to send one bit of data
at a specified transfer rate. This is
equivalent to the reciprocal of a transfer
rate (bps).
Gap maintenance : Period during which the list for managing
period the address of the connected DP-Master is
updated. (Unit: Bit time)
Operation mode : Operation mode of a DP-Master (class1).
Offline : Mode that disables
communication with all nodes
Stop : Mode that enables
communication with the
DP-Master (class2)
Clear : Mode in which the output to the
DP-Slave is set to 0
Operate : Mode that enables DI/DO
communication with DP-Slaves
Data transfer list : List with a 16-byte area. This list is held in
the DP-Master so that each bit indicates
whether data transfer to and from each of
the nodes of station numbers 0 to 125 has
been performed (1) or not (0) (bits 6 and 7
of the 16th byte are not used).

- 77 -
2.Series 15i-A/B OPERATION B-62923EN/01

Table 2-2 Bus Parameter Settings Corresponding to Each Transfer Rate


Bus parameter Setting
1: FDL ADD 0 to 2
2: BAUDRATE (Kbps) ≤187.5 500 1500 3000 6000 12000
3: T SL 100 200 300 400 600 1000
4: MIN T SDR 11 11 11 11 11 11
5: MAX T SDR 60 100 150 250 450 800
6: T QUI 0 0 0 3 6 9
7: T SET 1 1 1 4 8 16
8: TTR 65000 65000 65000 65000 65000 65000
9: G 10 10 10 10 10 10
10: HSA 126 126 126 126 126 126
11: MAX RETRY 1 1 1 2 3 4
12: BP FLAG 0 0 0 0 0 0
13: MIN SLAVE INT 1 1 1 1 1 1
14: POLL TIME OUT 1000 1000 1000 1000 1000 1000
15: DATA CONTROL 100 100 100 100 100 100
16: CLASS2 NAME This parameter need not be set.
17: MASTER USER DATA 0 0 0 0 0 0

Viewing this table for parameter setting:


First, determine the value of 2: BAUDRATE. Then, set the other parameters according to the
set baud rate.

NOTE
For multiple master communication, satisfy the
following conditions:
- The value set for 1:FDL ADD for a master station is
not used as another master station number.
- The same values are set for bus parameters 2 to 11
for all master stations.
- When a larger value is set for T SET, T SL is larger
than T ID1.
(T ID1 = 33 + 2 + 2 × T SET + T QUI)

- 78 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

2.2.2 Slave Parameter Setting


Set slave parameters and address assignment on the slave parameter
screen.

Screen 2-2(a)

Screen 2-2(b)

- 79 -
2.Series 15i-A/B OPERATION B-62923EN/01

Display procedure
Procedure 1
(1) Press the function key <SYSTEM> several times until the bus
parameter screen, slave parameter screen, or slave function
setting screen appears.
(2) When the bus parameter screen or slave function setting screen
appears, enter a slave number, then press the soft key [SLAVE
PARAM].
Procedure 2
(1) Press the function key <SYSTEM>.
(2) Press the soft key [PROFIBUS].
(3) When the bus parameter screen or slave function setting screen
appears, enter a slave number, then press the soft key [SLAVE
PARAM].

When a slave number is specified by following procedure 1 or 2


below, the parameters for the specified slave number can be displayed.

Procedure 1
(1) Press the soft key [SLAVE PARAM].
(2) Enter a desired slave number.
(3) Press the soft key [EXEC].
Procedure 2
(1) Enter a desired slave number.
(2) Press the soft key [SLAVE PARAM].

Cursor/paging
1 Use of the cursor keys moves the cursor.
• Pressing the cursor key <↓> in the last line of SLAVE
USER DATA moves the cursor to DISABLE/ENABLE for
the next slave number.
When this cursor key is pressed in the last line of CONFIG
DATA LENGTH for slave No. 125, the cursor moves to
STATION NO. on the slave setting screen.
• Pressing the cursor key <↑> in DISABLE/ENABLE moves
the cursor to CONFIG DATA LENGTH for the preceding
slave number.
When this cursor key is pressed in DISABLE/ENABLE for
slave No. 000, the cursor moves to MASTER USER DATA
LENGTH on the bus parameter screen.

2 Use of the page keys <PAGE ↓> < PAGE ↑> allows paging.
• Pressing the page key <PAGE ↓> on the second page for
slave No. 125 displays the slave setting screen.
• Pressing the page key < PAGE ↑> on the first page for slave
No. 000 displays the bus parameter screen.

- 80 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

Initialization
Pressing the soft key [INIT] initializes the slave parameter values for a
specified station number to the basic settings used for connecting the
DP-Slave of FANUC CNC.

NOTE
1 Normally, use of the soft key [INIT] allows
initialization for connecting FANUC's DP-Slave.
However, be sure to set CONFIGURATION DATA
by referencing Section 2.4, "Setting Slave
Parameters When Using FANUC Slave Station."
This is because variable data for the DI/DO size in
data exchange with the SP-Slave must be set.
2 The soft key [INIT] sets each address assignment
parameter to the minimum value (the address
location is set to R0000). So, be sure to set a
correct value.

- 81 -
2.Series 15i-A/B OPERATION B-62923EN/01

Table 2-3 summarizes the slave parameters. For details, refer to


the following documents issued by PROFIBUS
Nutzerorganisation e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods,
protocols, and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Table 2-3 Slave Parameters


Item Description
DISABLE/ENABLE Specify whether to perform communication with the DP-Slave for which the slave parameters
(DIS/ENB) are set.
DISABLE : Does not perform communication.
ENABLE : Performs communication.
Note) This item specifies whether the DP-Master manufactured by FANUC makes a request
for communication with the DP-Slave. Specifically, this item is not part of the slave
parameters.
IDENT NO. DP-Slave identification number.
Specify the identification number of a DP-Slave to be connected.
SLAVE FLAG Slave specification bit flag.
Bit 7: Active
0: Does not perform communication with the DP-Slave.
1: Performs communication with the DP-Slave.
Bit 6: New_Prm
0: Does not send new parameter data to the DP-Slave.
1: Sends new parameter data to the DP-Slave.
Bits 5 to 0: Reserved (to be service to 0)
SLAVE TYPE Manufacturer-specified type indication for the DP-Slave.
LOCK REQ, UNLOCK When LOCK_REQ=ON and UNLOCK_REQ=OFF are set, the DP-Slave disables the
REQ DP-Master from modifying the parameters.
When LOCK_REQ=OFF and UNLOCK_REQ=ON are set, the DP-Slave allows the
DP-Master to modify the parameters.
SYNC REQ When ON is set, the Sync control command can be used.
FREEZE REQ When ON is set, the Freeze control command can be used.
WD REQ When On is set, disconnection detection is performed.
WD FACT1, WD Coefficients for disconnection detection time determination.
FACT2 10 × WD_FACT1 × WD_FACT2 (msec)
MIN TSDR Minimum wait time until a response is returned to the DP-Master. (Unit: Bit time)
GROUP IDENT Specify groups for the DDLM_Global_Control instruction. Each bit represents a group. Up to
eight groups can be specified.
USER PRM DATA User parameter data.
Data necessary for the slave parameters and specified by the manufacturer.
CONFIG DATA Configuration data.
Data for specifying information such as the size of I/O data to be exchanged between the
DP-Master and DP-Slave.
SLAVE USER DATA Slave user data.
Data specified by the manufacturer to indicate the characteristics of the DP-Slave.

- 82 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

Remarks) Explanation of terms used in the above table


Sync control : Command for specifying operation in Sync
command mode. When operation is performed in Sync
mode, the DP-Slave updates the output signals
only when the Sync control command is
received.
Freeze control : Command for specifying operation in Freeze
command mode. When operation is performed in Freeze
mode, the DP-Slave updates input signals only
when the Freeze control command is received.
Disconnection : Function for checking if data is exchanged
detection normally between the DP-Master and
DP-Slave. If data is not exchanged after the
disconnection detection time determined by
WD FACT1 and WD FACT2 has elapsed, an
error is assumed.
Bit time : Time (sec) required to send one bit of data at a
specified transfer rate. This is equivalent to the
reciprocal of a transfer rate (bps).

- 83 -
2.Series 15i-A/B OPERATION B-62923EN/01

2.2.3 Setting for Address Assignment


Set address assignment on the slave parameter screen described above
(Screen 2-2 (a)).

Screen 2-2(a)

CAUTION
When assigning addresses, pay careful attention to the
following points:
1 Assign addresses to all DP-Slaves that are set to
ENABLE in the slave parameters.
2 Be careful not to assign duplicate addresses to a
DP-Slave.
3 Ensure that a specified DI data area, DO data area,
and diagnose data area do not overlap one another.
4 Ensure that the specified addresses do not overlap
an area used for a ladder program.
5 Use the R area only. (When using PMC-SB5, be
careful not to exceed R1499. When using PMC-SB6
or PMC-NB6, be careful not to exceed R2999.)

- 84 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

Each item must be set as described below.


DI/DO ADDRESS AND DI/DO SIZE
Set the area to be used as a DI/DO data buffer.
DIAGNOSE ADDRESS AND DGN DATA SIZE
Set an area for storing diagnose data. For details of standard
diagnose data, see Table 2-4.

NOTE
Diagnose data is classified as standard diagnose
data and extended diagnose data. The DP-Slaves
manufactured by FANUC use standard diagnose
data (6 bytes) only. On the other hand, DP-Slaves
supplied by other manufacturers may use extended
diagnose data of more than six bytes. When using
DP-Slaves supplied by other manufacturers,
determine the size of the diagnose data by
referencing the GSD file of each DP-Slave.

- 85 -
2.Series 15i-A/B OPERATION B-62923EN/01

Table 2-4 Standard Diagnose data


Item Description
STATION STATUS 1 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Master_Lock
This bit indicates that the parameters of the DP-Slave are set by another DP-Master.
When the value of MASTER_ADDRESS is neither 255 nor the address of the
DP-Master, this bit is set by the DP-Master.
Bit 6: Diag.Prm_Fault
This bit is set by the DP-Slave when the latest parameter data contains an error.
Bit 5: Diag.Invalid_Slave_Response
This bit is set by the DP-Master when incorrect data is received from the DP-Slave.
Bit 4: Diag.Not_Supported
This bit is set by the DP-Slave when the DP-Slave receives an instruction that is not
supported by the DP-Slave.
Bit 3: Diag.Ext_Diag
This bit is set by the DP-Slave when extended diagnose data can be used. The
DP-Master of FANUC CNCs can reference up to 26 bytes of the extended diagnose
data.
Bit 2: Diag.Cfg_Fault
This bit is set by the DP-Slave when the latest configuration data differs from the data
held by the DP-Slave.
Bit 1: Diag.Station_Not_Ready
This bit is set by the DP-Slave when the DP-Slave is not ready for data transfer.
Bit 0: Diag.Station_Non_Existent
This bit is set by the DP-Slave when communication with the DP-Slave is impossible.
STATION STATUS 2 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Deactivated
This bit is set by the DP-Master when communication with the DP-Slave is disabled
during slave parameter setting.
Bit 6: Reserved (undefined)
Bit 5: Diag.Sync_Mode
This bit is set by the DP-Slave when the Sync control command is received.
Bit 4: Diag.Freeze_Mode
This bit is set by the DP-Slave when the Freeze control command is received.
Bit 3: Diag.WD_On
This bit is set by the DP-Slave when the disconnection detection function is operating.
Bit 2: Reserved (set to 1 at all times)
Bit 1: Diag.Stat_Diag
If this bit is set by the DP-Slave, the DP-Master reads the diagnose data until this bit is
reset.
Bit 0: Diag.Prm_Req
This bit is set by the DP-Slave when the parameters of the DP-Slave need to be set
again. The setting of this bit is held until the parameters are set again.
STATION STATUS 3 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Ext_Diag_Overflow
This bit is set by the DP-Slave when diagnose data cannot be stored in the extended
diagnose data area. The DP-Master of FANUC CNCs can reference up to 26 bytes of
the extended diagnose data.
Bits 6 to 0: Reserved
MASTER ADDRESS The address of the DP-Master that set the parameters of the DP-Slave is set. If the
(Size: 1 byte) parameters are not set by the DP-Master, 255 is set.
IDENT NUMBER The identification number of a DP-Slave is set.
(Size: 2 bytes)

- 86 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

For details, refer to the following documents issued by PROFIBUS


Nutzerorganisation e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Example) For explanation, the example shown in Screen 2-2(a) is


used.
On Screen 2-2(a), SLAVE NUMBER is 3. So, addresses
are assigned to the DP-Slave at station number 3.
DI ADDRESS is R0000, and DI SIZE is 32. So, a 32-byte
DI data area is assigned, starting at R0000, to the
DP-Slave at station number 3, as indicated below.
DO ADDRESS is R0100, and DO SIZE is 16. So, a
16-byte DO data area is assigned, starting at R0100, to the
DP-Slave of station number 3, as indicated below.

DI data area assignment


R0000
DI data from DP-Slave #3
R0032

DO data area assignment


R0100
DO data to DP-Slave #3
R0116

For diagnose data, similarly, DGN ADDRESS is R0200,


and DGN DATA SIZE is 6. So, a 6-byte diagnose data
area is assigned, starting at R0200, to the DP-Slave of
station number 3, as indicated below.

Diagnose data area assignment


R0200
Diagnose data of DP-Slave #3
R0206

- 87 -
2.Series 15i-A/B OPERATION B-62923EN/01

2.3 SLAVE FUNCTION SETTING

Addresses must be assigned on a DP-Slave before the slave function


can be used.
By address assignment, a PMC address is set, and the sizes of the
DI/DO areas used for the DI/DO signal transfer between the
DP-Master and DP-Slave are set. The method of setting each
parameter is described below.

NOTE
Before a DP-Slave manufactured by FANUC can be
used, data dependent on the FANUC DP-Slave must
be set in the slave parameters of the DP-Master. So,
when setting the slave parameters of the DP-Master,
see Section 2.4, "Setting the Slave Parameters for
Using a slave Station Manufactured by FANUC."

Screen 2-3

NOTE
INPUT DATA SIZE = 0 or OUTPUT DATA SIZE = 0
can be set on the screen, but communication is
disabled in this case.

- 88 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

Display procedure
Procedure 1
(1) Press the <SYSTEM> function key several times until the bus
parameter screen, slave parameter screen, or slave function
setting screen appears.
(2) When the bus parameter screen or slave parameter screen appears,
press the soft key [SLAVE SETTING].

Procedure 2
(1) Press the <SYSTEM> function key .
(2) Press the soft key [PROFIBUS-DP].
(3) When the bus parameter screen or slave parameter screen appears,
press the soft key [SLAVE SETTING].

Cursor/paging
1 Use of the cursor keys <↓> <↑> moves the cursor.
• When the cursor key <↓> is pressed in OUTPUT DATA
SIZE, the cursor moves to FDL ADD on the bus parameter
screen.
• When the cursor key <↓> is pressed in STATION NO., the
cursor moves to CONFIG DATA LENGTH on the slave
parameter screen for slave No. 125.

2 Pressing the page key <PAGE ↓> displays the bus parameter
screen.
Pressing the page key <PAGE ↑> displays the slave parameter
screen for slave No. 125.

Initialization
Pressing the soft key [INIT] clears the address assignment parameters.

CAUTION
When assigning addresses, pay careful attention to
the following points:
1 Ensure that the specified DI and DO areas do not
overlap one another.
2 Ensure that specified addresses do not overlap an
area used for a ladder program.
3 Use the R area only. (When using the PMC-SB5, be
careful not to exceed R1499. When using the
PMC-SB6 or the PMC-NB6, be careful not to
exceed R2999.)

- 89 -
2.Series 15i-A/B OPERATION B-62923EN/01

Each item must be set as described below.


STATION NO.
Set the station number of the DP-Slave.
INPUT DATA
Set an area to be used as a DI data buffer. Set the start address
and size of the buffer.
OUTPUT DATA
Set an area to be used as a DO data buffer. Set the start address
and size of the buffer.

CAUTION
INPUT and OUTPUT on this screen indicate the
input and output viewed from the slave station,
respectively.

Example) For explanation, the example shown in Screen 2-3 is used.


On Screen 2-3, the station number of the DP-Slave is 3. A
DI data area and DO data area used as buffers for
communication with the DP-Master are assigned as
described below.

DI data area assignment


R0300
DI data from the DP-Master
R0316

DO data area assignment


R0400
DO data to the DP-Master
R0432

- 90 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

STATUS on Screen 2-4 indicates the state of the DP-Slave. Each item
under STATUS has the meaning described below.
CFG STATUS
This item indicates whether slave parameter CONFIG
DATA of the DP-Master matches the configuration data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being
performed (match)
03: State in which received configuration data cannot be
accepted
PARAM STATUS
This item indicates whether slave parameter USER PRM
DATA of the DP-Master matches the parameter data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being
performed (match)
03: State in which received parameter data cannot be
accepted
WATCHDOG STATUS
This item indicates the connection state of the
communication link with the DP-Master.
00: Connected
01: Disconnected
LIVELIST STATUS
This item indicates whether the software of the slave
function is operating normally. During normal operation,
this item counts up from 00 to FF. When FF is reached,
another count operation starts from 00. This status indicates
whether the software of the slave function is operating
normally, but does not indicate whether communication is
being performed normally.
IDENT NO.
This item displays 00A0 as the identification number of a
DP-Slave using a FANUC CNC.

- 91 -
2.Series 15i-A/B OPERATION B-62923EN/01

2.3.1 Status Register


With the DP-Master, DP-Master status is set as diagnose data in the R
area of the PMC as described in Section 2.2.3, "Setting for Address
Assignment." With a DP-Slave, a status register is used. This is
equivalent to the diagnose data used with the DP-Master. The status
register is set at address R9094 in the R area of the PMC. For details
of the status register, see Table 2-5.

Table 2-5 Status Register


Item Description
Status register The state of a DP-Slave is indicated. (All the bits below are set by the software of the CNC.)
(Address: R9094) Bit 7: No PROFIBUS board is installed.
(Size: 1 byte) This bit is set when no PROFIBUS board is inserted into the slot.
Bit 6: The DP-Master is not ready for communication.
This bit is set if the DP-Master is not ready for communication when the power to the DP-Slave
is turned on. If communication with the DP-Master is established, but later disabled, this bit
remains set to 0.
Bit 5: Reserved.
Bit 4 or bit 3: The CPU has stopped.
Bit 4 or bit 3 is set when the CPU on the communication board of the DP-Slave has stopped
during communication. Whether bit 4 or bit 3 is set depends on the software processing on the
CNC being performed when the CPU stopped. In either case, the CPU has stopped.
Bit 2: WATCHDOG STATUS error.
This bit is set if a disconnection occurs during communication.
Bit 1: CONFIG STATUS error.
This bit is set if the DP-Slave cannot recognize the CONFIG DATA of the slave parameters of
the DP-Master.
Bit 0: PARAM STATUS error.
This bit is set when the DP-Slave cannot recognize USER PRM DATA of the slave parameters
of the DP-Master.

- 92 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

2.4 SETTING THE SLAVE PARAMETERS FOR USING A


SLAVE STATION MANUFACTURED BY FANUC

Before the slave station manufactured by FANUC can be used, data


dependent on the FANUC slave station must be set in the slave
parameters of the master station.
Table 2-6 indicates the values to be set in the slave parameters. Note
that if valid values are not set in these parameters, communication
may not be performed normally. (For the function of each slave
parameter, see Table 2-3 in Section 2.2.2, "Slave Parameter Setting.")

Table 2-6 Settings of the Slave Parameters


Item Setting/description
IDENT NO. 00A0: CNC
00A1: Power Mate CNC
Identification number of a slave station using a PROFIBUS product manufactured by FANUC.
SLAVE FLAG C0
Slave specification bit flag.
SLAVE TYPE 0
Manufacturer-specified slave type.
STATION 88
STATUS Bit flag where LOCK_REQ, UNLOCK_REQ, SYNC_REQ, FREEZE_REQ, and WD_REQ are
assigned to the bits starting from the higher bit (Bits 2, 1, and 0 are not used).
LOCK_REQ and WD_REQ only are set to ON.
WD FACT1, 2 Arbitrary
Set an appropriate value according to a desired disconnection detection time.
MIN TSDR Arbitrary
Set an appropriate value according to the state of the network.
GROUP IDENT 0
Set an identification group to be used when SYNC_REQ and FREEZE_REQ are used. With the
slave function of a FANUC CNC, the SYNC_REQ and FREEZE_REQ functions cannot be used.
So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
CONFIG DATA Data size : 3
Data : C0, Number of output bytes - 1, Number of input bytes - 1
Configuration data.
As the data size, specify 3.
As data, specify C0 in the first byte, followed by the number of output bytes - 1 and the number of
input bytes - 1.
For the input/output of 32-byte output data (256 points) and 16-byte input data (128 points), for
example, specify C0, 1F, 0F in the data field.
SLAVE USER Data size : 0
DATA Data : None
Slave user data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.

NOTE
All settings indicated in Table 2-6 are represented in hexadecimal.

- 93 -
2.Series 15i-A/B OPERATION B-62923EN/01

2.5 GSD FILE OF THE FANUC CNCS

A GSD file is attached to all PROFIBUS products that can be used as


master stations and slave stations. Each GSD file contains
product-specific information in a specified format.
This section describes three GSD files for a DP-Master and DP-Slave
using a FANUC CNC. For details of the GSD files, refer to the
following document issued by PROFIBUS Nutzerorganisation e.V.:
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3

- 94 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

GSD file for a DP-Master using a FANUC CNC

#Profibus_DP
GSD Revision =2
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "2.0"
Ident_Number = 0x00CB
Protocol_Ident =0
Station_Type =1
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 8.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;

- 95 -
2.Series 15i-A/B OPERATION B-62923EN/01

; Master specific parameters


;
Download_supp =1
Upload_supp =1
Act_Para_Brct_supp =0
Act_Param_supp =0
Max_MPS_Length = 65532
Max_Lsdu_MS = 244
Max_Lsdu_MM = 244
Min_Poll_Timeout = 100
;
Trdy_9.6 = 10
Trdy_19.2 = 10
Trdy_93.75 = 10
Trdy_187.5 = 10
Trdy_500 = 10
Trdy_1.5M = 10
Trdy_3M = 10
Trdy_6M = 10
Trdy_12M = 10
;
Tqui_9.6 =0
Tqui_19.2 =0
Tqui_93.75 =0
Tqui_187.5 =0
Tqui_500 =0
Tqui_1.5M =0
Tqui_3M =3
Tqui_6M =6
Tqui_12M =9
;
Tset_9.6 =1
Tset_19.2 =1
Tset_93.75 =1
Tset_187.5 =1
Tset_500 =1
Tset_1.5M =1
Tset_3M =4
Tset_6M =8
Tset_12M = 16
;

- 96 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

LAS_Len = 32
;
Tsdi_9.6 = 70
Tsdi_19.2 = 70
Tsdi_93.75 = 70
Tsdi_187.5 = 70
Tsdi_500 = 150
Tsdi_1.5M = 200
Tsdi_3M = 250
Tsdi_6M = 450
Tsdi_12M = 800
;
Max_Slaves_supp = 32
;

- 97 -
2.Series 15i-A/B OPERATION B-62923EN/01

GSD file for a DP-Slave using a FANUC CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "1.0"
Ident_Number = 0x00A0
Protocol_Ident =0
Station_Type =0
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 9.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;

; Slave specific parameters


;
Freeze_Mode_supp =0
Sync_Mode_supp =0
Auto_Baud_supp =1
Set_Slave_Add_supp =0
User_Prm_Data_Len =0
Min_Slave_Intervall =1
Modular_Station =1
Max_Module =1
Max_Input_Len = 32
Max_Output_Len = 32
Max_Data_Len = 64
;
Module = "32 Byte Out, 32 Byte In" 0xC0,0x1F,0x1F
EndModule
Module = "28 Byte Out, 28 Byte In" 0xC0,0x1B,0x1B
- 98 -
B-62923EN/01 OPERATION 2.Series 15i-A/B

EndModule
Module = "24 Byte Out, 24 Byte In" 0xC0,0x17,0x17
EndModule
Module = "20 Byte Out, 20 Byte In" 0xC0,0x13,0x13
EndModule
Module = "16 Byte Out, 16 Byte In" 0xC0,0x0F,0x0F
EndModule
Module = "12 Byte Out, 12 Byte In" 0xC0,0x0B,0x0B
EndModule
Module = " 8 Byte Out, 8 Byte In" 0xC0,0x07,0x07
EndModule
Module = " 4 Byte Out, 4 Byte In" 0xC0,0x03,0x03
EndModule
Module = " 2 Byte Out, 2 Byte In" 0xC0,0x01,0x01
EndModule
Module = "32 Byte Out, 1 Byte In" 0xC0,0x1F,0x00
EndModule
Module = " 1 Byte Out, 32 Byte In" 0xC0,0x00,0x1F
EndModule
;

NOTE
For a FANUC slave station, Module in the GSD file
matches slave parameter CONFIG DATA. The
DI/DO sizes for a FANUC slave station can be
changed without restrictions as long as they do not
exceed 32/32 bytes. For this reason, all of the
values to be specified for Module cannot be listed.
For the values to be specified for Module, see the
explanation of CONFIG DATA in Table 2-6 in
Section 2.4, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 99 -
3.Power Mate-D/H OPERATION B-62923EN/01

3 Power Mate-D/H
This chapter describes PROFIBUS-DP functions for Power
Mate-D/H.

NOTE
PROFIBUS-DP cannot be used with DeviceNet.

- 100 -
B-62923EN/01 OPERATION 3.Power Mate-D/H

3.1 SLAVE FUNCTION SETTING

Procedure using the CRT/MDI


(1) Press function key <SYSTEM>, then press soft key
[PARAMETER] to display the parameter screen of the Power
Mate-D/H.
(2) Set the parameters described below in the same way as for
ordinary parameters.
(3) With the slave function of the Power Mate-D/H, the PMC
addresses used for DI/DO input are X1032 and up, and the PMC
addresses used for DI/DO output are Y1032 and up at all times.
An area of the size specified in each parameter is used.

Parameters
0171 DI data size

[Data type] Word


[Unit of data] Word
[Valid data range] 1 to 32
This parameter specifies the size of DI data to be transferred to and
from the DP-Master, by using the number of bytes.

0172 DO data size

[Data type] Word


[Unit of data] Word
[Valid data range] 1 to 32
This parameter specifies the size of the DO data to be transferred to
and from the DP-Master, by using the number of bytes.

0173 Station number of the DP-Slave

[Data type] Word


[Unit of data] Word
[Valid data range] 1 to 125
This parameter specifies the station number of the DP-Slave.

Procedure using the DPL/MDI


(1) Press the <DGNOS/PARAM> key to switch to the parameter
screen of the Power Mate-D/H.
(2) Set the parameters described earlier in the same way as for
ordinary parameters.

- 101 -
3.Power Mate-D/H OPERATION B-62923EN/01

3.2 SETTING THE SLAVE PARAMETERS FOR USING A


SLAVE STATION MANUFACTURED BY FANUC

Before the slave station manufactured by FANUC can be used, data


dependent on the FANUC slave station must be set in the slave
parameters of the master station.
Table 3-1 indicates the values to be set in the slave parameters. Note
that if valid values are not set in these parameters, communication
may not be performed normally. (For the meaning of each slave
parameter, refer to the manuals for the remote master station.)
Table 3-1 Settings of the Slave Parameters
Item Setting/description
IDENT NO. 00A0: CNC
00A1: Power Mate CNC
Identification number of a slave station using a PROFIBUS product manufactured by FANUC.
SLAVE FLAG C0
Slave specification bit flag.
SLAVE TYPE 0
Manufacturer-specified slave type.
STATION 88
STATUS Bit flag where LOCK_REQ, UNLOCK_REQ, SYNC_REQ, FREEZE_REQ, and WD_REQ are
assigned to the bits starting from the higher bit (Bits 2, 1, and 0 are not used).
LOCK_REQ and WD_REQ only are set to ON.
WD FACT1, 2 Arbitrary
Set an appropriate value according to a desired disconnection detection time.
MIN TSDR Arbitrary
Set an appropriate value according to the state of the network.
GROUP IDENT 0
Set an identification group to be used when SYNC_REQ and FREEZE_REQ are used. With the
slave function of a FANUC CNC, the SYNC_REQ and FREEZE_REQ functions cannot be used.
So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
CONFIG DATA Data size : 3
Data : C0, Number of output bytes - 1, Number of input bytes - 1
Configuration data.
As the data size, specify 3.
As data, specify C0 in the first byte, followed by the number of output bytes - 1 and the number of
input bytes - 1.
For the input/output of 32-byte output data (256 points) and 16-byte input data (128 points), for
example, specify C0, 1F, 0F in the data field.
SLAVE USER Data size : 0
DATA Data : None
Slave user data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.

NOTE
All settings indicated in Table 3-1 are represented in hexadecimal.

- 102 -
B-62923EN/01 OPERATION 3.Power Mate-D/H

3.3 GSD FILE OF THE FANUC CNCS

A GSD file is attached to all PROFIBUS products that can be used as


master stations and slave stations. Each GSD file contains
product-specific information in a specified format.
This section describes three GSD files for a DP-Slave using a FANUC
Power Mate CNC. For details of the GSD files, refer to the following
document issued by PROFIBUS Nutzerorganisation e.V.:
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3

- 103 -
3.Power Mate-D/H OPERATION B-62923EN/01

GSD file for a DP-Slave using a FANUC Power Mate CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC Power Mate CNC"
Revision = "1.0"
Ident_Number = 0x00A1
Protocol_Ident =0
Station_Type =0
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 7.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;
; Slave specific parameters
;
Freeze_Mode_supp =0
Sync_Mode_supp =0
Auto_Baud_supp =1
Set_Slave_Add_supp =0
User_Prm_Data_Len =0
Min_Slave_Intervall =1
Modular_Station =1
Max_Module =1
Max_Input_Len = 32
Max_Output_Len = 32
Max_Data_Len = 64
;
Module = "32 Byte Out, 32 Byte In" 0xC0,0x1F,0x1F
EndModule
Module = "28 Byte Out, 28 Byte In" 0xC0,0x1B,0x1B
EndModule
- 104 -
B-62923EN/01 OPERATION 3.Power Mate-D/H

Module = "24 Byte Out, 24 Byte In" 0xC0,0x17,0x17


EndModule
Module = "20 Byte Out, 20 Byte In" 0xC0,0x13,0x13
EndModule
Module = "16 Byte Out, 16 Byte In" 0xC0,0x0F,0x0F
EndModule
Module = "12 Byte Out, 12 Byte In" 0xC0,0x0B,0x0B
EndModule
Module = " 8 Byte Out, 8 Byte In" 0xC0,0x07,0x07
EndModule
Module = " 4 Byte Out, 4 Byte In" 0xC0,0x03,0x03
EndModule
Module = " 2 Byte Out, 2 Byte In" 0xC0,0x01,0x01
EndModule
Module = "32 Byte Out, 1 Byte In" 0xC0,0x1F,0x00
EndModule
Module = " 1 Byte Out, 32 Byte In" 0xC0,0x00,0x1F
EndModule
;

NOTE
For a FANUC slave station, Module in the GSD file
matches slave parameter CONFIG DATA. The
DI/DO sizes for a FANUC slave station can be
changed without restrictions as long as they do not
exceed 32/32 bytes. For this reason, all of the
values to be specified for Module cannot be listed.
For the values to be specified for Module, see the
explanation of CONFIG DATA in Table 3-1 in
Section 3.2, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 105 -
4.BUILDING A SAFE SYSTEM OPERATION B-62923EN/01

4 BUILDING A SAFE SYSTEM


This chapter describes how to build a safe system using the
PROFIBUS-DP function.

- 106 -
B-62923EN/01 OPERATION 4.BUILDING A SAFE SYSTEM

4.1 SYSTEM SAFETY

The PROFIBUS-DP Master function manufactured by FANUC is


designed so that all DI signals are set to 0 when communication is not
performed normally. For this reason, to enable or disable a function
with a DI signal, build the system so that the system continues to
operate safely when the signal is set to 0.
PROFIBUS-DP communication employs a master-slave
communication mode. For this reason, ensure that the master station
always monitors the status of each slave to ensure safe system
operation.

For example, the master station can read and check the diagnose data
for each slave station to determine whether communication with the
slave station is being performed normally. A check method with using
no diagnose data is also supported. A signal for indicating normal
communication is provided in DI/DO data to be exchanged, and is
monitored to determine whether communication between the master
station and a slave station is performed normally.
As described above, for the master station, provide safety provisions
to ensure that the system is not started or is stopped safely if the
system is not ready for execution or if an error occurs in the system.

CAUTION
I/O data is not transferred in sync with ladder
execution, so that the concurrency of I/O data is not
guaranteed.

Table 4-1 indicates information about the processing to be performed


for the major communication states in the FANUC master station. By
referring to Table 4-1, build a safe system.

- 107 -
4.BUILDING A SAFE SYSTEM OPERATION B-62923EN/01

Table 4-1 Processing Related to Building a Safe System (1/2)


Processing performed by the FANUC master function Processing to be performed
Communication state Diagnose data for the DI/DO data exchanged with by the user on the FANUC
relevant slave station the relevant slave station master station
Set the system execution
DI data:
signal (see NOTE below) to
The DI signals from the
be sent to other slave stations
relevant slave station are
The power to the relevant to 1 to notify them of the start
not input to the PMC area.
slave station is not on or Station_Non_Existent : ON of system operation when
DO data:
the slave station is (STATION STATUS 1.0) system operation is
The DO signals in the
disconnected. determined to be possible
PMC area are not output
from the establishment status
to the relevant slave
of communication with the
station.
slave stations.
Set the system execution
DI data:
signal (see NOTE below) to
The DI signals from the
be sent to other slave stations
An attempt is made to start relevant slave station are
to 1 to notify them of the start
communication with the not input to the PMC area.
Station_Not_Ready : ON of system operation when
relevant slave station, but DO data:
(STATION STATUS 1.1) system operation is
DI/DO data cannot be The DO signals in the
determined to be possible
exchanged. PMC area are not output
from the establishment status
to the relevant slave
of communication with the
station.
slave stations.
Set the system execution
DI data: signal (see NOTE below) to
Communication with the The DI signals from the be sent to other slave stations
Station_Non_Existent : OFF
relevant slave station has relevant slave station are to 1 to notify them of the start
(STATION STATUS 1.0)
been established, but input to the PMC area. of system operation when
and
communication with other DO data: system operation is
Station_Not_Ready : OFF
slave stations has not The DO signals in the determined to be possible
(STATION STATUS 1.1)
been established. PMC area are output to from the establishment status
the relevant slave station. of communication with the
slave stations.
DI data: Set the system execution
The DI signals from the signal (see NOTE below) to
Station_Non_Existent : OFF
Communication with the relevant slave station are be sent to all slave stations to
(STATION STATUS 1.0)
relevant slave station and input to the PMC area. 1 to notify them of the start of
and
other slave stations has DO data: system operation. The system
Station_Not_Ready : OFF
been established. The DO signals in the should be operated normally.
(STATION STATUS 1.1)
PMC area are output to Continue monitoring system
the relevant slave station. operation.

NOTE
The system execution signal in Table 4-1 means to provide a signal for starting
system operation in the DO data to be sent from the master station to all slave
stations. Ensure that this signal disables system operation when set to 0, and
enables system operation when set to 1, as with the emergency stop signal.

- 108 -
B-62923EN/01 OPERATION 4.BUILDING A SAFE SYSTEM

Table 4-1 Processing Related to Building a Safe System (2/2)


Processing performed by the FANUC master function Processing to be performed
Communication state Diagnose data for the DI/DO data exchanged with by the user on the FANUC
relevant slave station the relevant slave station master station
When stopping of the system
DI data:
is determined to be necessary
The DI signals from the
After system operation from the establishment status
relevant slave station are
starts, the power to the of communication with other
Station_Non_Existent : ON cleared to 0.
relevant slave station is slave stations, set the system
(STATION STATUS 1.0) DO data:
turned off or the slave execution signal to be sent to
The DO signals in the PMC
station is disconnected. the slave stations to 0 to
area are not output to the
notify them of the stop of
relevant slave station.
system operation.
When stopping of the system
DI data:
After system operation is determined to be necessary
The DI signals from the
starts, communication with Station_Non_Existent : OFF from the establishment status
relevant slave station are
the relevant slave station is (STATION STATUS 1.0) of communication with other
input to the PMC area.
established, but the power and slave stations, set the system
DO data:
to another slave station is Station_Not_Ready : OFF execution signal to be sent to
The DO signals in the PMC
off or the station is (STATION STATUS 1.1) the slave stations to 0 to
area are output to the
disconnected. notify them of the stop of
relevant slave station.
system operation.
When stopping of the system
DI data:
is determined to be necessary
The DI signals from the
After system operation from the establishment status
relevant slave station are
starts, the relevant slave of communication with other
Invalid_Slave_Response : ON cleared to 0.
station sends back an slave stations, set the system
(STATION STATUS 1.5) DO data:
invalid response (such as a execution signal to be sent to
The DO signals in the PMC
damaged packet). the slave stations to 0 to
area are not output to the
notify them of the stop of
relevant slave station.
system operation.
When stopping of the system
DI data:
After system operation is determined to be necessary
The DI signals from the
starts, communication with Station_Non_Existent : OFF from the establishment status
relevant slave station are
the relevant slave station is (STATION STATUS 1.0) of communication with other
input to the PMC area.
established, but another and slave stations, set the system
DO data:
slave station sends back Station_Not_Ready : OFF execution signal to be sent to
The DO signals in the PMC
an invalid response (such (STATION STATUS 1.1) the slave stations to 0 to
area are output to the
as a damaged packet). notify them of the stop of
relevant slave station.
system operation.

- 109 -
5.EXAMPLE OF CONNECTION OPERATION B-62923EN/01

5 EXAMPLE OF CONNECTION
This chapter describes an example of connecting the PROFIBUS-DP
function of the FANUC CNCs.

- 110 -
B-62923EN/01 OPERATION 5.EXAMPLE OF CONNECTION

5.1 EXAMPLE OF CONFIGURATION

Using the example configuration shown below, the setting of each


parameter is explained.

Series 16i-A
DP-Master (class1) #1

16 bytes 16 bytes 16 bytes PROFIBUS (12 Mbps)

4 bytes 4 bytes 4 bytes

Series 18i-A Series 18-C Power Mate-H

DP-Slave #3 DP-Slave #4 DP-Slave #5

Fig. 5-1 Example of PROFIBUS-DP Configuration

In the example configuration shown in Fig.5-1, a Series 16i-A station


serving as a DP-Master is connected to a Series 18i-A station, Series
18-C station, and Power Mate-H station acting as DP-Slaves. Data
consisting of 16 bytes (128 points) is transferred from the DP-Master
to each of the DP-Slaves, and data consisting of 4 bytes (32 points) is
transferred from each of the DP-Slaves to the DP-Master.
The transfer rate is 12 Mbps. Station number 1 is assigned to the
DP-Master, and station numbers 3, 4, and 5 are assigned to the
DP-Slaves, from left to right.

- 111 -
5.EXAMPLE OF CONNECTION OPERATION B-62923EN/01

5.1.1 Master Station Setting

Bus parameter setting


When a transfer rate of 12 Mbps is used, press soft key [INIT] on the
bus parameter screen. Then, the bus parameters are set as indicated in
Table 5-1.
To change the transfer rate from 12 Mbps to another value, see the
table titled "Bus Parameter Settings Corresponding to Each Transfer
Rate" at the end of the section for each model that is titled "Bus
Parameter Setting."

Table 5-1 Bus Parameter Settings


Item Setting
FDL ADD 1
BAUDRATE 9
T SL 1000
MIN T SDR 11
MAX T SDR 800
T QUI 9
T SET 16
TTR 65000
G 10
HSA 126
MAX RETRY 4
BP FLAG 00000000
MIN SLAVE INT 1
POLL TIME OUT 1000
DATA CONTROL 100
CLASS2 NAME Non
MASTER USER DATA 0

- 112 -
B-62923EN/01 OPERATION 5.EXAMPLE OF CONNECTION

Slave parameter setting


Only FANUC CNCs are connected as the DP-Slaves. So, the values
set by pressing soft key [INIT] on the slave parameter setting screen
are used for each DP-Slave.
However, IDENT NO. and CONFIG DATA must be set. Set these
slave parameters in the same way for each of DP-Slave #3 through
DP-Slave #5. For details of the settings, see Table 5-2.

Table 5-2 Slave Parameter Settings


Item Setting
DIS/ENB ENABLE
IDENT NO. #3: 00A0 (Series 18i-A)
#4: 00A0 (Series 18-C)
#5: 00A1 (Power Mate-H)
SLAVE FLAG 192
SLAVE TYPE 0
LOCK REQ ON
UNLOCK REQ OFF
SYNC REQ OFF
FREEZE REQ OFF
WD REQ ON
WD FACT1 10
WD FACT2 10
MIN TSDR 55
GROUP IDENT 0
USER PRM DATA 0
CONFIG DATA 3 (C0, 03, 0F)
SLAVE USER DATA 0

- 113 -
5.EXAMPLE OF CONNECTION OPERATION B-62923EN/01

Settings for address assignment


When the address map shown in Fig.5-2 is assumed, the settings
indicated in Table 5-3 are required.

Table 5-3 Settings for Address Assignment


Slave No. Item Setting
DI ADDRESS R0000
DI SIZE 4
DO ADDRESS R0020
3
DO SIZE 16
DGN ADDRESS R0070
DGN SIZE 6
DI ADDRESS R0004
DI SIZE 4
DO ADDRESS R0036
4
DO SIZE 16
DGN ADDRESS R0076
DGN SIZE 6
DI ADDRESS R0008
DI SIZE 4
DO ADDRESS R0052
5
DO SIZE 16
DGN ADDRESS R0082
DGN SIZE 6

- 114 -
B-62923EN/01 OPERATION 5.EXAMPLE OF CONNECTION

R0000
DI data from DP-Slave #3
R0004
DI data from DP-Slave #4
R0008
DI data from DP-Slave #5
R0012
Not used
R0020
DO data to DP-Slave #3
R0036
DO data to DP-Slave #4
R0052
DO data to DP-Slave #5
R0068
Not used
R0070
Diagnose data of DP-Slave #3
R0076
Diagnose data of DP-Slave #4
R0082
Diagnose data of DP-Slave #5
R0088

Fig.5-2 DP-Master Address Map

- 115 -
5.EXAMPLE OF CONNECTION OPERATION B-62923EN/01

5.1.2 Slave Station Setting


When the address map shown in Fig.5-3 is assumed for each DP-Slave,
the settings indicated in Table 5-4 to Table 5-6 are required.

Table 5-4 Settings for DP-Slave #3


Item Setting
STATION NO. 3
DI ADDRESS R0000
DI SIZE 16
DO ADDRESS R0020
DO SIZE 4

Table 5-5 Settings for DP-Slave #4


Item Setting
STATION NO. 4
DI ADDRESS R0000
DI SIZE 16
DO ADDRESS R0020
DO SIZE 4

Table 5-6 Settings for DP-Slave #5


Item Setting
Parameter No. 0171 16
Parameter No. 0172 4
Parameter No. 0173 5

- 116 -
B-62923EN/01 OPERATION 5.EXAMPLE OF CONNECTION

DP-Slave #3, #4
R0000
DI area
R0016
Not used
R0020
DO area
R0024

DP-Slave #5
X1032
DI area
X1048

Y1032
DO area
Y1036

Fig.5-3 DP-Slave Address Map

- 117 -
III. CONNECTION
B-62923EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

1 CONNECTING THE PROFIBUS


FUNCTIONS
This chapter provides an explanation of how to connect the
PROFIBUS-DP.

CAUTION
Isolating the PROFIBUS cables from noise sources.
The PROFIBUS cables are of the group C
classification.
Refer to the Section “Action against noise” in the
"Connection Manual (Hardware) " for an
explanation of how to isolate the PROFIBUS cables
from cables of the group A and B classifications.

NOTE
If no PROFIBUS communication can be
established even when the PROFIBUS parameters
are set, make sure that:
1 The PROFIBUS cable is created and grounded
correctly as described in this chapter.
2 The terminating resisters of the PROFIBUS cable
are effective only at both ends.
3 Each end of the PROFIBUS cable is connected
to a PROFIBUS unit (master or slave unit), and
the power to the units is turned on.
4 Each PROFIBUS unit (master or slave unit) has
a unique master or slave number. For
explanations about how to set master and slave
numbers, refer to the applicable PROFIBUS unit
operator's manual.

- 121 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62923EN/01

1.1 PROFIBUS CONNECTION

• Example of a PROFIBUS-DP system with a single DP-Master

DP-Master
(Class1) #1

#3 #4 #5 #6 #N
‚‚‚
DP-Slaves

Up to 30 DP-Slaves can be connected to a single DP-Master


(Class1).

- 122 -
B-62923EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

1.2 PROFIBUS CABLE PARAMETERS

PROFIBUS communication uses shielded twisted-pair cable.


The cable must satisfy the requirements listed below.

Item Rating
Characteristic impedance 150 Ω (f < 2 MHz)
Capacitance < 30 nF/Km
Resistance < 110 Ω/Km
Wire gauge > 0.64 mm
Conductor cross-sectional area > 0.34 mm2

Recommended cable:
SINEC L2 bus cable 6XV1 830-0AH10, manufactured by
Siemens

- 123 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62923EN/01

1.3 CABLE LENGTH AND TRANSFER RATE

The maximum allowable bus cable length varies depending on the


transfer rate for which the cable is used. Determine the length from
the following table.

Baud rate (kbps) 9.6 to 93.75 187.5 500 1500 3000 to 12000
Maximum allowable
overall cable length 1200 1000 400 200 100
(m)

- 124 -
B-62923EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

1.4 CONNECTOR

Nine-pin D-Sub female connector

1 PE PE : Shielding
6 VP RxD/TxD (+) : Transmission/reception
2
data (+)
7
3 RxD/TxD (+) CNTR-P : Not used (repeater control)
8 RxD/TxD (-)
4 DGND : Signal ground
9 VP : Not used (+5V output)
5 CNTR-P
RxD/TxD (-) : Transmission/reception
data (-)

CAUTION
The VP and CNTR-P pins are used for controlling a
repeater. Do not connect these pins to anything
unless a repeater is used. Otherwise, damage to the
device is likely. If you want to use these pins, consult
with FANUC beforehand.

You can use the following cable-end connector to perform wiring and
terminate the cable easily.
Cable-end connector:
S7 SINEC L2 bus connector 6ES7 972-0BA11-0XA0,
manufactured by Siemens, or equivalent
35.6 15.8

35.0

64.0

28.4

Outside Dimensions of the S7 SINEC L2 Bus Connector

There is a 4-pin terminal block (A1, B1, A2, and B2) in this
connector.

NOTE
1 The shape, dimensions, and other characteristics of
the connector are subject to change without notice.
2 This bus connector may not be able to be used
depending on the position of the PROFIBUS board.

- 125 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62923EN/01

1.5 CABLE CONNECTION

Connect the PROFIBUS cable as shown in the following diagram.


CNC D-sub connector Shield PROFIBUS

(03) A Station at the


A previous stage
B
(08)
B
Shield PROFIBUS

A Station at the
next stage
B

Connect two wires to each of the pins Nos. 3 and 8 of the D-Sub
connector.
A: RxD/TxD (+)
B: RxD/TxD (-)

For a bus connector manufactured by Siemens


Bus connector Shield PROFIBUS
CNC
(A1)
A Station at the
A (B1) previous stage
(A2) B
B (B2)
Shield
PROFIBUS

A Station at the
next stage
B

The bus connector has an internal mechanism to connect two wires.


A: RxD/TxD (+)
B: RxD/TxD (-)

Shielding treatment
Clamp both the cable drawn from the station at the previous stage and
that leading to the station at the next stage on the CNC side.
For an explanation of how to treat the cable at each station, refer to the
respective manuals for the stations.

- 126 -
B-62923EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

1.6 TERMINATING RESISTOR

Each end of the bus cable must be terminated with a resistor as shown
below.

VP (6)
Ru = 390 Ω, 1/4 W
RxD/TxD (+) (3)
Rt = 220 Ω, 1/4 W
RxD/TxD (-) (8)
Rd = 390 Ω, 1/4 W
DGND (5)

The numbers in parentheses are the connector pin numbers. The


Siemens S7 SINEC L2 bus connector incorporates terminating
resistors. A switch can be used to determine whether the terminating
resistors are to be used.

- 127 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62923EN/01

1.7 CABLE SHIELDING

Clamp the PROFIBUS bus cable as shown in the following diagram.


The clamping method shown below has two purposes: Cable fastening
and shielding. It is very important to clamp the cable to maintain
stable system operation; do not forget to clamp the cable.
As shown below, remove part of the cable sheath to expose the
shielding conductor, and clamp the exposed shielding portion against
the grounding plate with the clamping fixture.

Grounding plate

Cable

Cable clamp

Grounding
plate

Shielding

Cable sheath

- 128 -
B-62923EN/01 CONNECTION 2.PROFIBUS FOR THE Series 16/18-C

2 PROFIBUS FOR THE Series 16/18-C


This chapter provides information about the connection of the
PROFIBUS board for the Series 16/18-C.

- 129 -
2.PROFIBUS FOR THE Series 16/18-C CONNECTION B-62923EN/01

2.1 CONFIGURATION

A single PROFIBUS board for the Series 16/18-C has both the master
function and the slave function.

Master function

Slave function

- 130 -
B-62923EN/01 CONNECTION 2.PROFIBUS FOR THE Series 16/18-C

2.2 INSTALLATION

2.2.1 Environmental Conditions


When installing the PROFIBUS board in the CNC control unit,
observe the installation conditions for the CNC control unit
(environmental conditions in the cabinet).

2.2.2 Cable Installation


In the same way as for a regular CNC control unit, the PROFIBUS
cable is drawn out only from the front of the unit. The connector
layout of the PROFIBUS board is shown below for reference.

The actual location of the board and the actual connector layout of
other boards may differ from the above figure, however. For an
explanation of the actual connection layout of each individual board,
refer to the Connection Manual (Hardware) (B-62753EN).

- 131 -
2.PROFIBUS FOR THE Series 16/18-C CONNECTION B-62923EN/01

NOTE
6ES7 972-0BA11-0XA0 is a right-angled connector.
When it is used with this board, its cable is drawn
up, as shown in the figure.
When using this connector, always pay careful
attention to its orientation.

- 132 -
B-62923EN/01 CONNECTION 2.PROFIBUS FOR THE Series 16/18-C

2.2.3 PROFIBUS Board Connector Layout


Function Connector name and other
markings

PROFIBUS

MASTER

DP-Master interface JN1

Frame ground pin FG1 (not used)

LED indicator LED1


LED2

SLAVE

DP-Slave interface JN2

Frame ground pin FG2 (not used)

LED1
LED indicator LED2
LED3

- 133 -
2.PROFIBUS FOR THE Series 16/18-C CONNECTION B-62923EN/01

2.3 CONNECTION DIAGRAM

An overview of the complete connection is shown below. For


connections that are not shown in the figure below, refer to the
Connection Manual (Hardware) (B-62753EN) of the CNC main unit.

DP-Slave DP-Slave DP-Slave


#2 #3 #4

Network 1 (PROFIBUS)

CNC system
CNC main board

DP-Master
PROFIBUS board #1
Option slot JN1
Master function

JN2
Slave function
DP-Slave
#4

DP-Master
#1

Network 2 (PROFIBUS)

DP-Slave DP-Slave
#2 #3

Networks 1 and 2 are mutually independent.

- 134 -
B-62923EN/01 CONNECTION 3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i

3 PROFIBUS FOR THE LCD-MOUNTED


TYPE Series 16i/18i/21i
This chapter describes the connection of the PROFIBUS board for the
LCD-mounted type Series 16i/18i/21i.

- 135 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62923EN/01

3.1 CONFIGURATION

The hardware of the PROFIBUS function comprises a PROFIBUS


board and a PROFIBUS adapter unit (hereafter simply referred to as
an adapter unit).

[PROFIBUS board]
The PROFIBUS board consists of two printed circuit boards:
a master function board and a slave function board.

Slave function board Master function board

The figure above shows the two boards joined together.

- 136 -
B-62923EN/01 CONNECTION 3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i

[Adapter unit]
The CNC control unit is usually mounted on the machine operator's
panel (pendant). The adapter unit allows the PROFIBUS cable to be
extended and connected in the power magnetics cabinet. This makes it
easy to lay the PROFIBUS bus cable after the machine is installed.

The PROFIBUS board and adapter unit are connected by an internal


cable. Two separate adapter units must be provided for the master
function and the slave function.

Adapter unit

DIN rail

Ordering information
Name Code Remarks
PROFIBUS board A02B-0236-J311 Master + Slave
Adapter unit A02B-0236-C221

- 137 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62923EN/01

[Connection between the PROFIBUS board and adapter unit]

PROFIBUS board

Adapter unit

Internal cable

The figure above shows a connection of the master function board.


The slave function board is connected in the same way.

- 138 -
B-62923EN/01 CONNECTION 3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i

3.2 INSTALLATION

3.2.1 Environmental Conditions


When using the PROFIBUS board, the installation conditions for the
CNC control unit in which the board is installed (environmental
conditions in the cabinet) must be observed. This also applies to the
adapter unit.

3.2.2 Mounting the Board


The PROFIBUS board is mounted in an option slot of the control unit.
The board occupies a single slot. Some control units have slots that
cannot be used for this board.

Slot-1
Slot-2

Slot-3
Slot-4 PROFIBUS board

Rack type Slot-1 Slot-2 Slot-3 Slot-4


4-slot rack × { { ×
3-slot rack × × {
2-slot rack × {
{: Can be used ×: Cannot be used

3.2.3 Mounting the Adapter Unit


The adapter unit is mounted in the power magnetics cabinet, using the
DIN rail. For the procedure for mounting and removing the adapter
unit on and from the DIN rail, refer to "Connection of connector panel
I/O module" in "Connection Manual (Hardware)" of the
corresponding CNC.

- 139 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62923EN/01

3.2.4 Connection between the PROFIBUS Board and Adapter Units


The PROFIBUS board and adapter units are connected by internal
cables, as shown below:
CNC control unit Adapter unit

JN1 CN1
PROFIBUS board

JN1
(Master)

Adapter unit

JN2
(Slave) JN1 CN1

MAX. 6 m

The internal cable as described below is used to connect the


PROFIBUS board and adapter unit:

L<6m

Name Code Remarks


Connector PCR-E20FS Honda Tsushin Kogyo Co., Ltd.
Housing PCR-V2-LA Honda Tsushin Kogyo Co., Ltd.
Wire A66L-0001-0286

- 140 -
B-62923EN/01 CONNECTION 3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i

[Connector pins]

PROFIBUS board JN1/JN2 JN2 Adapter unit


1 TXD+ 11 1 TXD+ 11
2 TXD- 12 0V 2 TXD- 12 0V
3 RXD+ 13 3 RXD+ 13
4 RXD- 14 0V 4 RXD- 14 0V
5 RTS+ 15 5 RTS+ 15
6 RTS- 16 0V 6 RTS- 16 0V
7 17 7 17
8 18 +5V 8 18 +5V
9 +5V 19 9 +5V 19
10 20 +5V 10 20 +5V

[Cable wires]

PROFIBUS board Adapter unit


JN1/JN2 JN1
TXD+ (1) (1) TXD+
TXD- (2) (2) TXD-
RXD+ (3) (3) RXD+
RXD- (4) (4) RXD-
RTS+ (5) (5) RTS+
RTS- (6) (6) RTS-

+5V (9) (9) +5V


+5V (18) (18) +5V
+5V (20) (20) +5V
0V (12) (12) 0V
0V (14) (14) 0V
0V (16) (16) 0V
Shielding

Ordering information
Name Code Remarks
Internal cable A02B-0236-K151 Two 6-m internal cables

- 141 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62923EN/01

3.2.5 Connector Layout


[PROFIBUS board]

Master function board

JN1 (master function)


for connection with
an adapter unit

Slave function board

JN2 (slave function)


for connection with
an adapter unit

- 142 -
B-62923EN/01 CONNECTION 3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i

[Adapter unit]
The outside dimensions are the same as those of the connector panel
I/O module. For details, refer to "Connection Manual (Hardware)" of
the corresponding CNC.

CN1: Nine-pin D-Sub female connector


PROFIBUS bus interface

PROFIBUS
bus cable

Internal cable

JN2: PCR-EV20MDT
Interface with PROFIBUS board

- 143 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62923EN/01

3.3 COMPLETE CONNECTION DIAGRAM

An overview of the complete connection is shown below. For


connections that are not shown in the figure below, refer to the
"Connection Manual (Hardware)" of the CNC main unit.

DP-Slave DP-Slave DP-Slave


#2 #3 #4

Network 1 (PROFIBUS)

CNC system
CNC main board
DP-Master
CN1
#1
JN2
Adapter
JN1 unit
PROFIBUS master
Option slot
function board

JN2
JN2 Adapter
unit
PROFIBUS slave
function board
DP-Slave CN1
#4

DP-Master
#1

Network 2 (PROFIBUS)

DP-Slave DP-Slave
#2 #3

Networks 1 and 2 are independent of each other.

- 144 -
B-62923EN/01 CONNECTION 4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i

4 PROFIBUS FOR THE STAND-ALONE


TYPE Series 16i/18i/21i, Series 15i, and
Power Mate i
This chapter describes the connection of the PROFIBUS board for the
stand-alone type Series 16i/18i/21i, Series 15i, and Power Mate i.

- 145 -
4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i CONNECTION B-62923EN/01

4.1 CONFIGURATION

The PROFIBUS hardware for the stand-alone type Series 16i/18i/21i


is a set of two printed circuit boards of the minislot size. One board is
for the master function, and the other is for the slave function.

1) PROFIBUS master board

2) PROFIBUS slave board

- 146 -
B-62923EN/01 CONNECTION 4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i

4.2 INSTALLATION

4.2.1 Environmental Conditions


When using the PROFIBUS board, the installation conditions for the
CNC control unit in which the board is installed (environmental
conditions in the cabinet) must be observed.

4.2.2 Mounting the Board


The PROFIBUS board is mounted in minislots of the control unit. The
master board and the slave board occupy a single slot each. The board
can be inserted into any minislot.

- 147 -
4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i CONNECTION B-62923EN/01

4.2.3 Connector Layout


[PROFIBUS master board]

CN1

CN1: Nine-pin D-Sub female connector


PROFIBUS bus interface (master function)

[PROFIBUS slave board]

CN2

CN2: Nine-pin D-Sub female connector


PROFIBUS bus interface (slave function)

- 148 -
B-62923EN/01 CONNECTION 4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i

4.3 COMPLETE CONNECTION DIAGRAM

An overview of the complete connection is shown below. For


connections that are not shown in the figure below, refer to the
Connection Manual (Hardware) of the CNC main unit.

Networks 1 and 2 are independent of each other.

DP-Slave DP-Slave DP-Slave


#2 #3 #4

Network 1 (PROFIBUS)

CNC system
CNC main board

DP-Master
PROFIBUS master #1
Option slot function board JN1

PROFIBUS slave
function board JN2

DP-Slave
#4

DP-Master
#1
Network 2 (PROFIBUS)

DP-Slave DP-Slave
#2 #3

- 149 -
4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i CONNECTION B-62923EN/01

4.4 NOTES ON CONNECTING PROFIBUS BOARDS FOR THE


Power Mate i

When axis control card C is specified for the Power Mate i, there are
restrictions on connection of FANUC PROFIBUS-DP boards.
1) When the FANUC PROFIBUS-DP Master or Slave board is used
Connect the FANUC PROFIBUS-DP board to slot 2 (upper slot)
of the Power Mate i to use the board.

2) When the FANUC PROFIBUS-DP Master and Slave boards are


used together
Connect the FANUC PROFIBUS-DP Master board to slot 2
(upper slot) of the Power Mate i and the Slave board to slot 1
(lower slot).
For this Slave board, the bus connector manufactured by Siemens
cannot be used as the cable-end connector. Use a 9-pin D-Sub
male connector up to 13.1 mm high as the cable-end 9-pin D-Sub
connector. (See Section 1.4.) When the connector is not located
at the end of the line, connect two wires, referencing Section 1.5.
When it is located at the end of the line, connect a terminating
resistor, referencing Section 1.6.

NOTE
1 If a PROFIBUS-DP board is connected to slot 1
(lower slot), a bus connector manufactured by
Siemens interferes with the optical connector of axis
control card C.
2 The specifications of axis control card C for the
Power Mate i are A02B-0259-H021 to
A02B-0259-H024. With an axis control card for the
Power Mate i added following axis control card C,
the same restrictions as with axis control card C are
put on connection of FANUC PROFIBUS-DP
boards.

- 150 -
B-62923EN/01 CONNECTION 5.PROFIBUS FOR THE Power Mate-D/H

5 PROFIBUS FOR THE Power Mate-D/H


This chapter describes information about the connection of the
PROFIBUS card for the Power Mate-D/H.

- 151 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62923EN/01

5.1 CONNECTION DIAGRAM

PROFIBUS PROFIBUS
at previous at next
stage stage
Power Mate-D/H

PROFIBUS card J141

CN2

J139
Machine
CE49

The meaning of each abbreviation used in the above diagram is as


follows:
CN2 : PROFIBUS connector
CE49 : Connector for built-in I/O machine interface
J141 : Cable specification for the PROFIBUS (see Section
III-1.2 of this volume.)
J139 : Cable specification for built-in I/O machine interface
(see Section III-5.4 of this chapter.)

NOTE
The PROFIBUS card is incorporated in the Power
Mate-D/H. CN2 and CE49 are in the lower section of
the unit.

- 152 -
B-62923EN/01 CONNECTION 5.PROFIBUS FOR THE Power Mate-D/H

5.2 ENVIRONMENTAL CONDITIONS

When using the PROFIBUS card in the Power Mate-D/H, observe the
installation conditions for the Power Mate-D/H.

- 153 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62923EN/01

5.3 SIGNALS

5.3.1 PROFIBUS Interface


<1> DI signals: X1032 to X1063 (up to 256 points)
<2> DO signals: Y1032 to Y1063 (up to 256 points)

5.3.2 Built-in I/O Machine Interface


<1> DI signal (DC input signal B: 16 points)
7 6 5 4 3 2 1 0
X1000 SKIP *RILK *ESP SKIP4 SKIP3 SKIP2
CE49- B05 A06 B04 A04 B03 A03 B02 A02

7 6 5 4 3 2 1 0
X1002 *DEC6 *DEC5 *DEC4 *DEC3 *DEC2 *DEC1
CE49- B10 A10 B09 A09 B08 A08 B07 A07
X1000.0, X1000.1, X1000.2, and X1000.7 are common-switchable
DC input signals B.
X1002.0, X1002.1, X1002.2, and X1002.7 are common-switchable
DC input signals B.
X1000.3 to X1000.6 and X1002.3 to X1002.6 are DC input
signals B.
NOTE
To use the above functions (*ESP, *RILK, SKIPn,
*DECn), set bit 3 (BIO) of parameter No. 3001 and
parameter No. 3005.
X1001, X1003 to X1031, X1064, and above cannot
be used.

<2> DO signals (source type output signals: 2 points)


7 6 5 4 3 2 1 0
Y1000
CE49- B11 A11

NOTE
1 Y1000.2 to Y1000.7, Y1001 to Y1031, Y1064, and
above cannot be used.
2 Refer to Item for "Input/Output Signal Specifications"
in the "FANUC Power Mate-Model H Connection
Manual" for an explanation of the rules governing
input/output signals.
3 The maximum load current for the source-type
output signal is 1.4 A.

- 154 -
B-62923EN/01 CONNECTION 5.PROFIBUS FOR THE Power Mate-D/H

5.4 BUILT-IN I/O MACHINE INTERFACE

5.4.1 Overview

PROFIBUS card
CE49
34-pin ribbon cable connector
A B
Hirose HIF3BA-34D-2.564R
01 +24E +24E
02 X1000.0 X1000.1
03 X1000.2 X1000.3
04 X1000.4 X1000.5
05 DIC1 X1000.7
06 X1000.6 DOC Machine-side power
07 X1002.0 X1002.1 Female J139
Male

magnetics cabinet and


08 X1002.2 X1002.3
09 X1002.4 X1002.5 machine panel
10 X1002.6 X1002.7
11 Y1000.0 Y1000.1
12
13
14 Clamp the shielding of cable J139 to
15 DOC the grounding plate of the cabinet on
16 DIC2 the PROFIBUS card side using a
17 0V 0V
metal cable clamping fixture.

1. +24E (output)
24VDC supplied to the Power Mate main unit is sent as a DI signal via a fuse.
Do not connect any 24V output from an external power supply to this pin. Also, do not connect it to
DOC.

2. DOC (external 24V input)


The two DOC pins need to be connected to receive the 24V for DO from an external power supply.

3. DIC1 and DIC2 (input)


These pins are DI common switchover pins. Usually, they must be connected to 0 V.

- 155 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62923EN/01

<1> Connector specification


MIL-C-83503 standard-compliant (with center key to prevent
reverse insertion)
The cable-end connector must also comply with this standard.
FANUC specification: A02B-0124-K300 (Hirose
HIF3BA-34D-2.564R)
Refer to the Item for “Connection to the Built-in I/O Card” of the
"FANUC Power Mate-MODEL D Connection Manual" or
"FANUC Power Mate-MODEL H Connection Manual" for an
explanation of the connector pin arrangement.

<2> Recommended cable specification


Use a common-shield cable.
Shielded 34-conductor cable (soldering type)
FANUC specification: A66L-0001-0308#S34S
(Oki Electric Cable SFX-S 34-7/0.127 3030-SV(20266)
(Taiyu)K)

- 156 -
B-62923EN/01 CONNECTION 5.PROFIBUS FOR THE Power Mate-D/H

5.4.2 Details of DI Connection

Power Mate
Pin number
Example of connection +24E Bit number
+24E CE49(A01, B01)
Address number

CE49(A02)
X1000.0
z z

CE49(B02)
X1000.1
z z
z

CE49(A03)
X1000.2
z z
z

CE49(B03)
X1000.3
z z

CE49(A04)
X1000.4
z z
z

CE49(B04)
X1000.5
z z
z

CE49(A06)
X1000.6
z z
z

CE49(B05)
X1000.7
z
z
DIC1 CE49(A05)

0V CE49(A17, B17)
z

Fig. 6-1 PROFIBUS Card Machine Interface (1)

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


X1000.0 to X1000.2 and X1000.7 are common-switchable.
The example configuration shown above uses a sink-type input.

- 157 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62923EN/01

Power Mate

Example of connection Pin number


+24E Bit number
+24E CE49(A01, B01)
Address number

CE49(A07)
X1002.0
z z

CE49(B07)
X1002.1
z z
z

CE49(A08)
X1002.2
z z
z

CE49(B08)
X1002.3
z z

CE49(A09)
X1002.4
z z
z

CE49(B09)
X1002.5
z z
z

CE49(A10)
X1002.6
z z
z

CE49(B10)
X1002.7
z
z
DIC2 CE49(A16)

0V CE49(A17, B17)
z

Fig. 6-2 PROFIBUS Card Machine Interface (2)

X1002 is a DC input signal B (for high-speed signal input).


X1002.0 to X1002.2 and X1002.7 are common-switchable.
The example configuration shown above uses a sink-type input.

- 158 -
B-62923EN/01 CONNECTION 5.PROFIBUS FOR THE Power Mate-D/H

5.4.3 Details of DO Connection

Power Mate
Pin number Example of
Bit number
connection
Voltage
Address CE49(B06, B15) DOC
number z regulator

Y1000.0
CE49(A11)
z z z

Y1000.1 CE49(B11)
z z z

CE49(A17, B17) 0V

Fig. 6-3 PROFIBUS Card Machine Interface (3)

- 159 -
IV. MAINTENANCE
B-62923EN/01 MAINTENANCE 1.PROFIBUS FOR THE Series 16/18-C

1 PROFIBUS FOR THE Series 16/18-C


This chapter provides information about the maintenance of the
PROFIBUS board for the Series 16/18-C.

- 163 -
1.PROFIBUS FOR THE Series 16/18-C MAINTENANCE B-62923EN/01

1.1 COMPONENT LAYOUT

Connector name
and other markings

PROFIBUS

DC/DC
MASTER

LSI chip
for JN1
communi-catio
n
CPU

FG1

ROM LED1
LED2

DC/DC SLAVE

JN2

LSI chip
CPU for
FG2
communi
-cation

LED1
LED2
ROM LED3

Ordering information
Name Code Remarks
PROFIBUS board A16B-3200-0220 Master + Slave

- 164 -
B-62923EN/01 MAINTENANCE 1.PROFIBUS FOR THE Series 16/18-C

1.2 LED INDICATORS AND THEIR MEANINGS

The PROFIBUS interface board for the Series 16/18-C has two
functions (DP-Master and DP-Slave functions). Each function uses
separate LED indicators.

1.2.1 DP-Master Function LED Indicators

SYSFAIL P-WKR
LED1
ALARM P-DPR

LED2 TOKEN

When the power is During normal


switched on operation
(communication)

z: On
{: Off

Name Color Description


SYSFAIL Red Indicates the state of the SYSFAIL signal on the PROFIBUS
interface board. It is turned on when the power is switched on.
ALARM Red Software-controlled alarm LED. It is turned on when the power is
switched on. When the DP-Master function is started normally,
the LED is turned off and remains off thereafter.
P-WKR Red Turned on if an SRAM parity error occurs in the DP-Master.
Lit if a parity error has occurred.
The LED does not go on when the power is turned on. Once lit,
the LED continues illuminating until the power is turned off.
P-DPR Red Turned on if a DPRAM parity error occurs in the DP-Master.
Lit if a parity error has occurred.
The LED does not go on when the power is turned on. Once lit,
the LED continues illuminating until the power is turned off.

Name Color Description


TOKEN Green Indicates whether normal communication is performed.
Lit if normal communication is performed.
The LED does not go on when the power is turned on.

- 165 -
1.PROFIBUS FOR THE Series 16/18-C MAINTENANCE B-62923EN/01

1.2.2 DP-Slave Function LED Indicators

SYSFAIL P-C32
LED1
ALARM P-WIN

LED2 RUN

LED3 BUS FAULT

When the power During normal


is switched on operation
(communication)

Name Color z: On Description


SYSFAIL Red Indicates{: the
Offstate of the SYSFAIL signal on the PROFIBUS
interface board. It is turned on when the power is switched on.
ALARM Red Software-controlled alarm LED. It is turned on when the power is
switched on. When the DP-Slave function is started normally, the
LED is turned off and remains off thereafter.
P-C32 Red Indicates whether a parity error occurred when CPU 80C32 of the
DP-Slave accessed SRAM or DPRAM.
Lit if a parity error has occurred.
The LED does not go on when the power is turned on. Once lit, the
LED continues illuminating until the power is turned off.
P-WIN Red Indicates whether a parity error occurred when another F-BUS
module accessed DPRAM of the DP-Slave via Window.
Lit if a parity error has occurred.
The LED does not go on when the power is turned on. Once lit, the
LED continues illuminating until the power is turned off.

Name Color Description


RUN Green Remains on while communication is being performed normally.
BUS Red Is turned on if:
FAULT • Parameters and configuration data are not received from the
DP-Master after the power is switched on.
• An invalid parameter or configuration data is received.
• It becomes impossible to perform communication with the
DP-Master.

- 166 -
B-62923EN/01 MAINTENANCE 2.LCD-MOUNTED TYPE PROFIBUS FOR THE Series 16i/18i/21i

2 LCD-MOUNTED TYPE PROFIBUS FOR


THE Series 16i/18i/21i
This chapter describes the maintenance information of the
LCD-mounted type PROFIBUS board for the Series 16i/18i/21i.

- 167 -
2.LCD-MOUNTED TYPE PROFIBUS FOR THE Series 16i/18i/21i MAINTENANCE B-62923EN/01

2.1 COMPONENT LAYOUT

[PROFIBUS master board]

CPU

LSI chip for


communi-ca
tion

ADD1

JN2 LED JN1

[PROFIBUS slave board]

LED

LSI chip for


communication

CPU

ADD1

The master board and slave board are connected by the ADD1
connectors.

Ordering information
Name Code Remarks
PROFIBUS master board A20B-8100-0430
PROFIBUS slave board A20B-2100-0430 Daughterboard

- 168 -
B-62923EN/01 MAINTENANCE 2.LCD-MOUNTED TYPE PROFIBUS FOR THE Series 16i/18i/21i

2.2 LED INDICATORS AND THEIR MEANINGS

The integral-type PROFIBUS interface board for the Series


16i/18i/21i comprises two boards. Each board uses separate LED
indicators.

2.2.1 LED Indicators of the DP-Master Function

LED1 LED2 LEDB

Name Color Description


LED1 Green Indicates whether the CPU of this board has been
activated.
Lit if the CPU has been released from the reset state and
activated.
The LED does not go on when the power is turned on.
LED2 Green Indicates whether the current communication is normally
performed.
Lit if the current communication is normally performed.
Not lit if communication is not performed.
The LED does not go on when the power is turned on.
LEDB Red Indicates if a RAM parity error has occurred on this
board.
Lit if a parity error has occurred.
The LED does not go on when the power is turned on.
Once lit, the LED continues illuminating until the power is
turned off.

- 169 -
2.LCD-MOUNTED TYPE PROFIBUS FOR THE Series 16i/18i/21i MAINTENANCE B-62923EN/01

2.2.2 LED Indicators of the DP-Slave Function


The LED indicators of the DP-Slave function are mounted on the
PROFIBUS slave board (daughter board).

LED1 LED2 LED3 LEDB

Name Color Description


LED1 Green Indicates whether the CPU of this board has been
released from the reset state and activated.
Lit if the CPU has been released from the reset state and
activated.
The LED does not go on when the power is turned on.
LED2 Green Indicates whether communication has started.
Lit if communication has started.
The LED is not lit when the power is turned on and in the
following cases:
1) When parameter configuration data has not been
received
2) When illegal parameter configuration data has been
received
LED3 Green Indicates whether the current communication is normally
performed.
Lit if the current communication is normally performed.
Not lit if the current communication is not normally
performed.
The LED does not go on when the power is turned on.
LEDB Red Indicates if a RAM parity error has occurred on this
board.
Lit if a RAM parity error has occurred.
The LED does not go on when the power is turned on.
Once lit, the LED continues illuminating until the power is
turned off.

- 170 -
B-62923EN/01 MAINTENANCE 3.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, AND Power Mate i

3 PROFIBUS FOR THE STAND-ALONE


TYPE Series 16i/18i/21i, Series 15i, AND
Power Mate i
This chapter describes the maintenance information of the PROFIBUS
board for the stand-alone type Series 16i/18i/21i.

- 171 -
3.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, AND Power Mate i MAINTENANCE B-62923EN/01

3.1 COMPONENT LAYOUT

[PROFIBUS master board]

DC/DC

CPU

CN1 LSI chip


for
communi-
cation

[PROFIBUS slave board]

CPU

DC/DC

CN1
LSI chip for
communication

Ordering information
Name Code Remarks
PROFIBUS master board A20B-8100-0470
PROFIBUS slave board A20B-8100-0440

- 172 -
B-62923EN/01 MAINTENANCE 3.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, AND Power Mate i

3.2 LED INDICATORS AND THEIR MEANINGS

3.2.1 LED Indicators of the DP-Master Function

CN1

LED2 LED1

NOTE
The face plate is indicated by the broken line.

Name Color Description


LED1 Green Indicates whether the CPU of this board has been
activated.
Lit if the CPU has been released from the reset state and
activated.
The LED does not go on when the power is turned on.
LED2 Green Indicates whether normal communication is performed.
Lit if normal communication is performed.
Not lit if communication is not performed.
The LED does not go on when the power is turned on.

- 173 -
3.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, AND Power Mate i MAINTENANCE B-62923EN/01

3.2.2 LED Indicators of the DP-Slave Function

CN2

LEDB LED3 LED2 LED1

NOTE
The face plate is indicated by the broken line.

Name Color Description


LED1 Green Indicates whether the CPU of this board has been
released from the reset state and activated.
Lit if the CPU has been released from the reset state and
activated.
The LED does not go on immediately after power-up.
LED2 Green Indicates whether communication has started.
Lit if communication has started.
The LED is not lit when the power is turned on and in the
following cases:
1) When parameter configuration data has not been
received
2) When illegal parameter configuration data has been
received
LED3 Green Indicates whether the current communication is normally
performed.
Lit if the current communication is normally performed.
Not lit if the current communication is not normally
performed.
The LED does not go on when the power is turned on.
LEDB Red Indicates if a RAM parity error has occurred on this board.
Lit if a RAM parity error has occurred.
The LED does not go on when the power is turned on.
Once lit, the LED continues illuminating until the power is
turned off.

- 174 -
B-62923EN/01 MAINTENANCE 4.PROFIBUS FOR THE Power Mate-D/H

4 PROFIBUS FOR THE Power Mate-D/H


This chapter provides information about the maintenance of the
PROFIBUS card for the Power Mate-D/H.

- 175 -
4.PROFIBUS FOR THE Power Mate-D/H MAINTENANCE B-62923EN/01

4.1 PROFIBUS DRAWING NUMBER

Name Drawing number Remark


A20B-2100-0120 SUB BOARD 1
PROFIBUS card
A20B-8001-0500 SUB BOARD 2

NOTE
The PROFIBUS card for the Power Mate consists
of two boards, SUB BOARD 1 and SUB BOARD 2.

- 176 -
B-62923EN/01 MAINTENANCE 4.PROFIBUS FOR THE Power Mate-D/H

4.2 ALARM MESSAGES AND MEANINGS

(1) P/S alarms


If an error occurs in the PROFIBUS function, the alarm listed
below is displayed on the CRT screen, and the machine is
brought to an emergency stop.

P/S alarm Alarm message and meaning


There is the difference between local parameters and the
ones which were received from Master.
5126 A parameter value specified for the DP-Master does not
match that specified for the DP-Slave.
Check that both parameter values match.
A PROFIBUS communication error has occurred.
This message is displayed if a communication line is
5127
disconnected (that is, if the cable is removed, or the
DP-Master becomes faulty).
A PROFIBUS unrecoverable error has occurred.
5128 This message is displayed if the PROFIBUS board
becomes faulty.

(2) System alarms


If a system error related to the PROFIBUS function occurs, an
alarm listed below is displayed on the CRT screen, and the
machine is brought to an emergency stop.
(The RESET key cannot be used to reset this alarm.)

System alarm Alarm message and meaning


NMI OCCURRED IN OTHER MODULE
An SRAM or DPRAM parity error has occurred on the
972 PROFIBUS card.
Check the connection between the main CPU board and
PROFIBUS card.

NOTE
If an alarm is issued when the DPL/MDI is in use,
only the alarm code is displayed on the DPL/MDI.

- 177 -
SUPPLEMENT
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

A SETTING WHEN EDITION 08 OR LATER


OF SERIES 6557 IS USED
This chapter described the setting methods when Edition 08 or later of
series 6557 of CONTROL SOFTWARE is used.

- 181 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

A.1 MASTER FUNCTION SETTING

To use the master function, bus parameters and slave parameters must
be set, and addresses must be assigned.
The bus parameters are referenced by the network, and the slave
parameters are set for each slave. In address assignment, PMC
addresses used by the DP-Master to transfer DI/DO signals to and
from each DP-Slave are set.
The methods of setting the parameters are described below.

NOTE
1 The PROFIBUS Setting Tool (drawing number
A08B-9510-J530) is a personal computer (PC) tool
related to the PROFIBUS-DP master function.
This tool enables PROFIBUS-DP master function
parameters to be created on a PC.
Those who use the PROFIBUS-DP master function
for the first time or are unfamiliar with
PROFIBUS-DP master function setting are
recommended to purchase a copy of this tool.
The Ethernet function is necessary to use this tool.
2 To set the bus parameters and slave parameters,
you can also use DP-Configurator (tool running on a
PC) manufactured by Softing. For details of this
setting, see Section E.1, "Setting Using
DP-Configurator Manufactured BY Softing," in
"SUPPLEMENT."
But DP-Configurator can set only the bus
parameters and slave parameters.

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>, then press soft key [PMC] to
switch to the PMC screen.

(2) Pressing soft keys [PMCDGN], [IOCHK], and [PROFI] in the


stated order displays Screen A-1.

- 182 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

Screen A-1

(3) Pressing soft key [MASTER] displays Screen A-2.

Screen A-2

(4) The following parameters can be set by pressing the


corresponding soft keys on the screen A-2:
<1> Bus parameters [BUS]
<2> Slave parameters [SLAVE]
<3> Operation mode [MODE]

Pressing soft key [INI.AL] has the same effect as performing


initialization by pressing soft key [INIT] on the bus parameter setting
screen, slave parameter setting screen, or address assignment screen.

- 183 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

For the initialized values on these screens, see the descriptions of the
relevant sections.
REFRESH TIME indicates the time required for updating DI/DO data
for the master function. For details, see Section A.1.5, "Updating
DI/DO Data for the Master Function."

A setting error message may be displayed at the lower left of Screen


A-2. In this case, take appropriate action, referencing the table below.

Table A-1 Setting error message


Message Caution and action
The number of slave stations with which
communication is to be performed
“ SET SLAVE NUMBER[<=32]
exceeds 32.
AND POWER OFF ”
Set ENABLE for up to 32 slave stations,
and turn the power off, then on again.
An invalid value is set for a slave
parameter for a slave station for which
ENABLE is set.
“ SET VALID SLAVE PARAM
Enter a valid value, and turn the power
AND POWER OFF ”
off, then on again.
Check whether the 15 CONFIG DATA
setting is valid in particular.
DI/DO SIZE = 0/0 is set in address
assignment for a slave station for which
“ SET ADDRESS ALLOCATION
ENABLE is set.
AND POWER OFF ”
Set a valid size, and turn the power off,
then on again.

NOTE
When Edition 08 of series 6557 of CONTROL
SOFTWARE is used, pay careful attention to the
following points:
- The setting error messages listed in Table A-1 are
displayed at the lower left of Screen A-8 (mode
screen).
- The message "SET I/O SIZE[MAS + SLV <=
256],POWER OFF" may be displayed at the lower
left of Screen A-8 (mode screen).
This message indicates that the total of the DI/DO
sizes set for the master and slave functions
exceeds 256 bytes when these functions are used
together in this node. In this case, set the DI/DO
sizes again so that the total does not exceed 256
bytes, and turn the power off, then on again.

- 184 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

A.1.1 Bus Parameter Setting


Pressing soft key [BUS] on Screen A-2 displays Screen A-3 to enable
bus parameter setting. The bus parameters consist of two pages. Use
the page keys to switch between the pages.

Switch between pages by pressing


page keys <↑> and <↓>.

Screen A-3

The data in the parentheses indicated to the right of each item


represents a range of settable values. For 2 BAUDRATE only,
however, the transfer rate corresponding to a set value is displayed.

Soft key [INIT] on Screen A-3 initializes the bus parameters to the
standard values used when the transfer rate is 12 Mbps.

- 185 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

CAUTION
To change the transfer rate from 12 Mbps to a
different value, set the bus parameters again
according to Table A-3, "Bus Parameter Settings
Corresponding to Each Transfer Rate" in this
section.

Soft key [DETAIL], shown at the bottom of Screen A-3, is displayed


when the cursor is moved to 17 MASTER USER DATA. Pressing this
soft key displays Screen A-4 to enable the setting of detailed data as
long as the number of bytes is specified in 17 MASTER USER
DATA.

Screen A-4

Table A-2 summarizes the bus parameters. Table A-3 lists the bus
parameter values to be set for each transfer rate. For details, refer to
the following documents issued by PROFIBUS Nutzerorganisation
e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

- 186 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

Table A-2 Bus Parameters


Item Description
FDL ADD Fieldbus data link address.
Station number of the DP-Master.
BAUDRATE Transfer rate code number.
(0:9.6 kbps, 1:19.2 kbps, 2:93.75 kbps, 3:187.5 kbps, 4:500 kbps, 6:1.5 Mbps, 7:3 Mbps,
8:6 Mbps, 9:12 Mbps)
T SL Slot time.
Maximum time from token frame transmission until the first character of a response frame is
read. (Unit: Bit time)
MIN T SDR Minimum station delay time of responders.
Minimum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
MAX T SDR Maximum station delay time of responders.
Maximum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
T QUI Transmitter fall/repeater switch time.
Wait time after data transmission until the receiver can be operated again. (Unit: Bit time)
T SET Setup time.
Time after the occurrence of an event until the execution of the corresponding action is
started. (Unit: Bit time)
T TR Target rotation time.
Estimated time required for a PROFIBUS token to make one rotation. (Unit: Bit time)
G Gap update factor.
Number of tokens that rotate during a gap maintenance period.
HSA Highest station address.
Maximum node number set on the PROFIBUS.
MAX RETRY Maximum number of retries.
BP FLAG User interface flag.
Bit 7: Error_Action_Flag
0: Does not change the operation mode if an error occurs.
1: Changes the operation mode from Operate mode to the Clear mode if an error occurs.
Bits 6 to 0: Reserved (to be set to 0)
MIN SLAVE INT Minimum slave interval between two slave poll cycles.
Minimum polling interval between slaves. (Unit: 100 μs)
POLL TIME OUT Poll timeout for master-master communication.
Maximum wait time after the issue of a request for communication between master stations
until a response is received. (Unit: 1 ms)
DATA CONTROL Time until the data transfer list is updated at least once. (Unit: 10 ms)
CLASS2 NAME Master who created this parameter sets.
Name of the DP-Master (class2) that created the bus parameters.
MASTER USER DATA Data necessary for the bus parameters and specified by the manufacturer.

Remarks) Explanation of terms used in the above table


Bit time : Time (sec) required to send one bit of data
at a specified transfer rate. This is
equivalent to the reciprocal of a transfer
rate (bps).
Gap maintenance : Period during which the list for managing
period the address of the connected DP-Master is
updated. (Unit: Bit time)
Operation mode : Operation mode of a DP-Master (class1).

- 187 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Offline : Mode that disables


communication with all nodes
Stop : Mode that enables
communication with the
DP-Master (class2)
Clear : Mode in which the output to the
DP-Slave is set to 0
Operate : Mode that enables DI/DO
communication with DP-Slaves
Data transfer list : List with a 16-byte area. This list is held in
the DP-Master so that each bit indicates
whether data transfer to and from each of
the nodes of station numbers 0 to 125 has
been performed (1) or not (0) (bits 6 and 7
of the 16th byte are not used).

- 188 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

Table A-3 Bus Parameter Settings Corresponding to Each Transfer Rate


Bus parameter Setting
1: FDL ADD 0 to 125
2: BAUDRATE (Kbps) ≤187.5 500 1500 3000 6000 12000
3: T SL 100 200 300 400 600 1000
4: MIN T SDR 11 11 11 11 11 11
5: MAX T SDR 60 100 150 250 450 800
6: T QUI 0 0 0 3 6 9
7: T SET 1 1 1 4 8 16
8: TTR 65000 65000 65000 65000 65000 65000
9: G 10 10 10 10 10 10
10: HSA 126 126 126 126 126 126
11: MAX RETRY 1 1 1 2 3 4
12: BP FLAG 0 0 0 0 0 0
13: MIN SLAVE INT 1 1 1 1 1 1
14: POLL TIME OUT 1000 1000 1000 1000 1000 1000
15: DATA CONTROL 100 100 100 100 100 100
16: CLASS2 NAME This parameter need not be set.
17: MASTER USER DATA 0 0 0 0 0 0

Viewing this table for parameter setting:


First, determine the value of 2: BAUDRATE. Then, set the other parameters according to the
set baud rate.

NOTE
For multiple master communication, satisfy the
following conditions:
- The value set for 1:FDL ADD for a master station is
not used as another master station number.
- The same values are set for bus parameters 2 to 11
for all master stations.
- When a larger value is set for T SET, T SL is larger
than T ID1.
(T ID1 = 33 + 2 + 2 × T SET + T QUI)

- 189 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

A.1.2 Slave Parameter Setting


Pressing soft key [SLAVE] on Screen A-2 displays Screen A-5 to
enable slave parameter setting.
By pressing soft keys [PRV.NO] and [NXT.NO], the station number
of a DP-Slave to be set can be changed. To move to the screen of a
desired station number directly, enter the station number, then press
soft key [PRV.NO] or [NXT.NO].

CAUTION
When setting slave parameter data, pay careful
attention to the following points:
1 The slave parameters are available for 126 stations.
However, set the slave parameters for no more than
32 DP-Slaves for actual communication.
2 When using DP-Slaves provided by other
manufacturers, set the slave parameters according
to the GSD file attached to each DP-Slave.
3 When setting the slave parameters, carefully check
the slave number of each DP-Slave to be set.

Screen A-5

Soft key [INIT] on Screen A-5 initializes the slave parameters of a


specified station number to the standard values used for connecting a
DP-Slave using a FANUC CNC. For details of the settings required to
connect a DP-Slave manufactured by FANUC, see Section A.3,
"Setting the Slave Parameters for Using a Slave Station Manufactured
by FANUC." Soft key [DETAIL] shown at the bottom of Screen A-5
is displayed when the cursor is moved to an item from 14 USER PRM
DATA to 16 SLAVE USER DATA. Pressing this soft key displays a
screen such as Screen A-6. (Screen A-6 shows the screen displayed by
pressing soft key [DETAIL] when the cursor is placed at the item of
- 190 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

15 CONFIG DATA.) Detailed data as long as the number of bytes


specified in each of these items can be set.

NOTE
Before a DP-Slave manufactured by FANUC can be
connected, data dependent on the FANUC DP-Slave
must be set in the slave parameters. Usually, soft
key [INIT] can be used for initialization to enable a
FANUC DP-Slave to be connected. In 15 CONFIG
DATA, however, variable data dependent on the size
of DI/DO data exchanged with the DP-Slave must be
set. So, when setting 15 CONFIG DATA, see
Section A.3, "Setting the Slave Parameters for Using
a Slave Station Manufactured by FANUC."

Screen A-6

- 191 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Table A-4 summarizes the slave parameters. For details, refer to the
following documents issued by PROFIBUS Nutzerorganisation e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Table A-4 Slave Parameters


Item Description
DISABLE/ENABLE Specify whether to perform communication with the DP-Slave for which the slave parameters
(DIS/ENB) are set.
DISABLE : Does not perform communication.
ENABLE : Performs communication.
Note) This item specifies whether the DP-Master manufactured by FANUC makes a request
for communication with the DP-Slave. Specifically, this item is not part of the slave
parameters.
IDENT NO. DP-Slave identification number.
Specify the identification number of a DP-Slave to be connected.
SLAVE FLAG Slave specification bit flag.
Bit 7: Active
0: Does not perform communication with the DP-Slave.
1: Performs communication with the DP-Slave.
Bit 6: New_Prm
0: Does not send new parameter data to the DP-Slave.
1: Sends new parameter data to the DP-Slave.
Bits 5 to 0: Reserved (to be service to 0)
SLAVE TYPE Manufacturer-specified type indication for the DP-Slave.
LOCK REQ, UNLOCK When LOCK_REQ=ON and UNLOCK_REQ=OFF are set, the DP-Slave disables the
REQ DP-Master from modifying the parameters.
When LOCK_REQ=OFF and UNLOCK_REQ=ON are set, the DP-Slave allows the
DP-Master to modify the parameters.
SYNC REQ When ON is set, the Sync control command can be used.
FREEZE REQ When ON is set, the Freeze control command can be used.
WD REQ When On is set, disconnection detection is performed.
WD FACT1, WD Coefficients for disconnection detection time determination.
FACT2 10 × WD_FACT1 × WD_FACT2 (msec)
MIN TSDR Minimum wait time until a response is returned to the DP-Master. (Unit: Bit time)
GROUP IDENT Specify groups for the DDLM_Global_Control instruction. Each bit represents a group. Up to
eight groups can be specified.
USER PRM DATA User parameter data.
Data necessary for the slave parameters and specified by the manufacturer.
CONFIG DATA Configuration data.
Data for specifying information such as the size of I/O data to be exchanged between the
DP-Master and DP-Slave.
SLAVE USER DATA Slave user data.
Data specified by the manufacturer to indicate the characteristics of the DP-Slave.

- 192 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

Remarks) Explanation of terms used in the above table


Sync control : Command for specifying operation in Sync
command mode. When operation is performed in Sync
mode, the DP-Slave updates the output signals
only when the Sync control command is
received.
Freeze control : Command for specifying operation in Freeze
command mode. When operation is performed in Freeze
mode, the DP-Slave updates input signals only
when the Freeze control command is received.
Disconnection : Function for checking if data is exchanged
detection normally between the DP-Master and
DP-Slave. If data is not exchanged after the
disconnection detection time determined by
WD FACT1 and WD FACT2 has elapsed, an
error is assumed.
Bit time : Time (sec) required to send one bit of data at a
specified transfer rate. This is equivalent to the
reciprocal of a transfer rate (bps).

CAUTION
Set values for parameters USER PRM DATA,
CONFIG DATA, and SLAVE USER DATA so that
the total of the three parameter lengths does not
exceed 207.

- 193 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

A.1.3 Setting for Address Assignment

Pressing soft key [ADDR] on Screen A-5 displays Screen A-7.


By pressing soft keys [PRV.NO] and [NXT.NO], the station number
of a DP-Slave to be set can be changed. To move to the screen of a
desired station number directly, enter the station number, then press
soft key [PRV.NO] or [NXT.NO].

Screen A-7

CAUTION
When assigning addresses, pay careful attention to the
following points:
1 Assign addresses to all DP-Slaves that are set to
ENABLE in the slave parameters.
2 Be careful not to assign duplicate addresses to a
DP-Slave.
3 Ensure that a specified DI data area, DO data area,
and diagnose data area do not overlap one another.
4 Ensure that the specified addresses do not overlap
an area used for a ladder program.
5 Use the R area only. (When using PMC-SB5, be
careful not to exceed R1499. When using PMC-SB6
or PMC-NB6, be careful not to exceed R2999.)

- 194 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

Each item must be set as described below.


DI/DO SETTING
Set the area to be used as a DI/DO data buffer. The total of the
DI/DO sizes for one slave station must not exceed 244 bytes.

NOTE
Diagnose data is classified as standard diagnose
data and extended diagnose data. The DP-Slaves
manufactured by FANUC use standard diagnose
data (6 bytes) only. On the other hand, DP-Slaves
supplied by other manufacturers may use extended
diagnose data of more than six bytes. When using
DP-Slaves supplied by other manufacturers,
determine the size of the diagnose data by
referencing the GSD file of each DP-Slave.

DIAGNOSE DATA SETTING


Set an area for storing diagnose data. For details of standard
diagnose data, see Table A-5.

- 195 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Table A-5 Standard Diagnose data


Item Description
STATION STATUS 1 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Master_Lock
This bit indicates that the parameters of the DP-Slave are set by another DP-Master.
When the value of MASTER_ADDRESS is neither 255 nor the address of the
DP-Master, this bit is set by the DP-Master.
Bit 6: Diag.Prm_Fault
This bit is set by the DP-Slave when the latest parameter data contains an error.
Bit 5: Diag.Invalid_Slave_Response
This bit is set by the DP-Master when incorrect data is received from the DP-Slave.
Bit 4: Diag.Not_Supported
This bit is set by the DP-Slave when the DP-Slave receives an instruction that is not
supported by the DP-Slave.
Bit 3: Diag.Ext_Diag
This bit is set by the DP-Slave when extended diagnose data can be used. The
DP-Master of FANUC CNCs can reference up to 238 bytes of the extended diagnose
data.
Bit 2: Diag.Cfg_Fault
This bit is set by the DP-Slave when the latest configuration data differs from the data
held by the DP-Slave.
Bit 1: Diag.Station_Not_Ready
This bit is set by the DP-Slave when the DP-Slave is not ready for data transfer.
Bit 0: Diag.Station_Non_Existent
This bit is set by the DP-Slave when communication with the DP-Slave is impossible.
STATION STATUS 2 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Deactivated
This bit is set by the DP-Master when communication with the DP-Slave is disabled
during slave parameter setting.
Bit 6: Reserved (undefined)
Bit 5: Diag.Sync_Mode
This bit is set by the DP-Slave when the Sync control command is received.
Bit 4: Diag.Freeze_Mode
This bit is set by the DP-Slave when the Freeze control command is received.
Bit 3: Diag.WD_On
This bit is set by the DP-Slave when the disconnection detection function is operating.
Bit 2: Reserved (set to 1 at all times)
Bit 1: Diag.Stat_Diag
If this bit is set by the DP-Slave, the DP-Master reads the diagnose data until this bit is
reset.
Bit 0: Diag.Prm_Req
This bit is set by the DP-Slave when the parameters of the DP-Slave need to be set
again. The setting of this bit is held until the parameters are set again.
STATION STATUS 3 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Ext_Diag_Overflow
This bit is set by the DP-Slave when diagnose data cannot be stored in the extended
diagnose data area. The DP-Master of FANUC CNCs can reference up to 238 bytes of
the extended diagnose data.
Bits 6 to 0: Reserved
MASTER ADDRESS The address of the DP-Master that set the parameters of the DP-Slave is set. If the
(Size: 1 byte) parameters are not set by the DP-Master, 255 is set.
IDENT NUMBER The identification number of a DP-Slave is set.
(Size: 2 bytes)

- 196 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

For details, refer to the following documents issued by PROFIBUS


Nutzerorganisation e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Soft key [INIT] on Screen A-7 clears the value of each address
assignment parameter (the address specification fields are set to
R0000). So, specify valid values.

Example) For explanation, the example shown in Screen A-7 is


used.
On Screen A-7, SLAVE NUMBER is 3. So, addresses are
assigned to the DP-Slave at station number 3.
DI ADDRESS is R0000, and DI SIZE is 32. So, a 32-byte
DI data area is assigned, starting at R0000, to the
DP-Slave at station number 3, as indicated below.
DO ADDRESS is R0100, and DO SIZE is 16. So, a
16-byte DO data area is assigned, starting at R0100, to the
DP-Slave of station number 3, as indicated below.

DI data area assignment


R0000
DI data from DP-Slave #3
R0032

DO data area assignment


R0100
DO data to DP-Slave #3
R0116

For diagnose data, similarly, DGN ADDRESS is R0200,


and DGN DATA SIZE is 6. So, a 6-byte diagnose data
area is assigned, starting at R0200, to the DP-Slave of
station number 3, as indicated below.

Diagnose data area assignment


R0200
Diagnose data of DP-Slave #3
R0206

- 197 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

A.1.4 Setting for Operation mode


Pressing soft key [MODE] on Screen A-2 displays Screen A-8. On
this screen, you can set the STOP, CLEAR, or OPERATE mode
defined in the PROFIBUS-DP specifications.

Screen A-8

On this screen, the current communication mode is displayed for


CURRENT MODE. Pressing soft key [STOP], [CLEAR], or
[OPERA] sets the corresponding communication mode. The setting
order must be [OPERATE], [CLEAR], and [STOP], or [STOP],
[CLEAR], and [OPERATE].

The communication status in each mode is explained below:


OFFLINE :
Communication with all nodes is disabled.
STOP :
Communication with another master station (such as a class-2
master station) is enabled.
CLEAR :
The output (DO) to all communication enable slave stations is
cleared.
OPERATE :
DI/DO communication is being performed with all
communication enable slave stations.

- 198 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

NOTE
For the operation mode, pay careful attention to the
following points:
(1) When the power is turned on in the status in which
at least one slave station is ACTIVE, the master
station automatically starts in the OPERATE mode.
An ACTIVE slave station means a slave station for
which ENABLE and SLAVE TYPE = 192 are set as
slave parameters.
(2) In a case other than (1), that is, when the power is
turned on in the status in which all slave stations
are not ACTIVE, the master station automatically
starts in the STOP mode.
(3) A FANUC master station cannot manually be put in
the OFFLINE mode.
If a FANUC master station is in the OFFLINE mode
immediately after power-on, an error may occur.
See Table A-1, "Setting Error Message."

A message may be displayed at the lower left of Screen A-8. In this


case, take appropriate action, referencing the table below.

Table A-6 Mode screen message


Message Caution and action
“MODE SET OK” Mode setting was performed normally.
Mode setting was performed in an invalid
order.
(For example, the order is [OPERATE] and
“INVALID OPERATION”
[STOP].)
Perform mode setting in a valid order as
described above.
This message is displayed if one of the
following three operations is performed:
1) [STOP] and [OFFLINE] are set in this order.
2) The power is turned on in the status in
which no slave stations are ACTIVE, and
[STOP] and [CLEAR] are set in this order.
3) After slave parameters are downloaded
from a class-2 master station, [STOP] and
"POWER MUST BE
[CLEAR] are set in this order.
OFF"
In case 1), the OFFLINE status is equal to the
power-off status.
In case 2) or 3), if settings are changed by
downloading from the slave parameter setting
screen or class-2 master station after
power-on, the change cannot be made take
effect immediately. For this reason, turn the
power off, then on again.

- 199 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

A.1.5 Updating DI/DO Data for the Master Function


When creating a ladder program, fully consider the data refresh time
and data simultaneity described below.

Data refresh time

The data refresh time for the master function means the time required
for updating DI/DO data for all slave stations that is allocated in the R
area of the PMC by address assignment.

NOTE
DI/DO data only for the slave stations for which
ENABLE is set as a slave parameter is to be
updated.
In this section, a slave station for which ENABLE is
set is described as a communication slave station.

When only the master function is used


The data refresh time for the master function is indicated by
REFRESH TIME on Screen A-2. When REFRESH TIME : X MSEC
[Y + Z] is assumed, the meaning of each item is as follows:
X: Data refresh time (= Y + Z)
Y: One-scan time within the communication board (msec)
Z: One-scan time within the CNC (msec)
The one-scan time indicates the DI/DO processing time for all
communication slave stations.
The number of digits that can be displayed is 3 for X, 3 for Y, and 4
for Z. If the number of digits is exceeded, OVR or OVER is displayed,
and it does not affect communication.

CAUTION
Note that DI/DO data may not be updated within the
time displayed for REFRESH TIME in either of the
following cases:
- The status of at least one communication slave
station is changing every moment.
(In this case, diagnose data must be updated.)
- A service is being received from a class-2 master
station every moment.

Y: The one-scan time within the communication board depends


greatly on the bus parameter setting. When the baud rate is 12
Mbps and normal communication is performed with all slave
stations, however, the value of Y is 8 msec in most cases.

- 200 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

Z: The one-scan time within the CNC is determined by expression


(A) shown below:
a1+a2×(N-1)+a3×SIZE≤1000................................................. (A)
a1, a2, a3 : Constant parameters
N : Number of communication slave stations
SIZE : DI/DO data size

Table A-7 Constant Parameters in Expression (A)


16i/18i/21i-A/B,
CNC 16/18-C
Power Mate i –D/H
a1 294 282
Constant a2 50 35
a3 1.0 1.2

In expression (A), N and SIZE indicate the number of communication


slave stations and DI/DO data size that can be updated during one
CNC ITP process (8 msec each), respectively.
The procedure for determining N and SIZE is shown below:
<1> Add the DI/DO data size for each communication slave station in
ascending order of station numbers. Each time the DI/DO data
size for a station is added, substitute the cumulative number of
communication slave stations (N) and the DI/DO data size
(SIZE) in expression (A) and check whether the condition is
satisfied.
<2> Increase the values of N and SIZE and obtain the maximum
values of N and SIZE (Nmax and SIZEmax) that satisfy the
condition for expression (A). The DI/DO data for one to Nmax
stations is updated during the first ITP process.
<3> When the value of the left-hand side exceeds 1000, clear the
values of N and SIZE once. Start calculation from step <1> as
the second ITP process.
<4> Perform steps <1> to <3> for all communication slave stations
and count the number of ITP processes (n).
Thus, Z is obtained as follows:
Z : one-scan-time-within-CNC = (n-1) × 8 msec

Example of calculating Z: One-scan time within the CNC)


[Conditions]
• CNC model: 16i/18i/21i-A/B
• Communication slave station settings for the master function:
- DI/DO size set for station No. 3 = 122/122
- DI/DO size set for station No. 4 = 122/122
- DI/DO size set for station No. 5 = 122/122
- DI/DO size set for station No. 6 = 122/122
[Calculation]
• First ITP process
- Calculation for station Nos. 3 and 4:
294+50×(2-1)+1.0×(244+244)=832≤1000
→ N and SIZE indicate the maximum values.
- Calculation for station Nos. 3 to 5:
294+50×(3-1)+1.0×(244+244+244)=1126≥1000
→ The values of N and SIZE are cleared.
- 201 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

• Second ITP process


- Calculation for station Nos. 5 to 6:
294+50×(2-1)+1.0×(244+244)=832≤1000
→ The ITP process count (n) is determined to be 2 and
calculation for all communication slave stations is
complete.
Thus, Z: One-scan time within the CNC is 8 msec for this example.

When both the master and slave functions are used together
In this case, the data refresh time is similar to that described in "When
only the master function is used" above.
However, SIZE: DI/DO data size in expression (A) is as follows:
SIZE = SIZEmas + SIZEslv
SIZEmas : DI/DO data size for the master function
SIZEslv : DI/DO data size for the slave function

Example of calculating Z: One-scan time within the CNC)


[Conditions]
• CNC model: 16i/18i/21i-A/B
• Communication slave station settings for the master function :
- DI/DO size set for station No. 3 = 122/122
- DI/DO size set for station No. 4 = 122/122
- DI/DO size set for station No. 5 = 122/122
- DI/DO size set for station No. 6 = 122/122
• Settings for the slave function : DI/DO SIZE = 50/50
[Calculation]
• First ITP process
- Calculation for station Nos. 3 and 4:
294+50×(2-1)+1.0×(244+244+100)=932≤1000
→ N and SIZE indicate the maximum values.
- Calculation for station Nos. 3 to 5:
294+50×(3-1)+1.0×(244+244+244+100)=1226≥1000
→ The values of N and SIZE are cleared.
• Second ITP process
- Calculation for station Nos. 5 to 6:
294+50×(2-1)+1.0×(244+244+100)=932≤1000
→ The ITP process count (n) is determined to be 2 and
calculation for all communication slave stations is
complete.
Thus, Z: One-scan time within the CNC is 8 msec for this example.

- 202 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

Data simultaneity

With the FANUC master function and Slave function, when DI/DO
signals are handled with a ladder program, data simultaneity is
guaranteed in each of long data (4-byte data) units and word data
(2-byte data) units under the following constraints.
NOTE
If the following constraints are not satisfied,
simultaneity of each data length cannot be
guaranteed.

Data simultaneity for long data (4-byte data)


<1> Use the following commands in the PMC ladder program in
4-byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVN, EOR, AND, OR, and
NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
follow the rules below depending on the PMC type:
- For the PMC-SB6
Each R address area must start at a 4-byte boundary.
(Example:R0000, R0004, R0008, R0012, . . .)
- For the PMC-SB5, PMC-SA1, or PMC-SA5
Each R address area must start at 2 bytes ahead of a 4-byte
boundary.
(Example: R0002, R0006, R0010, R0014, . . .)
CAUTION
To guarantee long data simultaneity, Edition 08 or
later of series 6557 of CONTROL SOFTWARE
must be used.

Data simultaneity for word data (2-byte data)


<1> Use the following commands in the PMC ladder program in
2-byte units:
DECB, CODEB, DCNVB, COMPB, DSCHB, XMOVB, ADDB,
SUBB, MULB, DIVB, NUMEB, MOVW, MOVN, EOR, AND,
OR, and NOT
<2> When assigning DI/DO data to R addresses in the PMC area,
each R address area must start at a 2-byte boundary.

Data simultaneity for byte data (1-byte data)


There is no constraint.
Simultaneity is always guaranteed within 1-byte data.

- 203 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

A.2 SLAVE FUNCTION SETTING

Addresses must be assigned on a DP-Slave before the slave function


can be used.
By address assignment, a PMC address is set, and the sizes of the
DI/DO areas used for the DI/DO signal transfer between the
DP-Master and DP-Slave are set. The method of setting each
parameter is described below.

NOTE
Before a DP-Slave manufactured by FANUC can be
used, data dependent on the FANUC DP-Slave must
be set in the slave parameters of the DP-Master. So,
when setting the slave parameters of the DP-Master,
see Section A.3, "Setting the Slave Parameters for
Using a slave Station Manufactured by FANUC."

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>. Then, press soft key [PMC] to
switch to the PMC screen.

(2) Pressing soft keys [PMCDGN], [IOCHK] , and [PROFI] in the


stated order displays Screen A-9.

Screen A-9

- 204 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

CAUTION
On Screen A-9, check the following items:
(1) CONTROL SOFTWARE is Edition 08 or later of
series 6557.
(2) SLAVE SOFTWARE (series 6553 or 6551) is
Edition 07 or later.

(3) Pressing soft key [SLAVE] on this screen displays Screen A-10.

Screen A-10

Screen A-10 is displayed when this slave station is the


stand-alone type 16i/18i/21i-A, LCD-mounted type
16i/18i/21i-A/B, or 16/18-C.
When this slave station is the Power Mate i-D/H, IDENT NO. =
00A1 is displayed.

- 205 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

NOTE
If either of the following messages is displayed on
Screen A-10, take appropriate action corresponding
the message:
- "SET I/O SIZE[MAS+SLV<=256],POWER OFF"
When this node is shared by both master and slave
stations, the total of the DI/DO sizes for all slave
stations for which ENABLE is set and the DI/DO
size for the sharing slave station exceeds 256
bytes.
Set the DI/DO sizes again so that the total does not
exceed 256 bytes, and turn the power off, then on
again. (This message is displayed only when
Edition 08 of series 6557 of CONTROL
SOFTWARE is used.)
- "UPGRADE SLAVE SOFTWARE"
Replace SLAVE SOFTWARE (series 6553 or 6551)
with Edition 07 or later of SLAVE SOFTWARE.

CAUTION
When assigning addresses, pay careful attention to
the following points:
1 Ensure that the specified DI and DO areas do not
overlap one another.
2 Ensure that specified addresses do not overlap an
area used for a ladder program.
3 Use the R area only. (When using the PMC-SB5, be
careful not to exceed R1499. When using the
PMC-SB6 or the PMC-NB6, be careful not to
exceed R2999.)

- 206 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

(4) Each item must be set as described below.


STATION NO.
Set the station number of the DP-Slave.
DI DATA
Set an area to be used as a DI data buffer. Set the start
address and size of the buffer.
DO DATA
Set an area to be used as a DO data buffer. Set the start
address and size of the buffer.

CAUTION
DI and DO described in this section indicate the
input and output viewed from the slave station,
respectively.

Example) For explanation, the example shown in Screen A-10 is


used.
On Screen A-10, the station number of the DP-Slave is 3.
A DI data area and DO data area used as buffers for
communication with the DP-Master are assigned as
described below.

DI data area assignment


R0300
DI data from the DP-Master
R0316

DO data area assignment


R0400
DO data to the DP-Master
R0432

- 207 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

(5) STATUS on Screen A-10 indicates the state of the DP-Slave.


Each item under STATUS has the meaning described below.
CONFIG STATUS
This item indicates whether slave parameter CONFIG
DATA of the DP-Master matches the configuration data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being
performed (match)
03: State in which received configuration data cannot be
accepted
PARAM STATUS
This item indicates whether slave parameter USER PRM
DATA of the DP-Master matches the parameter data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being
performed (match)
03: State in which received parameter data cannot be
accepted
WATCHDOG STATUS
This item indicates the connection state of the
communication link with the DP-Master.
00: Connected
01: Disconnected
LIVELIST STATUS
This item indicates whether the software of the slave
function is operating normally. During normal operation,
this item counts up from 00 to FF. When FF is reached,
another count operation starts from 00. This status indicates
whether the software of the slave function is operating
normally, but does not indicate whether communication is
being performed normally.
IDENT NO.
This item displays the identification number of a DP-Slave
using a FANUC CNC.
00: Stand-alone type 16i/18i/21i-A, LCD-mounted type
16i/18i/21i-A/B, 16/18-C
01: Power Mate i-D/H

- 208 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

A.2.1 Status Register


The contents of this section are the same as those of Section 1.3.1,
"Status Register" of OPERATION. See Section 1.3.1.

A.2.2 Updating DI/DO Data for the Slave Function


The contents of this section are the same as those of Section 1.3.2, "
Updating DI/DO Data for the Slave Function" of OPERATION. See
Section 1.3.2.

- 209 -
A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

A.3 SETTING THE SLAVE PARAMETERS FOR USING A


SLAVE STATION MANUFACTURED BY FANUC

The contents of this section are the same as those of Section 1.4,
"SETTING THE SLAVE PARAMETERS FOR USING A SLAVE
STATION MANUFACTURED BY FANUC" of OPERATION. See
Section 1.4.

- 210 -
B-62923EN/01 SUPPLEMENT A.SETTING WHEN EDITION 08 OR LATER OF SERIES 6557 IS USED

A.4 GSD FILE OF THE FANUC CNCS

The contents of this section are the same as those of Section 1.5,
" GSD FILE OF THE FANUC CNCS " of OPERATION. See Section
1.5.

- 211 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

B SETTING WHEN EDITION 07 OR


EARLIER OF SERIES 6557 IS USED
This chapter described the setting methods when Edition 07 or earlier
of series 6557 of CONTROL SOFTWARE is used.

- 212 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

B.1 MASTER FUNCTION SETTING

To use the master function, bus parameters and slave parameters must
be set, and addresses must be assigned.
The bus parameters are referenced by the network, and the slave
parameters are set for each slave. In address assignment, PMC
addresses used by the DP-Master to transfer DI/DO signals to and
from each DP-Slave are set.
The methods of setting the parameters are described below.

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>, then press soft key [PMC] to
switch to the PMC screen.

(2) Pressing soft keys [PMCDGN], [IOCHK], and [PROFI] in the


stated order displays Screen B-1.

Screen B-1

- 213 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

(3) Pressing soft key [MASTER] displays Screen B-2.

Screen B-2

(4) The following parameters can be set by pressing the


corresponding soft keys on the Screen B-2:
<1> Bus parameters [BUS]
<2> Slave parameters [SLAVE]

Pressing soft key [INI.AL] has the same effect as performing


initialization by pressing soft key [INIT] on the bus parameter setting
screen, slave parameter setting screen, or address assignment screen.
For the initialized values on these screens, see the descriptions of the
relevant sections.

- 214 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

B.1.1 Bus Parameter Setting


Pressing soft key [BUS] on Screen B-2 displays Screen B-3 to enable
bus parameter setting. The bus parameters consist of two pages. Use
the page keys to switch between the pages.

Switch between pages by pressing


page keys <↑> and <↓>.

Screen B-3

- 215 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

The data in the parentheses indicated to the right of each item


represents a range of settable values. For 2 BAUDRATE only,
however, the transfer rate corresponding to a set value is displayed.

Soft key [INIT] on Screen B-3 initializes the bus parameters to the
standard values used when the transfer rate is 12 Mbps.

CAUTION
To change the transfer rate from 12 Mbps to a
different value, set the bus parameters again
according to Table B-2, "Bus Parameter Settings
Corresponding to Each Transfer Rate" in this
section.

Soft key [DETAIL], shown at the bottom of Screen B-3, is displayed


when the cursor is moved to 17 MASTER USER DATA. Pressing this
soft key displays Screen B-4 to enable the setting of detailed data as
long as the number of bytes is specified in 17 MASTER USER
DATA.

Screen B-4

- 216 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

Table B-1 summarizes the bus parameters. Table B-2 lists the bus
parameter values to be set for each transfer rate. For details, refer to
the following documents issued by PROFIBUS Nutzerorganisation
e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Table B-1 Bus Parameters


Item Description
FDL ADD Fieldbus data link address.
Station number of the DP-Master.
BAUDRATE Transfer rate code number.
(0:9.6 kbps, 1:19.2 kbps, 2:93.75 kbps, 3:187.5 kbps, 4:500 kbps, 6:1.5 Mbps, 7:3 Mbps,
8:6 Mbps, 9:12 Mbps)
T SL Slot time.
Maximum time from token frame transmission until the first character of a response frame is
read. (Unit: Bit time)
MIN T SDR Minimum station delay time of responders.
Minimum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
MAX T SDR Maximum station delay time of responders.
Maximum elapsed time from the last bit of send or receive data to the first bit of the next send
or receive data. (Unit: Bit time)
T QUI Transmitter fall/repeater switch time.
Wait time after data transmission until the receiver can be operated again. (Unit: Bit time)
T SET Setup time.
Time after the occurrence of an event until the execution of the corresponding action is
started. (Unit: Bit time)
T TR Target rotation time.
Estimated time required for a PROFIBUS token to make one rotation. (Unit: Bit time)
G Gap update factor.
Number of tokens that rotate during a gap maintenance period.
HSA Highest station address.
Maximum node number set on the PROFIBUS.
MAX RETRY Maximum number of retries.
BP FLAG User interface flag.
Bit 7: Error_Action_Flag
0: Does not change the operation mode if an error occurs.
1: Changes the operation mode from Operate mode to the Clear mode if an error occurs.
Bits 6 to 0: Reserved (to be set to 0)
MIN SLAVE INT Minimum slave interval between two slave poll cycles.
Minimum polling interval between slaves. (Unit: 100 μs)
POLL TIME OUT Poll timeout for master-master communication.
Maximum wait time after the issue of a request for communication between master stations
until a response is received. (Unit: 1 ms)
DATA CONTROL Time until the data transfer list is updated at least once. (Unit: 10 ms)
CLASS2 NAME Master who created this parameter sets.
Name of the DP-Master (class2) that created the bus parameters.
MASTER USER DATA Data necessary for the bus parameters and specified by the manufacturer.

- 217 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Remarks) Explanation of terms used in the above table


Bit time : Time (sec) required to send one bit of data
at a specified transfer rate. This is
equivalent to the reciprocal of a transfer
rate (bps).
Gap maintenance : Period during which the list for managing
period the address of the connected DP-Master is
updated. (Unit: Bit time)
Operation mode : Operation mode of a DP-Master (class1).
Offline : Mode that disables
communication with all nodes
Stop : Mode that enables
communication with the
DP-Master (class2)
Clear : Mode in which the output to the
DP-Slave is set to 0
Operate : Mode that enables DI/DO
communication with DP-Slaves
Data transfer list : List with a 16-byte area. This list is held in
the DP-Master so that each bit indicates
whether data transfer to and from each of
the nodes of station numbers 0 to 125 has
been performed (1) or not (0) (bits 6 and 7
of the 16th byte are not used).

- 218 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

Table B-2 Bus Parameter Settings Corresponding to Each Transfer Rate


Bus parameter Setting
1: FDL ADD 0 to 125
2: BAUDRATE (Kbps) ≤187.5 500 1500 3000 6000 12000
3: T SL 100 200 300 400 600 1000
4: MIN T SDR 11 11 11 11 11 11
5: MAX T SDR 60 100 150 250 450 800
6: T QUI 0 0 0 3 6 9
7: T SET 1 1 1 4 8 16
8: TTR 65000 65000 65000 65000 65000 65000
9: G 10 10 10 10 10 10
10: HSA 126 126 126 126 126 126
11: MAX RETRY 1 1 1 2 3 4
12: BP FLAG 0 0 0 0 0 0
13: MIN SLAVE INT 1 1 1 1 1 1
14: POLL TIME OUT 1000 1000 1000 1000 1000 1000
15: DATA CONTROL 100 100 100 100 100 100
16: CLASS2 NAME This parameter need not be set.
17: MASTER USER DATA 0 0 0 0 0 0

Viewing this table for parameter setting:


First, determine the value of 2: BAUDRATE. Then, set the other parameters according to the
set baud rate.

NOTE
For multiple master communication, satisfy the
following conditions:
- The value set for 1:FDL ADD for a master station is
not used as another master station number.
- The same values are set for bus parameters 2 to 11
for all master stations.
- When a larger value is set for T SET, T SL is larger
than T ID1.
(T ID1 = 33 + 2 + 2 × T SET + T QUI)

- 219 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

B.1.2 Slave Parameter Setting


Pressing soft key [SLAVE] on Screen B-2 displays Screen B-5 to
enable slave parameter setting.
By pressing soft keys [PRV.NO] and [NXT.NO], the station number
of a DP-Slave to be set can be changed. To move to the screen of a
desired station number directly, enter the station number, then press
soft key [PRV.NO] or [NXT.NO].

CAUTION
When setting slave parameter data, pay careful
attention to the following points:
1 The slave parameters are available for 125 stations.
However, set the slave parameters for no more than
32 DP-Slaves for actual communication.
2 When using DP-Slaves provided by other
manufacturers, set the slave parameters according
to the GSD file attached to each DP-Slave.
3 When setting the slave parameters, carefully check
the slave number of each DP-Slave to be set.

Screen B-5

Soft key [INIT] on Screen B-5 initializes the slave parameters of a


specified station number to the standard values used for connecting a
DP-Slave using a FANUC CNC. For details of the settings required to
connect a DP-Slave manufactured by FANUC, see Section B.3,
"Setting the Slave Parameters for Using a Slave Station Manufactured
by FANUC." Soft key [DETAIL] shown at the bottom of Screen B-5
is displayed when the cursor is moved to an item from 14 USER PRM
DATA to 16 SLAVE USER DATA. Pressing this soft key displays a
screen such as Screen B-6. (Screen B-6 shows the screen displayed by
pressing soft key [DETAIL] when the cursor is placed at the item of
- 220 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

15 CONFIG DATA.) Detailed data as long as the number of bytes


specified in each of these items can be set.

NOTE
Before a DP-Slave manufactured by FANUC can be
connected, data dependent on the FANUC DP-Slave
must be set in the slave parameters. Usually, soft
key [INIT] can be used for initialization to enable a
FANUC DP-Slave to be connected. In 15 CONFIG
DATA, however, variable data dependent on the size
of DI/DO data exchanged with the DP-Slave must be
set. So, when setting 15 CONFIG DATA, see
Section B.3, "Setting the Slave Parameters for Using
a Slave Station Manufactured by FANUC."

Screen B-6

- 221 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Table B-3 summarizes the slave parameters. For details, refer to the
following documents issued by PROFIBUS Nutzerorganisation e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Table B-3 Slave Parameters


Item Description
DISABLE/ENABLE Specify whether to perform communication with the DP-Slave for which the slave parameters
(DIS/ENB) are set.
DISABLE : Does not perform communication.
ENABLE : Performs communication.
Note) This item specifies whether the DP-Master manufactured by FANUC makes a request
for communication with the DP-Slave. Specifically, this item is not part of the slave
parameters.
IDENT NO. DP-Slave identification number.
Specify the identification number of a DP-Slave to be connected.
SLAVE FLAG Slave specification bit flag.
Bit 7: Active
0: Does not perform communication with the DP-Slave.
1: Performs communication with the DP-Slave.
Bit 6: New_Prm
0: Does not send new parameter data to the DP-Slave.
1: Sends new parameter data to the DP-Slave.
Bits 5 to 0: Reserved (to be service to 0)
SLAVE TYPE Manufacturer-specified type indication for the DP-Slave.
LOCK REQ, UNLOCK When LOCK_REQ=ON and UNLOCK_REQ=OFF are set, the DP-Slave disables the
REQ DP-Master from modifying the parameters.
When LOCK_REQ=OFF and UNLOCK_REQ=ON are set, the DP-Slave allows the
DP-Master to modify the parameters.
SYNC REQ When ON is set, the Sync control command can be used.
FREEZE REQ When ON is set, the Freeze control command can be used.
WD REQ When On is set, disconnection detection is performed.
WD FACT1, WD Coefficients for disconnection detection time determination.
FACT2 10 × WD_FACT1 × WD_FACT2 (msec)
MIN TSDR Minimum wait time until a response is returned to the DP-Master. (Unit: Bit time)
GROUP IDENT Specify groups for the DDLM_Global_Control instruction. Each bit represents a group. Up to
eight groups can be specified.
USER PRM DATA User parameter data.
Data necessary for the slave parameters and specified by the manufacturer.
CONFIG DATA Configuration data.
Data for specifying information such as the size of I/O data to be exchanged between the
DP-Master and DP-Slave.
SLAVE USER DATA Slave user data.
Data specified by the manufacturer to indicate the characteristics of the DP-Slave.

- 222 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

Remarks) Explanation of terms used in the above table


Sync control : Command for specifying operation in Sync
command mode. When operation is performed in Sync
mode, the DP-Slave updates the output signals
only when the Sync control command is
received.
Freeze control : Command for specifying operation in Freeze
command mode. When operation is performed in Freeze
mode, the DP-Slave updates input signals only
when the Freeze control command is received.
Disconnection : Function for checking if data is exchanged
detection normally between the DP-Master and
DP-Slave. If data is not exchanged after the
disconnection detection time determined by
WD FACT1 and WD FACT2 has elapsed, an
error is assumed.
Bit time : Time (sec) required to send one bit of data at a
specified transfer rate. This is equivalent to the
reciprocal of a transfer rate (bps).

- 223 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

B.1.3 Setting for Address Assignment

Pressing soft key [ADDR] on Screen B-5 displays Screen B-7.


By pressing soft keys [PRV.NO] and [NXT.NO], the station number
of a DP-Slave to be set can be changed. To move to the screen of a
desired station number directly, enter the station number, then press
soft key [PRV.NO] or [NXT.NO].

Screen B-7

CAUTION
When assigning addresses, pay careful attention to the
following points:
1 Assign addresses to all DP-Slaves that are set to
ENABLE in the slave parameters.
2 Be careful not to assign duplicate addresses to a
DP-Slave.
3 Ensure that a specified DI data area, DO data area,
and diagnose data area do not overlap one another.
4 Ensure that the specified addresses do not overlap
an area used for a ladder program.
5 Use the R area only. (When using PMC-SB5, be
careful not to exceed R1499. When using PMC-SB6
or PMC-NB6, be careful not to exceed R2999.)

- 224 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

Each item must be set as described below.


DI/DO SETTING
Set the area to be used as a DI/DO data buffer.

DIAGNOSE DATA SETTING


Set an area for storing diagnose data. For details of standard
diagnose data, see Table B-4.

NOTE
Diagnose data is classified as standard diagnose
data and extended diagnose data. The DP-Slaves
manufactured by FANUC use standard diagnose
data (6 bytes) only. On the other hand, DP-Slaves
supplied by other manufacturers may use extended
diagnose data of more than six bytes. When using
DP-Slaves supplied by other manufacturers,
determine the size of the diagnose data by
referencing the GSD file of each DP-Slave.

- 225 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Table B-4 Standard Diagnose data


Item Description
STATION STATUS 1 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Master_Lock
This bit indicates that the parameters of the DP-Slave are set by another DP-Master.
When the value of MASTER_ADDRESS is neither 255 nor the address of the
DP-Master, this bit is set by the DP-Master.
Bit 6: Diag.Prm_Fault
This bit is set by the DP-Slave when the latest parameter data contains an error.
Bit 5: Diag.Invalid_Slave_Response
This bit is set by the DP-Master when incorrect data is received from the DP-Slave.
Bit 4: Diag.Not_Supported
This bit is set by the DP-Slave when the DP-Slave receives an instruction that is not
supported by the DP-Slave.
Bit 3: Diag.Ext_Diag
This bit is set by the DP-Slave when extended diagnose data can be used. The
DP-Master of FANUC CNCs can reference up to 26 bytes of the extended diagnose
data.
Bit 2: Diag.Cfg_Fault
This bit is set by the DP-Slave when the latest configuration data differs from the data
held by the DP-Slave.
Bit 1: Diag.Station_Not_Ready
This bit is set by the DP-Slave when the DP-Slave is not ready for data transfer.
Bit 0: Diag.Station_Non_Existent
This bit is set by the DP-Slave when communication with the DP-Slave is impossible.
STATION STATUS 2 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Deactivated
This bit is set by the DP-Master when communication with the DP-Slave is disabled
during slave parameter setting.
Bit 6: Reserved (undefined)
Bit 5: Diag.Sync_Mode
This bit is set by the DP-Slave when the Sync control command is received.
Bit 4: Diag.Freeze_Mode
This bit is set by the DP-Slave when the Freeze control command is received.
Bit 3: Diag.WD_On
This bit is set by the DP-Slave when the disconnection detection function is operating.
Bit 2: Reserved (set to 1 at all times)
Bit 1: Diag.Stat_Diag
If this bit is set by the DP-Slave, the DP-Master reads the diagnose data until this bit is
reset.
Bit 0: Diag.Prm_Req
This bit is set by the DP-Slave when the parameters of the DP-Slave need to be set
again. The setting of this bit is held until the parameters are set again.
STATION STATUS 3 The state of a DP-Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Ext_Diag_Overflow
This bit is set by the DP-Slave when diagnose data cannot be stored in the extended
diagnose data area. The DP-Master of FANUC CNCs can reference up to 26 bytes of
the extended diagnose data.
Bits 6 to 0: Reserved
MASTER ADDRESS The address of the DP-Master that set the parameters of the DP-Slave is set. If the
(Size: 1 byte) parameters are not set by the DP-Master, 255 is set.
IDENT NUMBER The identification number of a DP-Slave is set.
(Size: 2 bytes)

- 226 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

For details, refer to the following documents issued by PROFIBUS


Nutzerorganisation e.V.:
{ PROFIBUS STANDARD DIN 19 245 Part 1
This document describes data transfer, access methods, protocols,
and interfacing with the application layer.
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3
This document describes an abstract model of the
PROFIBUS-DP communication function, and so forth.

Soft key [INIT] on Screen B-7 clears the value of each address
assignment parameter (the address specification fields are set to
R0000). So, specify valid values.

Example) For explanation, the example shown in Screen B-7 is


used.
On Screen B-7, SLAVE NUMBER is 3. So, addresses are
assigned to the DP-Slave at station number 3.
DI ADDRESS is R0000, and DI SIZE is 32. So, a 32-byte
DI data area is assigned, starting at R0000, to the
DP-Slave at station number 3, as indicated below.
DO ADDRESS is R0100, and DO SIZE is 16. So, a
16-byte DO data area is assigned, starting at R0100, to the
DP-Slave of station number 3, as indicated below.

DI data area assignment


R0000
DI data from DP-Slave #3
R0032

DO data area assignment


R0100
DO data to DP-Slave #3
R0116

For diagnose data, similarly, DGN ADDRESS is R0200,


and DGN DATA SIZE is 6. So, a 6-byte diagnose data
area is assigned, starting at R0200, to the DP-Slave of
station number 3, as indicated below.

Diagnose data area assignment


R0200
Diagnose data of DP-Slave #3
R0206

- 227 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

B.1.4 Procedure using the DPL/MDI operation package


In case of the master functions for Power Mate i-D/H, the parameters
can be set by using the DPL/MDI operation package.

B.1.4.1 Select and display the screen


(1) Press <F4/DGN/PRM>the key to switch between display of the
parameter screen, diagnose screen, pitch error compensation
screen, and communication data screen (NETWORK). Select the
communication data screen. Then, the following screen appears.
FANUC Power Mate i DPL/MDI Operation Package
File Edit Disp Help

NETWORK

NET1 = 2
NET2 = 4

F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12


POS PRG ME DGN OPR &@ RD WR HLP EXT
N PRM ALM No. T

At first, the item “NET1 (parameter for communication)” and “NET2


(node number)” are displayed. The detail explanation for these items
is described in the section (1) and (2) in the next page. Set the data for
above two items according to the explanation.

- 228 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

(1) NET1 (Parameter for communication)


According to the kind of network and the group of parameter,
this item is subdivided into the following subitems from 1 to 3.
Select the subitem of the desired parameter out of 1 to 3 and set
the value to “NET1”.
1: Profibus DP Master BUS Parameter
2: Profibus DP Master Parameter for slave node
3: Profibus DP Master Parameter for address assignment

(2) NET2 (Node number)


The node number related with the parameters of communication
control is set to NET2. At present, the following items should be
set to NET2. (The data range is shown in ( ). )
2: Profibus DP Master Parameters for slave node (0-125)
3: Profibus DP Master Parameters for address assignment
(0-125)
It is not necessary to set a value to the parameters not to relate
with node number.

After setting above (1) and (2), you can display the items selected by
(1) and (2) when the cursor is shifted from NET2 by the cursor key
operation, or “INPUT” or “ENTER” key is pushed after entering the
number to be displayed.
If the item corresponding to the setting value does not exist, the item
cannot be displayed.

The following is the display example in case that (1)NET1 is set to


“2” and (2)NET2 is set to “4”.
FANUC Power Mate i DPL/MDI Operation Package

File Edit Disp Help

NETWORK

M0001= 0
M0002= 161
M0003= 192
M0004= 0
M0005= 1
M0006= 0
M0007= 0
M0008= 0

F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12


POS PRG ME DGN OPR &@ RD WR HLP EXT
N PRM ALM No. T

- 229 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

NOTE
1 In order to perform Profibus DP Master function, the
application software of Profibus DP function #6557
series and the farmware for Profibus DP #6552
series have to be loaded into the FROM of Power
Mate i-D/H. ”NETWORK” screen is displayed while
the Profibus DP Master function is performed.
2 Please refer to the chapter “2.2 Number and item for
selecting screen” for the detail of the data displayed
with above M0001 to MXXXX.
3 When DPL/MDI Operation Package is used instead
of CRT/MDI, the range of data is not checked. Be
sure to check the data range by referring to the
chapter 2.2 Number and item for selecting screen”
before setting data. If wrong number is set, data
communication may not be performed normally.
4 The items that are set in hexadecimal in CRT/MDI
should be set in decimal without sign in DPL/MDI
Operation Package. Set a value after converting into
decimal.
Ex. In case of IDENT NO. =A1H, set 161 because
A1H=161.

- 230 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

B.1.4.2 Number and item for selecting screen


In this chapter, the relation between the parameter number in case of
the DPL/MDI Operation Package and the setting items in case of the
CRT/MDI is described.

In case that NET1=1 (BUS Parameter) (Node designation is not necessary)


Number Item Type Explanation

M0001 FDL ADD Byte Fieldbus Data Link Address


Station number of the DP-Master. (0-125)
M0002 BAUDRATE Byte Transfer rate code number. (0-9)
( 0 : 9.6Kbps, 1 : 19.2Kbps, 2 : 93.75Kbps, 3 : 187.5Kbps, 4 :
500Kbps, 6 : 1.5Mbps, 7 : 3Mbps, 8 : 6Mbps, 9 : 12Mbps )
M0003 T SL Word Slot Time (1-65535)
Maximum time from token frame transmission until the first character of
a response frame is read. (Unit: Bit time)
M0004 MIN T SDR Word Minimum Station Delay Time of Responders (1-65535)
Minimum elapsed time from the last bit of send or receive data to the first
bit of the next send or receive data. (Unit: Bit time)

M0005 MAX T SDR Word Maximum Station Delay Time of Responders (1-65535)
Maximum elapsed time from the last bit of send or receive data to the
first bit of the next send or receive data. (Unit: Bit time)
M0006 T QUI Byte Transmitter fall/Repeater switch Time (0-255)
Wait time after data transmission until the receiver can be operated
again. (Unit: Bit time)
M0007 T SET Byte Setup Time (1-255)
Time after the occurrence of an event until the execution of the
corresponding action is started. (Unit: Bit time)
M0008 T TR Long Target Rotation Time (1-1677215)
Estimated time required for a PROFIBUS token to make one rotation.
(Unit: Bit time)
M0009 G Byte Gap Update Factor (1-108)
Number of tokens that rotate during a gap maintenance period.
M0010 HSA Byte Highest Station Address (2-126)
Maximum node number set on the PROFIBUS.
M0011 MAX RETRY Byte Maximum Number of retries (1-8)
M0012 BP FLAG Bit User Interface Flag
FLAG Bit 7: Error_Action_Flag
0: Does not change the operation mode if an error occurs.
1: Changes the operation mode from Operate mode to the Clear
mode if an error occurs.
Bits 6 to 0: Reserved (to be set to 0)
M0013 MIN SLAVE Word Minimum slave interval for between two slave poll cycles (1-65535)
INT Minimum polling interval between slaves. (Unit: 100 μs)
M0014 POLL TIME Word Poll Timeout for the master-master communication (1-65535)
OUT Maximum wait time after the issue of a request for communication
between master stations until a response is received. (Unit: 1 ms)
M0015 DATA Word Time until the data transfer list is updated at least once. (1-6555)
CONTROL (Unit: 10 ms)

- 231 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Number Item Type Explanation

M0016-M004 CLASS2 Byte Master who created this parameter sets


7 NAME Name of the DP-Master (class2) that created the bus parameters.
(32bytes of character code)
M0050 MASTER Word Data necessary for the bus parameters and specified by the manufacturer.
USER DATA (0-62)
M0100-M016 Byte Data part (0-255)
1 (If CRT/MDI, data format is 1 word of hexadecimal. When DPL/MDI
operation package is used, data are divided into 2 bytes and each byte is
set with decimal without sign.)

In case that NET1=2 (Slave parameters) (It is necessary to set data for each node)
Number Item Type Explanation

M001 DISABLE/ENAB Word Specify whether to perform communication with the DP-Slave for which the
LE (DIS/ENB) slave parameters are set. ( 0 or 1)
DISABLE : Does not perform communication. (=0)
ENABLE : Performs communication. (=1)
Note) This item specifies whether the DP-Master manufactured by FANUC
makes a request for communication with the DP-Slave. Specifically, this
item is not part of the slave parameters.
M0002 IDENT NO. Word DP-Slave identification number. (0-65535)
Specify the identification number of a DP-Slave to be connected.
(If CRT/MDI, data format is 1 word of hexadecimal. When DPL/MDI is used,
data are divided into 2 bytes and each byte is set with decimal without sign.)
M0003 SLAVE FLAG Bit Slave specification bit flag. (0-255)
FLAG Bit 7: Active
0: Does not perform communication with the DP-Slave.
1: Performs communication with the DP-Slave.
Bit 6: New_Prm
0: Does not send new parameter data to the DP-Slave.
1: Sends new parameter data to the DP-Slave.
Bits 5 to 0: Reserved (to be specified to 0)
M0004 SLAVE TYPE Byte Manufacturer-specified type indication for the DP-Slave. (0-255)
M0005 LOCK REQ Bit Bit 7:LOCK REQ, Bit 6: UNLOCK REQ
UNLOCK REQ FLAG When LOCK_REQ=ON and UNLOCK_REQ=OFF are set, the DP-Slave
SYNC REQ disables the DP-Master from modifying the parameters. (ON=1/OFF=0)
FREEZE REQ When LOCK_REQ=OFF and UNLOCK_REQ=ON are set, the DP-Slave
WD REQ allows the DP-Master to modify the parameters. (ON=1/OFF=0)
Bit 5: SYNC REQ
When ON is set, the Sync control command can be used. (ON=1/OFF=0)
Bit 4: FREEZE REQ
When ON is set, the Freeze control command can be used.
(ON=1/OFF=0)
Bit 3: WD REQ
When On is set, disconnection detection is performed. (ON=1/OFF=0)
Bit 2 - Bit 0: Reserved (Specify 0)

- 232 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

Number Item Type Explanation

M0006 WD FACT1 Byte Coefficients for disconnection detection time determination. (1-255)
10 × WD_FACT1 × WD_FACT2 (msec)
M0007 WD FACT2 Byte

M0008 MIN TSDR Byte Minimum wait time until a response is returned to the DP-Master. (Unit:
Bit time) (1-255)
M0009 GROUP Byte Specify groups for the DDLM_Global_Control instruction. Each bit
IDENT represents a group. Up to eight groups can be specified. (Hexadecimal 1
byte)
M0010 USER PRM Word User parameter data. (0-32)
DATA Data necessary for the slave parameters and specified by the manufacturer.
M0100-M013 Byte Data part (0-255)
1 (If CRT/MDI, data format is 1 word of hexadecimal. When DPL/MDI
operation package is used, data are divided into 2 bytes and each byte is set
with decimal without sign.)
M0011 CONFIG DATA Word Configuration data. (0-126)
Data for specifying information such as the size of I/O data to be exchanged
between the DP-Master and DP-Slave.
M0200-M032 Byte Data part (0-255)
5 (If CRT/MDI, data format is 1 word of hexadecimal. When DPL/MDI
operation package is used, data are divided into 2 bytes and each byte is set
with decimal without sign.)
M0012 SLAVE USER Word Slave user data. (0-30)
DATA Data specified by the manufacturer to indicate the characteristics of the
DP-Slave.
M0400-M042 Byte Data part (0-255)
9 (If CRT/MDI, data format is 1 word of hexadecimal. When DPL/MDI
operation package is used, data are divided into 2 bytes and each byte is set
with decimal without sign.)

In case that NET1=3 (Address assign parameters) (It is necessary to set data for each node)
Number Item Type Explanation

M0001 DI TOP Byte Assign the address of DI area. (Only R-area(=82) can be specified)
ADDRESS
M0002 DI OFFSET Word Set the offset from the top address of DI.
(PMC-SB5:0-1499, PMC-SB6:0-2999)
M0003 DI SIZE Byte Set the size of DI area. (0-32)
M0004 DO TOP Byte Assign the address of DO area. (Only R-area(=82) can be specified.)
ADDRESS
M0005 DO OFFSET Word Set the offset from the top address of DO.
(PMC-SB5:0-1499, PMC-SB6:0-2999)
M0006 DO SIZE Byte Set the size of DO area. (0-32)
M0007 DGN TOP Byte Assign the address of diagnosis data area. (Only R-area(=82) can be
ADDRESS specified)
M0008 DGN OFFSET Word Set the offset from the top address of diagnosisdata.
(PMC-SB5:0-1499, PMC-SB6:0-2999)
M0009 DGN SIZE Byte Set the size of diagnosis data. (0-32)

- 233 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

NOTE
1 The range of data set by DPL/MDI operation
package is decided by the data type such as Bit Flag,
Byte, Word and Long.
a) Bit FLAG (00000000 – 11111111:binary data)
b) Byte ( 0-255 )
c) Word ( 0-65535 )
d) Long ( -999999999~999999999 )
When setting data, pay attention to the range of data.
The data must be within the above range and the
range described in the explanation for each item. If
the data is out of range, the communication cannot
be performed.
2 The following five items, that can be set separately
on CRT/MDI, are the bit flags of the same data,
M0005 on DPL/MDI Operation package.
LOCK REQ, UNLOCK REQ, SYNC REQ, FREEZE
REQ, WD REQ
3 After setting the parameters for communication, the
power of CNC must be turned off/on so that the new
value become effective.

- 234 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

B.2 SLAVE FUNCTION SETTING

Addresses must be assigned on a DP-Slave before the slave function


can be used.
By address assignment, a PMC address is set, and the sizes of the
DI/DO areas used for the DI/DO signal transfer between the
DP-Master and DP-Slave are set. The method of setting each
parameter is described below.

NOTE
Before a DP-Slave manufactured by FANUC can be
used, data dependent on the FANUC DP-Slave must
be set in the slave parameters of the DP-Master. So,
when setting the slave parameters of the DP-Master,
see Section B.3, "Setting the Slave Parameters for
Using a slave Station Manufactured by FANUC."

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>. Then, press soft key [PMC] to
switch to the PMC screen.

(2) Pressing soft keys [PMCDGN], [IOCHK] , and [PROFI] in the


stated order displays Screen B-8.

Screen B-8

- 235 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

(3) Pressing soft key [SLAVE] on this screen displays Screen B-9.

Screen B-9

CAUTION
When assigning addresses, pay careful attention to
the following points:
1 Ensure that the specified DI and DO areas do not
overlap one another.
2 Ensure that specified addresses do not overlap an
area used for a ladder program.
3 Use the R area only. (When using the PMC-SB5, be
careful not to exceed R1499. When using the
PMC-SB6 or the PMC-NB6, be careful not to
exceed R2999.)

- 236 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

(4) Each item must be set as described below.


STATION NO.
Set the station number of the DP-Slave.
INPUT DATA
Set an area to be used as a DI data buffer. Set the start
address and size of the buffer.
OUTPUT DATA
Set an area to be used as a DO data buffer. Set the start
address and size of the buffer.

CAUTION
Input and output described below indicate the input
and output viewed from the slave station,
respectively.

Example) For explanation, the example shown in Screen B-9 is


used.
On Screen B-9, the station number of the DP-Slave is 3. A
DI data area and DO data area used as buffers for
communication with the DP-Master are assigned as
described below.

DI data area assignment


R0300
DI data from the DP-Master
R0316

DO data area assignment


R0400
DO data to the DP-Master
R0432

- 237 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

(5) STATUS on Screen B-9 indicates the state of the DP-Slave. Each
item under STATUS has the meaning described below.
CONFIG STATUS
This item indicates whether slave parameter CONFIG
DATA of the DP-Master matches the configuration data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being
performed (match)
03: State in which received configuration data cannot be
accepted
PARAM STATUS
This item indicates whether slave parameter USER PRM
DATA of the DP-Master matches the parameter data
recognized by the DP-Slave. If there is a mismatch, normal
communication cannot be performed.
FF: Initial state
00: State in which normal communication is being
performed (match)
03: State in which received parameter data cannot be
accepted
WATCHDOG STATUS
This item indicates the connection state of the
communication link with the DP-Master.
00: Connected
01: Disconnected
LIVELIST STATUS
This item indicates whether the software of the slave
function is operating normally. During normal operation,
this item counts up from 00 to FF. When FF is reached,
another count operation starts from 00. This status indicates
whether the software of the slave function is operating
normally, but does not indicate whether communication is
being performed normally.
IDENT NO.
This item displays the identification number of a DP-Slave
using a FANUC CNC.
00: 16i/18i/21i-A/B, 16/18-C
01: Power Mate i-D/H

- 238 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

B.2.1 Procedure using the DPL/MDI operation package


In case of the slave functions for Power Mate i-D/H, the parameters
can be set by using the DPL/MDI operation package.

(1) Press <F4/DGN/PRM>the key to switch between display of the


parameter screen, diagnose screen, pitch error compensation
screen, and Profibus screen. Select the Profibus screen. Then,
Screen B-10 shown below appears.
FANUC Power Mate i DPL/MDI Operation Package

File Edit Disp Help

PROFIBUS

S0001 = 3
S0002 = R300
S0003 = 16
S0004 = R400
S0005 = 32
S0101 = 00
S0102 = 00
S0103 = 00

>

F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12


POS PRG MEN DGN OPR &@ RD WRT HLP EXT
VAR PRM ALM No.

Screen B-10

By displaying Screen B-10, the parameters (S0001 to S0005) can


be set, and diagnose data (S0101 to S0105) can be displayed.

Table B-5 Setting parameters


Parameter No. Item Description
Sets the station number of the
S0001 Station NO.
DP-Slave.
Input Data
S0002 Sets the size of DI data.
Size
Input Data
S0003 Sets the address of DI data.
Address
Output Data
S0004 Sets the size of DO data.
Size
Output Data
S0005 Sets the address of DO data.
Address

- 239 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Table B-6 Dianosis data


Diagnose No. Item Description
Indicates whether slave parameter
Configuration CONFIG DATA for the DP-Master
S0101
Status matches the configuration data
recognized by the DP-Slave.
Indicates whether slave parameter
Parameter USER PARAM DATA of the DP-Master
S0102
Status matches the parameter data recognized
by the DP-Slave.
WatchDog Indicates the connection state of the
S0103
Status communication link with the DP-Master.
Indicates whether the software of the
S0104 Livelist Status
slave function is operating normally.
Indicates 00A1 as the identification
S0105 IDENT NO. number of the DP-Slave using a FANUC
Power Mate CNC.

Procedure using the DPL/MDI


(1) Press the <DGNOS/PARAM> key, then switch the screens, in
order, from Parameter to DIAGNOSE to Pitch Error to Profibus.
Then, Screen B-11 appears. The displayed items are the same as
those with the DPL/MDI operation package, which will be
described later. See the corresponding description.

S0001 = 0
> S0002 = 0
Screen B-11

- 240 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

B.2.2 Status Register


With the DP-Master, DP-Master status is set as diagnose data in the R
area of the PMC as described in Section B.1.3, "Setting for Address
Assignment." With a DP-Slave, a status register is used. This is
equivalent to the diagnose data used with the DP-Master. The status
register is set at address R9094 in the R area of the PMC. For details
of the status register, see Table B-7.

Table B-7 Status Register


Item Description
Status register The state of a DP-Slave is indicated. (All the bits below are set by the software of the CNC.)
(Address: R9094) Bit 7: No PROFIBUS board is installed.
(Size: 1 byte) This bit is set when no PROFIBUS board is inserted into the slot.
Bit 6: The DP-Master is not ready for communication.
This bit is set if the DP-Master is not ready for communication when the power to the DP-Slave
is turned on. If communication with the DP-Master is established, but later disabled, this bit
remains set to 0.
Bit 5: Reserved.
Bit 4 or bit 3: The CPU has stopped.
Bit 4 or bit 3 is set when the CPU on the communication board of the DP-Slave has stopped
during communication. Whether bit 4 or bit 3 is set depends on the software processing on the
CNC being performed when the CPU stopped. In either case, the CPU has stopped.
Bit 2: WATCHDOG STATUS error.
This bit is set if a disconnection occurs during communication.
Bit 1: CONFIG STATUS error.
This bit is set if the DP-Slave cannot recognize the CONFIG DATA of the slave parameters of
the DP-Master.
Bit 0: PARAM STATUS error.
This bit is set when the DP-Slave cannot recognize USER PRM DATA of the slave parameters
of the DP-Master.

- 241 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

B.3 SETTING THE SLAVE PARAMETERS FOR USING A


SLAVE STATION MANUFACTURED BY FANUC

Before the slave station manufactured by FANUC can be used, data


dependent on the FANUC slave station must be set in the slave
parameters of the master station.Table B-8 indicates the values to be
set in the slave parameters. Note that if valid values are not set in these
parameters, communication may not be performed normally. (For the
function of each slave parameter, see Table B-3 in Section B.1.2,
"Slave Parameter Setting.")

Table B-8 Settings of the Slave Parameters


Item Setting/description
IDENT NO. 00A0: CNC
00A1: Power Mate CNC
Identification number of a slave station using a PROFIBUS product manufactured by FANUC.
SLAVE FLAG C0
Slave specification bit flag.
SLAVE TYPE 0
Manufacturer-specified slave type.
STATION 88
STATUS Bit flag where LOCK_REQ, UNLOCK_REQ, SYNC_REQ, FREEZE_REQ, and WD_REQ are
assigned to the bits starting from the higher bit (Bits 2, 1, and 0 are not used).
LOCK_REQ and WD_REQ only are set to ON.
WD FACT1, 2 Arbitrary
Set an appropriate value according to a desired disconnection detection time.
MIN TSDR Arbitrary
Set an appropriate value according to the state of the network.
GROUP IDENT 0
Set an identification group to be used when SYNC_REQ and FREEZE_REQ are used. With the
slave function of a FANUC CNC, the SYNC_REQ and FREEZE_REQ functions cannot be used.
So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
USER PRM Data size : 0
DATA Data : None
User parameter data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.
CONFIG DATA Data size : 3
Data : C0, Number of output bytes - 1, Number of input bytes - 1
Configuration data.
As the data size, specify 3.
As data, specify C0 in the first byte, followed by the number of output bytes - 1 and the number of
input bytes - 1.
For the input/output of 32-byte output data (256 points) and 16-byte input data (128 points), for
example, specify C0, 1F, 0F in the data field.
SLAVE USER Data size : 0
DATA Data : None
Slave user data.
With the slave function of a FANUC CNC, this data is not used. So, specify 0.

NOTE
All settings indicated in Table B-8 are represented in hexadecimal.

- 242 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

B.4 GSD FILE OF THE FANUC CNCS

A GSD file is attached to all PROFIBUS products that can be used as


master stations and slave stations. Each GSD file contains
product-specific information in a specified format.
This section describes three GSD files for a DP-Master and DP-Slave
using a FANUC CNC, and for a DP-Slave using a FANUC Power
Mate CNC. For details of the GSD files, refer to the following
document issued by PROFIBUS Nutzerorganisation e.V.:
{ Draft Standard PROFIBUS-DP DIN 19 245 Part 3

- 243 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

GSD file for a DP-Master using a FANUC CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "2.0"
Ident_Number = 0x00CB
Protocol_Ident =0
Station_Type =1
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 8.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;

- 244 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

; Master specific parameters


;
Download_supp =1
Upload_supp =1
Act_Para_Brct_supp =0
Act_Param_supp =0
Max_MPS_Length = 65532
Max_Lsdu_MS = 244
Max_Lsdu_MM = 244
Min_Poll_Timeout = 100
;
Trdy_9.6 = 11
Trdy_19.2 = 11
Trdy_93.75 = 11
Trdy_187.5 = 11
Trdy_500 = 11
Trdy_1.5M = 11
Trdy_3M = 11
Trdy_6M = 11
Trdy_12M = 11
;
Tqui_9.6 =0
Tqui_19.2 =0
Tqui_93.75 =0
Tqui_187.5 =0
Tqui_500 =0
Tqui_1.5M =0
Tqui_3M =3
Tqui_6M =6
Tqui_12M =9
;
Tset_9.6 =1
Tset_19.2 =1
Tset_93.75 =1
Tset_187.5 =1
Tset_500 =1
Tset_1.5M =1
Tset_3M =4
Tset_6M =8
Tset_12M = 16
;

- 245 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

LAS_Len = 32
;
Tsdi_9.6 = 70
Tsdi_19.2 = 70
Tsdi_93.75 = 70
Tsdi_187.5 = 70
Tsdi_500 = 150
Tsdi_1.5M = 200
Tsdi_3M = 250
Tsdi_6M = 450
Tsdi_12M = 800
;
Max_Slaves_supp = 32
;

- 246 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

GSD file for a DP-Slave using a FANUC CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "1.0"
Ident_Number = 0x00A1
Protocol_Ident =0
Station_Type =0
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 9.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;

- 247 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

; Slave specific parameters


;
Freeze_Mode_supp =0
Sync_Mode_supp =0
Auto_Baud_supp =1
Set_Slave_Add_supp =0
User_Prm_Data_Len =0
Min_Slave_Intervall =1
Modular_Station =1
Max_Module =1
Max_Input_Len = 32
Max_Output_Len = 32
Max_Data_Len = 64
;
Module = "32 Byte Out, 32 Byte In" 0xC0,0x1F,0x1F
EndModule
Module = "28 Byte Out, 28 Byte In" 0xC0,0x1B,0x1B
EndModule
Module = "24 Byte Out, 24 Byte In" 0xC0,0x17,0x17
EndModule
Module = "20 Byte Out, 20 Byte In" 0xC0,0x13,0x13
EndModule
Module = "16 Byte Out, 16 Byte In" 0xC0,0x0F,0x0F
EndModule
Module = "12 Byte Out, 12 Byte In" 0xC0,0x0B,0x0B
EndModule
Module = " 8 Byte Out, 8 Byte In" 0xC0,0x07,0x07
EndModule
Module = " 4 Byte Out, 4 Byte In" 0xC0,0x03,0x03
EndModule
Module = " 2 Byte Out, 2 Byte In" 0xC0,0x01,0x01
EndModule
Module = "32 Byte Out, 1 Byte In" 0xC0,0x1F,0x00
EndModule
Module = " 1 Byte Out, 32 Byte In" 0xC0,0x00,0x1F
EndModule
;

NOTE
For a FANUC slave station, Module in the GSD file
matches slave parameter CONFIG DATA. The
DI/DO sizes for a FANUC slave station can be
changed without restrictions as long as they do not
exceed 32/32 bytes. For this reason, all of the
values to be specified for Module cannot be listed.
For the values to be specified for Module, see the
explanation of CONFIG DATA in Table B-8 in
Supplement B.3, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 248 -
B-62923EN/01 SUPPLEMENT B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

GSD file for a DP-Slave using a FANUC Power Mate CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC Power Mate CNC"
Revision = "1.0"
Ident_Number = 0x00A1
Protocol_Ident =0
Station_Type =0
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 9.0"
9.6_supp =1
19.2_supp =1
93.75_supp =1
187.5_supp =1
500_supp =1
1.5M_supp =1
3M_supp =1
6M_supp =1
12M_supp =1
MaxTsdr_9.6 = 60
MaxTsdr_19.2 = 60
MaxTsdr_93.75 = 60
MaxTsdr_187.5 = 60
MaxTsdr_500 = 100
MaxTsdr_1.5M = 150
MaxTsdr_3M = 250
MaxTsdr_6M = 450
MaxTsdr_12M = 800
Redundancy =0
Repeater_Ctrl_Sig =2
24V_Pins =0
;
; Slave specific parameters
;
Freeze_Mode_supp =0
Sync_Mode_supp =0
Auto_Baud_supp =1
Set_Slave_Add_supp =0
User_Prm_Data_Len =0
Min_Slave_Intervall =1
Modular_Station =1
Max_Module =1
Max_Input_Len = 32
Max_Output_Len = 32
Max_Data_Len = 64
;
Module = "32 Byte Out, 32 Byte In" 0xC0,0x1F,0x1F
EndModule
Module = "28 Byte Out, 28 Byte In" 0xC0,0x1B,0x1B
EndModule
- 249 -
B.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62923EN/01

Module = "24 Byte Out, 24 Byte In" 0xC0,0x17,0x17


EndModule
Module = "20 Byte Out, 20 Byte In" 0xC0,0x13,0x13
EndModule
Module = "16 Byte Out, 16 Byte In" 0xC0,0x0F,0x0F
EndModule
Module = "12 Byte Out, 12 Byte In" 0xC0,0x0B,0x0B
EndModule
Module = " 8 Byte Out, 8 Byte In" 0xC0,0x07,0x07
EndModule
Module = " 4 Byte Out, 4 Byte In" 0xC0,0x03,0x03
EndModule
Module = " 2 Byte Out, 2 Byte In" 0xC0,0x01,0x01
EndModule
Module = "32 Byte Out, 1 Byte In" 0xC0,0x1F,0x00
EndModule
Module = " 1 Byte Out, 32 Byte In" 0xC0,0x00,0x1F
EndModule
;
NOTE
For a FANUC slave station, Module in the GSD file
matches slave parameter CONFIG DATA. The
DI/DO sizes for a FANUC slave station can be
changed without restrictions as long as they do not
exceed 32/32 bytes. For this reason, all of the
values to be specified for Module cannot be listed.
For the values to be specified for Module, see the
explanation of CONFIG DATA in Table B-8 in
Supplement B.3, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 250 -
B-62923EN/01 SUPPLEMENT C.SETTING WHEN SERIES 6556 IS USED

C SETTING WHEN SERIES 6556 IS USED


This chapter described the setting methods when series 6556 of
CONTROL SOFTWARE is used.

- 251 -
C.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62923EN/01

C.1 MASTER FUNCTION SETTING

To use the master function, bus parameters and slave parameters must
be set, and addresses must be assigned.
The bus parameters are referenced by the network, and the slave
parameters are set for each slave. In address assignment, PMC
addresses used by the DP-Master to transfer DI/DO signals to and
from each DP-Slave are set.
The methods of setting the parameters are described below.

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>, then press soft key [PMC] to
switch to the PMC screen.

(2) Pressing soft keys [PMCDGN], [IOCHK], and [PROFI] in the


stated order displays Screen C-1.

Screen C-1

- 252 -
B-62923EN/01 SUPPLEMENT C.SETTING WHEN SERIES 6556 IS USED

(3) Pressing soft key [MASTER] displays Screen C-2.

Screen C-2

(4) The following parameters can be set by pressing the


corresponding soft keys on the Screen C-2:
<1> Bus parameters [BUS]
<2> Slave parameters [SLAVE]
<3> Address assignment [ADDR]

Pressing soft key [INI.AL] has the same effect as performing


initialization by pressing sp
oft key [INIT] on the bus parameter setting screen, slave parameter
setting screen, or address assignment screen.
For the initialized values on these screens, see the descriptions of the
relevant sections.

- 253 -
C.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62923EN/01

C.1.1 Bus Parameter Setting


Pressing soft key [BUS] on Screen C-2 displays Screen C-3 to enable
bus parameter setting. The bus parameters consist of two pages. Use
the page keys to switch between the pages.

Switch between pages by pressing


page keys <↑> and <↓> .

Screen C-3

- 254 -
B-62923EN/01 SUPPLEMENT C.SETTING WHEN SERIES 6556 IS USED

The data in the parentheses indicated to the right of each item


represents a range of settable values. For 2 BAUDRATE only,
however, the transfer rate corresponding to a set value is displayed.

CAUTION
To change the transfer rate from 12 Mbps to a
different value, set the bus parameters again
according to Table B-2, "Bus Parameter Settings
Corresponding to Each Transfer Rate" in the
previous chapter.

Soft key [DETAIL], shown at the bottom of Screen C-3, is displayed


when the cursor is moved to 17 MASTER USER DATA. Pressing this
soft key displays Screen C-4 to enable the setting of detailed data as
long as the number of bytes is specified in 17 MASTER USER
DATA.

Screen C-4

For details of the bus parameters, see Table B-1, "Bus Parameters," in
the previous chapter.

- 255 -
C.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62923EN/01

C.1.2 Slave Parameter Setting


Pressing soft key [SLAVE] on Screen C-2 displays Screen C-5 to
enable slave parameter setting.
By pressing soft keys [PRV.NO] and [NXT.NO], the station number
of a DP-Slave to be set can be changed. To move to the screen of a
desired station number directly, enter the station number, then press
soft key [PRV.NO] or [NXT.NO].

CAUTION
When setting slave parameter data, pay careful
attention to the following points:
1 The slave parameters are available for 125 stations.
However, set the slave parameters for no more than
32 DP-Slaves for actual communication.
2 When using DP-Slaves provided by other
manufacturers, set the slave parameters according
to the GSD file attached to each DP-Slave.
3 When setting the slave parameters, carefully check
the slave number of each DP-Slave to be set.

Screen C-5

Soft key [INIT] on Screen C-5 initializes the slave parameters of a


specified station number to the standard values used for connecting a
DP-Slave using a FANUC CNC. For details of the settings required to
connect a DP-Slave manufactured by FANUC, see Section B.3,
"Setting the Slave Parameters for Using a Slave Station Manufactured
by FANUC." Soft key [DETAIL] shown at the bottom of Screen C-5
is displayed when the cursor is moved to an item from 14 USER PRM
DATA to 16 SLAVE USER DATA. Pressing this soft key displays a
screen such as Screen C-6. (Screen C-6 shows the screen displayed by
pressing soft key [DETAIL] when the cursor is placed at the item of
- 256 -
B-62923EN/01 SUPPLEMENT C.SETTING WHEN SERIES 6556 IS USED

15 CONFIG DATA.) Detailed data as long as the number of bytes


specified in each of these items can be set.

NOTE
Before a DP-Slave manufactured by FANUC can be
connected, data dependent on the FANUC DP-Slave
must be set in the slave parameters. Usually, soft
key [INIT] can be used for initialization to enable a
FANUC DP-Slave to be connected. In 15 CONFIG
DATA, however, variable data dependent on the size
of DI/DO data exchanged with the DP-Slave must be
set. So, when setting 15 CONFIG DATA, see
Section B.3, "Setting the Slave Parameters for Using
a Slave Station Manufactured by FANUC."

Screen C-6

For details of the slave parameters, see Table B-3, "Slave Parameters,"
in the previous chapter.

- 257 -
C.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62923EN/01

C.1.3 Setting for Address Assignment

Pressing soft key [ADDR] on Screen C-2 displays Screen C-7.

Screen C-7

CAUTION
When assigning addresses, pay careful attention to the
following points:
1 Ensure that a specified DI data area, DO data area,
and diagnose data area do not overlap one another.
2 Ensure that the specified addresses do not overlap
an area used for a ladder program.
3 Use the R area only. (When using PMC-SB5, be
careful not to exceed R1499. When using PMC-SB6,
be careful not to exceed R2999.)

Each item must be set as described below.


MAX SLAVE NO.
This parameter specifies the maximum DP-Slave station
number currently being used.
The maximum DP-Slave station number with which the
FANUC CNC master function can communicate is 32. This
restriction stems from the size of the data area that can be
used with the FANUC CNC. The station number
assignment for the DP-Slaves connected to this DP-Master
must be sequential and begin from 3.
DI/DO SETTING
This parameter specifies the areas to be used as DI/DO data
buffers.

- 258 -
B-62923EN/01 SUPPLEMENT C.SETTING WHEN SERIES 6556 IS USED

The one and only restriction imposed on the PMC addresses


that can be used for these buffers is related to input- and
output-only types.
It is necessary to allocate as many sets of DI/DO data areas
as the number of stations specified in "MAX SLAVE NO."

CAUTION
Always set even-numbered bytes for DI SIZE and
DO SIZE.

DIAGNOSE DATA SETTING


This parameter specifies the area for saving standard
diagnostic data.
See Table B-4,"Standard Diagnose Data" in Supplement B
for a detailed description of the standard diagnostic data.

NOTE
Diagnose data is classified as standard diagnose
data and extended diagnose data. When series
6556 of CONTROL SOFTWARE is used, only
standard diagnose data (6 bytes) can be detected.

Soft key [INIT] on Screen C-7 clears the value of each address
assignment parameter (the address specification fields are set to
R0000). So, specify valid values.

Example) On Screen C-7, MAX SLAVE NO. is 5. This indicates that


three DP-Slaves having station numbers 3 to 5 are
connected.
DI ADDRESS is R0000, and DI SIZE is 32. So, a DI data
area is allocated for each of the DP-Slaves in 32-byte units,
starting at R0000, as shown below. DO ADDRESS is
R0100, and DO SIZE is 16. So, a DO data area is allocated
for each of the DP-Slaves in 16-byte units, starting at
R0100, as shown below.

DI data area assignment


R0000
DI data from DP-Slave #3
R0032
DI data from DP-Slave #4
R0064
DI data from DP-Slave #5
R0096

- 259 -
C.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62923EN/01

DO data area assignment


R0100
DO data from DP-Slave #3
R0116
DO data from DP-Slave #4
R0132
DO data from DP-Slave #5
R0148

For standard diagnosis data, similarly, DGN ADDRESS is


R0200, and DGN DATA SIZE is 6. So, a 6-byte diagnose
data area is assigned, starting at R0200, to the all
DP-Slave stations, as indicated below.

Standard diagnosis data area assignment


R0200
Standard diagnosis data from DP-Slave #3
R0206
Standard diagnosis data from DP-Slave #4
R0212
Standard diagnosis data from DP-Slave #5
R0218

- 260 -
B-62923EN/01 SUPPLEMENT C.SETTING WHEN SERIES 6556 IS USED

C.2 SLAVE FUNCTION SETTING

The contents of this section are the same as those of Section B.2,
"SLAVE FUNCTION SETTING." See Section B.2.

CAUTION
When 6556 series of CONTROL SOFTWARE is
used, INPUT DATA SIZE = 0 or OUTPUT DATA
SIZE = 0 can be set on the slave function setting
screen, but communication is disabled in this case.

- 261 -
C.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62923EN/01

C.3 SETTING THE SLAVE PARAMETERS FOR USING A


SLAVE STATION MANUFACTURED BY FANUC

The contents of this section are the same as those of Section B.3, "
SETTING THE SLAVE PARAMETERS FOR USING A SLAVE
STATION MANUFACTURED BY FANUC." See Section B.3.

- 262 -
B-62923EN/01 SUPPLEMENT C.SETTING WHEN SERIES 6556 IS USED

C.4 GSD FILE OF THE FANUC CNCS

The contents of this section are the same as those of Section B.4, "
GSD FILE OF THE FANUC CNCS." See Section B.4.

- 263 -
D.SETTING METHOD FOR PMC-SD7 SUPPLEMENT B-62923EN/01

D SETTING METHOD FOR PMC-SD7


This chapter describes the setting method when PMC-SD7 is used.

NOTE
1 When PMC-SD7 is used, CONTROL SOFTWARE
must be 6559.
2 When using PMC-SD7, the setting method of PMC
address is different from other PMC. About other
settings, refer to Section 1.2 "MASTER FUNCTION
SETTING" and Section 1.3 "SLAVE FUNCTION
SETTING".

- 264 -
B-62923EN/01 SUPPLEMENT D.SETTING METHOD FOR PMC-SD7

D.1 PMC ADDRESS SETTING FOR MASTER FUNCTOIN

The method of PMC address setting is described below when using


PMC-SD7.

Table PMC address setting when using PMC-SD7


Item. Description
PMC address Name The available PMC address Name is %M, %ME, %I
and %Q.

Example) "M", "ME", "I", "Q"

PMC address Number For a PMC address %M or %ME:

The available range is from 1 to 63993.


But the following condition has to be satisfied.
Condition) (8*n)+1 [n = from 0 to 7999]
Example) "1", "9", "17", - - - "63993"

For a PMC address %I or %Q:

The available range is from 10001 to 11017.


But the following condition has to be satisfied.
Condition) (8*n)+10001 [n = from 0 to 127]
Example) "10001", "10009", "10017",
- - - "11017"
PMC Size For a PMC address %M or %ME:

The available range is from 0 to 244.


(Unit : byte)
Example) "0", "1", "2", - - - "244"
For a PMC address %I or %Q:
The available range is from 0 to 128.
(Unit : byte)
Example) "0", "1", "2", - - - "128"

NOTE
The Limitations to assign a PMC address %I or %Q:
・ I/O Link 2ch and PMC address %I or %Q can't be
used at the same time. Therefore when
assigning a PMC address %I or %Q, "I/O Link
expansion" function cannot be used.
・ A PMC address %I is unavailable for a DO data
address.
・ A PMC address %Q is unavailable for a
Diagnose Data address, a DI data address, or an
Operation mode address.

- 265 -
D.SETTING METHOD FOR PMC-SD7 SUPPLEMENT B-62923EN/01

Example of Slave Index setting screen is below.

Slave Index setting screen

On this setting screen, “DGN ADDR” column corresponds to PMC


address Name and PMC address Number, “SIZ” column corresponds
to PMC Size.

- 266 -
B-62923EN/01 SUPPLEMENT D.SETTING METHOD FOR PMC-SD7

NOTE
When PMC address setting is invalid, an error
message "INVALID INPUT" or "INVALID RANGE" is
displayed.
Causes :
• When PMC address name was input, input
character was not "M", "ME", "I" or "Q".
• When "I/O Link expansion" function is used, input
PMC address name was "I" or "Q".
• The setting parameter was unavailable for a PMC
address %I or %Q.
• For a PMC address %M or %ME:
- When PMC address number was input, input
value was not (8*n)+1 [n = from 0 to 7999].
- When PMC Size was input, input value was not
from 0 to 244.
- When PMC address number or PMC Size was
input, the specified PMC Area "PMC address
number+(PMC Size*8)-1" exceeded the
maximum value 64000 of PMC Area %M
or %ME.
• For a PMC address %I or %Q:
- When PMC address number was input, input
value was not (8*n)+10001 [n = from 0 to 127].
- When PMC Size was input, input value was not
from 0 to 128.
- When PMC address number or PMC Size was
input, the specified PMC Area "PMC address
number+(PMC Size*8)-1" exceeded the
maximum value 11024 of PMC Area %I or %Q.

CAUTION
When assigning addresses, pay careful attention to
the following points:
(1) Ensure that a specified PMC area (Master
function’s DI/DO data area, diagnose data area,
operation mode indication area, Slave function’s
DI/DO data area if Slave function is used) do not
overlap one another.
(2) Ensure that the specified addresses do not
overlap an area used for a ladder program.

- 267 -
D.SETTING METHOD FOR PMC-SD7 SUPPLEMENT B-62923EN/01

Other setting screens are set up in the same way, too.


Examples of other setting screens are below.

DI/DO Address setting screen

Operation mode setting screen

- 268 -
B-62923EN/01 SUPPLEMENT D.SETTING METHOD FOR PMC-SD7

D.2 PMC ADDRESS SETTING FOR SLAVE FUNCTOIN

The method of PMC address setting is described below when using


PMC-SD7.

Table PMC address setting when using PMC-SD7


Item. Description
PMC address Name The available PMC address Name is %M, %ME, %I
and %Q.

Example) "M", "ME", "I", "Q"

PMC address Number For a PMC address %M or %ME:

The available range is from 1 to 63993.


But the following condition has to be satisfied.
Condition) (8*n)+1 [n = from 0 to 7999]
Example) "1", "9", "17", - - - "63993"

For a PMC address %I or %Q:

The available range is from 10001 to 11017.


But the following condition has to be satisfied.
Condition) (8*n)+10001 [n = from 0 to 127]
Example) "10001", "10009", "10017",
- - - "11017"
PMC Size For a PMC address %M or %ME:

The available range is from 0 to 244.


(Unit : byte)
Example) "0", "1", "2", - - - "244"
For a PMC address %I or %Q:
The available range is from 0 to 128.
(Unit : byte)
Example) "0", "1", "2", - - - "128"

NOTE
The Limitations to assign a PMC address %I or %Q:
• I/O Link 2ch and PMC address %I or %Q can't be
used at the same time. Therefore when assigning
a PMC address %I or %Q, "I/O Link expansion"
function cannot be used.
• A PMC address %I is unavailable for a DO data
address.
• A PMC address %Q is unavailable for a DI data
address.

- 269 -
D.SETTING METHOD FOR PMC-SD7 SUPPLEMENT B-62923EN/01

Example of Slave function setting screen is below.

Slave function setting screen

On this setting screen, “DI/DO ADDR” column corresponds to PMC


address Name and PMC address Number, “DI/DO SIZ” column
corresponds to PMC Size.

- 270 -
B-62923EN/01 SUPPLEMENT D.SETTING METHOD FOR PMC-SD7

NOTE
When PMC address setting is invalid, an error
message "INVALID INPUT" or "INVALID RANGE" is
displayed.
Causes :
• When PMC address name was input, input
character was not "M", "ME", "I" or "Q".
• When "I/O Link expansion" function is used, input
PMC address name was "I" or "Q".
• The setting parameter was unavailable for a PMC
address %I or %Q.
• For a PMC address %M or %ME:
- When PMC address number was input, input
value was not (8*n)+1 [n = from 0 to 7999].
- When PMC Size was input, input value was not
from 0 to 244.
- When PMC address number or PMC Size was
input, the specified PMC Area "PMC address
number+(PMC Size*8)-1" exceeded the
maximum value 64000 of PMC Area %M
or %ME.
• For a PMC address %I or %Q:
- When PMC address number was input, input
value was not (8*n)+10001 [n = from 0 to 127].
- When PMC Size was input, input value was not
from 0 to 128.
- When PMC address number or PMC Size was
input, the specified PMC Area "PMC address
number+(PMC Size*8)-1" exceeded the
maximum value 11024 of PMC Area %I or %Q.

CAUTION
When assigning addresses, pay careful attention to
the following points:
(1) Ensure that a specified PMC area (Slave
function’s DI/DO data area, Master function’s
DI/DO data area, diagnose data area, operation
mode indication area if Master function is used)
do not overlap one another.
(2) Ensure that the specified addresses do not
overlap an area used for a ladder program.

- 271 -
D.SETTING METHOD FOR PMC-SD7 SUPPLEMENT B-62923EN/01

D.3 EXAMPLE OF CONFIGURATION

Using the example of configuration shown below, the setting of each


parameter is explained.

Series 16i-B
DP-Master(class1) #1
16Bytes 16Bytes
16Bytes
PROFIBUS-DP (12Mbps)

4Bytes 4Bytes 4Bytes

Series 18i-B Series 18i-B Series 18i-B


DP-Slave #3 DP-Slave #4 DP-Slave #5

Fig. Example of PROFIBUS-DP Configuration

In the above example, a Series 16i-B station acting as DP-Master is


connected to three Series 18i-B stations acting as DP-Slaves.
Data consisting of 16 bytes (128 points) is transferred from the
DP-Master to each of the DP-Slaves, and data consisting of 4 bytes
(32 points) is transferred from each of the DP-Slaves to the
DP-Master.
The transfer rate is 12 Mbps. Station number 1 is assigned to the
DP-Master, and station numbers 3, 4 and 5 are assigned to the
DP-Slaves from left to right.

- 272 -
B-62923EN/01 SUPPLEMENT D.SETTING METHOD FOR PMC-SD7

D.3.1 Master Station Setting


If the following PMC address map is designed for DP-Master#1
(Series16i-B), the setting examples of each setting screen are shown in
the next pages.

%M00001
DI data from DP-Slave#3 (4bytes)
%M00033
DI data from DP-Slave#4 (4bytes)
%M00065
DI data from DP-Slave#5 (4bytes)
%M00097
Not used
%M00161
DO data to DP-Slave#3 (16bytes)
%M00289
DO data to DP-Slave#4 (16bytes)
%M00417
DO data to DP-Slave#5 (16bytes)
%M00545
Not used
%M00561
Diagnose data of DP-Slave#3 (6bytes)
%M00609
Diagnose data of DP-Slave#4 (6bytes)
%M00657
Diagnose data of DP-Slave#5 (6bytes)
%M00705
Not used
%M00721
Value of Operation mode (1byte)
%M00729

Not used

%M64000

Fig. PMC Address Map for DP-Master#1(Series16i-B)

- 273 -
D.SETTING METHOD FOR PMC-SD7 SUPPLEMENT B-62923EN/01

Bus Parameter setting screen

When the transfer rate is 12Mbps, for example, the bus parameters are
set up as above.
Refer to Section 1.2.1 "Bus Parameter Setting" for the details of this
setting screen.

Slave Index setting screen

Refer to Section 1.2.2 "Slave Index Setting" for the details of this
setting screen.

- 274 -
B-62923EN/01 SUPPLEMENT D.SETTING METHOD FOR PMC-SD7

Slave Parameter setting screen (SLAVE NO.=3)

The slave parameters are set up as above when FANUC CNC is


connected as the DP-Slave.
These setting values are set up in the same way for the Slave
parameter setting screens of the other DP-Slaves (SLAVE NO. = 4,
SLAVE NO. = 5).
Refer to Section 1.2.3 "Slave Parameter Setting" for the details of this
setting screen.

DI/DO Parameter setting screen

Refer to Section 1.2.4 "DI/DO Parameter Setting" for the details of


this setting screen.
The column of "MOD" is refreshed after the next Module setting
screen is set up.
- 275 -
D.SETTING METHOD FOR PMC-SD7 SUPPLEMENT B-62923EN/01

Module setting screen

The module parameters are set up as above when Input/Output size is


4bytes/16bytes.
These setting values are set up in the same way for the Module setting
screens of the other Slots (SLAVE NO. = 4/SLOT NO. = 0, SLAVE
NO. = 5/SLOT NO. = 0).
Refer to Section 1.2.4 "DI/DO Parameter Setting" for the details of
this setting screen.

Operation mode setting screen

Refer to Section 1.2.5 "Setting for Operation mode" for the details of
this setting screen.

- 276 -
B-62923EN/01 SUPPLEMENT D.SETTING METHOD FOR PMC-SD7

D.3.2 Slave Station Setting


If the following PMC address map is designed for DP-Slave#3
(Series18i-B), the setting example of setting screen is shown in the
next page.

%M00001
DI data from DP-Mater#1 (16bytes)
%M00129
Not used
%M00161
DO data to DP-Master#1 (4bytes)
%M00193

Not used

%M64000

Fig. PMC Address Map for DP-Slave#3(Series18i-B)

Slave function setting screen

Refer to Section 1.3 "SLAVE FUNCTION SETTING" for the details


of this setting screen.

These setting values are set up in the same way for the Slave function
setting screens of the other DP-Slaves (#4, #5) if the PMC address
map is the same.

- 277 -
E.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62923EN/01

E SETTING USING A PERSONAL


COMPUTER
To set the communication parameters for a FANUC master station,
you can use PROFIBUS DP-Configurator (tool running on a PC)
manufactured by Softing as well as the local station.
This chapter explains how to set the communication parameters using
PROFIBUS DP-Configurator. For details, refer to the PROFIBUS-DP
Configurator manual.

- 278 -
B-62923EN/01 SUPPLEMENT E.SETTING USING A PERSONAL COMPUTER

E.1 SETTING USING DP-Configurator MANUFACTURED BY


Softing

For a FANUC master station, you can use PROFIBUS-DP


Configurator manufactured by Softing to remotely download bus and
slave parameters.
Softing PROFIBUS-DP Configurator is currently supported by the
following two I/F board products:
- PROFIboard (Board for ISA/PCI slot)
- PROFIcard (Board for PCMCIA)

CAUTION
On Windows NT 4.0, the remote communication
parameter download function cannot be used, which
is also described in the Softing PROFIBUS-DP
Configurator manual. Use Softing PROFIBUS-DP
Configurator on Windows 3.1, Windows 95, or
Windows 98.

Initial setting of PROFIBUS-DP Configurator


(1) Mount a PROFIboard or PROFIcard on your personal computer
according to the instructions described in the corresponding
manual.
(2) Install PROFIBUS/DP DMK package, which is an I/F board
driver provided by Softing.
(3) Install PROFI-KON-DP, which is PROFIBUS-DP Configurator
software provided by Softing.
NOTE
Dp_Konf.exe, execution file installed in step (3),
uses papi_l.dll (.../Win95sdk/papi/lib16), dll file
installed in step (2). For this reason, remember to
copy papi_l.dll into the directory containing
Dp_Konf.exe or set an environment variable.

- 279 -
E.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62923EN/01

(4) Open PROFIBUS on the Control Panel. Screen E-1 is displayed.


Select PROFIboard or PROFIcard in the tree and click Add, then
make settings for the I/F board.
When PROFIcard is selected and setting terminates normally,
Screen E-1 below is displayed.

Screen E-1

NOTE
Check that a green check mark is displayed for the
set I/F board as shown in Screen E-1. If a red cross
is displayed for the set I/F board, proper remote
downloading cannot be performed. In this case,
check the installed software again.

(5) Start PROFIBUS-DP Configurator and open Options, then PC


Interface. Screen E-2 is displayed.
On Screen E-2, select an I/F board type for PROFIBUS Interface
under Type.
When PROFIcard is selected, Screen E-2 below is displayed.

Screen E-2

- 280 -
B-62923EN/01 SUPPLEMENT E.SETTING USING A PERSONAL COMPUTER

NOTE
When the I/F board type is PROFIcard, set a file for
Loadcard INI under Hardware Setup Files. The file
is stored on cardinst (dos/loadcard.ini) which is a
floppy disk provided by Softing. Specify the file.

A general initial setting procedure for using PROFIBUS-DP


Configuration is shown above. A general operation procedure for
remote downloading is shown below.

Operation procedure on a FANUC master station


(1) Press function key <SYSTEM>, then press soft key [PMC] to
switch to the PMC screen.
(2) Pressing soft keys [PMCDGN], [IOCHK], and [PROFI] in the
stated order displays Screen E-3.

Screen E-3

CAUTION
Check that CONTROL SOFTWARE is Edition 08 or
later of series 6557 on Screen E-3.
For remote downloading, MASTER SOFTWARE is
required.

- 281 -
E.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62923EN/01

(3) Pressing soft key [MASTER] on this screen displays Screen E-4.

Screen E-4

(4) On Screen E-4, press soft key [INI.AL].


All of bus parameters, slave parameters, and address assignment
are initialized.

(5) Turn the power to the FANUC master station, then on again.
Screen E-4 is displayed again. Press soft key [MODE].
Screen E-5 is displayed. On this screen, check that CURRENT
MODE is STOP.

Screen E-5

Preparations for remote downloading on the FANUC master station


are now complete.

- 282 -
B-62923EN/01 SUPPLEMENT E.SETTING USING A PERSONAL COMPUTER

PROFIBUS-DP Configurator operation procedure


(1) Start PROFIBUS-DP Configurator. Screen E-6 is displayed.

Screen E-6

(2) Open DDB, then Import. Screen E-7 is displayed.

Screen E-7

On this screen, click Add to select the GSD file for each device
(master or slave station) to be used for PROFIBUS-DP
Configurator.
When the GSD file for each device is read correctly, it is added
to Import DDB list on Screen E-7.

- 283 -
E.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62923EN/01

(3) Open Project, then New Project. Screen E-8 is displayed.

Screen E-8

(4) Select a master station for remote downloading from Master


Selection List under DDB Selection List on Screen E-8. Screen
E-9 is displayed.
These parameters are used as the bus parameters to be remotely
downloaded.

Screen E-9

On Screen E-9, set values for Station Address and Baudrate.

CAUTION
For Softing PROFIBUS-DP Configurator, the default
TTR value is 50000. Click Edit and change the TTR
value to 65000.

- 284 -
B-62923EN/01 SUPPLEMENT E.SETTING USING A PERSONAL COMPUTER

(5) Select a slave station for remote downloading from Slave


Selection List under DDB Selection List on Screen E-8. Screen
E-10 is displayed.
These parameters are used as the slave parameters to be remotely
downloaded.

Screen E-10

On Screen E-10, set a value for Station Address.


CAUTION
On Screen E-10, there are an item for setting
Configuration Data on the Modules tab and an item
for setting User Param Data on the Settings tab.
Note that there is the following restriction on setting
of these two parameters for a FANUC master
station:
configuration-data-length + user-param-data-length
≤ 204 bytes
These parameter lengths are described in the GSD
file for each slave station. See the GSD file.

(6) Select the Modules tab on Screen E-10. Screen E-11 is displayed.

Screen E-11

On this screen, select a module name from Available Modules


and click Add. The selected module is added to Current Slots.
This parameter is equivalent to slave parameter CONFIG DATA
for a FANUC master station.
The format for the FANUC slave stations is used for the module
names in Available Modules on Screen E-11.

- 285 -
E.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62923EN/01

CAUTION
For a FANUC slave station, set only one item for
Current Slots.

(7) Select the Settings tab on Screen E-11. Screen E-12 is displayed.

Screen E-12

Set each parameter on Screen E-12 when required.

CAUTION
For setting for a FANUC slave station, change the
values for the following two parameters:
- Set 55 for Min. Station Delay Responder on Screen
E-12.
- With PROFIBUS-DP Configurator, the value set for
Watchdog Time cannot be changed. After remote
downloading, set WD FACT1 = WD FACT2 = 10
directly on the slave parameter setting screen of the
FANUC master station.

(8) Then, set the bus parameters to be used when PROFIBUS-DP


Configurator is used as a class-2 master station.
Open Options, then Busparameter Master Class2 on Screen E-8.
Screen E-13 is displayed.

Screen E-13

- 286 -
B-62923EN/01 SUPPLEMENT E.SETTING USING A PERSONAL COMPUTER

CAUTION
Pay careful attention to the following points:
- The station number specified for Station Address on
Screen E-13 is used when PROFIBUS-DP
Configurator is attached to the network. For this
reason, do not specify the station numbers of the
FANUC master station and other master and slave
stations on the network.
- Set the same baud rate as for the FANUC master
station or another master station on the network.
- When the baud rate is 19.2 or 9.6 kbps, set 10000
[msec] for Poll Timeout of PROFIBUS-DP
Configurator. At this time, the values set for Poll
Timeout for the FANUC master station or another
master station on the network need not be changed.

(9) Then, click Edit on Screen E-13. Screen E-14 is displayed.

Screen E-14

- 287 -
E.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62923EN/01

CAUTION
Pay careful attention to the following two points:
<1> For Softing PROFIBUS-DP Configurator, the
default TTR value is 50000. Change the TTR
value to 65000.
<2> Change the values of the following three
parameters on Screen E-14 only when the baud
rate is 12 Mbps:
- Min. St. Delay Resp. : 11 → 13
- Max. St. Delay : 800 → 802
- Quiet Time : 9 → 12
At this time, the values set for these three
parameters for the FANUC master station or
another master station on the network need not
be changed.

(10) Select Download, then Remote. Remote downloading starts.


The bus parameters and slave parameters are automatically
downloaded in this order.

CAUTION
Remote downloading overwrites the bus parameters
and slave parameters set on the FANUC master
station.
Setting for address assignment cannot be
performed with PROFIBUS-DP Configurator. After
completion of remote downloading, perform setting
for address assignment and turn the power off, then
on again.

General remote downloading operation is now complete.

- 288 -
B-62923EN/01 INDEX

INDEX
GENERAL WARNINGS AND NOTES........................ s-3
<Number>
GSD FILE OF THE FANUC CNCS
16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C ....... 13
................................................. 64,94,103,211,243,263
<A>
<I>
About the number of available I/O module units ............ 51
INSTALLATION............................................ 131,139,147
ALARM MESSAGES AND MEANINGS ................... 177
APPLICABLE MODELS .................................................5 <L>
LCD-MOUNTED TYPE PROFIBUS FOR THE Series
<B>
16i/18i/21i ...............................................................167
BUILDING A SAFE SYSTEM .................................... 106
LED INDICATORS AND THEIR MEANINGS
Built-in I/O Machine Interface ............................... 154,155
.................................................................. 165,169,173
Bus Parameter Setting ........................... 19,75,185,215,254
LED Indicators of the DP-Master Function ........... 169,173
<C> LED Indicators of the DP-Slave Function.............. 170,174
CABLE CONNECTION............................................... 126
<M>
Cable Installation .......................................................... 131
MASTER FUNCTION SETTING ........ 15,74,182,213,252
CABLE LENGTH AND TRANSFER RATE............... 124
MASTER FUNCTIONS ...................................................8
CABLE SHIELDING ................................................... 128
Master Station Setting ............................................ 112,273
COMPLETE CONNECTION DIAGRAM ............ 144,149
Mounting the Adapter Unit ...........................................139
COMPONENT LAYOUT............................... 164,168,172
Mounting the Board ............................................... 139,147
CONFIGURATION ........................................ 130,136,146
CONNECTING THE PROFIBUS FUNCTIONS ......... 121 <N>
Connection between the PROFIBUS Board and Adapter NOTES ON CONNECTING PROFIBUS BOARDS FOR
Units........................................................................ 140 THE Power Mate i ..................................................150
CONNECTION DIAGRAM .................................. 134,152 Number and item for selecting screen ...........................231
CONNECTOR .............................................................. 125
<O>
Connector Layout................................................... 142,148
ORGANIZATION ............................................................4
<D> OVERVIEW OF PROFIBUS-DP FUNCTIONS ..............6
DEFINITION OF WARNING, CAUTION, AND
<P>
NOTE....................................................................... s-2
PMC ADDRESS SETTING FOR MASTER
Details of DI Connection............................................... 157
FUNCTOIN ............................................................265
Details of DO Connection ............................................. 159
PMC ADDRESS SETTING FOR SLAVE
DI/DO Parameter Setting ................................................ 36
FUNCTOIN ............................................................269
DP-Master Function LED Indicators............................. 165
Power Mate-D/H ...........................................................100
DP-Slave Function LED Indicators............................... 166
Procedure using the DPL/MDI operation package . 228,239
<E> PROFIBUS Board Connector Layout ...........................133
Environmental Conditions............................... 131,139,147 PROFIBUS CABLE PARAMETERS...........................123
ENVIRONMENTAL CONDITIONS ........................... 153 PROFIBUS CONNECTION .........................................122
EXAMPLE OF CONFIGURATION ..................... 111,272 PROFIBUS DRAWING NUMBER..............................176
EXAMPLE OF CONNECTION ................................... 110 PROFIBUS FOR THE LCD-MOUNTED TYPE
Series 16i/18i/21i ....................................................135
<G>
PROFIBUS FOR THE Power Mate-D/H ............... 151,175
GENERAL ........................................................................3

i-1
INDEX B-62923EN/01

PROFIBUS FOR THE Series 16/18-C................... 129,163


PROFIBUS FOR THE STAND-ALONE TYPE
Series 16i/18i/21i, Series 15i, and Power Mate i .... 145
PROFIBUS FOR THE STAND-ALONE TYPE
Series 16i/18i/21i, Series 15i, AND Power Mate i.. 171
PROFIBUS Interface..................................................... 154

<S>
SAFETY PRECAUTIONS ............................................ s-1
Select and display the screen......................................... 228
Series 15i-A/B................................................................. 72
Setting for Address Assignment................. 84,194,224,258
Setting for Operation mode ...................................... 42,198
SETTING METHOD FOR PMC-SD7.......................... 264
SETTING THE SLAVE PARAMETERS FOR USING
A SLAVE STATION MANUFACTURED BY
FANUC.................................... 59,93,102,210,242,262
SETTING USING A PERSONAL COMPUTER ......... 278
SETTING USING DP-Configurator
MANUFACTURED BY Softing ............................ 279
SETTING WHEN EDITION 07 OR EARLIER OF
SERIES 6557 IS USED .......................................... 212
SETTING WHEN EDITION 08 OR LATER OF
SERIES 6557 IS USED .......................................... 181
SETTING WHEN SERIES 6556 IS USED .................. 251
SIGNALS...................................................................... 154
SLAVE FUNCTION SETTING .... 53,88,101,204,235,261
SLAVE FUNCTIONS.......................................................9
Slave Index Setting ......................................................... 25
Slave Parameter Setting ........................ 31,79,190,220,256
Slave Station Setting .............................................. 116,277
SOFTWARE FOR PROFIBUS-DP FUNCTIONS ...........7
Status Register.............................................. 57,92,209,241
SYSTEM SAFETY ....................................................... 107

<T>
TERMINATING RESISTOR ....................................... 127

<U>
Updating DI/DO Data for the Master Function........ 45,200
Updating DI/DO Data for the Slave Function .......... 58,209

i-2
Revision Record

FANUC PROFIBUS-DP Board CONNECTION MANUAL (B-63923EN)

Changing of manual name and specification number


New : FANUC PROFIBUS-DP Board CONNECTION
01 Jan., 2009 MANUAL (B-63923EN)
Old : FANUC PROFIBUS-DP Board OPERATOR’S
MANUAL (B-63924EN)

Edition Date Contents Edition Date Contents


B-62923EN/01

* B - 6 2 9 2 3 E N / 0 1 *

You might also like