You are on page 1of 279

OPERATOR’S MANUAL

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

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


government of the country from where the product is exported.

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


various matters.
However, we cannot describe all the matters which must not be done,
or which cannot be done, because there are so many possibilities.
Therefore, matters which are not especially described as possible in
this manual should be regarded as ”impossible”.
B-63734EN/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.1DEFINITION OF WARNING, CAUTION, AND NOTE............s-2
1.2GENERAL WARNINGS AND NOTES ......................................s-3

s-1
SAFETY PRECAUTIONS B-63734EN/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-63734EN/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-63734EN/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-62924EN/04 TABLE OF CONTENTS

TABLE OF CONTENTS

SAFETY PRECAUTIONS .......................................................................... s-1

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 ........................................................................................... 18
1.2.2 Slave Parameter Setting......................................................................................... 23
1.2.3 Setting for Address Assignment ............................................................................ 27
1.2.4 Setting for Operation mode ................................................................................... 31
1.2.5 Updating DI/DO Data for the Master Function..................................................... 33
1.3 SLAVE FUNCTION SETTING .....................................................................37
1.3.1 Status Register ....................................................................................................... 44
1.3.2 Updating DI/DO Data for the Slave Function ....................................................... 45
1.4 SETTING THE SLAVE PARAMETERS
FOR USING A SLAVE STATION MANUFACTURED BY FANUC ..............46
1.5 GSD FILE OF THE FANUC CNCS ..............................................................51
2 Series 15i-A.........................................................................................59
2.1 OVERVIEW .................................................................................................60
2.2 MASTER FUNCTION SETTING..................................................................61
2.2.1 Bus Parameter Setting ........................................................................................... 62
2.2.2 Slave Parameter Setting......................................................................................... 66
2.2.3 Setting for Address Assignment ............................................................................ 71
2.3 SLAVE FUNCTION SETTING .....................................................................75
2.3.1 Status Register ....................................................................................................... 79
c-1
TABLE OF CONTENTS B-62924EN/04

2.4 SETTING THE SLAVE PARAMETERS


FOR USING A SLAVE STATION MANUFACTURED BY FANUC ..............80
2.5 GSD FILE OF THE FANUC CNCS ..............................................................81
3 Power Mate-D/H ..................................................................................87
3.1 SLAVE FUNCTION SETTING .....................................................................88
3.2 SETTING THE SLAVE PARAMETERS
FOR USING A SLAVE STATION MANUFACTURED BY FANUC ..............89
3.3 GSD FILE OF THE FANUC CNCS ..............................................................90
4 BUILDING A SAFE SYSTEM...............................................................93
4.1 SYSTEM SAFETY .......................................................................................94
5 EXAMPLE OF CONNECTION..............................................................97
5.1 EXAMPLE OF CONFIGURATION ...............................................................98
5.1.1 Master Station Setting ........................................................................................... 99
5.1.2 Slave Station Setting............................................................................................ 103

III. CONNECTION
1 CONNECTING THE PROFIBUS FUNCTIONS...................................107
1.1 PROFIBUS CONNECTION .......................................................................108
1.2 PROFIBUS CABLE PARAMETERS ..........................................................109
1.3 CABLE LENGTH AND TRANSFER RATE ................................................110
1.4 CONNECTOR............................................................................................111
1.5 CABLE CONNECTION ..............................................................................112
1.6 TERMINATING RESISTOR.......................................................................113
1.7 CABLE SHIELDING...................................................................................114
2 PROFIBUS FOR THE Series 16/18-C ...............................................115
2.1 CONFIGURATION.....................................................................................116
2.2 INSTALLATION .........................................................................................117
2.2.1 Environmental Conditions................................................................................... 117
2.2.2 Cable Installation................................................................................................. 117
2.2.3 PROFIBUS Board Connector Layout ................................................................. 119
2.3 CONNECTION DIAGRAM .........................................................................120
3 PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i .....121
3.1 CONFIGURATION.....................................................................................122
3.2 INSTALLATION .........................................................................................125
3.2.1 Environmental Conditions................................................................................... 125

c-2
B-62924EN/04 TABLE OF CONTENTS

3.2.2 Mounting the Board............................................................................................. 125


3.2.3 Mounting the Adapter Unit ................................................................................. 126
3.2.4 Connection between the PROFIBUS Board and Adapter Units ......................... 126
3.2.5 Connector Layout ................................................................................................ 128
3.3 COMPLETE CONNECTION DIAGRAM ....................................................130
4 PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i,
Series 15i, and Power Mate i ...........................................................131
4.1 CONFIGURATION.....................................................................................132
4.2 INSTALLATION .........................................................................................133
4.2.1 Environmental Conditions................................................................................... 133
4.2.2 Mounting the Board............................................................................................. 133
4.2.3 Connector Layout ................................................................................................ 134
4.3 COMPLETE CONNECTION DIAGRAM ....................................................135
4.4 NOTES ON CONNECTING PROFIBUS BOARDS
FOR THE Power Mate i .............................................................................136

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


5.1 CONNECTION DIAGRAM .........................................................................138
5.2 ENVIRONMENTAL CONDITIONS.............................................................139
5.3 SIGNALS ...................................................................................................140
5.3.1 PROFIBUS Interface ........................................................................................... 140
5.3.2 Built-in I/O Machine Interface ............................................................................ 140
5.4 BUILT-IN I/O MACHINE INTERFACE .......................................................141
5.4.1 Overview.............................................................................................................. 141
5.4.2 Details of DI Connection..................................................................................... 143
5.4.3 Details of DO Connection ................................................................................... 145

