Sie sind auf Seite 1von 159

GE Fanuc Automation

Computer Numerical Control Products

Profibus-DP Board
Operator's Manual
GFZ-62924EN/03 November 1999

GFL-001

Warnings, Cautions, and Notes as Used in this Publication


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

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

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

This document is based on information available at the time of its publication. While efforts have been made to be accurate, the information contained herein does not purport to cover all details or variations in hardware or software, nor to provide for every possible contingency in connection with installation, operation, or maintenance. Features may be described herein which are not present in all hardware and software systems. GE Fanuc Automation assumes no obligation of notice to holders of this document with respect to changes subsequently made. GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory with respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained herein. No warranties of merchantability or fitness for purpose shall apply.

Copyright 1999 GE Fanuc Automation North America, Inc. All Rights Reserved.

B-62924EN/03

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 Operators 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. DEFINITION OF WARNING, CAUTION, AND NOTE--------------------------- s-2

2.

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

s-1

SAFETY PRECAUTIONS

B-62924EN/03

1
WARNING

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.

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

SAFETY PRECAUTIONS

2
WARNING

GENERAL WARNINGS AND NOTES

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

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

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. PROFIBUS-DP cannot be used with DeviceNet.

s-4

B-62924EN/03

Table of Contents

SAFETY PRECATIONS .......................................................................................................................S-1 I. GENERAL............................................................................................................................................. 1 1 GENERAL.......................................................................................................................................... 3

II. OPERATION....................................................................................................................................... 9 1 PROFIBUS-DP FUNCTIONS........................................................................................................ 11 1.1 1.2 OVERVIEW ............................................................................................................................... 12 MASTER FUNCTION SETTING .............................................................................................. 13 Bus Parameter Setting........................................................................................................ 16 Slave Parameter Setting ..................................................................................................... 23 Setting for Address Assignment.......................................................................................... 30

1.2.1 1.2.2 1.2.3 1.3 1.4 1.5 2

SLAVE FUNCTION SETTING ................................................................................................. 36 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION MANUFACTURED GSD FILE OF THE FANUC CNCS........................................................................................... 49

BY FANUC ........................................................................................................................................... 47

BUILDING A SAFE SYSTEM ....................................................................................................... 57 2.1 SYSTEM SAFETY ..................................................................................................................... 58

EXAMPLE OF CONNECTION...................................................................................................... 61 3.1 EXAMPLE OF CONFIGURATION ........................................................................................... 62 Master Station Setting........................................................................................................ 63 Slave Station Setting .......................................................................................................... 66

3.1.1 3.1.2

III. CONNECTION ................................................................................................................................ 69 FUNCTIONS........................................................................................................................................... 71 1.1 1.2 1.3 1.4 1.5 1.6 1.7 2 PROFIBUS CONNECTION....................................................................................................... 72 PROFIBUS CABLE PARAMETERS ......................................................................................... 72 CABLE LENGTH AND TRANSFER RATE .............................................................................. 73 TERMINATING RESISTOR...................................................................................................... 73 CONNECTOR ............................................................................................................................ 74 CABLE CONNECTION ............................................................................................................. 74 CABLE SHIELDING ................................................................................................................. 76

PROFIBUS FOR THE SERIES 16/18-C ....................................................................................... 77

c-1

Table of Contents

B-62924EN/03

2.1 2.2

CONFIGURATION.................................................................................................................... 78 INSTALLATION........................................................................................................................ 79 Environmental Conditions.................................................................................................. 79 Cable Installation ............................................................................................................... 79 PROFIBUS Board Connector Layout ................................................................................. 81

2.2.1 2.2.2 2.2.3 2.3 3

CONNECTION DIAGRAM........................................................................................................ 82

INTEGRAL-TYPE PROFIBUS FOR THE SERIES 16I/18I/21I ................................................. 83 3.1 3.2 CONFIGURATION.................................................................................................................... 84 INSTALLATION........................................................................................................................ 87 Environmental Conditions.................................................................................................. 87 Mounting the Board............................................................................................................ 87 Mounting the Adapter Unit................................................................................................. 88 Connector Layout ................................................................................................................ 90

3.2.1 3.2.2 3.2.3 3.2.5 3.3 4

Connection between the PROFIBUS Board and Adapter Units........................................................ 88 COMPLETE CONNECTION DIAGRAM .................................................................................. 92

PROFIBUS FOR THE STAND-ALONE TYPE SERIES 16I/18I/21I.......................................... 93 4.1 4.2 CONFIGURATION.................................................................................................................... 94 INSTALLATION........................................................................................................................ 95 Environmental Conditions.................................................................................................. 95 Mounting the Board............................................................................................................ 95 Connector Layout ................................................................................................................ 96

4.2.1 4.2.2 4.2.3 4.3 5

COMPLETE CONNECTION DIAGRAM .................................................................................. 97

PROFIBUS FOR THE SERIES 15................................................................................................ 98 5.1 5.2 CONFIGURATION.................................................................................................................... 99 INSTALLATION...................................................................................................................... 100 Environmental Conditions................................................................................................ 100 Mounting the Board.......................................................................................................... 100 Connector Layout .............................................................................................................. 101

5.2.1 5.2.2 5.2.3 5.3 6

COMPLETE CONNECTION DIAGRAM ................................................................................ 102

PROFIBUS FOR THE POWER MATE-D/H .............................................................................. 103 CONNECTION DIAGRAM................................................................................................................. 104 6.2 6.3 ENVIRONMENTAL CONDITIONS........................................................................................ 104 SIGNALS ................................................................................................................................. 105 PROFIBUS Interface ........................................................................................................ 105

6.3.1

c-2

B-62924EN/03

Table of Contents

6.3.2 6.4 6.4.1 6.4.2 6.4.3 7

Built-in I/O Machine Interface......................................................................................... 105 Overview ........................................................................................................................... 106 Details of DI Connection ................................................................................................... 108 Details of DO Connection.................................................................................................. 110

BUILT-IN I/O MACHINE INTERFACE ................................................................................. 106

PROFIBUS FOR THE POWER MATE I .................................................................................... 111 7.1 7.2 CONFIGURATION.................................................................................................................. 112 INSTALLATION...................................................................................................................... 113 Environmental Conditions................................................................................................ 113 Mounting the Board.......................................................................................................... 113 Connector Layout .............................................................................................................. 114

7.2.1 7.2.2 7.2.3 7.3

COMPLETE CONNECTION DIAGRAM ................................................................................ 115

IV. MAINTENANCE............................................................................................................................ 117 1 PROFIBUS FOR THE SERIES 16/18-C ..................................................................................... 119 1.1 1.2 COMPONENT LAYOUT ......................................................................................................... 120 LED INDICATORS AND THEIR MEANINGS ....................................................................... 121 DP-Master Function LED Indicators................................................................................ 121 DP-Slave Function LED Indicators .................................................................................. 122

1.2.1 1.2.2 2

INTEGRAL-TYPE PROFIBUS FOR THE SERIES 16I/18I/21I ............................................... 123 2.1 2.2 COMPONENT LAYOUT ......................................................................................................... 124 LED INDICATORS AND THEIR MEANINGS ....................................................................... 125 LED Indicators of the DP-Master Function ...................................................................... 125 LED Indicators of the DP-Slave Function ........................................................................ 126

2.2.1 2.2.2 3

PROFIBUS FOR THE STAND-ALONE TYPE SERIES 16I/18I/21I........................................ 127 3.1 3.2 COMPONENT LAYOUT ......................................................................................................... 128 LED INDICATORS AND THEIR MEANINGS ....................................................................... 129 LED Indicators of the DP-Master Function ...................................................................... 129 LED Indicators of the DP-Slave Function ........................................................................ 130

3.2.1 3.2.2 4

PROFIBUS FOR THE SERIES 15I ............................................................................................ 131 4.1 4.2 COMPONENT LAYOUT ......................................................................................................... 132 LED INDICATORS AND THEIR MEANINGS ....................................................................... 133 LED Indicators of the DP-Master Function ...................................................................... 133 LED Indicators of the DP-Slave Function ........................................................................ 134

4.2.1 4.2.2

c-3

Table of Contents

B-62924EN/03

PROFIBUS FOR THE POWER MATE-D/H .............................................................................. 135 5.1 5.2 PROFIBUS DRAWING NUMBER .......................................................................................... 136 ALARM MESSAGES AND MEANINGS ................................................................................. 137

PROFIBUS FOR THE POWER MATE I .................................................................................... 138 6.1 6.2 COMPONENT LAYOUT ......................................................................................................... 139 LED INDICATORS AND THEIR MEANINGS ....................................................................... 140

APPENDIX............................................................................................................................................ 141 A CONVENTIONAL SETTING....................................................................................................... 143 A.1 WHEN USING SOFTWARE SERIES 6556 FOR THE PROFIBUS-DP FUNCTION............. 144 Bus Parameter Setting...................................................................................................... 146 Slave Parameter Setting ................................................................................................... 148 Address Allocation ............................................................................................................ 150

A.1.1 A.1.2 A.1.3

c-4

I. GENERAL

B-62924EN/03

GENERAL

1. GENERAL

GENERAL
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. II.

GENERAL
Describes the organization of this manual, and lists applicable models and related manuals.

OPERATION
Describes how to set the data necessary to enable PROFIBUSDP 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.

