0% found this document useful (0 votes)
36 views98 pages

GFZ-63994EN01, PROFIBUS-DP Board For 30ia - Operator's

Uploaded by

william.wu.703
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views98 pages

GFZ-63994EN01, PROFIBUS-DP Board For 30ia - Operator's

Uploaded by

william.wu.703
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 98

GE Fanuc Automation

Computer Numerical Control Products

PROFIBUS-DP Board
for Series 30i-Model A

Operator’s Manual

GFZ-63994EN/01 May 2003


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


All Rights Reserved.
B-63994EN/01 SAFETY PRECAUTIONS

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

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

s-1
SAFETY PRECAUTIONS B-63994EN/01

1.1 DEFINITION OF WARNING, CAUTION, AND NOTE

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

Applied when there is a danger of the user being injured or when


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

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

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

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

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

s-2
B-63994EN/01 SAFETY PRECAUTIONS

1.2 GENERAL WARNINGS AND NOTES

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

s-3
SAFETY PRECAUTIONS B-63994EN/01

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

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

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

TABLE OF CONTENTS
SAFETY PRECAUTIONS..................................................................................................................... s-1
I. GENERAL
1 GENERAL .......................................................................................................................................... 3
1.1 ORGANIZATION ....................................................................................................................... 4
1.2 APPLICABLE MODELS ........................................................................................................... 5
1.3 RELATED MANUALS............................................................................................................... 6
2 OVERVIEW OF PROFIBUS-DP FUNCTIONS.............................................................................. 7
II. SETTING
1 PROFIBUS-DP FUNCTIONS FOR 30i-A ..................................................................................... 11
1.1 MASTER FUNCTION SETTING ........................................................................................... 12
1.2 UPDATING DI/DO DATA FOR THE MASTER FUNCTION .............................................. 37
1.3 GSD FILE FOR THE MASTER FUNCTION ........................................................................ 38
III. CONNECTION
1 CONNECTING THE PROFIBUS FUNCTIONS .......................................................................... 43
1.1 PROFIBUS CONNECTION .................................................................................................... 44
1.2 PROFIBUS CABLE AND TRANSFER RATE....................................................................... 45
1.3 CONNECTOR........................................................................................................................... 46
1.4 CABLE CONNECTION........................................................................................................... 48
1.5 TERMINATING RESISTOR ................................................................................................... 49
1.6 CABLE SHIELDING ............................................................................................................... 50
2 INSTALLATION.............................................................................................................................. 51
2.1 SPECIFICATION ..................................................................................................................... 52
2.2 Mounting ................................................................................................................................... 53
2.2.1 Mounting into the LCD-mounted Type Unit .................................................................. 53
2.2.2 Mounting into the Stand-alone Type Unit...................................................................... 54
2.3 COMPLETE CONNECTION DIAGRAM............................................................................... 55
IV. MAINTENANCE
1 HARDWARE .................................................................................................................................... 59
1.1 COMPONENT LAYOUT ......................................................................................................... 60
1.2 LED INDICATORS AND THEIR MEANINGS ..................................................................... 61
V. SUPPLEMENT
A SETTING BY USING A PERSONAL COMPUTER..................................................................... 65
A.1 SETTING BY USING SOFTING’S DP-CONFIGURATOR .................................................. 66
B EXAMPLE OF SETTING ............................................................................................................... 76
B.1 EXAMPLE OF CONNECTION............................................................................................... 77
c-1
TABLE OF CONTENTS B-63994EN/01

B.2 PROCEDURE OF SETTING................................................................................................... 79

c-2
I. GENERAL
B-63994EN/01 GENERAL 1.GENERAL

1 GENERAL
This manual describes the PROFIBUS-DP functions of the FANUC
Series 30i-A.
This chapter explains the organization of this manual and applied
models.

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

1.1 ORGANIZATION

This manual consists of the following parts:

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

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

1.2 APPLICABLE MODELS

The models covered by this manual are as follows. The abbreviations


listed below may be used to refer to the corresponding models.

Model name Abbreviation


FANUC Series 30i-MODEL A 30i-A Series 30i-A 30i

-5-
1.GENERAL GENERAL B-63994EN/01

1.3 RELATED MANUALS

The related manuals are shown below.


See also the following manuals together with this manual.

Related manuals of Series 30i/300i/300is -MODEL A


Specification
Manual name
number
DESCRIPTIONS B-63942EN
CONNECTION MANUAL (HARDWARE) B-63943EN
CONNECTION MANUAL (FUNCTION) B-63943EN-1
USER’S MANUAL (common to T series/M series) B-63944EN
USER’S MANUAL (T series) B-63944EN-1
USER’S MANUAL (M series) B-63944EN-2
MAINTENANCE MANUAL B-63945EN
PARAMETER MANUAL B-63950EN

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

2 OVERVIEW OF PROFIBUS-DP
FUNCTIONS
The master functions of the Series 30i-A supports class 1 functions.
(It cannot be used as class 2 functions).
The PROFIBUS-DP master functions of the Series 30i-A are shown
below.

Overview of the Master Function


Range of valid master station
0 to 125
numbers
Range of valid slave station
numbers for which
3 to 125
communication can be
performed
Maximum number of slave
Master functions

stations for which 48


communication is enabled
(Total of 48)
Maximum number of slots that
can be set for each slave 48
station
Maximum DI/DO data size per 244 bytes
slave station (Total of DI/DO)
Maximum user parameter data
201 bytes
size per slave station
Maximum diagnose data size
242 bytes
per slave station

-7-
II. SETTING
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

1 PROFIBUS-DP FUNCTIONS FOR 30i-A


This part describes how to set the master functions of FROFIBUS-DP
communication.

CAUTION
After setting DI/DO data, make sure communication
is performed correctly in a state in which security is
retained.
Operating the system without confirmation may
cause a serious failure.

- 11 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

1.1 MASTER FUNCTION SETTING

To use the master function, bus parameters and slave parameters must
be set, and addresses must be assigned.
Bus parameters and slave parameters are used for PROFIBUS
communication. In address assignment, signals for input/output
(DI/DO data and diagnostic data) are assigned to PMC addresses.
The address assignment of slave parameters and diagnostic data is set
for each slave, while the address assignment of DI/DO data is set for
each slave (or each slot).

NOTE
Bus parameters and slave parameters can also be
set by a personal computer. For details on the
settings, see "SETTING BY USING A PERSONAL
COMPUTER" in SUPPLEMENT.

Procedure
1 Press function key SYSTEM
.
2 Soft key [PROFI MASTER] appears. (When there are no soft
keys, press the continue key.)
3 Press soft key [PROFI MASTER] to display the PROFIBUS DP-
MASTER screen.
4 Press soft keys [BUS PARAM], [SLAVE TABLE], [SLAVE
PARAM], [MODULE DATA], and [DI/DO ADDR] and then
enter the parameters for the setting items of all setting screens
that appear.
The following describes how to set the parameters.