IV. MAINTENANCE
1 PROFIBUS FOR THE Series 16/18-C ...............................................149
1.1 COMPONENT LAYOUT ............................................................................150
1.2 LED INDICATORS AND THEIR MEANINGS ............................................151
1.2.1 DP-Master Function LED Indicators................................................................... 151
1.2.2 DP-Slave Function LED Indicators ..................................................................... 152

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


2.1 COMPONENT LAYOUT ............................................................................154
2.2 LED INDICATORS AND THEIR MEANINGS ............................................155
2.2.1 LED Indicators of the DP-Master Function ........................................................ 155

c-3
TABLE OF CONTENTS B-62924EN/04

2.2.2 LED Indicators of the DP-Slave Function........................................................... 156

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


Series 15i, AND Power Mate i ..........................................................157
3.1 COMPONENT LAYOUT ............................................................................158
3.2 LED INDICATORS AND THEIR MEANINGS ............................................159
3.2.1 LED Indicators of the DP-Master Function ........................................................ 159
3.2.2 LED Indicators of the DP-Slave Function........................................................... 160

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


4.1 PROFIBUS DRAWING NUMBER..............................................................162
4.2 ALARM MESSAGES AND MEANINGS.....................................................163

SUPPLEMENT
A SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557
IS USED .............................................................................................167
A.1 MASTER FUNCTION SETTING................................................................168
A.1.1 Bus Parameter Setting ......................................................................................... 170
A.1.2 Slave Parameter Setting....................................................................................... 175
A.1.3 Setting for Address Assignment .......................................................................... 179
A.2 SLAVE FUNCTION SETTING ...................................................................183
A.2.1 Status Register ..................................................................................................... 187
A.3 SETTING THE SLAVE PARAMETERS
FOR USING A SLAVE STATION MANUFACTURED BY FANUC ............188
A.4 GSD FILE OF THE FANUC CNCS ............................................................189
B SETTING WHEN SERIES 6556 IS USED ..........................................197
B.1 MASTER FUNCTION SETTING................................................................198
B.1.1 Bus Parameter Setting ......................................................................................... 200
B.1.2 Slave Parameter Setting....................................................................................... 202
B.1.3 Setting for Address Assignment .......................................................................... 204
B.2 SLAVE FUNCTION SETTING ...................................................................207
B.3 SETTING THE SLAVE PARAMETERS
FOR USING A SLAVE STATION MANUFACTURED BY FANUC ............208
B.4 GSD FILE OF THE FANUC CNCS ............................................................209
C SETTING USING A PERSONAL COMPUTER ..................................210
C.1 SETTING USING DP-Configurator MANUFACTURED BY Softing ...........211

c-4
I. GENERAL
B-62924EN/02 GENERAL 1.GENERAL

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

-3-
1.GENERAL GENERAL B-62924EN/02

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-62924EN/02 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


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

-5-
2.OVERVIEW OF PROFIBUS-DP FUNCTIONS GENERAL B-62924EN/02

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

-6-
B-62924EN/02 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
LCD-mounted type Series 16i/18i/21i-A/B MASTER SOFTWARE Series 6552
Stand-alone type Series 16i/18i/21i-A SLAVE SOFTWARE Series 6553
Power Mate i-D/H CONTROL SOFTWARE Series 6557
MASTER SOFTWARE Series 6552
Series 15i-A SLAVE SOFTWARE Series 6553
CONTROL SOFTWARE None
MASTER SOFTWARE Series 6554
Series 16/18-C SLAVE SOFTWARE Series 6551
CONTROL SOFTWARE Series 6557
SLAVE SOFTWARE Series 6551
Power Mate-D/H
CONTROL SOFTWARE None

-7-
2.OVERVIEW OF PROFIBUS-DP FUNCTIONS GENERAL B-62924EN/02

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


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

CNC Stand-alone type Series 16i/18i/21i-A Series 15i-A


Power Mate i-D/H, Series 16/18-C
Edition 08 or later Edition 07 or later
CONTROL SOFTWARE Series 6556 None
of series 6557 of series 6557
Range of valid master
0 to 125 0 to 125 0 to 2 0 to 125
station numbers
0 to 125 0 to 125 3 to 32 0 to 125
Range of valid slave station
(Communication (Communication (Communication (Communication
numbers for which
Master functions

can be performed can be performed can be performed can be performed


communication can be
with up to 32 slave with up to 32 slave with up to 30 slave with up to 32 slave
performed
stations.) stations.) stations.) stations.)
Maximum DI/DO data size 244 bytes
32/32 bytes 32/32 bytes 32/32 bytes
per slave station (Total of DI/DO)
Maximum user parameter
206 bytes 32 bytes 6 bytes 32 bytes
data size per slave station
Maximum diagnose data
244 bytes 32 bytes 6 bytes 32 bytes
size per slave station

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

-8-
B-62924EN/02 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)


LCD-mounted type Series 16i/18i/21i-A/B,
CNC Stand-alone type Series 16i/18i/21i-A
Power Mate i-D/H, Series 16/18-C
Condition

Edition 08 or later of Edition 07 or later of


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

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

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