-3-

1. GENERAL

GENERAL

B-62924EN/03

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 FANUC Series 16-TC FANUC Series 16-MC FANUC Series 16-PC FANUC Series 160-TC FANUC Series 160-MC FANUC Series 160-PC FANUC Series 18-TC FANUC Series 18-MC FANUC Series 18-PC FANUC Series 180-TC FANUC Series 180-MC FANUC Series 180-PC
FANUC Power Mate-MODEL D FANUC Power Mate-MODEL H

FANUC Series 15 i-MA FANUC Series 150 i-MA FANUC Series 16 i-TA FANUC Series 16 i-MA FANUC Series 16 i-PA FANUC Series 160 i-TA FANUC Series 160 i-MA FANUC Series 160 i-PA FANUC Series 18 i-TA FANUC Series 18 i-MA FANUC Series 18 i-PA FANUC Series 180 i-TA FANUC Series 180 i-MA FANUC Series 180 i-PA FANUC Series 21 i-TA FANUC Series 21 i-MA FANUC Series 21 i-PA FANUC Series 210 i-TA FANUC Series 210 i-MA FANUC Series 210 i-PA FANUC Power Mate i-MODEL D FANUC Power Mate i-MODEL H

Abbreviation 16-TC 16-MC 16-PC Series 16-C 160-TC 160-MC 160-PC 18-TC 18-MC 18-PC Series 18-C 180-TC 180-MC 180-PC Power Mate-D Power Mate Power Mate-H 15 i-MA Series 15i-MA 150 i-MA 16i TA 16i MA 16i PA 160i TA 160i MA 160i PA 18i TA 18i MA 18i PA 180i TA 180i MA 180i PA 21i TA 21i MA 21i PA 210i TA 210i MA 210i PA Power Mate i-D Power Mate i-H Series 16i -A

Series 18i -A

Series 21i A

Power Mate i

-4-

B-62924EN/03

GENERAL

1. GENERAL

Related manuals
The manuals related to each model are as follows. When using this manual, also refer to the following manuals as required.
Series 16/18/160/180-TC/MC manuals Manual name Specification number DESCRIPTIONS B-62752EN CONNECTION MANUAL (HARDWARE) B-62753EN CONNECTION MANUAL (FUNCTION) B-62753EN-1 OPERATOR'S MANUAL (For Lathe) B-62754EN OPERATOR'S MANUAL (For Machining Center) B-62764EN MAINTENANCE MANUAL B-62755EN PARAMETER MANUAL B-62760EN Series 16/18/160/180-PC manuals Manual name Specification number DESCRIPTIONS B-62772EN CONNECTION MANUAL (HARDWARE) B-62753EN CONNECTION MANUAL (FUNCTION) B-62753EN-1 CONNECTION MANUAL (FUNCTION) B-62773EN [Supplement for 16/18/160/180-PC] OPERATOR'S MANUAL B-62774EN MAINTENANCE MANUAL B-62755EN PARAMETER MANUAL B-62760EN PARAMETER MANUAL B-62780EN [Supplement for 16/18/160/180-PC] Power Mate-D manuals Manual name Specification number DESCRIPTIONS B-62092E CONNECTION MANUAL B-62833EN OPERATOR'S MANUAL B-62094E MAINTENANCE MANUAL B-62835EN Power Mate-H manuals Manual name Specification number DESCRIPTIONS B-62682EN CONNECTION MANUAL B-62683EN OPERATOR'S MANUAL B-62684EN MAINTENANCE MANUAL B-62685EN

-5-

1. GENERAL

GENERAL

B-62924EN/03

Series 15i/150i-MA manuals Manual name Specification number DESCRIPTIONS B-63322EN CONNECTION MANUAL (HARDWARE) B-63323EN CONNECTION MANUAL (FUNCTION) B-63323EN-1 OPERATOR'S MANUAL (PROGRAMMING) B-63324EN OPERATOR'S MANUAL (OERATION) B-63324EN-1 MAINTENANCE MANUAL B-63325EN PARAMETER MANUAL B-63300EN Series 16i/18i/160i/180i-TA/MA manuals Manual name Specification number DESCRIPTIONS B-63002EN CONNECTION MANUAL (HARDWARE) B-63003EN CONNECTION MANUAL (FUNCTION) B-63003EN-1 OPERATOR'S MANUAL (For Lathe) B-63004EN OPERATOR'S MANUAL (For Machining Center) B-63014EN MAINTENANCE MANUAL B-63005EN PARAMETER MANUAL B-63010EN Series 16i/18i/160i/180i-PA manuals Manual name Specification number DESCRIPTIONS B-63122EN CONNECTION MANUAL (HARDWARE) B-63003EN CONNECTION MANUAL (FUNCTION) B-63003EN-1 CONNECTION MANUAL (FUNCTION) B-63123EN [Supplement for 16i/18i/160i/180i-PA] OPERATOR'S MANUAL B-63124EN MAINTENANCE MANUAL B-63005EN PARAMETER MANUAL B-63010EN PARAMETER MANUAL B-63130EN [Supplement for 16i/18i/160i/180i-PA] Series 21i/210i-TA/MA manuals Manual name DESCRIPTIONS CONNECTION MANUAL (HARDWARE) CONNECTION MANUAL (FUNCTION) OPERATOR'S MANUAL (For Lathe) OPERATOR'S MANUAL (For Machining Center) MAINTENANCE MANUAL PARAMETER MANUAL Specification number B-63002EN B-63003EN B-63003EN-1 B-63084EN B-63094EN B-63005EN B-63090EN

-6-

B-62924EN/03

GENERAL

1. GENERAL

Power Mate i-D/H manuals Manual name Specification number DESCRIPTIONS B-63172EN CONNECTION MANUAL (HARDWARE) B-63173EN CONNECTION MANUAL (FUNCTION) B-63173EN-1 OPERATOR'S MANUAL B-63174EN MAINTENANCE MANUAL B-63175EN

-7-

II. OPERATION

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

PROFIBUS-DP FUNCTIONS
This chapter describes PROFIBUS-DP functions.

NOTE PROFIBUS-DP cannot be used with DeviceNet.

-11-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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 DPSlave 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 DPMaster 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). The FANUC CNC Series 16/18-C, Series 16i/18i/21i-A, and Series 15i-A support both the master function and slave function. The Power Mate-D/H and Power Mate i -D/H support only the slave function.

-12-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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.

Setting the master function with the Series 16/18-C and Series 16i/18i/21i-A (when using the software 6557 series for the PROFIBUS-DP function) NOTE Check "CONTROL SOFTWARE" on Screen 1-1 to confirm that the software for the PROFIBUS-DP function is the 6557 series. When using the 6556 series, see Appendix A.1, "When Using Software Series 6556 for the PROFIBUS-DP Function."

-13-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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

If the software options for the master function and slave function are not set, the above screen does not display the corresponding information and soft keys for each function. In the sample display of Screen 1-1, the software options for both the master function and slave function are already set.

-14-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

(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 this screen: <1> Bus parameters [BUS] <2> Slave parameters [SLAVE]

NOTE For address assignment, press soft key [ADDR] on the slave parameter setting screen (screen 1-5).
(5) 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.

-15-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

1.2.1

Bus Parameter Setting


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

-16-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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 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-1-a, "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

-17-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Setting the master function in Series 15i-A


There are two types of screens for setting parameters.

1 2

Bus parameter screen Used for setting bus parameters. 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.

Setting bus parameters


Set parameters on the bus parameter screen.

Screen 1-5 (Series 15i-A)

Display procedure
Procedure 1
SYSTEM

(1) Press the function key 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
SYSTEM

(1) Press the function key . (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
-18-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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 slave function setting screen.
PAGE

in FDL ADD displays the

Pressing the page key for slave No. 000. Pressing the page key screen.
PAGE

displays the slave parameter screen

displays the slave function setting

Initialization
Use the soft key [INIT] to initialize the bus parameter values to standard values used with a transfer rate of 12 Mbps.

-19-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Table 1-1 summarizes the bus parameters. Table 1-1-a 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-1 Bus Parameters Description Fieldbus data link address. Station number of the DP-Master. 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) Slot time. Maximum time from token frame transmission until the first character of a response frame is read. (Unit: Bit time) 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) 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) Transmitter fall/repeater switch time. Wait time after data transmission until the receiver can be operated again. (Unit: Bit time) Setup time. Time after the occurrence of an event until the execution of the corresponding action is started. (Unit: Bit time) Target rotation time. Estimated time required for a PROFIBUS token to make one rotation. (Unit: Bit time) Gap update factor. Number of tokens that rotate during a gap maintenance period. Highest station address. Maximum node number set on the PROFIBUS. Maximum number of retries. 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) Minimum slave interval between two slave poll cycles. Minimum polling interval between slaves. (Unit: 100 s) 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) Time until the data transfer list is updated at least once. (Unit: 10 ms) Master who created this parameter sets. Name of the DP-Master (class2) that created the bus parameters.

Item FDL ADD BAUDRATE

T SL

MIN T SDR

MAX T SDR

T QUI T SET

T TR G HSA MAX RETRY BP FLAG

MIN SLAVE INT POLL TIME OUT

DATA CONTROL CLASS2 NAME

-20-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

Item MASTER USER DATA

Description Data necessary for the bus parameters and specified by the manufacturer.