- 12 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

BUS PARAMETER screen

Procedure
1 Press soft key [BUS PARAM] to display the BUS
PARAMETER screen.
PAGE

2 On the BUS PARAMETER screen, page keys PAGE


can be
used to switch between pages.
3 Move the cursor to the item to set and then enter the parameter.
- Set each parameter as described in the Setting item later.
- Pressing soft key [INITIALIZE] initializes the other bus
parameters according to BAUDRATE.
- For MASTER USER DATA, only a specified size of data
can be input.
- CLASS2 NAME is a parameter that is input by connected
class 2. It does not need to be input from this screen.

BUS PARAMETER screen

BUS PARAMETER screen BUS PARAMETER screen


(CLASS2 NAME) (MASTER USER DATA)

- 13 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

Setting item
Item Description
STATION NO. Station number of this master device
Fieldbus Data Link Address
BAUDRATE Transfer rate
( 0 : 9.6Kbps, 1 : 19.2Kbps, 2 : 93.75Kbps,
3 : 187.5Kbps, 4 : 500Kbps, 6 : 1.5Mbps,
7 : 3Mbps, 8 : 6Mbps, 9 : 12Mbps )
BP FLAG User Interface Flag
Bit 7 :Error_Action_Flag
0 : Does not change the operation mode if an error
occurs.
1 : Changes the operation mode from Operate
mode to the Clear mode if an error occurs.
Bits 6 to 0 : Reserved (to be set to 0)
MIN SLAVE Minimum slave interval for between two slave poll cycles
INT (Unit: 100 µs)
POLL TIME Poll Timeout for the master-master communication
OUT Maximum wait time after the issue of a request for
communication between master stations until a response
is received. (Unit: 1 ms)
DATA Data Control Time
CONTROL Time until the data transfer list is updated at least once.
(Unit: 10 ms)
T SL Slot Time
Maximum time from token frame transmission until the
first character of a response frame is read. (Unit: Bit time)
MIN T SDR Minimum Station Delay Time of Responders
Minimum elapsed time from the last bit of send or receive
data to the first bit of the next send or receive data. (Unit:
Bit time)
MAX T SDR Maximum Station Delay Time of Responders
Maximum elapsed time from the last bit of send or receive
data to the first bit of the next send or receive data. (Unit:
Bit time)
T QUI Transmitter fall/Repeater switch Time
Wait time after data transmission until the receiver can be
operated again. (Unit: Bit time)
T SET Setup Time
Time after the occurrence of an event until the execution
of the corresponding action is started. (Unit: Bit time)
T TR Target Rotation Time
Estimated time required for a PROFIBUS token to make
one rotation. (Unit: Bit time)
G Gap Update Factor
Number of tokens that rotate during a gap maintenance
period.
HSA Highest Station Address
Maximum node number that is set for a PROFIBUS
network to be connected to.
MAX RETRY Maximum Number of retries

- 14 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

Item Description
CLASS2 Master Class2 Name
NAME Name of the Master (class2) that created the bus
parameters.
Note) This is a parameter set by a master station (class
2).
MASTER Master User Data
USER DATA User data area for bus parameters
This is not used by the current FANUC CNCs.
Set LENGTH of MASTER USER DATA to 0.

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 Master is
updated. (Unit: Bit time)
Operation mode : Operation mode of a PROFIBUS master
function.
Offline : Mode that disables
communication with all nodes
Stop : Mode that enables
communication with the Master
Clear : Mode in which the output to the
Slave is set to 0
Operate : Mode that enables DI/DO
communication with Slaves
Data transfer list : List with a 16-byte area. This list is held in
the 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). It can be
read by a master station of class 2.

- 15 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

Bus Parameter Settings Corresponding to Each Transfer Rate


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

Viewing this table for parameter setting:


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

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

- 16 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

SLAVE TABLE screen

Procedure
1 Press soft key [SLAVE TABLE] to display the SLAVE TABLE
screen.
PAGE

2 On the SLAVE TABLE screen, page keys PAGE


can be
used to switch between pages.
3 Move the cursor to the item to set and then enter the parameter.
- Set the parameters for NO, NSL, DGN ADDR, and SIZ for
each index.

SLAVE TABLE screen

4 Use the following soft keys as needed.


[ENABLE] :
Enables the slave station on which the cursor is placed. "*"
appears to the left of the station number (NO) of the slave
stations for which communication is enabled.

[DISABLE] :
Disables the slave station on which the cursor is placed.

[REFRESH] :
Sorts slave stations in ascending order of slave number.
The lines on which a station number is not displayed are
occupied by the following data.

[ AUTO (NO.) ] :
Pressing soft key [AUTO(NO.)] after entering the number
of stations sets contiguous station numbers for IDX of the
station numbers of the slave station on which the cursor is
placed and later stations.

- 17 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

[ AUTO (ADDR) ] :
When pressing soft key [AUTO (ADDR)] after setting the
diagnostic data size of each slave DGN SIZ and entering
the number of stations, PMC addresses DGN ADDR for
diagnostic data of the valid slave station numbers of the
slave station on which the cursor is placed and later stations
are assigned contiguously by the number of entered stations.
When the slave station number or diagnostic data size is not
determined, assignment is stopped at that point.

[ DELETE] :
Pressing soft key [DELETE] after entering the number of
stations disables the slave station on which the cursor is
placed and later stations by the number of stations and
initializes them.

NOTE
Do not communicate with a slave station that sends
243 or more bytes of diagnostic data.

Display item
Item Description
IDX Index number
Index numbers for 48 stations are provided (see
NOTE below).
SLAVES Number of slave stations for which
communication is enabled.

Setting item
Item Description
NO Set a slave number.
For the slave stations for which communication
is enabled, "*" appears to the left of this
parameter. This parameter is set by soft keys
[ENABLE] and [DISABLE].
Setting range : 0 to 125
NSL Set the number of slots in which I/O modules are
placed.
For details on a slot, see "Slot" later.
Setting range : 1 to 48 (Note)
DGN ADDR Set the start address of diagnostic data.
For details on diagnostic data, see "Diagnostic
data" later.
Setting range : See CAUTION below.

SIZ Set the size of diagnostic data.


Setting range : 0 to 242 (bytes)

- 18 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

CAUTION
When assigning addresses, keep the following in
mind.
(1) Be sure to use R addresses and E addresses.
For multipath PMC, enter a PMC address in the
following format.
<path-number>:<PMC-address>
For the PMC second path R00500, for example,
"2:R00500" must be entered. When only the
PMC address was entered, the first path
(1:R00500) is assumed.
When there is no “:” key, it is substituted with the
“/” or “EOB” key.
(2) The DI data area, DO data area, diagnostic data
area, and operation mode display area cannot
overlap each other.
(3) The area assignment area and the area used by
the ladder program cannot overlap each other.

