Professional Documents
Culture Documents
PROFIBUS-DP Board
for Series 30i-Model A
Operators Manual
GFZ-63994EN/01
May 2003
GFL-001
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.
SAFETY PRECAUTIONS
B-63994EN/01
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 Operators
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
1.1
B-63994EN/01
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
SAFETY PRECAUTIONS
B-63994EN/01
1.2
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
TABLE OF CONTENTS
B-63994EN/01
TABLE OF CONTENTS
SAFETY PRECAUTIONS..................................................................................................................... s-1
I. GENERAL
1
GENERAL .......................................................................................................................................... 3
1.1
ORGANIZATION ....................................................................................................................... 4
1.2
1.3
RELATED MANUALS............................................................................................................... 6
II. SETTING
1
1.1
1.2
1.3
III. CONNECTION
1
1.1
1.2
1.3
CONNECTOR........................................................................................................................... 46
1.4
CABLE CONNECTION........................................................................................................... 48
1.5
1.6
INSTALLATION.............................................................................................................................. 51
2.1
SPECIFICATION ..................................................................................................................... 52
2.2
Mounting ................................................................................................................................... 53
2.2.1
2.2.2
2.3
IV. MAINTENANCE
1
HARDWARE .................................................................................................................................... 59
1.1
1.2
V. SUPPLEMENT
A
A.1
B
B.1
EXAMPLE OF CONNECTION............................................................................................... 77
c-1
TABLE OF CONTENTS
B.2
B-63994EN/01
PROCEDURE OF SETTING................................................................................................... 79
c-2
I. GENERAL
B-63994EN/01
1.GENERAL
GENERAL
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
1.1
GENERAL
B-63994EN/01
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 PROFIBUSDP communication.
III. CONNECTION
Describes how to connect devices to enable PROFIBUS-DP
communication, as well as related precautions.
IV. MAINTENANCE
Describes PROFIBUS-DP board drawing numbers and the
meanings of LED indications
V. SUPPLEMENT
Describes supplemental information such as setting from a
personal computer.
-4-
B-63994EN/01
1.2
1.GENERAL
GENERAL
APPLICABLE MODELS
The models covered by this manual are as follows. The abbreviations
listed below may be used to refer to the corresponding models.
Model name
FANUC Series 30i-MODEL A
-5-
Abbreviation
30i-A
Series 30i-A
30i
1.GENERAL
1.3
GENERAL
B-63994EN/01
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
Manual name
DESCRIPTIONS
CONNECTION MANUAL (HARDWARE)
CONNECTION MANUAL (FUNCTION)
USERS MANUAL (common to T series/M series)
USERS MANUAL (T series)
USERS MANUAL (M series)
MAINTENANCE MANUAL
PARAMETER MANUAL
-6-
Specification
number
B-63942EN
B-63943EN
B-63943EN-1
B-63944EN
B-63944EN-1
B-63944EN-2
B-63945EN
B-63950EN
GENERAL
B-63994EN/01
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.
Master functions
0 to 125
3 to 125
48
(Total of 48)
48
244 bytes
(Total of DI/DO)
201 bytes
242 bytes
-7-
II. SETTING
B-63994EN/01
SETTING
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.1
B-63994EN/01
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
3
4
- 12 -
SYSTEM
SETTING
B-63994EN/01
Procedure
1
PARAM]
to
display
the
PAGE
PAGE
BUS
can be
- 13 -
B-63994EN/01
Setting item
Item
Description
STATION NO.
BAUDRATE
BP FLAG
MIN SLAVE
INT
POLL TIME
OUT
DATA
CONTROL
T SL
MIN T SDR
MAX T SDR
T QUI
T SET
T TR
HSA
MAX RETRY
- 14 -
B-63994EN/01
SETTING
Item
Description
CLASS2
NAME
MASTER
USER DATA
Operation mode
Clear
- 15 -
B-63994EN/01
187.5
0
1
1000
100
100
11
60
0
1
65000
10
126
1
0
Setting
0 to 125
500
1500
3000
6000
0
0
0
0
1
1
1
1
1000
1000
1000
1000
100
100
100
100
200
300
400
600
11
11
11
11
100
150
250
450
0
0
3
6
1
1
4
8
65000
65000
65000
65000
10
10
10
10
126
126
126
126
1
1
2
3
This parameter need not be set.
0
0
0
0
12000
0
1
1000
100
1000
11
800
9
16
65000
10
126
4
0
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 -
SETTING
B-63994EN/01
Procedure
1
PAGE
PAGE
can be
- 17 -
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
IDX
Description
Index number
Index numbers for 48 stations are provided (see
NOTE below).
Number of slave stations for which
communication is enabled.
SLAVES
Setting item
Item
Description
NO
NSL
DGN
ADDR
SIZ
- 18 -
B-63994EN/01
SETTING
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
module
Slot number 0
I/O module
I/O module
I/O
module
Slot
number 1
Slot
number 2
Slot
number n
B-63994EN/01
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
(Size: 1 byte)
STATION STATUS 2
(Size: 1 byte)
- 20 -
B-63994EN/01
SETTING
MASTER ADDRESS
(Size: 1 byte)
IDENT NUMBER
(Size: 2 bytes)
Description
The state of a Slave is indicated.
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
This station number of the Master that set the parameter of the Slave is set (when this
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.
The identification number of a Slave is set.
- 21 -
B-63994EN/01
Procedure
1
2
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 -
SETTING
B-63994EN/01
Display item
Item
SLAVE NO.
CONFIG DATA
- 23 -
Description
Station number of the partner slave device
The value entered on the slave table screen
is indicated.
Configuration data
The data is automatically calculated from
MODULE DATA specified for each slot.
B-63994EN/01
Setting item
Item
IDENT NO.
SLAVE TYPE
WD FACT1, WD FACT2
MIN TSDR
SLAVE FLAG
STATION STATUS
GROUP IDENT
- 24 -
Description
Identification number of a slave station
Specify the identification number of a slave
station to connect to.
Manufacturer-specified type indication for a
slave station
Factor used to determine the time for broken
wire detection
10WD_FACT1WD_FACT2 (Unit: ms)
Minimum time that elapses a response to the
master station (this master device) is
returned (Unit: Bit time)
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)
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 DPMaster.
When LOC = 0 and UNL = 1, DP-Salve
parameters can be changed by DPMaster.
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)
Specify groups for the DDLM_Global_Control
command. Up to eight groups can be
specified because each bit represents a
group.
User parameter data.
This data is specified by a manufacturer.
Slave user data.
This data is specified by a manufacturer.
B-63994EN/01
SETTING
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 -
B-63994EN/01
Procedure
1
PAGE
PAGE
- 26 -
SETTING
B-63994EN/01
Display item
Item
Description
SLAVE NO
SLOT NO
Slot number
MAX
Setting item
Item
MODULE LENGTH
MODULE =
SHIFT
Description
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.
Set the data (HEX data) of the keyword Module in
the GSD file.
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 -
B-63994EN/01
I/O module
(TYPE A)
I/O module
(TYPE B)
I/O module
(TYPE A)
Slot number
1
Slot number
2
Slot number
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
SLAVE NO. = 3
SLOT NO. = 0
SLAVE NO. = 3
SLOT NO. = 1
SLAVE NO. = 3
SLOT NO. = 2
SLAVE NO. = 3
SLOT NO. = 3
Setting value
MODULE LENGTH = 1
MODULE = 00
MODULE LENGTH = 2
MODULE = 10 20
MODULE LENGTH = 1
MODULE = 20
MODULE LENGTH = 2
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 -
SETTING
B-63994EN/01
Procedure
1
Page keys
3
4
Make sure the SLT (TYP) value for each slot is correct.
Set the DI/DO addresses (DI ADDR and DO ADDR) and the
sizes (DI SIZ and DO SIZ) for each slot.
PAGE
PAGE
Display item
Item
NO
SLT(TYP)
TOTAL SLOTS
Description
Station number of a slave station
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 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 -
B-63994EN/01
Setting item
Item
DI ADDR
DO ADDR
DI SIZ
DO SIZ
Description
Set the first addresses of DI and DO.
Setting range : See CAUTION below.
Set the sizes of DI data and DO data.
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
SETTING
B-63994EN/01
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 -
B-63994EN/01
Display item
Item
REFRESH TIME
CURRENT MODE
PARAMETER ERR1
PARAMETER ERR2
INTERNAL ERR1, 2
Description
Refresh time (Unit : ms)
See NOTE below.
Indicates the current mode.
Indicates the error number related to parameter
settings.
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.)
Indicates the internal error occurred between the
CNC and the PROFIBUS board.
- 32 -
B-63994EN/01
SETTING
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 -
B-63994EN/01
- 34 -
SETTING
B-63994EN/01
Description
OFFLINE
STOP
CLEAR
OPEARTE
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.
- 35 -
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
1.2
SETTING
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.3
B-63994EN/01
= "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 -
SETTING
B-63994EN/01
=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 -
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 -
B-63994EN/01
III. CONNECTION
B-63994EN/01
CONNECTION
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.1
B-63994EN/01
PROFIBUS CONNECTION
Example of a PROFIBUS-DP system with a single DP-Master
DP-Master
(Class1) #1
#3
#4
#5
#6
#N
DP-Slaves
- 44 -
B-63994EN/01
1.2
CONNECTION
Rating
150 (f < 2 MHz)
< 30 nF/Km
< 110 /Km
> 0.64 mm
> 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
Maximum allowable
1200
overall cable length (m)
- 45 -
187.5
500
1000
400
200
100
1.3
B-63994EN/01
CONNECTOR
Nine-pin D-Sub female connector
1
PE
6
2
3 RxD/TxD (+)
7
8
4
CNTR-P
VP
RxD/TxD (-)
PE
: Shielding
RxD/TxD (+) : Transmission/reception
data (+)
CNTR-P
DGND
: Signal ground
VP
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
- 46 -
B-63994EN/01
CONNECTION
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.4
B-63994EN/01
CABLE CONNECTION
Connect the PROFIBUS cable as shown in the following diagram.
D-sub connector
CNC
A
Shield
PROFIBUS
A
(03)
Station at the
previous stage
B
B
(08)
Shield
PROFIBUS
A
Station at the
next stage
Connect two wires to each of the pins Nos. 3 and 8 of the D-Sub
connector.
A: RxD/TxD (+)
B: RxD/TxD (-)
Bus connector
Shield
(A1)
A
(B1)
Station at the
previous stage
(A2)
B
PROFIBUS
(B2)
Shield
PROFIBUS
A
Station at the
next stage
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
1.5
CONNECTION
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)
#3
#7
- 49 -
#4
#5
#1
#6
1.6
B-63994EN/01
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
2.INSTALLATION
CONNECTION
INSTALLATION
This chapter provides information required to install the PROFIBUS
master board.
- 51 -
2.INSTALLATION
2.1
CONNECTION
B-63994EN/01
SPECIFICATION
This section describes the hardware specification of the PROFIBUS
master board.
Order specification
Board number
Applied model
A02B-0303-J311
A20B-8101-0050
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
PROFIBUS Master board
- 52 -
Heating value
6W
2.2
2.INSTALLATION
CONNECTION
B-63994EN/01
Mounting
This section provides information on mounting of the PROFIBUS
board for the Series 30i-A.
2.2.1
PROFIBUS Master
board
- 53 -
2.INSTALLATION
2.2.2
CONNECTION
B-63994EN/01
- 54 -
B-63994EN/01
2.3
2.INSTALLATION
CONNECTION
DP-Slave
#4
DP-Slave
#5
Network PROFIBUS
PROFIBUS
Master board
Option slot
- 55 -
CNC system
DP-Master
#1
CN1
IV. MAINTENANCE
B-63994EN/01
MAINTENANCE
1.HARDWARE
HARDWARE
This chapter provides maintenance information on the hardware of
the PROFIBUS board for the Series 30i.
- 59 -
1.HARDWARE
1.1
MAINTENANCE
B-63994EN/01
COMPONENT LAYOUT
LSI
MPU
LSI
DC/DC
converter
CN1
Ordering information
Name
PROFIBUS Master board
- 60 -
Specification
A20B-8101-0050
Remarks
1.2
1.HARDWARE
MAINTENANCE
B-63994EN/01
CN1
LED2
LED1
NOTE
The face plate is indicated by the broken line.
Name
LED1
LED2
Color
Description
Green Indicates whether the CPU of this board has been
activated.
Lit if the CPU has been released from the reset state and
activated.
The LED does not go on when the power is turned on.
Green Indicates whether normal communication is performed.
Lit if normal communication is performed.
Not lit if communication is not performed.
The LED does not go on when the power is turned on.
- 61 -
V. SUPPLEMENT
B-63994EN/01
SUPPLEMENT
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.1
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.
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
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 -
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.
A general initial setting procedure for using PROFIBUS-DP
Configuration is shown above. A general operation procedure for
remote downloading is shown below.
Screen A-3
- 68 -
B-63994EN/01
SUPPLEMENT
(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 -
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.
(3) Open Project, then New Project. Screen A-7 is displayed.
Screen A-7
- 70 -
B-63994EN/01
SUPPLEMENT
Screen A-8
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 -
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
(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.
(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 -
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
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
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
B.1
B.EXAMPLE OF SETTING
SUPPLEMENT
EXAMPLE OF CONNECTION
The example of setting explains according to the following system.
Series 30i-A
(DP-Master#1)
PROFIBUS network
Power Matei-D
DP-Slave#3
DP-Slave#4
DP-Slave#5
DI: 64 signals
DO: 64 signals
DI: 8 signals
DO: 8 signals
DI: 8 signals
DO: 8 signals
Example of connection
Remark
In this example, the following WAGOs 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
Slave
DI
Slave No. Slot No. Address
Size
#3
#4
#5
0
0
1
2
3
4
0
R00100
R00110
R00120
R00130
8
0
1
1
0
0
2
DO
Address
Size
R00200
8
0
0
0
1
1
2
R00210
R00220
R00230
- 78 -
Diagnostic data
Address
Size
R00300
R00310
6
6
R00320
B-63994EN/01
B.2
B.EXAMPLE OF SETTING
SUPPLEMENT
PROCEDURE OF SETTING
2)
- 79 -
B.EXAMPLE OF SETTING
SUPPLEMENT
3)
B-63994EN/01
- 80 -
B-63994EN/01
B.EXAMPLE OF SETTING
SUPPLEMENT
4)
5)
- 81 -
B.EXAMPLE OF SETTING
SUPPLEMENT
B-63994EN/01
Bus parameter
Value
- 82 -
12000
0
1
500
100
1000
11
800
9
16
65000
10
126
4
SOFTING DP-CONFIGURATOR
-
B-63994EN/01
B.EXAMPLE OF SETTING
SUPPLEMENT
2)
Slave
#3
3
Slave
#4
4
Slave
#5
5
00A1
B754
B754
25
25
25
55
11
11
(Remark)
(Remark)
(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)
- 83 -
B.EXAMPLE OF SETTING
SUPPLEMENT
4)
B-63994EN/01
Slave #3
- 84 -
B-63994EN/01
B.EXAMPLE OF SETTING
SUPPLEMENT
Slave #5
- 85 -
B.EXAMPLE OF SETTING
SUPPLEMENT
5)
B-63994EN/01
6)
- 86 -
INDEX
B-63994EN/01
INDEX
Mounting ........................................................... 53
CABLE SHIELDING........................................ 50
PROFIBUS CONNECTION............................. 44
COMPONENT LAYOUT.................................. 60
PROFIBUS-DP FUNCTIONS............................ 7
....................................................................... 43
CONNECTOR ................................................... 46
COMPUTER.................................................. 65
HARDWARE ..................................................... 59
SPECIFICATION ............................................. 52
INSTALLATION............................................... 51
TERMINATING RESISTOR............................ 49
....................................................................... 61
FUNCTION ................................................... 37
i-1
Apr., 2003
Date
01
Edition
Contents
Edition
Date
Contents
Revision Record