Remarks) Explanation of terms used in the above table Bit time : Time (sec) required to send one bit of data at a specified transfer rate. This is equivalent to the reciprocal of a transfer rate (bps). Gap maintenance : Period during which the list for managing period the address of the connected DP-Master is updated. (Unit: Bit time) Operation mode : Operation mode of a DP-Master (class1). Offline : Mode that disables communication with all nodes Stop : Mode that enables communication with the DPMaster (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. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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

This parameter need not be set.

Viewing this table for parameter setting: First, determine the value of 2: BAUDRATE. Then, set the other parameters according to the set baud rate.

-22-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

1.2.2

Slave Parameter Setting

Setting slave parameters in Series 16/18-C and Series 16i/18i/21i-A


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

Soft key [INIT] on Screen 1-6 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-6 is displayed when
-23-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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-7. (Screen 1-6 shows the screen displayed by 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 DPSlave 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 DPSlave 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-7

Setting slave parameters in Series 15i-A

Setting slave parameters


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

-24-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

Screen 1-8 (a) Slave Parameter Screen (Series 15i-A)

Screen 1-8 (b) Slave Parameter Screen (Series 15i-A)

-25-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Display procedure
Procedure 1
SYSTEM

several times until the bus (1) Press the function key 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
SYSTEM

. (1) Press the function key (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.
PAGE

Use of the page keys

PAGE

allows paging.

-26-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS
PAGE

Pressing the page key on the second page for slave No. 125 displays the slave setting screen. Pressing the page key on the first page for slave No. 000 displays the bus parameter screen.
PAGE

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

-27-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Table 1-2 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-2 Slave Parameters Description Specify whether to perform communication with the DP-Slave for which the slave parameters 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. DP-Slave identification number. Specify the identification number of a DP-Slave to be connected. 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) Manufacturer-specified type indication for the DP-Slave. When LOCK_REQ=ON and UNLOCK_REQ=OFF are set, the DP-Slave disables the DPMaster from modifying the parameters. When LOCK_REQ=OFF and UNLOCK_REQ=ON are set, the DP-Slave allows the DPMaster to modify the parameters. When ON is set, the Sync control command can be used. When ON is set, the Freeze control command can be used. When On is set, disconnection detection is performed. Coefficients for disconnection detection time determination. 10 WD_FACT1 WD_FACT2 (msec) Minimum wait time until a response is returned to the DP-Master. (Unit: Bit time) Specify groups for the DDLM_Global_Control instruction. Each bit represents a group. Up to eight groups can be specified. User parameter data. Data necessary for the slave parameters and specified by the manufacturer. 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. Data specified by the manufacturer to indicate the characteristics of the DP-Slave.

Item DISABLE/ENABLE (DIS/ENB)

IDENT NO. SLAVE FLAG

SLAVE TYPE LOCK REQ, UNLOCK REQ

SYNC REQ FREEZE REQ WD REQ WD FACT1, WD FACT2 MIN TSDR GROUP IDENT USER PRM DATA CONFIG DATA

SLAVE USER DATA

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

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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 operation is performed in Freeze command 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 DPSlave. 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).

-29-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

1.2.3

Setting for Address Assignment

Address assignment in Series 16/18-C and Series 16i/18i/21i-A


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

-30-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

Address assignment in Series 15i-A

Address assignment
Screen 1-10 is used for this setting. For the setting method, see the description of slave parameter setting in Section 1.2.2.

Screen 1-10 Slave Parameter Screen (Series 15i-A)

-31-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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 DPSlave. 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.) 6 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.
(2) Each item must be set as described below. DI/DO SETTING Set the area to be used as a DI/DO data buffer. No restrictions are imposed on the PMC addresses that can be used as this buffer, except for those relating to input-only and output-only types. DIAGNOSE DATA SETTING Set an area for storing diagnose data. For details of standard diagnose data, see Table 1-3.

-32-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

Item STATION STATUS 1 (Size: 1 byte)

STATION STATUS 2 (Size: 1 byte)

STATION STATUS 3 (Size: 1 byte)

MASTER ADDRESS (Size: 1 byte) IDENT NUMBER (Size: 2 bytes)

Table 1-3 Standard Diagnose data Description The state of a DP-Slave is indicated. 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 DPMaster, 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 DPMaster 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. The state of a DP-Slave is indicated. 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. The state of a DP-Slave is indicated. 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 The address of the DP-Master that set the parameters of the DP-Slave is set. If the parameters are not set by the DP-Master, 255 is set. The identification number of a DP-Slave is set.

-33-

1. PROFIBUS-DP FUNCTIONS
Item STATION STATUS 2 (Size: 1 byte)

OPERATION

B-62924EN/03

STATION STATUS 3 (Size: 1 byte)

MASTER ADDRESS (Size: 1 byte) IDENT NUMBER (Size: 2 bytes)

Description The state of a DP-Slave is indicated. 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. The state of a DP-Slave is indicated. 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 The address of the DP-Master that set the parameters of the DP-Slave is set. If the parameters are not set by the DP-Master, 255 is set. The identification number of a DP-Slave is set.

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.

-34-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

(3) Soft key [INIT] on Screen 1-9 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-9 is used. On Screen 1-9, 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 32byte 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 16byte 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

-35-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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 DPMaster and DP-Slave are set. The method of setting each parameter is described below. The method of setting a DP-Slave varies, depending on the model (Series 16/18-C, Series 16i/18i/21i-A, Series 15i-A, Power Mate-D/H, Power Mate i-D/H), and operation unit (CRT/MDI, DPL/MDI, PC). When setting the parameters, pay careful attention to the corresponding setting method.

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

-36-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

Setting the slave function with the Series 16/18-C and Series 16i/18i/21i-A NOTE The method of setting the slave function with the Series 16/18-C and Series 16i/18i/21i-A is the same when either the 6557 series or 6556 series software for the PROFIBUS-DP function is used. Set a DI/DO size of one byte or more when using either the 6556 or 6557 series. (Note that, when the 6556 series is used, the display screen allows a DI/DO size of even 0 bytes to be set.)

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], [PROFI], and [SLAVE] in the stated order displays Screen 1-11.

Screen 1-11

-37-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Setting the slave function with the Series 15i-A

Screen 1-12 Slave Function Setting Screen (Series 15i-A)

Display procedure
Procedure 1
SYSTEM

(1) Press the 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
SYSTEM

. (1) Press the 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].

-38-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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. is pressed in STATION NO., When the cursor key the cursor moves to CONFIG DATA LENGTH on the slave parameter screen for slave No. 125.
PAGE

Pressing the page key Pressing the page key for slave No. 125.
PAGE

displays the bus parameter screen. displays the slave parameter screen

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 PMCSB6 or the PMC-NB6, be careful not to exceed R2999.)
(3) 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. Example) For explanation, the example shown in Screen 1-8 is used. On Screen 1-8, the station number of the DP-Slave is 3. A DI data area and DO data area used as buffers for

-39-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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 (4) STATUS on Screen 1-8 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) 01: State in which configuration data is being received again 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) 01: State in which parameter data is being received again 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.
-40-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

This item displays 00A0 as the identification number of a DP-Slave using a FANUC CNC. (5) 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-4.

-41-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Item Status register (Address: R9094) (Size: 1 byte)

Table 1-4 Status Register Description The state of a DP-Slave is indicated. (All the bits below are set by the software of the CNC.) Bit 7: No PROFIBUS board is installed. 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.

Setting the slave function with the Power Mate-D/H

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.

-42-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

Parameters
0171 DI data size

[Data type] [Unit of data] [Valid data range]

Word Word 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.
DO data size

0172

[Data type] [Unit of data] [Valid data range]

Word Word 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.
Station number of the DP-Slave

0173

[Data type] [Unit of data] [Valid data range]

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

-43-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Setting the slave function with the Power Mate i-D/H

Procedure using the CRT/MDI


The setting method is exactly the same as "Procedure (CRT/MDI)" in "Setting the slave function with the Series 16/18-C and Series 16i/18i/21i-A" (when the 6557 series software for the PROFIBUS-DP function is used). See the description of the method.

NOTE The identification number of a DP-Slave using a FANUC Power Mate CNC is 00A1. So, Screen 1-11 displays IDENT NO. = 00A1.

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 = > S0002 =
Screen 1-13

0 0

-44-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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-14 shown below appears.
FANUC Power Mate i DPL/MDI Operation Package File Edit Disp Help

PROFIBUS S0001 = S0002 S0003 S0004 S0005 S0101 S0102 S0103 >
F1 F2 F3 F4 POS PRG MEN DGN VAR PRM F5 F6 OPR &@ ALM No. F7 F8 RD WRT F9 F10 F11 F12 HLP EXT

3 R300 16 R400 32 00 00 00

= = = = = = =

Screen 1-14

By displaying Screen 1-14, the parameters (S0001 to S0005) can be set, and diagnose data (S0101 to S0105) can be displayed.
Parameter No. S0001 S0002 S0003 S0004 S0005 Item Station NO. Input Data Size Input Data Address Output Data Size Output Data Address Description Sets the station number of the DPSlave. Sets the size of DI data. Sets the address of DI data. Sets the size of DO data. Sets the address of DO data.

-45-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Diagnose No. S0101

Item Configuration Status

S0102

Parameter Status

S0103

WatchDog Status

S0104