NOTE
1 The number of slots that can be set by this master
function is 48 in all of slave devices. For example, a
maximum of 12 slave devices consisting of four
modules can be connected.
However, even for a slave device consisting of
multiple modules, assignment for each slot is not
required. Assignment for each slot is required only
when a PMC address is assigned for each module
DI/DO.
Even for a slave device consisting of multiple
modules, when DI/DO is treated as a totality, set a
slave device consisting of a module (set NSL to 1).
2 When settings are made as described in "SETTING
BY USING A PERSONAL COMPUTER" in
SUPPLEMENT, NSL (number of slots) must also be
set.

Slot
When an I/O device consisting of multiple I/O modules is used as a
slave station, a location in which an I/O module is placed is called a
slot.

Main body I/O


I/O module I/O module
module module
Slot number 0 Slot Slot Slot
number 1 number 2 number n

In the figure above, NSL (number of slots) is n+1.


- 19 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

Modules of some input/output devices do not input or output data.


However, such a module is counted as a slot.

Diagnostic data
Diagnostic data consists of standard diagnostic data (first six bytes)
and extended diagnostic data (seventh or later bytes). Some slave
stations use extended diagnostic data. Therefore, the size of
diagnostic data needs to be determined as described in the GSD file
and manual for each slave station.
The first six bytes of standard diagnostic data have the following
meanings.
For details, see the PROFIBUS-DP specification.

Standard diagnostic data


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

- 20 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

Standard diagnostic data


Item Description
STATION STATUS 3 The state of a Slave is indicated.
(Size: 1 byte) Bit 7: Diag.Ext_Diag_Overflow
This bit is set by the Master when there is much diagnostic data that cannot be stored
in extended diagnostic data to be set on the slave table screen. This Master of FANUC
CNCs can reference up to 236 bytes of the extended diagnose data.
Bits 6 to 0: Reserved
MASTER ADDRESS This station number of the Master that set the parameter of the Slave is set (when this
(Size: 1 byte) master device set the parameter, the station number of the maser is set).
If the parameters are not set by the Master, 255 is set.
IDENT NUMBER The identification number of a Slave is set.
(Size: 2 bytes)

- 21 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

SLAVE PARAMETER screen

Procedure
1 Press soft key [SLAVE PARAM] to display the SLAVE
PARAMETER screen.
2 On the SLAVE PARAMETER screen for each slave, page keys
PAGE

PAGE
can be used to switch between pages.
3 Move the cursor to the item to set and then enter the parameter.
- Set each parameter as described in the Setting item later.
- For USER PARAM DATA and SLAVE USER DATA,
enter only the specified size of data.
- The CONFIG DATA values are indicated according to the
module data entered on the MODULE DATA screen shown
later.
It does not need to be set on this screen.

SLAVE PARAMETER screen

SLAVE PARAMETER screen SLAVE PARAMETER screen


(USER PRM DATA) (SLAVE USER DATA)

- 22 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

SLAVE PARAMETER screen


(CONFIG DATA)

4 Use the following soft keys as needed.


[PREVI SLAVE], [NEXT SLAVE] :
Moves to the next or previous slave station. Pressing soft
key [PREVI SLAVE] or [NEXT SLAVE] after entering a
station number moves to the specified station number.

[ INITIALIZE ] :
Performs initialization according to the FANUC CNC slave
station.

Display item
Item Description
SLAVE NO. Station number of the partner slave device
The value entered on the slave table screen
is indicated.
CONFIG DATA Configuration data
The data is automatically calculated from
MODULE DATA specified for each slot.

- 23 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

Setting item
Item Description
IDENT NO. Identification number of a slave station
Specify the identification number of a slave
station to connect to.
SLAVE TYPE Manufacturer-specified type indication for a
slave station
WD FACT1, WD FACT2 Factor used to determine the time for broken
wire detection
10×WD_FACT1×WD_FACT2 (Unit: ms)

MIN TSDR Minimum time that elapses a response to the


master station (this master device) is
returned (Unit: Bit time)
SLAVE FLAG Flag for setting communication with a slave
Bit 7: ACT(ACTIVE)
0: Does not perform communication
with a slave station
1: Performs communication with a slave
station
Bit 6: NPR(NEW PRM)
0: Does not send new parameter data
to a slave station
1: Sends new parameter data to a slave
station
RSV: Reserved (to be set to 0)
STATION STATUS Flag for setting the operation condition of a
slave
Bit 7: LOC (LOCK REQ)
Bit 6: UNL (UNLOCK REQ)
When LOC = 1 and UNL = 0, DP-Salve
parameters cannot be changed by DP-
Master.
When LOC = 0 and UNL = 1, DP-Salve
parameters can be changed by DP-
Master.
Bit 5: SYN (SYNC REQ)
Be sure set 0.
Bit 4: FRZ (FREEZE REQ)
Be sure set 0.
Bit 3: WD (WD REQ)
When WD = 1, broken wire detection is
performed.
RSV : Reserved (to be set to 0)
GROUP IDENT Specify groups for the DDLM_Global_Control
command. Up to eight groups can be
specified because each bit represents a
group.
USER PARAM DATA User parameter data.
This data is specified by a manufacturer.
SLAVE USER DATA Slave user data.
This data is specified by a manufacturer.

- 24 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

Remarks) Explanation of terms used in the above table


Broken wire : This function check whether data exchange
detection is performed normally between a master
station and a slave station.
An error occurs when the broken wire time
calculated with WD FACT1 and WD
FACT2 elapses without receiving a data
exchange request from the master station.
Bit time : Time (sec) required to send one bit of data
at a specified transfer rate. This is
equivalent to the reciprocal of a transfer
rate (bps).

NOTE
Slave parameters must be set as described in the
GSD file that comes with each slave device.
Slave parameters can also be set as described in
"SETTING BY USING A PERSONAL COMPUTER"
in SUPPLEMENT

- 25 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

MODULE DATA screen

Procedure
1 Press soft key [MODULE DATA] to display the MODULE
DATA screen.
PAGE

2 On the module data screen for each slot, page keys PAGE

can be used to switch between slots.


3 Set the size for LENGTH and then enter data.

MODULE DATA screen

4 Use the following soft keys as needed.


[PREVI SLAVE], [NEXT.SLAVE] :
Pressing soft key [PREVI SLAVE] moves the cursor to the
first slot of the previous slave station. Pressing [NEXT
SLAVE] moves the cursor to the first slot of the next slave
station. Pressing soft key [PREVI SLAVE] or [NEXT
SLAVE] after entering a station number moves the cursor
to the first slot of the specified station number.

[PREVI SLOT], [NEXT SLOT] :