CNC Series 15i-A Power Mate-D/H
Conditio

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

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.
For details of operation in this case, see Section 1.3, "Slave Function Setting" in
Part II, "OPERATION."

-9-
II. OPERATION
B-62924EN/04 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 LCD-mounted
type 16i/18i/21i-A/B, stand-alone type 16i/18i/21i-A, 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-62924EN/04

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-62924EN/04 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 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
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 C.1, "Setting Using DP-
Configurator Manufactured BY Softing," in
"SUPPLEMENT."

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

Screen 1-1

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

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

Screen 1-2

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


corresponding soft keys on the screen 1-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.
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 1.2.5, "Updating
DI/DO Data for the Master Function."

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

A setting 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 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 1-1 are
displayed at the lower left of Screen 1-8 (mode
screen).
- The message "SET I/O SIZE[MAS + SLV <=
256],POWER OFF" may be displayed at the lower
left of Screen 1-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.

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

1.2.1 Bus Parameter Setting

Pressing soft key [BUS] on Screen 1-2 displays Screen 1-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 1-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.

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

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.

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


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

Screen 1-4

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

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.

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.

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

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

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

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)

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

1.2.2 Slave Parameter Setting

Pressing soft key [SLAVE] on Screen 1-2 displays Screen 1-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 1-5

Soft key [INIT] on Screen 1-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 1.4,
"Setting the Slave Parameters for Using a Slave Station Manufactured
by FANUC." Soft key [DETAIL] shown at the bottom of Screen 1-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 1-6. (Screen 1-6 shows the screen displayed by

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

pressing soft key [DETAIL] when the cursor is placed at the item of
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 1.4, "Setting the Slave Parameters for Using
a Slave Station Manufactured by FANUC."

Screen 1-6

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

Table 1-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 1-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 DP-
REQ 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.

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

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.

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

1.2.3 Setting for Address Assignment

Pressing soft key [ADDR] on Screen 1-5 displays Screen 1-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 1-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.)

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

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

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

Table 1-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 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)

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

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 1-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 1-7 is


used.
On Screen 1-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

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

1.2.4 Setting for Operation mode

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

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

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

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 1-1, "Setting Error Message."

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


case, take appropriate action, referencing the table below.

Table 1-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 OFF" [CLEAR] are set in this order.
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.

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

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

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

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 1.7 Constant Parameters in Expression (A)


16i/18i/21i-A/B,
CNC 16/18-C
Power Matei –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.

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

- 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.
• 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.

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

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.

- 36 -
B-62924EN/04 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."

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-9.

Screen 1-9

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

CAUTION
On Screen 1-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.
When CONTROL SOFTWARE is Edition 07 or
earlier of series 6557 or 6556, see "SUPPLEMENT."

(3) Pressing soft key [SLAVE] on this screen displays Screen 1-10.

Screen 1-10

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

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

NOTE
If either of the following messages is displayed on
Screen 1-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.)

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

(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 Section 1.3 (this section)
indicate the input and output viewed from the slave
station, respectively.

Example) For explanation, the example shown in Screen 1-10 is


used.
On Screen 1-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

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

(5) STATUS on Screen 1-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

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

Other setting procedure


(Supplement for using the slave function for Power Mate i-D/H)

Procedure using the DPL/MDI operation package (PC)

(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 1-11 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 1-11

By displaying Screen 1-11, the parameters (S0001 to S0005) can


be set, and diagnose data (S0101 to S0105) can be displayed.

Table 1-8 Setting parameters


Parameter No. Item Description
Sets the station number of the DP-
S0001 Station NO.
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

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

Table 1-9 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 1-13 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 1-12

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

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.

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

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.

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

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.

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

[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

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

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

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

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

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

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.

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

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

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

GSD file for a DP-Master using a FANUC CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "1.0"
Ident_Number = 0x00CB
Protocol_Ident =0
Station_Type =1
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 3.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
;

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

; Master specific parameters


;
Download_supp =1
Upload_supp =1
Act_Para_Brct_supp =1
Act_Param_supp =1
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
;

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

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
;

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

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 3.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
;

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

; 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."

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

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 3.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
- 57 -
1.16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C OPERATION B-62924EN/04

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."

- 58 -
B-62924EN/04 OPERATION 2.Series 15i-A

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

NOTE
PROFIBUS-DP cannot be used with DeviceNet.

- 59 -
2.Series 15i-A OPERATION B-62924EN/04

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

- 60 -
B-62924EN/04 OPERATION 2.Series 15i-A

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.

- 61 -
2.Series 15i-A OPERATION B-62924EN/04

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.

- 62 -
B-62924EN/04 OPERATION 2.Series 15i-A

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.

- 63 -
2.Series 15i-A OPERATION B-62924EN/04

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

- 64 -
B-62924EN/04 OPERATION 2.Series 15i-A

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)

- 65 -
2.Series 15i-A OPERATION B-62924EN/04

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)

- 66 -
B-62924EN/04 OPERATION 2.Series 15i-A

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.

- 67 -
2.Series 15i-A OPERATION B-62924EN/04

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.

- 68 -
B-62924EN/04 OPERATION 2.Series 15i-A

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 DP-
REQ 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.

- 69 -
2.Series 15i-A OPERATION B-62924EN/04

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

- 70 -
B-62924EN/04 OPERATION 2.Series 15i-A

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

- 71 -
2.Series 15i-A OPERATION B-62924EN/04

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.