Livelist Status

S0105

IDENT NO.

Description Indicates whether slave parameter CONFIG DATA for the DP-Master matches the configuration data recognized by the DP-Slave. Indicates whether slave parameter USER PARAM DATA of the DPMaster matches the parameter data recognized by the DP-Slave. Indicates the connection state of the communication link with the DP-Master. Indicates whether the software of the slave function is operating normally. Indicates 00A1 as the identification number of the DP-Slave using a FANUC Power Mate CNC.

-46-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

1.4

SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION MANUFACTURED BY FANUC
Before the slave function of 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. Table 1-5 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-2 in Section 1.2.2, "Slave Parameter Setting.")

CAUTION Before the slave function of a DP-Slave manufactured by FANUC can be used, data specific to the FANUC DP-Slave must be set in the slave parameters of the DP-Master. If valid values are not set in these parameters, communication may not be performed normally.
Table 1-5 Settings of the Slave Parameters Setting/description 00A0: CNC 00A1: Power Mate CNC Identification number of a slave station using a PROFIBUS product manufactured by FANUC. C0 Slave specification bit flag. 0 Manufacturer-specified slave type. 88 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. Arbitrary Set an appropriate value according to a desired disconnection detection time. Arbitrary Set an appropriate value according to the state of the network. 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. Data size : 0 Data : None User parameter data. With the slave function of a FANUC CNC, this data is not used. So, specify 0.

Item IDENT NO.

SLAVE FLAG SLAVE TYPE STATION STATUS

WD FACT1, 2 MIN TSDR GROUP IDENT

USER PRM DATA

-47-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

Item USER PRM DATA

CONFIG DATA

SLAVE USER DATA

Table 1-5 Settings of the Slave Parameters (Continued) Setting/description Data size : 0 Data : None User parameter data. With the slave function of a FANUC CNC, this data is not used. So, specify 0. 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. Data size : 0 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-5 are represented in hexadecimal.

-48-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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

-49-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

GSD file for a DP-Master using a FANUC CNC


#Profibus_DP Vendor_Name Model_Name Revision Ident_Number Protocol_Ident Station_Type FMS_supp Hardware_Release Software_Release 9.6_supp 19.2_supp 93.75_supp 187.5_supp 500_supp 1.5M_supp 3M_supp 6M_supp 12M_supp MaxTsdr_9.6 MaxTsdr_19.2 MaxTsdr_93.75 MaxTsdr_187.5 MaxTsdr_500 MaxTsdr_1.5M MaxTsdr_3M MaxTsdr_6M MaxTsdr_12M Redundancy Repeater_Ctrl_Sig 24V_Pins ;

= "FANUC" = "FANUC CNC" = "1.0" = 0x00CB =0 =1 =0 = "Release 1.0" = "Release 3.0" =1 =1 =1 =1 =1 =1 =1 =1 =1 = 60 = 60 = 60 = 60 = 100 = 150 = 250 = 450 = 800 =0 =2 =0

-50-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

; 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 = 1000 ; 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 ;
-51-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

LAS_Len ; Tsdi_9.6 Tsdi_19.2 Tsdi_93.75 Tsdi_187.5 Tsdi_500 Tsdi_1.5M Tsdi_3M Tsdi_6M Tsdi_12M ; Max_Slaves_supp ;

= 32 = 70 = 70 = 70 = 70 = 150 = 200 = 250 = 450 = 800 = 32

-52-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

GSD file for a DP-Slave using a FANUC CNC


#Profibus_DP Vendor_Name Model_Name Revision Ident_Number Protocol_Ident Station_Type FMS_supp Hardware_Release Software_Release 9.6_supp 19.2_supp 93.75_supp 187.5_supp 500_supp 1.5M_supp 3M_supp 6M_supp 12M_supp MaxTsdr_9.6 MaxTsdr_19.2 MaxTsdr_93.75 MaxTsdr_187.5 MaxTsdr_500 MaxTsdr_1.5M MaxTsdr_3M MaxTsdr_6M MaxTsdr_12M Redundancy Repeater_Ctrl_Sig 24V_Pins ;

= "FANUC" = "FANUC CNC" = "1.0" = 0x00A0 =0 =0 =0 = "Release 1.0" = "Release 3.0" =1 =1 =1 =1 =1 =1 =1 =1 =1 = 60 = 60 = 60 = 60 = 100 = 150 = 250 = 450 = 800 =0 =2 =0

-53-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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

-54-

B-62924EN/03

OPERATION

1. PROFIBUS-DP FUNCTIONS

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


#Profibus_DP Vendor_Name Model_Name Revision Ident_Number Protocol_Ident Station_Type FMS_supp Hardware_Release Software_Release 9.6_supp 19.2_supp 93.75_supp 187.5_supp 500_supp 1.5M_supp 3M_supp 6M_supp 12M_supp MaxTsdr_9.6 MaxTsdr_19.2 MaxTsdr_93.75 MaxTsdr_187.5 MaxTsdr_500 MaxTsdr_1.5M MaxTsdr_3M MaxTsdr_6M MaxTsdr_12M Redundancy Repeater_Ctrl_Sig 24V_Pins ;

= "FANUC" = "FANUC Power Mate CNC" = "1.0" = 0x00A1 =0 =0 =0 = "Release 1.0" = "Release 3.0" =1 =1 =1 =1 =1 =1 =1 =1 =1 = 60 = 60 = 60 = 60 = 100 = 150 = 250 = 450 = 800 =0 =2 =0

-55-

1. PROFIBUS-DP FUNCTIONS

OPERATION

B-62924EN/03

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

-56-

B-62924EN/03

OPERATION

2. BUILDING A SAFE SYSTEM

BUILDING A SAFE SYSTEM


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

-57-

2. BUILDING A SAFE SYSTEM

OPERATION

B-62924EN/03

2.1

SYSTEM SAFETY
For safety, the PROFIBUS-DP function of FANUC CNCs is designed so that all the DI data is set to 0 when no data is transferred between the DP-Master and a DP-Slave (for example, when the power to the DP-Master or DP-Slave is turned off, or if a line error has occurred during communication). So, 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. So, ensure that the DP-Master monitors the state of each slave to ensure safe system operation. For example, the DP-Master can read the diagnose data for each DPSlave and check bit 1 or bit 0 of STATION STATUS 1 of the diagnose data to determine whether communication with a DP-Slave is being performed normally. Moreover, a method of checking without using diagnose data is supported. That is, a signal for indicating normal communication is provided in DI/DO data to be exchanged, and is monitored to determine whether communication between the DP-Master and a DP-Slave is performed normally. In addition, for the DP-Master, 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. A DP-Slave manufactured by FANUC can use a system register to monitor the communication status. For enhanced safety, however, ensure that operation is started or continued only after permission is obtained from the DP-Master using a signal inserted into the DI/DO data, as described above.

CAUTION I/O data is not transferred in sync with ladder execution, so that the concurrency of I/O data is not guaranteed. In the case of word-size I/O data, for example, the higher byte may be updated later than the lower byte.
Table 2-1 indicates information about the processing to be performed for the major communication states. By referring to Table 2-1, build a safe system.
Table 2-1 Processing Related to Building a Safe System Processing on the FANUC Processing to be performed by the Communication state PROFIBUS board user Communication has never been DP-Master: DP-Master: performed between the DP Either bit 1 or bit 0 of STATION Set the system execution signal Master and a DP-Slave in STATUS 1 of the diagnose data (see the note below) to 1 when question after power-up. of the DP-Slave (with which system operation is determined to communication is not be possible from the established) is set to 1. establishment of communication All DI signals from the DP-Slave with each DP-Slave. are set to 0. DP-Slave in question:

-58-

B-62924EN/03

OPERATION

2. BUILDING A SAFE SYSTEM


Never start system operation (never operate the motor) until the system execution signal from the DP-Master is set to 1. Note) As described earlier, provide a signal (system execution signal) for starting system operation in the DI/DO data exchanged between the DP-Master and DPSlaves. 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. DP-Master: Set the system execution signal to 1 when system operation is determined to be possible from the establishment of communication with each DPSlave. DP-Slave in question: Never start system operation (never operate the motor) until the system execution signal from the DP-Master is set to 1.

DP-Slave in question: All DI signals from the DP-Master are set to 0.

A DP-Slave in question has DP-Master: established communication with Both bit 1 and bit 0 of STATION the DP-Master, but STATUS 1 of the diagnose data communication between the DPof the DP-Slave are set to 0. Master and other DP-Slaves was The DI signals are sent normally not yet established. from the DP-Slave. DP-Slave in question: The DI signals are sent normally from the DP-Master.

-59-

2. BUILDING A SAFE SYSTEM

OPERATION

B-62924EN/03