Pressing soft key [PREVI SLOT] moves to the previous slot.
Pressing soft key [NEXT SLOT] moves to the next slot.
Pressing soft key [PREVI SLOT] or [NEXT SLOT] after
entering a slot number moves to the specified slot.

[ SHIFT ] :
Pressing soft key [SHIFT] switches the value between ON
and OFF. Normally select ON.

- 26 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

Display item
Item Description
SLAVE NO Station number of a slave station
SLOT NO Slot number
MAX The maximum allowable MODULE LENGTH is
indicated. The total size that can be set within the
same slave station is 128 bytes.

Setting item
Item Description
MODULE LENGTH Set the data length of the keyword “Module” in the
GSD file.
Setting range : 0 to 128 (bytes)
NOTE) The total size that can be set within the
same slave station is also 128 bytes.
MODULE = Set the data (HEX data) of the keyword Module in
the GSD file.
SHIFT Soft key [SHIFT] switches between ON and OFF.
ON : Newly reserves the area with a size of the
specified MODULE LENGTH. Normally
select this option.
OFF : Does not newly reserves the area with a size
of the specified MODULE LENGTH. See the
following NOTE.

NOTE
MODULE LENGTH needs to be set even when
settings are made as described in "SETTING BY
USING A PERSONAL COMPUTER" in
SUPPLEMENT. In this case, since data of Module is
already entered, however, switch SIHFT to OFF and
enter only MODULE LENGTH.

- 27 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

Example of setting module data


Example)
The following shows an example of setting a slave device
(station number 3) consisting of four modules.
[Placement of modules]
Main body
I/O module I/O module I/O module
module
(TYPE A) (TYPE B) (TYPE A)
(NO I/O)
Slot number 0 Slot number Slot number Slot number
1 2 3

[Types of modules]
- Main body module: No input/output
- I/O module (TYPE A) : Input 1 byte/Output 1 byte
- I/O module (TYPE B) : Only output 1 byte

The keyword “Module” in the GSD file is assumed to be


described as follows.
:
:
Module = ” NO I/O ” 0x00
EndModule
Module = ” TYPE A” 0x10, 0x20
EndModule
Module = ” TYPE B ” 0x20
EndModule
:
:
Contents of the GSD file

In the example above, the settings of the module data screens are as
follows.
SLAVE NO/ SLOT NO Setting value
SLAVE NO. = 3 MODULE LENGTH = 1
SLOT NO. = 0 MODULE = 00
SLAVE NO. = 3 MODULE LENGTH = 2
SLOT NO. = 1 MODULE = 10 20
SLAVE NO. = 3 MODULE LENGTH = 1
SLOT NO. = 2 MODULE = 20
SLAVE NO. = 3 MODULE LENGTH = 2
SLOT NO. = 3 MODULE = 10 20

NOTE
Since modules that can be set are listed in the GSD
file, select and set an appropriate one from “Module”
keywords based on the module to use.

- 28 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

DI/DO ADDRESS screen

Procedure
1 Press soft key [DI/DO ADDR] to display the DI/DO ADDRESS
screen.
PAGE

2 Page keys PAGE


can be used to switch between pages.
3 Make sure the SLT (TYP) value for each slot is correct.
4 Set the DI/DO addresses (DI ADDR and DO ADDR) and the
sizes (DI SIZ and DO SIZ) for each slot.

DI/DO ADDRESS screen

Display item
Item Description
NO Station number of a slave station
SLT(TYP) The slot number and the type of the specified
module is indicated.
The status of the module is displayed based on
the module data set on the module data screen.
TOTAL SLOTS Total number of slots including those for all
slaves currently set (up to 48)

Check the SLT (TYP) indication is one of the following normal states
(a) to (e).
When the indication is (f) or (g), set correct module data again.

Description of SLT (TYP)


(a) “- - -” : "---": No module
(Same as when MODULE LENGTH = 0)
(b) “I / -” : Input module
(c) “- / 0” : Output module
(d) 2I / 0” : Input/output module
(e) 2- / -” : Module without DI/DO
(Same as when MODULE LENGTH = 1 and
MODULE = 00)

- 29 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

(f) “OVR” : DI SIZE + DO SIZE exceeds 244 bytes.


(g) “ERR” : The data assigned to "MODULE =" does not adhere to
the PROFIBUS specification.

Setting item
Item Description
DI ADDR Set the first addresses of DI and DO.
DO ADDR Setting range : See CAUTION below.
DI SIZ Set the sizes of DI data and DO data.
DO SIZ Setting range : 0 to 244 (bytes)

CAUTION
When assigning addresses, keep the following in
mind.
(1) Be sure to use R addresses and E addresses.
For multipath PMC, enter a PMC address in the
following format.
<path-number>:<PMC-address>
For the PMC second path R00500, for example,
"2:R00500" must be entered. When only the
PMC address was entered, the first path
(1:R00500) is assumed.
When there is no “:” key, it is substituted with the
“/” or “EOB” key.
(2) The DI data area, DO data area, diagnostic data
area, and operation mode display area cannot
overlap each other.
(3) The area assignment area and the area used by
the ladder program cannot overlap each other.

NOTE
The maximum DI/DO transfer size per slave station
is 244 bytes in all of DI/DO.
In addition, the slots for which communication is
enabled are those of the slave stations for which
communication is enabled on the SLAVE TABLE
screen.
The slave station for which communication is
enabled is indicated by "*" to the left of the slave
station number on the slave table screen. The slots
for which communication is enabled are indicated by
"---", "I/O", "I/-", "-/O", or "-/-" in the (TYP) field on the
DI/DO ADDRESS screen.

5 Use the following soft keys as needed.


[PREVI SLAVE], [NEXT SLAVE] :
Pressing soft key [PREVI SLAVE] moves the cursor to the
first slot of the previous slave station. Pressing [NEXT

- 30 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

SLAVE] moves the cursor to the first slot of the next slave
station. Pressing soft key [PREVI SLAVE] or [NEXT
SLAVE] after entering a station number moves the cursor
to the first slot of the specified station number.

[ INSERT ] :
Adds a new slot before the slot number on which the cursor
is placed.

[ DELETE ] :
Deletes the slot on which the cursor placed and moves up
the following slots.

[AUTO (SIZE)] :
Automatically sets the DI/DO size "DI SIZ, DO SIZ" for the
slots following the cursor based on the module data. The
settings are made only for the slots in the same slave.

[ AUTO (ADDR) ] :
When pressing soft key [AUTO (ADDR)] after setting the
DI/DO address of the slots on which the cursor is placed,
this soft key assigns the addresses (DI ADDR and DO
ADDR) of the following slots based on the specified
address and size. These settings are valid only within the
same slave station.

- 31 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

STATUS INFORMATION screen