- 72 -
B-62924EN/04 OPERATION 2.Series 15i-A

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)

- 73 -
2.Series 15i-A OPERATION B-62924EN/04

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

- 74 -
B-62924EN/04 OPERATION 2.Series 15i-A

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.

- 75 -
2.Series 15i-A OPERATION B-62924EN/04

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

- 76 -
B-62924EN/04 OPERATION 2.Series 15i-A

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

- 77 -
2.Series 15i-A OPERATION B-62924EN/04

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.

- 78 -
B-62924EN/04 OPERATION 2.Series 15i-A

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.

- 79 -
2.Series 15i-A OPERATION B-62924EN/04

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.

- 80 -
B-62924EN/04 OPERATION 2.Series 15i-A

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

- 81 -
2.Series 15i-A OPERATION B-62924EN/04

GSD file for a DP-Master using a FANUC CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "1.0"
Ident_Number = 0x00CB
Protocol_Ident =0
Station_Type =1
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 3.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
;

- 82 -
B-62924EN/04 OPERATION 2.Series 15i-A

; Master specific parameters


;
Download_supp =1
Upload_supp =1
Act_Para_Brct_supp =1
Act_Param_supp =1
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
;

- 83 -
2.Series 15i-A OPERATION B-62924EN/04

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
;

- 84 -
B-62924EN/04 OPERATION 2.Series 15i-A

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 3.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
- 85 -
2.Series 15i-A OPERATION B-62924EN/04

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 2-6 in
Section 2.4, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 86 -
B-62924EN/04 OPERATION 3.Power Mate-D/H

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

NOTE
PROFIBUS-DP cannot be used with DeviceNet.

- 87 -
3.Power Mate-D/H OPERATION B-62924EN/04

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.

- 88 -
B-62924EN/04 OPERATION 3.Power Mate-D/H

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.

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

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

- 90 -
B-62924EN/04 OPERATION 3.Power Mate-D/H

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 3.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
- 91 -
3.Power Mate-D/H OPERATION B-62924EN/04

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 3-1 in
Section 3.2, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 92 -
B-62924EN/04 OPERATION 4.BUILDING A SAFE SYSTEM

4 BUILDING A SAFE SYSTEM


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

- 93 -
4.BUILDING A SAFE SYSTEM OPERATION B-62924EN/04

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.

- 94 -
B-62924EN/04 OPERATION 4.BUILDING A SAFE SYSTEM

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 be
The DI signals from the
sent to other slave stations to
relevant slave station are
The power to the relevant 1 to notify them of the start of
not input to the PMC area.
slave station is not on or Station_Non_Existent : ON 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 be
The DI signals from the
sent to other slave stations to
An attempt is made to start relevant slave station are
1 to notify them of the start of
communication with the not input to the PMC area.
Station_Not_Ready : ON 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 be
Communication with the The DI signals from the sent to other slave stations to
Station_Non_Existent : OFF
relevant slave station has relevant slave station are 1 to notify them of the start of
(STATION STATUS 1.0)
been established, but input to the PMC area. 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 be
Station_Non_Existent : OFF
Communication with the relevant slave station are sent to all slave stations to 1 to
(STATION STATUS 1.0)
relevant slave station and input to the PMC area. 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.

- 95 -
4.BUILDING A SAFE SYSTEM OPERATION B-62924EN/04

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 notify
area are not output to the
them of the stop of system
relevant slave station.
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 notify
area are output to the
disconnected. them of the stop of system
relevant slave station.
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 notify
area are not output to the
them of the stop of system
relevant slave station.
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 notify
area are output to the
as a damaged packet). them of the stop of system
relevant slave station.
operation.

- 96 -
B-62924EN/04 OPERATION 5.EXAMPLE OF CONNECTION

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

- 97 -
5.EXAMPLE OF CONNECTION OPERATION B-62924EN/04

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.

- 98 -
B-62924EN/04 OPERATION 5.EXAMPLE OF CONNECTION

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

- 99 -
5.EXAMPLE OF CONNECTION OPERATION B-62924EN/04

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

- 100 -
B-62924EN/04 OPERATION 5.EXAMPLE OF CONNECTION

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

- 101 -
5.EXAMPLE OF CONNECTION OPERATION B-62924EN/04

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

- 102 -
B-62924EN/04 OPERATION 5.EXAMPLE OF CONNECTION

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

- 103 -
5.EXAMPLE OF CONNECTION OPERATION B-62924EN/04

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

- 104 -
III. CONNECTION
B-62924EN/04 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
PROFIBUS-DP cannot be used with DeviceNet.

- 107 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62924EN/04

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

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

- 109 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62924EN/04

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
1200 1000 400 200 100
overall cable length (m)

- 110 -
B-62924EN/04 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.

- 111 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62924EN/04

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.

- 112 -
B-62924EN/04 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.

- 113 -
1.CONNECTING THE PROFIBUS FUNCTIONS COONECTION B-62924EN/04

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

- 114 -
B-62924EN/04 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.

- 115 -
2.PROFIBUS FOR THE Series 16/18-C CONNECTION B-62924EN/04

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

- 116 -
B-62924EN/04 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).

- 117 -
2.PROFIBUS FOR THE Series 16/18-C CONNECTION B-62924EN/04

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.

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

- 119 -
2.PROFIBUS FOR THE Series 16/18-C CONNECTION B-62924EN/04

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.