Table 2-1 Processing Related to Building a Safe System (Continued) Processing on the FANUC Processing to be performed by the Communication state PROFIBUS board user After system operation started, a DP-Master: DP-Master: communication alarm was issued Either bit 1 or bit 0 of STATION When stopping of the system is by the DP-Slave in question. STATUS 1 of the diagnose data determined to be necessary after of the DP-Slave is set to 1. the establishment of All DI signals from the DP-Slave communication with each DPare set to 0. Slave, set the system execution DP-Slave in question: signal to 0 to notify each DP All DI signals from the DP-Master Slave that the system is to be are set to 0. stopped. When the Power Mate-H is used, DP-Slave in question: the emergency stop state is set to Because all DI signals from the stop the motor. DP-Master are set to 0, the system execution signal is also set to 0. So, stop system operation safely (for example, by gradually reducing the speed of the motor). After system operation started, DP-Master: DP-Master: the DP-Slave in question Both bit 1 and bit 0 of STATION When stopping of the system is established communication with STATUS 1 of the diagnose data determined to be necessary after the DP-Master, but a of the DP-Slave remain set to 0. the establishment of communication alarm was issued The DI signals are sent normally communication with each DPon another DP-Slave. from the DP-Slave. Slave, set the system execution DP-Slave in question: signal to 0 to notify each DP If another DP-Slave issues a Slave that the system is to be communication alarm, the DPstopped. Slave is not placed in the alarm DP-Slave in question: state. When the system execution The DI signals are received from signal is set to 0 based on the the DP-Master, and the DO determination by the DP-Master, signals are sent to the DPstop system operation safely (for Master, as in normal processing. example, by gradually reducing the speed of the motor).

-60-

B-62924EN/03

OPERATION

3. EXAMPLE OF CONNECTION

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

-61-

3. EXAMPLE OF CONNECTION

OPERATION

B-62924EN/03

3.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 DP-Slave #3

Series 18-C

Power Mate-H

DP-Slave #4

DP-Slave #5

Fig. 3-1 Example of PROFIBUS-DP Configuration

In the example configuration shown in Fig. 3-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 DPMaster, and station numbers 3, 4, and 5 are assigned to the DP-Slaves, from left to right.

-62-

B-62924EN/03

OPERATION

3. EXAMPLE OF CONNECTION

3.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 3-1. To change the transfer rate from 12 Mbps to a different value, set the bus parameters again according to Table 1-1-a in Section 1.2.1, "Bus Parameter Setting."
Table 3-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

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

-63-

3. EXAMPLE OF CONNECTION

OPERATION Table 3-2 Slave Parameter Settings Setting DIS/ENB ENABLE #3: 00A0 (Series 18i-A) IDENT NO. #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 Item

B-62924EN/03

Settings for address assignment


When the address map shown in Fig. 3-2 is assumed, the settings indicated in Table 3-3 are required.
Table 3-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 DI SIZE DO ADDRESS DO SIZE DGN ADDRESS DGN SIZE DI ADDRESS DI SIZE DO ADDRESS DO SIZE DGN ADDRESS DGN SIZE R0004 4 R0036 16 R0076 6 R0008 4 R0052 16 R0082 6

-64-

B-62924EN/03

OPERATION

3. EXAMPLE OF CONNECTION

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

Fig. 3-2 DP-Master Address Map

-65-

3. EXAMPLE OF CONNECTION

OPERATION

B-62924EN/03

3.1.2

Slave Station Setting


When the address map shown in Fig. 3-3 is assumed for each DPSlave, the settings indicated in Table 3-4 through Table 3-6 are required.
Table 3-4 Settings for DP-Slave #3 Setting 3 R0000 16 R0020 4 Table 3-5 Settings for DP-Slave #4 Setting 4 R0000 16 R0020 4

Item STATION NO. DI ADDRESS DI SIZE DO ADDRESS DO SIZE

Item STATION NO. DI ADDRESS DI SIZE DO ADDRESS DO SIZE

Table 3-6 Settings for DP-Slave #5 Item Setting Parameter No. 0171 16 Parameter No. 0172 4 Parameter No. 0173 5

-66-

B-62924EN/03

OPERATION

3. EXAMPLE OF CONNECTION

DP-Slave #3, #4 R0000 DI area R0016 Not used R0020 DO area R0024 DP-Slave #5 X1032 DI area X1048 Fig. 3-3 DP-Slave Address Map Y1032 DO area Y1036

-67-

III. CONNECTION

B-62924EN/03

CONNECTION

1. CONNECTING THE PROFIBUS FUNCTIONS

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 "FANUC Series 16i/18i/21i/160i/180i/210i-Model A Connection Manual (Hardware) (B-63003EN)" 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.

-71-

1. CONNECTING THE PROFIBUS FUNCTIONS

CONNECTION

B-62924EN/03

1.1

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

DP-Master (Class1) #1

#3

#4

#5

#6 DP-Slaves

#N

Up to 32 DP-Slaves can be connected to a single DP-Master (Class1).

1.2

PROFIBUS CABLE PARAMETERS


PROFIBUS communication uses shielded twisted-pair cable. The cable must satisfy the requirements listed below.
Item Characteristic impedance Capacitance Resistance Wire gauge Conductor cross-sectional area Rating 150 ohm (f < 2 MHz) < 30 nF/Km < 110 ohm/Km > 0.64 mm > 0.34 mm2

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

-72-

B-62924EN/03

CONNECTION

1. CONNECTING THE PROFIBUS FUNCTIONS

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) Maximum allowable overall cable length (m) 9.6 to 93.75 1200 187.5 1000 500 400 1500 200 3000 to 12000 100

1.4

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

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

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

-73-

1. CONNECTING THE PROFIBUS FUNCTIONS

CONNECTION

B-62924EN/03

1.5

CONNECTOR
Nine-pin D-Sub female connector
1 2 3 RxD/TxD (+) 4 5 CNTR-P PE 6 7 8 RxD/TxD (-) 9 VP PE : Shielding RxD/TxD (+) : Transmission/reception data (+) CNTR-P : Not used (repeater control) DGND VP : Signal ground : Not used (+5 V output) 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.
Cable-end connector: S7 SINEC L2 bus connector 6ES7 972-0BA110XA0, manufactured by Siemens, or equivalent Outside Dimensions of the S7 SINEC L2 Bus Connector
35.6 15.8

35.0 64.0

28.4

NOTE The shape, dimensions, and other characteristics of the connector are subject to change without notice.

1.6

CABLE CONNECTION
Connect the PROFIBUS cable as shown in the following diagram.

-74-

B-62924EN/03

CONNECTION

1. CONNECTING THE PROFIBUS FUNCTIONS

CNC side
CN1 A(03) B(08) A B A B Bus connector

Shield

PROFIBUS A(03) Station at the previous stage B(08)

Shield

PROFIBUS A(03) Station at the next stage B(08)

A: RxD/TxD (+) (pin number 3) B: RxD/TxD (-) (pin number 8)

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.

-75-

1. CONNECTING THE PROFIBUS FUNCTIONS

CONNECTION

B-62924EN/03

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

-76-

B-62924EN/03

CONNECTION

2. PROFIBUS FOR THE Series 16/18-C

PROFIBUS FOR THE Series 16/18-C


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

-77-

2. PROFIBUS FOR THE Series 16/18-C

CONNECTION

B-62924EN/03

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

-78-

B-62924EN/03

CONNECTION

2. PROFIBUS FOR THE Series 16/18-C

2.2
2.2.1

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

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.

-79-

2. PROFIBUS FOR THE Series 16/18-C

CONNECTION

B-62924EN/03

-80-

B-62924EN/03

CONNECTION

2. PROFIBUS FOR THE Series 16/18-C

2.2.3

PROFIBUS Board Connector Layout


Function Connector markings PROFIBUS name and other

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)

LED indicator

LED1 LED2 LED3

-81-

2. PROFIBUS FOR THE Series 16/18-C

CONNECTION

B-62924EN/03

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 of the CNC main unit.

DP-Slave #2

DP-Slave #3

DP-Slave #4

Network 1 (PROFIBUS) CNC system CNC main board

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

JN2 Slave function DP-Slave #4

DP-Master #1 Network 2 (PROFIBUS)

DP-Slave #2

DP-Slave #3

Networks 1 and 2 are mutually independent.

-82-

B-62924EN/03

CONNECTION

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i


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

-83-

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

CONNECTION

B-62924EN/03

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.

-84-

B-62924EN/03

CONNECTION

3. INTEGRAL-TYPE PROFIBUS FOR THE 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 PROFIBUS board Adapter unit Code A02B-0236-J311 A02B-0236-C221 Remarks Master + Slave

-85-

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

CONNECTION

B-62924EN/03

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

-86-

B-62924EN/03

CONNECTION

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

3.2
3.2.1

INSTALLATION
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 4-slot rack 3-slot rack 2-slot rack

Slot-1

Slot-2

Slot-3

Slot-4

: Can be used

: Cannot be used

-87-

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

CONNECTION

B-62924EN/03

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)" (B-63003EN) 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 PROFIBUS board JN1 (Master) Adapter unit JN2 (Slave) JN1 CN1 CN1

MAX. 6 m

The internal cable as described below is used to connect the PROFIBUS board and adapter unit:

L<6m

Name Connector Housing Wire

Code PCR-E20FS PCR-V2-LA A66L-0001-0286

Remarks Honda Tsushin Kogyo Co., Ltd. Honda Tsushin Kogyo Co., Ltd.

[Connector pins]

-88-

B-62924EN/03

CONNECTION

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

PROFIBUS board JN1/JN2


1 2 3 4 5 6 7 8 9 10 +5V TXD+ TXDRXD+ RXDRTS+ RTS11 12 13 14 15 16 17 18 19 20 +5V +5V 0V 0V 0V

JN2 Adapter unit