1 Press soft key [STATUS] to display the STATUS screen.

STATUS INFORMATION screen

Display item
Item Description
REFRESH TIME Refresh time (Unit : ms)
See NOTE below.
CURRENT MODE Indicates the current mode.
PARAMETER ERR1 Indicates the error number related to parameter
settings.
PARAMETER ERR2 Indicates the number of the slave on which an
error occurred.
(When there are multiple slave stations on which
an error occurred, the smallest station number is
indicated.)
INTERNAL ERR1, 2 Indicates the internal error occurred between the
CNC and the PROFIBUS board.

Description of PARAMETER ERR1


0000 : Normal (ERR2 is not used.)
0001 : When the DI/DO total size in a slave station exceeds 244
bytes.
0002 : When no modules are set in a slave station.
0003 : When the amount of data in the slave parameter in a slave
station exceeds the allowable range.
0004 : When invalid module data is set in a slot.
(The high byte and low byte of ERR2 indicates the
corresponding slave station number and slot number,
respectively. When there are multiple slots, the smallest
station number and slot number are indicated.)

- 32 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

NOTE
The data refresh time represents time require for
updating DI/DO data for all slave stations assigned
to PMC addresses by address assignment.
- The data refresh time does not include the time
required for processing the ladder program.
- The response time from when the master device
sends DO data to when it receives the DO data
as DI data after the DO data is returned by a
slave device must be estimated as at least double
the data refresh time.

- 33 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

OPERATION MODE screen

1 Press soft key [MODE] to display the OPERATION MODE


screen.

OPERATION MODE screen

2 To select the STOP mode, CLEAR mode, or OPERATE mode


defined in the PROFIBUS specification, as operation mode,
press soft key [STOP], [CLEAR], or [OPERATE], respectively.
The setting order must be [OPERATE] → [CLEAR] → [STOP]
or [STOP] → [CLEAR] → [OPERATE].
3 To indicate the current operation mode to a PMC address, set the
1-byte address for INDICATION ADDRESS.

- 34 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

The following describes each mode and the identification values


used when giving notification to a PMC address.

Description of each mode and identification values


Item Description
OFFLINE In this mode, communication with all nodes is
disabled.
Identification value : 0x00
STOP In this mode, communication with another
master station (such as class 2 station) is
enabled.
Communication with a slave station is disabled.
Identification value : 0x40
CLEAR In this mode, output (DO) is cleared for all slave
stations for which communication is enabled.
Identification value : 0x80
OPEARTE In this mode, DI/DO communication is being
performed for all slave stations for which
communication is enabled.
Identification value : 0xC0

CAUTION
When assigning addresses, keep the following in
mind.
(1) Be sure to use R addresses and E addresses.
For multipath PMC, enter a PMC address in the
following format.
<path-number>:<PMC-address>
For the PMC second path R00500, for example,
"2:R00500" must be entered. When only the
PMC address was entered, the first path
(1:R00500) is assumed.
When there is no “:” key, it is substituted with the
“/” or “EOB” key.
(2) The DI data area, DO data area, diagnostic data
area, and operation mode display area cannot
overlap each other.
(3) The area assignment area and the area used by
the ladder program cannot overlap each other.

4. Use the following soft keys as needed.


[INITIALIZE] :
Disables notification to a PMC address.
In this case, "-----" appears in the INDICATION ADDRESS
field.
(The notification is disabled during initial setup.)

- 35 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

NOTE
Keep the following in mind about operation modes.
(1) If the power is turned on when there are one or
more active slave stations, the OPERATE mode
is automatically selected during startup, where
an active slave station represents the slave
station for which communication is enabled on
the slave parameter screen and Active and
New_Prm of SLAVE FLAG on the slave
parameter screen are set to 1.
(2) Otherwise, that is, if the power is turned on
when there are no active slave stations, the
STOP mode is automatically selected during
startup.
(3) A FANUC master station cannot be switched to
the OFFLINE mode manually.
When the OFFLINE mode is selected
immediately after power-up, check the
communication settings again.

- 36 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

1.2 UPDATING DI/DO DATA FOR THE MASTER FUNCTION

Relationship with the ladder program

DI/DO data for PROFIBUS is updated not in synchronization with the


execution of the ladder program. Therefore, keep the following in
mind when creating a ladder program.

CAUTION
DI/DO data for PROFIBUS is updated not in
synchronization with the execution of the ladder
program. Therefore, keep the following in mind
when creating a ladder program.
• When the input signal of PROFIBUS is read at
two points in the ladder program, even though the
read operation is completed in the same cycle of
the ladder program, there is no guarantee that the
same value will be read.
• When the ladder program writes the PROFIBUS
output signal in the specified PMC address, the
signal may be transferred to a slave device before
the ladder program is completely executed.

- 37 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

1.3 GSD FILE FOR THE MASTER FUNCTION

The GSD file for the master station of the FANUC CNC is shown
below.

GSD file for the master function


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

- 38 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A

; Master specific parameters


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

- 39 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01

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

- 40 -
III. CONNECTION
B-63994EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

1 CONNECTING THE PROFIBUS


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

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

- 43 -
1.CONNECTING THE PROFIBUS FUNCTIONS CONNECTION B-63994EN/01

1.1 PROFIBUS CONNECTION

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

DP-Master
(Class1) #1

#3 #4 #5 #6 #N

DP-Slaves

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


(Class1).

- 44 -
B-63994EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

1.2 PROFIBUS CABLE AND TRANSFER RATE

PROFIBUS communication uses shielded twisted-pair cable.


The cable must satisfy the requirements listed below.

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

Recommended cable
SINEC L2 Bus cable 6XV1 830-0AH10,
manufactured by SIEMENS

The maximum allowable bus cable length varies depending on the


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

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

- 45 -
1.CONNECTING THE PROFIBUS FUNCTIONS CONNECTION B-63994EN/01

1.3 CONNECTOR

Nine-pin D-Sub female connector

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

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

You can use the following cable-end connector to perform wiring and
terminate the cable easily.

Cable-end connector:
SUBCON-PLUS-PROFIB, manufactured by Phoenix Contact, or
equivalent

For cable-end connector manufactured by Phoenix Contact, the


direction from which a cable is drawn can be changed in units of
180 degrees.
44.5 16

35

60

10

Outside Dimensions of the SUBCON-PLUS-PROFIB Connector

- 46 -
B-63994EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

Cable-end connector:
S7 SINEC L2 bus connector 6ES7 972-0BA11-0XA0,
manufactured by Siemens, or equivalent
35.6 15.8

35.0

64.0

28.4

Outside Dimensions of the S7 SINEC L2 Bus Connector

NOTE
When the bus connector 6ES7 972-0BA11-0XA0 is
used with the LCD-mounted type unit, the cable
must be drawn upward as shown below. When
using this connector, note the direction of cable. If
the cable needs to be drawn downward, use the
connector manufactured by Phoenix Contact