- 120 -
B-62924EN/04 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.

- 121 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62924EN/04

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.

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

- 123 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62924EN/04

[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.

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

- 125 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62924EN/04

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.

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

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

- 127 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62924EN/04

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

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

- 129 -
3.PROFIBUS FOR THE LCD-MOUNTED TYPE Series 16i/18i/21i CONNECTION B-62924EN/04

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
#1 CN1

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.

- 130 -
B-62924EN/04 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.

- 131 -
4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i CONNECTION B-62924EN/04

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

Ordering information
Name Code Remarks
PROFIBUS master board A02B-0265-J311 Master function only
PROFIBUS slave board A02B-0265-J310 Slave function only

- 132 -
B-62924EN/04 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.

- 133 -
4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i CONNECTION B-62924EN/04

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)

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

- 135 -
4.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, and Power Mate i CONNECTION B-62924EN/04

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.

- 136 -
B-62924EN/04 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.

- 137 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62924EN/04

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-6.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.

Ordering information
Name Code Remarks
PROFIBUS card A02B-0166-H100 Power Mate-D
PROFIBUS card A02B-0211-J100 Power Mate-H

- 138 -
B-62924EN/04 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.

- 139 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62924EN/04

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.

- 140 -
B-62924EN/04 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.

- 141 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62924EN/04

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

- 142 -
B-62924EN/04 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
l l

CE49(B02)
X1000.1
l l
l

CE49(A03)
X1000.2
l l
l

CE49(B03)
X1000.3
l l

CE49(A04)
X1000.4
l l
l

CE49(B04)
X1000.5
l l
l

CE49(A06)
X1000.6
l l
l

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

0V CE49(A17, B17)
l

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.

- 143 -
5.PROFIBUS FOR THE Power Mate-D/H CONNECTION B-62924EN/04

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

CE49(A07)
X1002.0
l l

CE49(B07)
X1002.1
l l
l

CE49(A08)
X1002.2
l l
l

CE49(B08)
X1002.3
l l

CE49(A09)
X1002.4
l l
l

CE49(B09)
X1002.5
l l
l

CE49(A10)
X1002.6
l l
l

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

0V CE49(A17, B17)
l

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.

- 144 -
B-62924EN/04 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 l regulator

Y1000.0
CE49(A11)
l l l

Y1000.1 CE49(B11)
l l l

CE49(A17, B17) 0V

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

- 145 -
IV. MAINTENANCE
B-62924EN/04 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.

- 149 -
1.PROFIBUS FOR THE Series 16/18-C MAINTENANCE B-62924EN/04

1.1 COMPONENT LAYOUT

Connector name
and other markings

PROFIBUS

DC/DC
MASTER

LSI chip
for JN1
communi-
cation
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

- 150 -
B-62924EN/04 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)

l: 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.

- 151 -
1.PROFIBUS FOR THE Series 16/18-C MAINTENANCE B-62924EN/04

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 l: 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.

- 152 -
B-62924EN/04 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.

- 153 -
2.LCD-MOUNTED TYPE PROFIBUS FOR THE Series 16i/18i/21i MAINTENANCE B-62924EN/04

2.1 COMPONENT LAYOUT

[PROFIBUS master board]

CPU

LSI chip for


communi-
cation

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

- 154 -
B-62924EN/04 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.

- 155 -
2.LCD-MOUNTED TYPE PROFIBUS FOR THE Series 16i/18i/21i MAINTENANCE B-62924EN/04

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.

- 156 -
B-62924EN/04 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.

- 157 -
3.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, AND Power Mate i MAINTENANCE B-62924EN/04

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

- 158 -
B-62924EN/04 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.

- 159 -
3.PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, Series 15i, AND Power Mate i MAINTENANCE B-62924EN/04

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.

- 160 -
B-62924EN/04 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.

- 161 -
4.PROFIBUS FOR THE Power Mate-D/H MAINTENANCE B-62924EN/04

4.1 PROFIBUS DRAWING NUMBER

Name Drawing number Remark


PROFIBUS card A20B-2100-0120 SUB BOARD 1
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.

- 162 -
B-62924EN/04 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.

- 163 -
SUPPLEMENT
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

A 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.

- 167 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

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.

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.

Screen A-1

- 168 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

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

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.

- 169 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

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

- 170 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 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.

Soft key [INIT] on Screen A-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 A-2, "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

- 171 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

Table A-1 summarizes the bus parameters. Table A-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 A-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.

- 172 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

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

- 173 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

Table A-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)

- 174 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

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

- 175 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

pressing soft key [DETAIL] when the cursor is placed at the item of
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

- 176 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

Table A-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 A-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 DP-
REQ 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.

- 177 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

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

- 178 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

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

- 179 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

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 A-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.

- 180 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

Table A-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)

- 181 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

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

- 182 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

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-8.

Screen A-8

- 183 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

(3) Pressing soft key [SLAVE] on this screen displays Screen A-9.

Screen A-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.)

- 184 -
B-62924EN/04 SUPPLEMENT A.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 A-9 is


used.
On Screen A-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

- 185 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

(5) STATUS on Screen A-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: Stand-alone type 16i/18i/21i-A, LCD-mounted type
16i/18i/21i-A/B, 16/18-C
01: Power Mate i-D/H

- 186 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

A.2.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 A.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 A-5.

Table A-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.

- 187 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

A.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 A-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 A-3 in Section
A.1.2, "Slave Parameter Setting.")