1 2 3 4 5 6 7 8 9 10 +5V TXD+ TXDRXD+ RXDRTS+ RTS11 12 13 14 15 16 17 18 19 20 +5V +5V 0V 0V 0V

[Cable wires]
PROFIBUS board JN1/JN2 TXD+ TXDRXD+ RXDRTS+ RTS+5V +5V +5V 0V 0V 0V (1) (2) (3) (4) (5) (6) (9) (18) (20) (12) (14) (16) Shielding Adapter unit JN1 (1) (2) (3) (4) (5) (6) (9) (18) (20) (12) (14) (16) TXD+ TXDRXD+ RXDRTS+ RTS+5V +5V +5V 0V 0V 0V

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

-89-

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

CONNECTION

B-62924EN/03

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

-90-

B-62924EN/03

CONNECTION

3. INTEGRAL-TYPE PROFIBUS FOR THE 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)" (B-63003EN) 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

-91-

3. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

CONNECTION

B-62924EN/03

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 of the CNC main unit.

DP-Slave #2

DP-Slave #3

DP-Slave #4

Network 1 (PROFIBUS) CNC system CNC main board DP-Master #1 JN2 PROFIBUS master function board JN1 CN1 Adapter unit

Option slot

JN2 PROFIBUS slave function board

JN2

Adapter unit

DP-Slave #4

CN1

DP-Master #1 Network 2 (PROFIBUS)

DP-Slave #2

DP-Slave #3

Networks 1 and 2 are independent of each other.

-92-

B-62924EN/03

CONNECTION

4. PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i

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


This chapter describes the connection of the PROFIBUS board for the stand-alone type Series 16i/18i/21i.

-93-

4. PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i

CONNECTION

B-62924EN/03

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 PROFIBUS master board A02B-0265-J311 PROFIBUS slave board A02B-0265-J310 Remarks Master function only Slave function only

-94-

B-62924EN/03

CONNECTION

4. PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i

4.2
4.2.1

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

-95-

4. PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i

CONNECTION

B-62924EN/03

4.2.3

Connector Layout
[PROFIBUS master board]

JN1

[PROFIBUS slave board]


JN1: Nine-pin D-Sub female connector PROFIBUS bus interface (master function)

JN2

JN2: Nine-pin D-Sub female connector PROFIBUS bus interface (slave function)

-96-

B-62924EN/03

CONNECTION

4. PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i

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) (B-63003EN) of the CNC main unit. Networks 1 and 2 are independent of each other.

DP-Slave #2

DP-Slave #3

DP-Slave #4

Network 1 (PROFIBUS) CNC system CNC main board

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

PROFIBUS slave function board

JN2 DP-Slave #4

DP-Master #1 Network 2 (PROFIBUS)

DP-Slave #2

DP-Slave #3

-97-

5. PROFIBUS FOR THE Series 15i

CONNECTION

B-62924EN/03

PROFIBUS FOR THE Series 15


This chapter describes the connection of the PROFIBUS board for the Series 15i.

-98-

B-62924EN/03

CONNECTION

5. PROFIBUS FOR THE Series 15i

5.1

CONFIGURATION
The PROFIBUS hardware for the Series 15i 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 PROFIBUS master board A02B-0261-J122 PROFIBUS slave board A02B-0261-J121 Remarks Master function only Slave function only

-99-

5. PROFIBUS FOR THE Series 15i

CONNECTION

B-62924EN/03

5.2
5.2.1

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

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

-100-

B-62924EN/03

CONNECTION

5. PROFIBUS FOR THE Series 15i

5.2.3

Connector Layout
[PROFIBUS master board]

JN1

JN1: Nine-pin D-Sub female connector PROFIBUS bus interface (master function)

[PROFIBUS slave board]

JN2

JN2: Nine-pin D-Sub female connector PROFIBUS bus interface (slave function)

-101-

5. PROFIBUS FOR THE Series 15i

CONNECTION

B-62924EN/03

5.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 (Harware) (B-63323EN) of the CNC main unit.

DP-Slave #2

DP-Slave #3

DP-Slave #4

Network 1 (PROFIBUS) CNC system CNC main board

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

PROFIBUS slave function board

JN2 DP-Slave #4

DP-Master #1 Network 2 (PROFIBUS)

DP-Slave #2

DP-Slave #3

Networks 1 and 2 are independent of each other.

-102-

B-62924EN/03

CONNECTION

6. PROFIBUS FOR THE Power Mate-D/H

PROFIBUS FOR THE Power Mate-D/H


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

-103-

6. PROFIBUS FOR THE Power Mate-D/H

CONNECTION

B-62924EN/03

6.1

CONNECTION DIAGRAM
PROFIBUS at previous stage Power Mate-D/H PROFIBUS card CN2 J141 PROFIBUS at next stage

J139 CE49

Machine

The meaning follows: CN2 : CE49 : J141 : J139 :

of each abbreviation used in the above diagram is as PROFIBUS connector Connector for built-in I/O machine interface Cable specification for the PROFIBUS (see Section III1.2 of this volume.) 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 PROFIBUS card PROFIBUS card Code A02B-0166-H100 A02B-0211-J100 Remarks Power Mate-D Power Mate-H

6.2

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

-104-

B-62924EN/03

CONNECTION

6. PROFIBUS FOR THE Power Mate-D/H

6.3
6.3.1 6.3.2

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

Built-in I/O Machine Interface


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

5 4 3 2 1 0 *DEC6 *DEC5 *DEC4 *DEC3 *DEC2 *DEC1 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 Y1000 CE496 5 4 3 2 1 B11 0 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.

-105-

6. PROFIBUS FOR THE Power Mate-D/H

CONNECTION

B-62924EN/03

6.4
6.4.1

BUILT-IN I/O MACHINE INTERFACE


Overview

PROFIBUS card
CE49

34-pin ribbon cable connector


01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 A +24E X1000.0 X1000.2 X1000.4 DIC1 X1000.6 X1002.0 X1002.2 X1002.4 X1002.6 Y1000.0 B +24E X1000.1 X1000.3 X1000.5 X1000.7 DOC X1002.1 X1002.3 X1002.5 X1002.7 Y1000.1 Hirose HIF3BA-34D-2.564R

Machine-side power Female Male J139 magnetics cabinet and machine panel

Clamp the shielding of cable J139 to DOC DIC2 0V 0V the grounding plate of the cabinet on the PROFIBUS card side using a metal cable clamping fixture.

1. +24E (output) 24 VDC supplied to the Power Mate main unit is sent as a DI signal via a fuse. Do not connect any 24 V output from an external power supply to this pin. Also, do not connect it to DOC. 2. DOC (external 24 V input) The two DOC pins need to be connected to receive the 24 V 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.

-106-

B-62924EN/03

CONNECTION

6. PROFIBUS FOR THE Power Mate-D/H

<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 HIF3BA34D-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 SV(20266)(Taiyu)K)

3030-

-107-

6. PROFIBUS FOR THE Power Mate-D/H

CONNECTION

B-62924EN/03

6.4.2

Details of DI Connection
Fig. 6-1 PROFIBUS Card Machine Interface (1) Power Mate Example of connection +24E Pin number +24E CE49(A01, B01) Address number CE49(A02) X1000.0 Bit number

CE49(B02)
l l l

X1000.1

CE49(A03)
l l l

X1000.2

CE49(B03)
l

X1000.3

CE49(A04)
l l l

X1000.4

CE49(B04)
l l l

X1000.5

CE49(A06)
l l l

X1000.6

CE49(B05)
l l

X1000.7

DIC1 0V

CE49(A05) CE49(A17, B17)


l

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.

-108-

B-62924EN/03

CONNECTION

6. PROFIBUS FOR THE Power Mate-D/H


Power Mate

Example of connection +24E

Pin number CE49(A01, B01)

+24E

Bit number Address number

CE49(A07)
l l

X1002.0

CE49(B07)
l l l

X1002.1

CE49(A08)
l l l

X1002.2

CE49(B08)
l

X1002.3

CE49(A09)
l l l

X1002.4

CE49(B09)
l

l l

X1002.5

CE49(A10)
l l l

X1002.6

CE49(B10)
l l

X1002.7

DIC2 0V

CE49(A16) 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.

-109-

6. PROFIBUS FOR THE Power Mate-D/H

CONNECTION

B-62924EN/03

6.4.3
Bit number Address number

Details of DO Connection
Power Mate Pin number CE49(B06, B15)
l

DOC

Voltage regulator +24 V 0V

Example of connection

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)

-110-

B-62924EN/03

CONNECTION

7. PROFIBUS FOR THE Power Mate i

PROFIBUS FOR THE Power Mate i


This chapter describes the connection of the PROFIBUS board for the Power Mate i.

-111-

7. PROFIBUS FOR THE Power Mate i

CONNECTION

B-62924EN/03

7.1

CONFIGURATION
The PROFIBUS hardware for the Power Mate i is a printed circuit board of the minislot size. Just the slave function is available.

Ordering information
Name Code PROFIBUS-DP slave board A02B-0259-J220 Remarks Slave function only

-112-

B-62924EN/03

CONNECTION

7. PROFIBUS FOR THE Power Mate i

7.2
7.2.1

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

7.2.2

Mounting the Board


The PROFIBUS board is mounted in a minislot of the control unit. This board occupies a single slot. The board can be inserted into any minislot.

-113-

7. PROFIBUS FOR THE Power Mate i