When the cable is assembled with the connector, refer to the


accompanying manual.

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

- 47 -
1.CONNECTING THE PROFIBUS FUNCTIONS CONNECTION B-63994EN/01

1.4 CABLE CONNECTION

Connect the PROFIBUS cable as shown in the following diagram.

CNC D-sub connector Shield PROFIBUS

(03) A Station at the


A previous stage
B
(08)
B
Shield PROFIBUS

A Station at the
next stage
B

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

For a bus connector manufactured by Siemens and Phoenix Contact


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

A Station at the
next stage
B

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


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

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

- 48 -
B-63994EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS

1.5 TERMINATING RESISTOR

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

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

Since the connector manufactured by Phoenix Contact or Siemens


include the terminators above, the switch on the connector can be
used to enable or disable the terminators. In a configuration as shown
below, turn on the switches of the connectors for stations #3 and #6.

#3 #7 #4 #5 #1 #6

- 49 -
1.CONNECTING THE PROFIBUS FUNCTIONS CONNECTION B-63994EN/01

1.6 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

- 50 -
B-63994EN/01 CONNECTION 2.INSTALLATION

2 INSTALLATION
This chapter provides information required to install the PROFIBUS
master board.

- 51 -
2.INSTALLATION CONNECTION B-63994EN/01

2.1 SPECIFICATION

This section describes the hardware specification of the PROFIBUS


master board.

Order specification A02B-0303-J311


Board number A20B-8101-0050
Applied model FANUC Series 30i-A

NOTE
When using the board, it is necessary to adhere to
the installation condition (the environmental
condition in the cabinet) of the CNC control unit in
which the board is installed.

The heating value of the PROFIBUS board is shown below. For the
heating values of the CNC body and other option units, refer to the
connection manual of the CNC.

Name Heating value


PROFIBUS Master board 6W

- 52 -
B-63994EN/01 CONNECTION 2.INSTALLATION

2.2 Mounting

This section provides information on mounting of the PROFIBUS


board for the Series 30i-A.

2.2.1 Mounting into the LCD-mounted Type Unit

The board is mounted into an option slot of the control unit. It


occupies one slot. The option slot does not have mounting limitations.

PROFIBUS Master
board

- 53 -
2.INSTALLATION CONNECTION B-63994EN/01

2.2.2 Mounting into the Stand-alone Type Unit


The board is mounted into an option slot of the control unit. It
occupies one slot. The option slot does not have mounting limitations.

- 54 -
B-63994EN/01 CONNECTION 2.INSTALLATION

2.3 COMPLETE CONNECTION DIAGRAM

An overview of the complete connection is shown below. For


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

DP-Slave DP-Slave DP-Slave


#3 #4 #5

Network (PROFIBUS)

CNC system
CNC main board

DP-Master
PROFIBUS #1
Option slot Master board CN1

- 55 -
IV. MAINTENANCE
B-63994EN/01 MAINTENANCE 1.HARDWARE

1 HARDWARE
This chapter provides maintenance information on the hardware of
the PROFIBUS board for the Series 30i.

- 59 -
1.HARDWARE MAINTENANCE B-63994EN/01

1.1 COMPONENT LAYOUT

LSI

MPU
LSI

DC/DC
converter

CN1

Ordering information
Name Specification Remarks
PROFIBUS Master board A20B-8101-0050

- 60 -
B-63994EN/01 MAINTENANCE 1.HARDWARE

1.2 LED INDICATORS AND THEIR MEANINGS

CN1

LED2 LED1

NOTE
The face plate is indicated by the broken line.

Name Color Description


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

- 61 -
V. SUPPLEMENT
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER

A SETTING BY USING A PERSONAL


COMPUTER
To set the communication parameters for a FANUC master station,
you can use PROFIBUS DP-Configurator (tool running on a PC)
manufactured by Softing as well as the local station.
This chapter explains how to set the communication parameters using
PROFIBUS DP-Configurator. For details, refer to the PROFIBUS-DP
Configurator manual.

CAUTION
In remote downloading, the bus parameters and
slave parameters set on a FANUC master station
are overwritten.
In addition, PROFIBUS-DP Configurator cannot
perform address assignment for diagnostic data and
DI/DO, and cannot set slot information (number of
slots and module data length). Upon completion of
remote downloading, make settings on the SLAVE
TABLE screen, DI/DO ADDRESS screen, and
MODULE DATA screen and then turn the power off
and on again.

- 65 -
A.SETTING BY USING A PERSONAL COMPUTER SUPPLEMENT B-63994EN/01

A.1 SETTING BY USING SOFTING’S DP-CONFIGURATOR

For a FANUC master station, you can use PROFIBUS-DP


Configurator manufactured by Softing to remotely download bus and
slave parameters.
Softing PROFIBUS-DP Configurator is currently supported by the
following two I/F board products:
- PROFIboard (Board for ISA/PCI slot)
- PROFIcard (Board for PCMCIA)
- PROFIcard (Board for PCMCIA)

CAUTION
On Windows NT 4.0, the remote communication
parameter download function cannot be used. Use
Softing PROFIBUS-DP Configurator on Windows
3.1, Windows 95, or Windows 98.

Initial setting of PROFIBUS-DP Configurator


(1) Mount a PROFIboard or PROFIcard on your personal computer
according to the instructions described in the corresponding
manual.
(2) Install PROFIBUS/DP DMK package, which is an I/F board
driver provided by Softing.
(3) Install PROFI-KON-DP, which is PROFIBUS-DP Configurator
software provided by Softing.
NOTE
Dp_Konf.exe, execution file installed in step (3),
uses papi_l.dll (.../Win95sdk/papi/lib16), dll file
installed in step (2). For this reason, remember to
copy papi_l.dll into the directory containing
Dp_Konf.exe or set an environment variable.

- 66 -
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER

(4) Open PROFIBUS on the Control Panel. Screen A-1 is displayed.


Select PROFIboard or PROFIcard in the tree and click Add, then
make settings for the I/F board.
When PROFIcard is selected and setting terminates normally,
Screen A-1 below is displayed.

Green check

Screen A-1

NOTE
Check that a green check mark is displayed for the
set I/F board as shown in Screen A-1. If a red cross
is displayed for the set I/F board, proper remote
downloading cannot be performed. In this case,
check the installed software again.

- 67 -
A.SETTING BY USING A PERSONAL COMPUTER SUPPLEMENT B-63994EN/01

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


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

Screen A-2

NOTE
When the I/F board type is PROFIcard, set a file for
Loadcard INI under Hardware Setup Files. The file is
stored on cardinst (dos/loadcard.ini) which is a
floppy disk provided by Softing. Specify the file.

A general initial setting procedure for using PROFIBUS-DP