Table A-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 A-6 are represented in hexadecimal.

- 188 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

A.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

- 189 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

GSD file for a DP-Master using a FANUC CNC

#Profibus_DP
Vendor_Name = "FANUC"
Model_Name = "FANUC CNC"
Revision = "1.0"
Ident_Number = 0x00CB
Protocol_Ident =0
Station_Type =1
FMS_supp =0
Hardware_Release = "Release 1.0"
Software_Release = "Release 3.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
;

- 190 -
B-62924EN/04 SUPPLEMENT A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED

; Master specific parameters


;
Download_supp =1
Upload_supp =1
Act_Para_Brct_supp =1
Act_Param_supp =1
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
;

- 191 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

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
;

- 192 -
B-62924EN/04 SUPPLEMENT A.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 3.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
;

- 193 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

; 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 A-6 in
Supplement A.3, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 194 -
B-62924EN/04 SUPPLEMENT A.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 3.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
- 195 -
A.SETTING WHEN EDITION 07 OR EARLIER OF SERIES 6557 IS USED SUPPLEMENT B-62924EN/04

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 A-6 in
Supplement A.3, "Setting the Slave Parameters for
Using a Slave Station Manufactured by FANUC."

- 196 -
B-62924EN/04 SUPPLEMENT B.SETTING WHEN SERIES 6556 IS USED

B SETTING WHEN SERIES 6556 IS USED


This chapter described the setting methods when series 6556 of
CONTROL SOFTWARE is used.

- 197 -
B.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62924EN/04

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

- 198 -
B-62924EN/04 SUPPLEMENT B.SETTING WHEN SERIES 6556 IS USED

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

- 199 -
B.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62924EN/04

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

- 200 -
B-62924EN/04 SUPPLEMENT B.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 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

For details of the bus parameters, see Table A-1, "Bus Parameters," in
the previous chapter.

- 201 -
B.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62924EN/04

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

- 202 -
B-62924EN/04 SUPPLEMENT B.SETTING WHEN SERIES 6556 IS USED

pressing soft key [DETAIL] when the cursor is placed at the item of
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 B-6

For details of the slave parameters, see Table A-3, "Slave


Parameters," in the previous chapter.

- 203 -
B.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62924EN/04

B.1.3 Setting for Address Assignment

Pressing soft key [ADDR] on Screen B-2 displays Screen B-7.

Screen B-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.)

- 204 -
B-62924EN/04 SUPPLEMENT B.SETTING WHEN SERIES 6556 IS USED

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.
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 A-4,"Standard Diagnose Data" in Appendix A
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.

- 205 -
B.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62924EN/04

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) On Screen B-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

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

- 206 -
B-62924EN/04 SUPPLEMENT B.SETTING WHEN SERIES 6556 IS USED

B.2 SLAVE FUNCTION SETTING

The contents of this section are the same as those of Section A.2,
"SLAVE FUNCTION SETTING." See Section A.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.

- 207 -
B.SETTING WHEN SERIES 6556 IS USED SUPPLEMENT B-62924EN/04

B.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 A.3, "
SETTING THE SLAVE PARAMETERS FOR USING A SLAVE
STATION MANUFACTURED BY FANUC." See Section A.3.

- 208 -
B-62924EN/04 SUPPLEMENT B.SETTING WHEN SERIES 6556 IS USED

B.4 GSD FILE OF THE FANUC CNCS

The contents of this section are the same as those of Section A.4, "
GSD FILE OF THE FANUC CNCS." See Section A.4.

- 209 -
C.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62924EN/04

C 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.

- 210 -
B-62924EN/04 SUPPLEMENT C.SETTING USING A PERSONAL COMPUTER

C.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.

- 211 -
C.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62924EN/04

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.

(4) Open PROFIBUS on the Control Panel. Screen C-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 C-1 below is displayed.

Screen C-1

NOTE
Check that a green check mark is displayed for the
set I/F board as shown in Screen C-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.

- 212 -
B-62924EN/04 SUPPLEMENT C.SETTING USING A PERSONAL COMPUTER

(5) Start PROFIBUS-DP Configurator and open Options, then PC


Interface. Screen C-2 is displayed.
On Screen C-2, select an I/F board type for PROFIBUS Interface
under Type.
When PROFIcard is selected, Screen C-2 below is displayed.

Screen C-2

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.

- 213 -
C.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62924EN/04

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 C-3.

Screen C-3

CAUTION
Check that CONTROL SOFTWARE is Edition 08 or
later of series 6557 on Screen C-3.
For remote downloading, MASTER SOFTWARE is
required.

(3) Pressing soft key [MASTER] on this screen displays Screen C-4.

Screen C-4

- 214 -
B-62924EN/04 SUPPLEMENT C.SETTING USING A PERSONAL COMPUTER

(4) On Screen C-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 C-4 is displayed again. Press soft key [MODE].
Screen C-5 is displayed. On this screen, check that CURRENT
MODE is STOP.

Screen C-5

Preparations for remote downloading on the FANUC master station


are now complete.

- 215 -
C.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62924EN/04

PROFIBUS-DP Configurator operation procedure


(1) Start PROFIBUS-DP Configurator. Screen C-6 is displayed.

Screen C-6

(2) Open DDB, then Import. Screen C-7 is displayed.

Screen C-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 C-7.