CONNECTION

B-62924EN/03

7.2.3

Connector Layout
[PROFIBUS board]

JN2

JN2: Nine-pin D-Sub female connector PROFIBUS bus interface (slave function)

-114-

B-62924EN/03

CONNECTION

7. PROFIBUS FOR THE Power Mate i

7.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) (B-63173EN) of the main unit of the Power Mate i.
Power Mate i system Base PCB

Back panel

Mini slot

PROFIBUS slave function board

JN2 DP-Slave #4

DP-Master #1 Network (PROFIBUS)

DP-Slave #2

DP-Slave #3

-115-

IV. MAINTENANCE

B-62924EN/03

MAINTENANCE

1. PROFIBUS FOR THE Series 16/18-C

PROFIBUS FOR THE Series 16/18-C


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

-119-

1. PROFIBUS FOR THE Series 16/18-C

MAINTENANCE

B-62924EN/03

1.1

COMPONENT LAYOUT
Connector name and other markings

PROFIBUS DC/DC

MASTER JN1

LSI chip for communication

CPU FG1

ROM

LED1 LED2

DC/DC

SLAVE

JN2

CPU

LSI chip for communi -cation

FG2

ROM

LED1 LED2 LED3

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

-120-

B-62924EN/03

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

LED1

SYSFAIL ALARM

P-WKR P-DPR TOKEN

LED2

When the power is switched on

During normal operation (communication)

l: On
: Off

Name SYSFAIL ALARM

Color Red Red

P-WKR

Red

P-DPR

Red

Description Indicates the state of the SYSFAIL signal on the PROFIBUS interface board. It is turned on when the power is switched on. 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. 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. 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. Description Indicates whether normal communication is performed. Lit if normal communication is performed. The LED does not go on when the power is turned on.

Name TOKEN

Color Green

-121-

1. PROFIBUS FOR THE Series 16/18-C

MAINTENANCE

B-62924EN/03

1.2.2

DP-Slave Function LED Indicators

LED1

SYSFAIL ALARM

P-C32 Red LED P-WIN RUN Green LED Red LED

LED2 LED3

BUS FAULT

When the power is switched on

During normal operation (communication)

l: On
: Off Name SYSFAIL ALARM Color Description Red Indicates the state of the SYSFAIL signal on the PROFIBUS interface board. It is turned on when the power is switched on. 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. 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. 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. Color Description Green Remains on while communication is being performed normally. Red Is turned on if: 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 DPMaster.

P-C32

P-WIN

Name RUN BUS FAULT

-122-

B-63324EN/01

MAINTENANCE

2. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i


This chapter describes the maintenance information of the integraltype PROFIBUS board for the Series 16i/18i/21i.

-123-

2. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

MAINTENANCE

B-62924EN/03

2.1

COMPONENT LAYOUT
[PROFIBUS master board]

CPU

LSI chip for communication

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 PROFIBUS master board A20B-8100-0430 PROFIBUS slave board A20B-2100-0430 Remarks Daughterboard

-124-

B-63324EN/01

MAINTENANCE

2. INTEGRAL-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 LED1

LED2

LEDB

Color Description 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. 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. 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.

-125-

2. INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i

MAINTENANCE

B-62924EN/03

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 LED1

LED2

LED3

LEDB

Color Description 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. 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 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. 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.

-126-

B-63324EN/01

MAINTENANCE

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

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


This chapter describes the maintenance information of the PROFIBUS board for the stand-alone type Series 16i/18i/21i.

-127-

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

MAINTENANCE

B-62924EN/03

3.1

COMPONENT LAYOUT
[PROFIBUS master board]

DC/DC CPU

CN1

LSI chip for communication

[PROFIBUS slave board]

CPU

DC/DC

CN1
LSI chip for communication

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

-128-

B-63324EN/01

MAINTENANCE

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

3.2
3.2.1

LED INDICATORS AND THEIR MEANINGS


LED Indicators of the DP-Master Function

CN1
LED2 LED1

NOTE The face plate is indicated by the broken line.


Name LED1 Color Description 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. 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.

LED2

-129-

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

MAINTENANCE

B-62924EN/03

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 LED1 Color Description 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. 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 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. 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.

LED2

LED3

LEDB

-130-

B-63324EN/01

MAINTENANCE

4. PROFIBUS FOR THE Series 15i

PROFIBUS FOR THE Series 15i


This chapter describes the maintenance information of the PROFIBUS board for the Series 15i.

-131-

4. PROFIBUS FOR THE Series 15i

MAINTENANCE

B-62924EN/03

4.1

COMPONENT LAYOUT
[PROFIBUS master board]

DC/DC CPU

CN1

LSI chip for communication

[PROFIBUS slave board]

CPU

DC/DC

CN1
LSI chip for communication

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

-132-

B-63324EN/01

MAINTENANCE

4. PROFIBUS FOR THE Series 15i

4.2
4.2.1

LED INDICATORS AND THEIR MEANINGS


LED Indicators of the DP-Master Function

CN1
LED2 LED1

NOTE The face plate is indicated by the broken line.


Name LED1 Color Description 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. 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.

LED2

-133-

4. PROFIBUS FOR THE Series 15i

MAINTENANCE

B-62924EN/03

4.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 LED1 Color Description 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. 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 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. 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.

LED2

LED3

LEDB

-134-

B-62924EN/03

MAINTENANCE

5. PROFIBUS FOR THE Power Mate-D/H

PROFIBUS FOR THE Power Mate-D/H


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

-135-

5. PROFIBUS FOR THE Power Mate-D/H

MAINTENANCE

B-62924EN/03

5.1

PROFIBUS DRAWING NUMBER


Name PROFIBUS card Drawing number A20B-2100-0120 A20B-8001-0500 Remark SUB BOARD 1 SUB BOARD 2

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

-136-

B-62924EN/03

MAINTENANCE

5. PROFIBUS FOR THE Power Mate-D/H

5.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. 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 disconnected (that is, if the cable is removed, or the DPMaster becomes faulty). A PROFIBUS unrecoverable error has occurred. This message is displayed if the PROFIBUS board becomes faulty.

5126

5127

5128

(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 PROFIBUS card. Check the connection between the main CPU board and PROFIBUS card.

972

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

-137-

6. PROFIBUS FOR THE Power Mate i

MAINTENANCE

B-62924EN/03

PROFIBUS FOR THE Power Mate i


This chapter describes the maintenance information of the PROFIBUS board for the Power Mate i.

-138-

B-62924EN/03

MAINTENANCE

6. PROFIBUS FOR THE Power Mate i

6.1

COMPONENT LAYOUT
[PROFIBUS board]

CPU

DC/DC

CN1
LSI chip for communication

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

-139-

6. PROFIBUS FOR THE Power Mate i

MAINTENANCE

B-62924EN/03

6.2

LED INDICATORS AND THEIR MEANINGS

CN2
LEDB LED3 LED2 LED1

NOTE The face plate is indicated by the broken line.


Name LED1 Color Description 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. 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: 5) When parameter configuration data has not been received 6) When illegal parameter configuration data has been received 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. 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.

LED2

LED3

LEDB

-140-

APPENDIX

B-62924EN/03

APPENDIX

A. CONVENTIONAL SETTING

CONVENTIONAL SETTING

-143-

A. CONVENTIONAL SETTING

APPENDIX

B-62924EN/03

A.1

WHEN USING SOFTWARE SERIES 6556 FOR THE PROFIBUS-DP FUNCTION


This section describes how to set the master function for the Series 16/18-C and Series 16i/18i/21i-A when software series 6556 for the PROFIBUS-DP function is used.

Procedure (CRT/MDI)
(1) Press function key <SYSTEM>, and then press soft key [PMC] to shift to the PMC screen. (2) Pressing soft keys [PMCDGN] -> [IOCHK] -> [PROFI] displays Screen A-1.

Screen A-1

If no software option has been specified for the master and slave functions, the information and soft keys related to the respective functions are not displayed on the above screen. The example display on Screen A-1 assumes that the software options for both the master and slave functions have been specified. (3) Pressing soft key [MASTER] displays Screen A-2.

-144-

B-62924EN/03

APPENDIX

A. CONVENTIONAL SETTING

Screen A-2

(4) Pressing the soft keys on this screen enables the setting of the following parameters: <1> Bus parameter [BUS] <2> Slave parameter [SLAVE] <3> Address allocation [ADDR] (5) Pressing soft key [INI.AL] initializes all the parameters in the same manner as pressing soft key [INIT] on each of the bus parameter, slave parameter, and address allocation setting screens. For an explanation of the initial values for each screen, see the respective descriptions.

-145-

A. CONVENTIONAL SETTING

APPENDIX

B-62924EN/03

A.1.1

Bus Parameter Setting


(1) Pressing soft key [BUS] on Screen A-2 switches to Screen A-3, on which the bus parameters can be set. The bus parameter setting screen consists of two pages, each of which can be selected using the page keys.

Each page is selected using page keys and .

Screen A-3

The numbers enclosed in parentheses at the right end of each parameter line indicate the range of values that can be specified for the parameter, except for "2 BAUDRATE," for which the number in parentheses is the transfer rate corresponding to the set value.
-146-

B-62924EN/03

APPENDIX

A. CONVENTIONAL SETTING