Configuration is shown above. A general operation procedure for
remote downloading is shown below.

Operation procedure on a FANUC master station


SYSTEM

(1) Press function key and then press soft key [PROFI
MASTER] to display screen A-3.

Screen A-3

- 68 -
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER

(2) On screen A-3, press soft key [(OPRT)] and then press soft key
[ALL INIT].
All of bus parameters, slave parameters, and address assignment
are initialized.

(3) Turn off the CNC power and on again to display screen A-3 and
then press soft key [MODE].
When screen A-4 appears, make sure STOP is indicated to the
right of CURRENT MODE.

Screen A-4

Now, remote downloading on the FANUC master station is


ready to be performed.

PROFIBUS-DP Configurator operation procedure


(1) Start PROFIBUS-DP Configurator. Screen A-5 is displayed.

Screen A-5

- 69 -
A.SETTING BY USING A PERSONAL COMPUTER SUPPLEMENT B-63994EN/01

(2) Open DDB, then Import. Screen A-6 is displayed.

Screen A-6

On this screen, click Add to select the GSD file for each device
(master or slave station) to be used for PROFIBUS-DP
Configurator.
When the GSD file for each device is read correctly, it is added
to Import DDB list on Screen A-6.

(3) Open Project, then New Project. Screen A-7 is displayed.

Screen A-7

- 70 -
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER

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


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

Screen A-8

On Screen A-8, set values for Station Address and Baudrate.

CAUTION
For Softing PROFIBUS-DP Configurator, the default
TTR value is 50000. Click Edit and change the TTR
value to 65000.

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


Selection List under DDB Selection List on Screen A-7. Screen
A-9 is displayed.
These parameters are used as the slave parameters to be remotely
downloaded.

Screen A-9

- 71 -
A.SETTING BY USING A PERSONAL COMPUTER SUPPLEMENT B-63994EN/01

On Screen A-9 set a value for Station Address.

CAUTION
On Screen A-9, there are an item for setting
Configuration Data on the Modules tab and an item
for setting User Param Data on the Settings tab.
Note that there is the following restriction on setting
of these two parameters for a FANUC master
station:
configuration-data-length + user-param-data-length
≤ 204 bytes
These parameter lengths are described in the GSD
file for each slave station. See the GSD file.

(6) Select the Modules tab on Screen A-9. Screen C-11 is displayed.

Screen A-10

On this screen, select a module name from Available Modules


and click Add. The selected module is added to Current Slots.
This parameter is equivalent to slave parameter CONFIG DATA
for a FANUC master station.
The format for the FANUC slave stations is used for the module
names in Available Modules on Screen A-10.

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

- 72 -
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER

(7) Select the Settings tab on Screen A-10. Screen A-11 is displayed.

Screen A-11

Set each parameter on Screen A-11 when required.

CAUTION
For setting for a FANUC slave station, change the
values for the following two parameters:
- Set 55 for Min. Station Delay Responder on Screen
C-12.
- With PROFIBUS-DP Configurator, the value set for
Watchdog Time cannot be changed. After remote
downloading, set WD FACT1 = WD FACT2 = 10
directly on the slave parameter setting screen of the
FANUC master station.

(8) Then, set the bus parameters to be used when PROFIBUS-DP


Configurator is used as a class-2 master station.
Open Options, then Busparameter Master Class2 on Screen A-7.
Screen A-12 is displayed.

Screen A-12

- 73 -
A.SETTING BY USING A PERSONAL COMPUTER SUPPLEMENT B-63994EN/01

CAUTION
Pay careful attention to the following points:
- The station number specified for Station Address on
Screen A-12 is used when PROFIBUS-DP
Configurator is attached to the network. For this
reason, do not specify the station numbers of the
FANUC master station and other master and slave
stations on the network.
- Set the same baud rate as for the FANUC master
station or another master station on the network.
- When the baud rate is 19.2 or 9.6 kbps, set 10000
[msec] for Poll Timeout of PROFIBUS-DP
Configurator. At this time, the values set for Poll
Timeout for the FANUC master station or another
master station on the network need not be changed.

(9) Then, click Edit on Screen A-12. Screen A-13 is displayed.

Screen A-13

- 74 -
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER

CAUTION
Pay careful attention to the following two points:
<1> For Softing PROFIBUS-DP Configurator, the
default TTR value is 50000. Change the TTR
value to 65000.
<2> Change the values of the following three
parameters on Screen C-14 only when the baud
rate is 12 Mbps:
- Min. St. Delay Resp. : 11 → 13
- Max. St. Delay : 800 → 802
- Quiet Time : 9 → 12
At this time, the values set for these three
parameters for the FANUC master station or
another master station on the network need not
be changed.

(10) Select Download, then Remote. Remote downloading starts.


The bus parameters and slave parameters are automatically
downloaded in this order.

Now, bus parameters and slave parameters have been set by a


personal computer.
The address assignment for diagnostic data and DI/DO as well as
setting of slot information (number of slots and module data length)
cannot be performed. Upon completion of remote downloading, make
settings on the SLAVE TABLE screen, DI/DO ADDRESS screen,
and MODULE DATA screen and then turn the power off and on
again.

- 75 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01

B EXAMPLE OF SETTING
This chapter explain the example of settings for connecting slave
devices.
In the example, “SETTING BY USING A PERSONAL
COMPUTER” of V.1 is utilized. If the configurator is not used,
please input the parameters to CNC screen directly, referring to the
figures of this chapter.

- 76 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING

B.1 EXAMPLE OF CONNECTION

The example of setting explains according to the following system.

Series 30i-A
(DP-Master#1)

PROFIBUS network

Power Matei-D Remote I/O device Remote I/O device


DP-Slave#3 DP-Slave#4 DP-Slave#5
DI: 64 signals DI: 8 signals DI: 8 signals
DO: 64 signals DO: 8 signals DO: 8 signals

Example of connection

Remark
In this example, the following WAGO’s I/O system is used as
the instance of a remote I/O device.
750-333 (Communication module)
750-402 (4 channel DI module)
750-402 (4 channel DI module)
750-504 (4 channel DO module)
750-504 (4 channel DO module)
750-600 (Terminal module)
As for the settings of your system, please set-up according to
your slaves, referring to this example.

Series 30i-A acts as Master, and it connects with Power Mate i-D
(Slave #3) and Remote I/O devices (Slave #4 and #5).
As for Slave #4 which consists of four I/O modules, each I/O module
is assigned to PMC address of 30i-A separately. Meanwhile, I/Os of
Slave #5 is assigned to PMC address lumped together.

- 77 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01

DI/DO signals are assigned to PMC addresses as follows.

Slave DI DO Diagnostic data


Slave No. Slot No. Address Size Address Size Address Size
#3 0 R00100 8 R00200 8 R00300 6
#4 0 0 0 R00310 6
1 R00110 1 0
2 R00120 1 0
3 0 R00210 1
4 0 R00220 1
#5 0 R00130 2 R00230 2 R00320 6

- 78 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING

B.2 PROCEDURE OF SETTING

(1) Preparation on CNC


According to “Operation procedure on a FANUC master station” of
“V.1. SETTING BY USING A PERSONAL COMPUTER”, please
initialize all of PROFIBUS parameters, and confirm that
OPERATION mode becomes [STOP].

(2) Operation on a personal computer


According to (1) to (7) of “PROFIBUS-DP Configurator operation
procedure” of “V.1. SETTING BY USING A PERSONAL
COMPUTER”, please choose Bus parameter and Slave parameters.

1) As for this example, the parameters are chosen as follows.

2) The detail of Bus parameter is configured as follows.