- 216 -
B-62924EN/04 SUPPLEMENT C.SETTING USING A PERSONAL COMPUTER

(3) Open Project, then New Project. Screen C-8 is displayed.

Screen C-8

(4) Select a master station for remote downloading from Master


Selection List under DDB Selection List on Screen C-8. Screen
C-9 is displayed.
These parameters are used as the bus parameters to be remotely
downloaded.

Screen C-9

On Screen C-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.

- 217 -
C.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62924EN/04

(5) Select a slave station for remote downloading from Slave


Selection List under DDB Selection List on Screen C-8. Screen
C-10 is displayed.
These parameters are used as the slave parameters to be remotely
downloaded.

Screen C-10

On Screen C-10, set a value for Station Address.


CAUTION
On Screen C-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 C-10. Screen C-11 is


displayed.

Screen C-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.

- 218 -
B-62924EN/04 SUPPLEMENT C.SETTING USING A PERSONAL COMPUTER

The format for the FANUC slave stations is used for the module
names in Available Modules on Screen C-11.

CAUTION
For a FANUC slave station, set only one item for
Current Slots.

(7) Select the Settings tab on Screen C-11. Screen C-12 is displayed.

Screen C-12

Set each parameter on Screen C-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
C-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 C-8.
Screen C-13 is displayed.

- 219 -
C.SETTING USING A PERSONAL COMPUTER SUPPLEMENT B-62924EN/04

Screen C-13

CAUTION
Pay careful attention to the following points:
- The station number specified for Station Address on
Screen C-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 C-13. Screen C-14 is displayed.

Screen C-14

- 220 -
B-62924EN/04 SUPPLEMENT C.SETTING USING A PERSONAL COMPUTER

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 C-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.

- 221 -
B-62924EN/04 INDEX

INDEX
<Number> <L>
16i/18i/21i-A/B, Power Mate i-D/H, AND 16/18-C....... 13 LCD-MOUNTED TYPE PROFIBUS FOR THE Series
16i/18i/21i .............................................................. 153
<A>
LED INDICATORS AND THEIR MEANINGS
ALARM MESSAGES AND MEANINGS ................... 163
................................................................ 151, 155, 159
APPLICABLE MODELS................................................. 5
LED Indicators of the DP-Master Function.......... 155, 159
<B> LED Indicators of the DP-Slave Function ............ 156, 160
BUILDING A SAFE SYSTEM...................................... 93
<M>
Built-in I/O Machine Interface ..................................... 140
MASTER FUNCTION SETTING............ 15, 61, 168, 198
BUILT-IN I/O MACHINE INTERFACE..................... 141
MASTER FUNCTIONS................................................... 8
Bus Parameter Setting............................... 18, 62, 170, 200
Master Station Setting..................................................... 99
<C> Mounting the Adapter Unit........................................... 126
CABLE CONNECTION .............................................. 112 Mounting the Board.............................................. 125, 133
Cable Installation.......................................................... 117
<N>
CABLE LENGTH AND TRANSFER RATE............... 110
NOTES ON CONNECTING PROFIBUS BOARDS FOR
CABLE SHIELDING ................................................... 114
THE Power Mate i.................................................. 136
COMPLETE CONNECTION DIAGRAM........... 130, 135
COMPONENT LAYOUT ............................ 150, 154, 158 <O>
CONFIGURATION...................................... 116, 122, 132 ORGANIZATION ............................................................ 4
CONNECTING THE PROFIBUS FUNCTIONS......... 107 OVERVIEW OF PROFIBUS-DP FUNCTIONS ............. 6
Connection between the PROFIBUS Board and Adapter
<P>
Units ....................................................................... 126
Power Mate-D/H............................................................. 87
CONNECTION DIAGRAM................................. 120, 138
PROFIBUS Board Connector Layout........................... 119
CONNECTOR.............................................................. 111
PROFIBUS CABLE PARAMETERS .......................... 109
Connector Layout ................................................. 128, 134
PROFIBUS CONNECTION ........................................ 108
<D> PROFIBUS DRAWING NUMBER ............................. 162
Details of DI Connection .............................................. 143 PROFIBUS FOR THE LCD-MOUNTED TYPE Series
Details of DO Connection ............................................ 145 16i/18i/21i .............................................................. 121
DP-Master Function LED Indicators............................ 151 PROFIBUS FOR THE Power Mate-D/H ............. 137, 161
DP-Slave Function LED Indicators .............................. 152 PROFIBUS FOR THE Series 16/18-C ................. 115, 149
Environmental Conditions............................ 117, 125, 133 PROFIBUS FOR THE STAND-ALONE TYPE Series
ENVIRONMENTAL CONDITIONS........................... 139 16i/18i/21i, Series 15i, and Power Mate i ...... 131, 157
EXAMPLE OF CONFIGURATION.............................. 98 PROFIBUS Interface .................................................... 140
EXAMPLE OF CONNECTION..................................... 97
<S>
<G> SAFETY PRECAUTIONS .............................................s-1
GSD FILE OF THE FANUC CNCS .. 51, 81, 90, 189, 209 Series 15i-A .................................................................... 59
Setting for Address Assignment................ 27, 71, 179, 204
<I>
Setting for Operation mode............................................. 31
INSTALLATION ......................................... 117, 125, 133

i-1
INDEX B-62924EN/04

SETTING THE SLAVE PARAMETERS FOR USING A