CAUTION The bus parameter default value for each baud rate has been updated. Re-set the bus parameter as explained in Table 1-1-a, "Bus Parameter Settings Corresponding to Each Transfer Rate" at the end of Section 1.2.1, "Bus Parameter Setting."
Soft key [DETAIL] on page 2 of Screen A-3 is displayed when the cursor is positioned to "17 MASTER USER DATA." Pressing this soft key switches to Screen A-4, on which detailed data can be specified for the number of bytes specified at "17 MASTER USER DATA."

Screen A-4

See Table 1-1, "Bus Parameters" in Section II-1.2.1, "Bus Parameter Setting" for a detailed explanation of the bus parameters.

-147-

A. CONVENTIONAL SETTING

APPENDIX

B-62924EN/03

A.1.2

Slave Parameter Setting


(1) Pressing soft key [SLAVE] on Screen A-2 switches to Screen A5, on which slave parameters can be specified. Pressing soft key [PRV.NO] or [NXT.NO] enables the DP-Slave station number to be changed. To shift to the screen for the specified station number, enter the station number, then press soft key [PRV.NO] or [NXT.NO].

CAUTION When setting this data, observe the following: 1 The DP-Slave station numbers that can be specified with this DP-Master are 3 to 32. 2 To use a DP-Slave provided by a vendor other than FANUC, make settings according to the GSD file supplied together with the DP-Slave. 3 When setting the slave parameters, be careful not to specify them for an invalid DP-Slave station number. Double-check the slave number.

Screen A-5

Soft key [INIT] on Screen A-5 is used to initialize the slave parameters for the specified station number to the basic settings for connecting the DP-Slave for the FANUC CNC. For a detailed explanation of parameter settings for connecting the FANUC DP-Slave, see Section II-1.4, "Settingh the Slave Parameters for Using a Slave Station Manufactured by FANUC." Soft key [DETAIL] at the bottom of Screen A-5 is displayed when the cursor is positioned to any of "14 USER PRM DATA" to "16 SLAVE USER DATA." Pressing this soft key displays Screen A-6 (this screen is displayed by pressing soft key [DETAIL] with the cursor positioned to "15 CONFIG DATA").
-148-

B-62924EN/03

APPENDIX

A. CONVENTIONAL SETTING

On this screen, detailed data can be specified for the number of bytes set for the corresponding item.

NOTE To connect the FANUC DP-Slave, it is necessary to set the slave parameters to the values that correspond to the FANUC DP-Slave. Usually, pressing soft key [INIT] performs the initialization needed to connect the FANUC DP-Slave. However, "15 CONFIG DATA" must be set with variable data that depends on the DI/DO size for data exchange with the DP-Slave. Make this setting while referring to Section II-1.4, "Setting the Slave Parameters for Using a Slave Station Manufactured by FANUC."

Screen A-6

See Table 1-2, "Slave Parameters" in Subsec. II-1.2.2, "Slave Parameter Setting" for a detailed explanation of the slave parameters.

-149-

A. CONVENTIONAL SETTING

APPENDIX

B-62924EN/03

A.1.3

Address Allocation
(1) Pressing soft key [ADDR] on Screen A-2 switches to Screen A7.

Screen A-7

CAUTION When allocating the address, observe the following: 1 Do not allow the DI data area, DO data area, and diagnostic data area to overlap one another. 2 Do not allow these areas to overlap those used by ladder programs. 3 Do not use any area other than the R area. (Do not exceed R1499 or R2999 for the PMC-SB5 and PMC-SB6, respectively.) 4 Diagnostic data is categorized as being either standard diagnostic data or extended diagnostic data. This DP-Master can detect only standard diagnostic data (6 bytes). NOTE The DI and DO sizes must be an even number of bytes.

-150-

B-62924EN/03

APPENDIX

A. CONVENTIONAL SETTING

(2) The following paragraphs explain the specification made with each parameter. 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." DIAGNOSE DATA SETTING This parameter specifies the area for saving standard diagnostic data. See Table 1-3,"Standard Diagnose Data" in Subsec. II-1.2.3, "Setting for Address Assignment" for a detailed description of the standard diagnostic data. (3) Pressing soft key [INIT] on Screen A-7 resets each address allocation parameter to the minimum value (the address specification field is reset to R0000). Once the parameters are reset, be sure to set them back to the correct values.

-151-

A. CONVENTIONAL SETTING

APPENDIX

B-62924EN/03

Example)

The following descriptions are based on the example of Screen A-7. On Screen A-7, "MAX SLAVE NO." is 5. This indicates that three DP-Slaves, having station numbers 3 to 5, are connected. The DI data area for all DP-Slaves is allocated in 32-byte units, starting at R0000, as shown below, because "DI ADDRESS" and "DI SIZE" are R0000 and 32, respectively. Similarly, the DO data area for all DP-Slaves is allocated in 16-byte units, starting at R0100, as shown below, because "DO ADDRESS" and "DO SIZE" are R0100 and 16, respectively.

DI data allocation R0000 DI data from DP-SLAVE #3 R0032 DI data from DP-SLAVE #4 R0064 DI data from DP-SLAVE #5 R0096 DO data allocation R0100 DO data to DP-SLAVE #3 R0116 DO data to DP-SLAVE #4 R0132 DO data to DP-SLAVE #5 R0148 The standard diagnostic data area for all DP-Slaves is allocated in 6-byte units, starting at R0200, as shown below, because "DGN ADDRESS" and "DGN DATA SIZE" are R0200 and 6, respectively.

-152-

B-62924EN/03

APPENDIX

A. CONVENTIONAL SETTING

Diagnostic data allocation R0200 Diagnostic data from DP-SLAVE #3 R0206 Diagnostic data from DP-SLAVE #4 R0212 Diagnostic data from DP-SLAVE #5 R0218

-153-

B-62924EN/03

INDEX

Address Allocation, 150 ALARM MESSAGES AND MEANINGS, 137 Applicable models, 4

ED Indicators of the DP-Slave Function, 126 Environmental Conditions, 79, 87, 95, 100, 113 ENVIRONMENTAL CONDITIONS, 104 EXAMPLE OF CONFIGURATION, 62 EXAMPLE OF CONNECTION, 61

BUILDING A SAFE SYSTEM, 57 Built-in I/O Machine Interface, 105 BUILT-IN I/O MACHINE INTERFACE, 106 Bus Parameter Setting, 16, 146 GENERAL, 1, 3 GSD FILE OF THE FANUC CNCS, 49

CABLE CONNECTION, 75 Cable Installation, 79 CABLE LENGTH AND TRANSFER RATE, 73 CABLE SHIELDING, 76 COMPLETE CONNECTION DIAGRAM, 92, 97, 102, 115 COMPONENT LAYOUT, 120, 124, 128, 132, 139 CONFIGURATION, 78, 84, 94, 99, 112 CONNECTION, 69 Connection between the PROFIBUS Board and Adapter Units, 88 CONNECTION DIAGRAM, 82, 104 CONNECTOR, 74 Connector Layout, 90, 96, 101, 114 CONVENTIONAL SETTING, 143

INSTALLATION, 79, 87, 95, 100, 113 INTEGRAL-TYPE PROFIBUS FOR THE Series 16i/18i/21i, 83, 123

LED INDICATORS AND THEIR MEANINGS, 121, 125, 129, 133, 140 LED Indicators of the DP-Master Function, 125, 129, 133 LED Indicators of the DP-Slave Function, 130, 134

MAINTENANCE, 117 MASTER FUNCTION SETTING, 13 Master Station Setting, 63 Mounting the Adapter Unit, 88 Mounting the Board, 87, 95, 100, 113

Details of DI Connection, 108 Details of DO Connection, 110 DP-Master Function LED Indicators, 121 DP-Slave Function LED Indicators, 122 OPERATION, 9

PROFIBUS Board Connector Layout, 81

i-1

INDEX

B-62924EN/03

PROFIBUS CABLE PARAMETERS, 72 PROFIBUS CONNECTION, 72 PROFIBUS DRAWING NUMBER, 136 PROFIBUS FOR THE Power Mate i, 111, 138 PROFIBUS FOR THE Power Mate-D/H, 103, 135 PROFIBUS FOR THE Series 15, 98 PROFIBUS FOR THE Series 15i, 131 PROFIBUS FOR THE Series 16/18-C, 77, 119 PROFIBUS FOR THE STAND-ALONE TYPE Series 16i/18i/21i, 93, 127 PROFIBUS Interface, 105 PROFIBUS-DP FUNCTIONS, 11 TERMINATING RESISTOR, 73 Related manuals, 5 WHEN USING SOFTWARE SERIES 6556 FOR THE PROFIBUS-DP FUNCTION, 144 Setting for Address Assignment, 30 SETTING THE SLAVE PARAMETERS FOR USING A SLAVE STATION MANUFACTURED BY FANUC, 47 SIGNALS, 105 SLAVE FUNCTION SETTING, 36 Slave Parameter Setting, 23, 148 Slave Station Setting, 66 SYSTEM SAFETY, 58

i-2

Revision Record

FANUC PROFIBUS-DP Board OPERATORS MANUAL (B-62924EN)

03

Nov., 99

Addition of descriptions for Series 15i

02

Jul., 99

Total revision

01

Aug., 96 Contents Edition Date Contents

Edition

Date

No part of this manual may be reproduced in any form. All specifications and designs are subject to change without notice.