GFZ-63994EN01, PROFIBUS-DP Board For 30ia - Operator's
GFZ-63994EN01, PROFIBUS-DP Board For 30ia - Operator's
PROFIBUS-DP Board
for Series 30i-Model A
Operator’s Manual
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.
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
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.
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.
s-2
B-63994EN/01 SAFETY PRECAUTIONS
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
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
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
-5-
1.GENERAL GENERAL B-63994EN/01
-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.
-7-
II. SETTING
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A
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
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
Procedure
1 Press soft key [BUS PARAM] to display the BUS
PARAMETER screen.
PAGE
- 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.
- 15 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01
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
Procedure
1 Press soft key [SLAVE TABLE] to display the SLAVE TABLE
screen.
PAGE
[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.
- 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.
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.
- 20 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A
- 21 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01
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.
- 22 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A
[ 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)
- 24 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A
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
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
[ 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
[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
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
Procedure
1 Press soft key [DI/DO ADDR] to display the DI/DO ADDRESS
screen.
PAGE
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.
- 29 -
1.PROFIBUS-DP FUNCTIONS FOR 30i-A SETTING B-63994EN/01
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.
- 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
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.
- 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
- 34 -
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.
- 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
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
The GSD file for the master station of the FANUC CNC is shown
below.
- 38 -
B-63994EN/01 SETTING 1.PROFIBUS-DP FUNCTIONS FOR 30i-A
- 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
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
DP-Master
(Class1) #1
#3 #4 #5 #6 #N
DP-Slaves
- 44 -
B-63994EN/01 CONNECTION 1.CONNECTING THE PROFIBUS FUNCTIONS
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
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
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
35
60
10
- 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
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
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
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 (-)
A Station at the
next stage
B
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
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)
#3 #7 #4 #5 #1 #6
- 49 -
1.CONNECTING THE PROFIBUS FUNCTIONS CONNECTION B-63994EN/01
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
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.
- 52 -
B-63994EN/01 CONNECTION 2.INSTALLATION
2.2 Mounting
PROFIBUS Master
board
- 53 -
2.INSTALLATION CONNECTION B-63994EN/01
- 54 -
B-63994EN/01 CONNECTION 2.INSTALLATION
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
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
CN1
LED2 LED1
NOTE
The face plate is indicated by the broken line.
- 61 -
V. SUPPLEMENT
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER
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
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.
- 66 -
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER
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
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.
(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
Screen A-5
- 69 -
A.SETTING BY USING A PERSONAL COMPUTER SUPPLEMENT B-63994EN/01
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.
Screen A-7
- 70 -
B-63994EN/01 SUPPLEMENT A.SETTING BY USING A PERSONAL COMPUTER
Screen A-8
CAUTION
For Softing PROFIBUS-DP Configurator, the default
TTR value is 50000. Click Edit and change the TTR
value to 65000.
Screen A-9
- 71 -
A.SETTING BY USING A PERSONAL COMPUTER SUPPLEMENT B-63994EN/01
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
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
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.
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.
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.
- 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
Series 30i-A
(DP-Master#1)
PROFIBUS network
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
- 78 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING
- 79 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01
- 80 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING
- 81 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01
- 82 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING
- 83 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01
Slave #3
- 84 -
B-63994EN/01 SUPPLEMENT B.EXAMPLE OF SETTING
Slave #5
- 85 -
B.EXAMPLE OF SETTING SUPPLEMENT B-63994EN/01
- 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