SLAVE STATION MANUFACTURED BY FANUC
46, 80, 89, 188, 208
SETTING USING A PERSONAL COMPUTER......... 210
SETTING USING DP-Configurator MANUFACTURED
BY Softing ............................................................. 211
SETTING WHEN EDITION 07 OR EARLIER OF
SERIES 6557 IS USED.......................................... 167
SETTING WHEN SERIES 6556 IS USED.................. 197
SIGNALS ..................................................................... 140
SLAVE FUNCTION SETTING......... 37, 75, 88, 183, 207
SLAVE FUNCTIONS ...................................................... 9
Slave Parameter Setting ............................ 23, 66, 175, 202
Slave Station Setting..................................................... 103
SOFTWARE FOR PROFIBUS-DP FUNCTIONS........... 7
Status Register .................................................. 44, 79, 187
SYSTEM SAFETY ........................................................ 94

<T>
TERMINATING RESISTOR ....................................... 113

<U>
Updating DI/DO Data for the Master Function .............. 33
Updating DI/DO Data for the Slave Function ................ 45

i-2
Revision Record

FANUC PROFIBUS-DP Board OPERATOR’S MANUAL (B-63294EN)

04 Nov., 2001 Addition of descriptions for Series 16i/18i/21i-MODEL B

03 Nov., 1999 Addition of descriptions for Series 15i

02 Jul., 1999 Total revision

01 Aug., 1996

Edition Date Contents Edition Date Contents


TECHNICAL REPORT (MANUAL) NO. TMN 02/084E

Date 08. October. 2002


General Manager of
Software Laboratory

FANUC PROFIBUS-DP Board OPERATOR’S MANUAL

(Additional explanation of PROFIBUS-DP Master functions)

1. Communicate this report to:


Your information only
O GE Fanuc-N, GE Fanuc-E
FANUC Robotics
CINCINNATI MILACRON
O Machine tool builder
O Sales agency
O End user

2. Summary for Sales Documents


Please order A02B-0222-J535#6558 for the following situations.
-When new features described at the attached document are needed.
-When PROFIBUS is adopted to a new system.
Please order A02B-0222-J535#6557 for the following situation.
-When a operator wants to use the existing PROFIBUS setting parameters without
re-configuration.

3. Notice

4. Attached Document
DrawingNo. B-62924EN/04-1 (1/42~42/42)

NO. FL4G-02/A002
Original section of issue
EAO
Senior Super Person in
Manager Visor Charge
Additional explanation of PROFIBUS-DP Master function
I/O Module Assignment function

1.Type of applied technical documents

Name FANUC PROFIBUS-DP Board OPERATOR'S MANUAL


Spec.No./Ed. B-62924EN/04

2.Summary of Change

Group Name/Outline New Applicable


Add
Correct Date
Delete
Basic I/O Module Assignment function is added to Add Sept, 2002
PROFIBUS-DP master function
Function

Optional
Function

Unit

Maintenance
Parts

This additional manual is explained about PROFIBUS software #6558 series.


Notice

Correction

Another

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 1/42
Additional explanation of PROFIBUS-DP Master function
I/O Module Assignment function

When using the I/O Module Assignment function with the PROFIBUS application software 6558,
please refer to this additional explanation, instead of Section 1.2.2, 1.2.3 and 1.2.4 of FANUC
PROFIBUS-DP board OPERATOR’S manual.

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.

Outline of Master function


LCD-mounted type Series 16i/18i/21i-A/B,
Stand-alone type Series 16i/18i/21i-A,
CNC type
Power Mate i-D/H,
Series 16/18-C
CONTROL SOFTWARE 6558 Series

Range of valid master station


0 to125
numbers
Range of valid slave station
numbers for which
0 to125
communication can be
performed
The maximum number of the
48 slaves
slaves which can be connected
24 modules per a slave

(The sum of slaves and modules


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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 2/42
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
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 C.1, "Setting Using DP-Configurator
Manufactured BY Softing," in "SUPPLEMENT." of B-62924EN.

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.

Screen 1-1

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 3/42
(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."

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 4/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 5/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 6/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 7/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 8/42
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 the
period 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).

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 9/42
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)

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 10/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 11/42
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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 12/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 13/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 14/42
[ 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.

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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 15/42
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 26 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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 16/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 17/42
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”.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 18/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 19/42
Remarks) Explanation of terms used in the table
Sync control : Command for specifying operation in Sync mode. When
command 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 mode. When


command 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 normally


detection 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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 20/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 21/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 22/42
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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 23/42
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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 24/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 25/42
(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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 26/42
[ 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.

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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 27/42
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.

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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 28/42
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].

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 29/42
(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

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 ” ----- ”.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 30/42
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."

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 31/42
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”

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 32/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 33/42
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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 34/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 35/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 36/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 37/42
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.

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 38/42
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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 39/42
(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:Stand-alone type 16i/18i/21i-A/B,


LCD-mounted type16i/18i/21i-A/B, 16/18-C
00A1:Power Matei –D/H

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 40/42
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

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 41/42
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.)
The inputted value is exceeding the range.
“ INVALID RANGE”

TITLE: Additional explanation of


PROFIBUS-DP Master function
(I/O Module Assignment function)

01 02.10.7 Mutai Newly registered DRAW.NO. B-62924EN/04-1


EDIT DATE DESIGN DESCRIPTION FANUC LTD. SHEET 42/42

You might also like