- 79 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01

3) Slave parameter of Slave#3 (Power Mate i-D) is configured as


follows.

- 80 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING

4) Slave parameter of Slave#4 (Remote I/O Devices) is configured


as follows.

5) Slave parameter of Slave #5 (Remote I/O Device) is configured


equal to Slave #4, except for Slave number(Station Address).

- 81 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01

(3) Parameter transfer from a personal computer to CNC


According to (8) to (10) of “PROFIBUS-DP Configurator operation
procedure” of “V.1. SETTING BY USING A PERSONAL
COMPUTER”, please download Bus parameter and Slave parameters
to CNC.

(4) Settings on CNC


According to the explanation of “II. SETTING”, please configure
Slave table, DI/DO address and Module data length.

1) By downloading, Bus parameter will be configured as follows.

Bus parameter Value

(1) STATION NO. 1


(2) BAUDRATE(Kbps) 12000
(3) BP FLAG(EAC) 0
(4) MIN SLAVE INT 1
(5) POLL TIME OUT 500
(6) DATA CONTROL 100
(7) T SL 1000
(8) MIN T SDR 11
(9) MAX T SDR 800
(10)T QUI 9
(11)T SET 16
(12)TTR 65000
(13)G 10
(14)HSA 126
(15)MAX RETRY 4
(16)CLASS2 NAME SOFTING DP-CONFIGURATOR
(17)MASTER USER DATA -

- 82 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING

2) By downloading, each slave parameter of Slave #3,#4 and #5


will be configured as follows.

Slave parameter Slave Slave Slave


#3 #4 #5
(1) STATION NO. 3 4 5
(2) IDENT NO 00A1 B754 B754
(3) SLAVE TYPE 0 0 0
(4) WD FACT1 25 25 25
(5) WD FACT2 1 1 1
(6) MIN TSDR 55 11 11
(7) SLAVE FLAG(ACT) 1 1 1
(8) SLAVE FLAG(NPR) 1 1 1
(9) ST.STATUS(LOC) 1 1 1
(10)ST.STATUS(UNL) 0 0 0
(11)ST.STATUS(SYN) 0 0 0
(12)ST.STATUS(FRZ) 0 0 0
(13)ST.STATUS(WD) 1 1 1
(14)GROUP IDENT 0 0 0
(15)USER PRM DATA - (Remark) (Remark)
(16)SLAVE USER DATA - - -
(Remark)
Length = 34
Values = 00 00 00 00 00 00 00 02 00 CB 43 00 00 00 01 00
00 00 00 80 21 00 21 01 00 21 01 00 21 02 00 21
02 00

3) Please configure the number of slots, PMC address and size of


Diagnostic data into SLAVE TABLE screen.

Settings on SLAVE TABLE screen

- 83 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01

4) Next, In MODULE DATA screen, please select “OFF” of


[SHIFT], and configure the length of Module data. Then Module
data will be shown. The length can be decided by the GSD file of
the corresponding slave.
Please refer to “Example of setting module data” of “MODULE
DATA screen” of “II. SETTING”.

Slave #3

Slave #4(Slot #0) Slave #4(Slot #1)

- 84 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING

Slave #4(Slot #2) Slave #4(Slot #3)

Slave #4(Slot #4)

Slave #5

- 85 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01

5) When displaying DI/DO ADDRESS screen, each slot type


SLT(TYP) will be shown conforming with the configured
module data. Please press soft key [AUTO(SIZE)], and I/O size
is configured automatically.

Settings on DI/DO ADDRESS screen

6) Please assign PMC address to DI/DO, and lastly reboot CNC.

- 86 -
B-63994EN/01 INDEX

INDEX
Mounting ........................................................... 53
A
Mounting into the LCD-mounted Type Unit .. 53
APPLICABLE MODELS .................................... 5
Mounting into the Stand-alone Type Unit ...... 54
B
O
BUS PARAMETER screen ............................... 13
OPERATION MODE screen ............................ 34
C
P
CABLE CONNECTION ................................... 48
PROCEDURE OF SETTING ........................... 79
CABLE SHIELDING........................................ 50
PROFIBUS CABLE AND TRANSFER RATE 45
COMPLETE CONNECTION DIAGRAM........ 55
PROFIBUS CONNECTION............................. 44
COMPONENT LAYOUT.................................. 60
PROFIBUS-DP FUNCTIONS............................ 7
CONNECTING THE PROFIBUS FUNCTIONS
PROFIBUS-DP FUNCTIONS FOR 30i-A ....... 11
....................................................................... 43
R
CONNECTOR ................................................... 46
RELATED MANUALS ....................................... 6
D
Relationship with the ladder program ............ 37
DI/DO ADDRESS screen.................................. 29
S
E
SETTING BY USING A PERSONAL
EXAMPLE OF CONNECTION ................. 76, 77
COMPUTER.................................................. 65
G SETTING USING A PERSONAL COMPUTER
........................................................................ 65
GSD FILE FOR THE MASTER FUNCTION . 38
SETTING USING DP-CONFIGURATOR
H
MANUFACTURED BY SOFTING .............. 66
HARDWARE ..................................................... 59 SLAVE PARAMETER screen .......................... 22
Slave table screen ............................................. 17
I
SPECIFICATION ............................................. 52
INSTALLATION............................................... 51
STATUS INFORMATION screen .................... 32
L
T
LED INDICATORS AND THEIR MEANINGS
TERMINATING RESISTOR............................ 49
....................................................................... 61
U
M
UPDATING DI/DO DATA FOR THE MASTER
MASTER FUNCTION SETTING .................... 12
FUNCTION ................................................... 37
MODULE DATA screen ................................... 26

i-1
Revision Record
FANUC PROFIBUS-DP Board For Series 30i-MODEL A OPERATOR’S MANUAL (B-63994EN)

01 Apr., 2003

Edition Date Contents Edition Date Contents


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

• All specifications and designs


are subject to change without
notice.

You might also like