Professional Documents
Culture Documents
OPERATORS MANUAL
B-64044EN/02
SAFETY PRECAUTIONS
B-64044EN/02
SAFETY PRECAUTIONS
SAFETY PRECAUTIONS 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 Users Manual
of the CNC to become fully familiar with the functions to be used.
CONTENTS
DEFINITION OF WARNING, CAUTION, AND NOTE ................s-2
GENERAL WARNINGS AND NOTES...........................................s-3
s-1
SAFETY PRECAUTIONS
B-64044EN/02
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
SAFETY PRECAUTIONS
B-64044EN/02
WARNING
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.
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.
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.
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.
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-64044EN/02
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 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
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 deleted 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.
s-4
TABLE OF CONTENTS
B-64044EN/02
TABLE OF CONTENTS
SAFETY PRECAUTIONS............................................................................s-1
DEFINITION OF WARNING, CAUTION, AND NOTE ............................................. s-2
GENERAL WARNINGS AND NOTES..................................................................... s-3
I. GENERAL
1
GENERAL ............................................................................................... 3
1.1
1.2
1.3
ORGANIZATION ........................................................................................... 4
APPLICABLE MODELS................................................................................. 5
RELATED MANUALS.................................................................................... 6
II. SETTING
1
III. CONNECTION
1
1.7.2
1.7.3
1.7.4
TABLE OF CONTENTS
B-64044EN/02
1.7.5
1.7.6
SPECIFICATION ......................................................................................... 79
INSTALLATION ........................................................................................... 79
2.2.1
2.3
Environmental Conditions......................................................................................79
MOUNTING ................................................................................................. 80
2.3.1
2.3.2
IV. MAINTENANCE
1
HARDWARE ......................................................................................... 83
1.1
1.2
1.1.2
1.2.2
APPENDIX
A
c-2
I. GENERAL
GENERAL
B-64044EN/02
1.GENERAL
GENERAL
This manual describes the DeviceNet functions of the FANUC Series
30i/300i, 31i/310i, 32i/320i -MODEL A.
This chapter explains the organization of this manual and applied
models.
-3-
1.GENERAL
1.1
GENERAL
B-64044EN/02
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.
SETTING
Describes the settings for DeviceNet communication and notes
on creating a ladder program.
III. CONNECTION
Describes how to connect devices to enable DeviceNet
communication, as well as related precautions.
IV. MAINTENANCE
Describes DeviceNet board drawing numbers and the meanings
of LED indications.
APPENDIX
Provides additional descriptions.
-4-
B-64044EN/02
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
FANUC Series 300i-MODEL A
FANUC Series 300is-MODEL A
FANUC Series 31i-MODEL A
FANUC Series 31i-MODEL A5
FANUC Series 310i-MODEL A
FANUC Series 310is-MODEL A
FANUC Series 310i-MODEL A5
FANUC Series 310is-MODEL A5
FANUC Series 32i-MODEL A
FANUC Series 320i-MODEL A
FANUC Series 320is-MODEL A
-5-
Abbreviation
Series 30i-A
30i-A
Series 300i-A
300i-A
Series 31i-A
31i-A
Series 310i-A
310i-A
Series 32i-A
32i-A
Series 320i-A
320i-A
30i-A
31i-A
32i-A
1.GENERAL
1.3
GENERAL
B-64044EN/02
RELATED MANUALS
The related manuals are shown below.
See also the following manuals together with this manual.
Manual name
DESCRIPTIONS
CONNECTION MANUAL (HARDWARE)
CONNECTION MANUAL (FUNCTION)
USERS MANUAL
(Common to Lathe System/Machining Center System)
USERS MANUAL (For Lathe System)
USERS MANUAL (For Machining Center System)
MAINTENANCE MANUAL
PARAMETER MANUAL
Programming
Macro Compiler / Macro Executor
PROGRAMMING MANUAL
Macro Compiler OPERATORS MANUAL
C Language Executor OPERATORS MANUAL
PMC
PMC PROGRAMMING MANUAL
Network
PROFIBUS-DP Board OPERATORS MANUAL
Fast Ethernet / Fast Data Server OPERATORS MANUAL
FL-net Board OPERATORS MANUAL
Operation guidance function
MANUAL GUIDE i OPERATORS MANUAL
MANUAL GUIDE i Set-up Guidance
OPERATORS MANUAL
-6-
Specification
number
B-63942EN
B-63943EN
B-63943EN-1
B-63944EN
B-63944EN-1
B-63944EN-2
B-63945EN
B-63950EN
B-63943EN-2
B-66264EN
B-63944EN-3
B-63983EN
B-63994EN
B-64014EN
B-64164EN
B-63874EN
B-63874EN-1
B-64044EN/02
DeviceNet
PLC from
other
companies
(Slave #2)
FANUC
Series 30i-A
(Slave #1)
Sensor from
other
companies
(Slave #3)
FANUC
Series 16i-B
(Slave #4)
NOTE
1 The DeviceNet function and PROFIBUS-DP function
cannot be used at the same time.
2 "DI" indicates an input viewed from the
corresponding device.
"DO" indicates an output viewed from the
corresponding device.
"Input signal" indicates an input view from the
master.
"Output signal" indicates an output view from the
master.
-7-
B-64044EN/02
Master
functions
0 to 63
0 to 63 (excluding the MAC ID
of the master)
63
128 bytes / 128 bytes
Poll I/O connection
Bit Strobe I/O connection
NOTE
In master functions, the maximum number of
slaves for which communication can be made and
the maximum size of DI/DO data per slave are
restricted as follows:
<1> The maximum total size of DI data of all slaves
is 320 bytes.
<2> The maximum total size of DO data of all
slaves is 320 bytes.
<3> The restrictions specified in <1> and <2> may
reduce the maximum number of slaves for
which communication can be made to less
than 63.
<4> The restrictions specified in <1> and <2> may
reduce the maximum size of DI data and DO
data to less than 128 bytes.
-8-
0 to 63
128 bytes / 128 bytes
Poll I/O connection
Bit Strobe I/O connection
II. SETTING
B-64044EN/02
SETTING
WARNING
Before starting operation, carefully confirm the
following conditions. Otherwise, a serious accident
may occur.
<1> Confirm that the signal functions correctly in a
safety status after setting the DI/DO data area.
<2> Confirm that the ladder program is designed so
that the system operates safely even in the
event of a communication failure.
- 11 -
1.1
SETTING
B-64044EN/02
NOTE
Before setting the bus parameter, the following
conditions must be satisfied.
<1> The MDI mode or emergency stop state is
entered.
<2> NETWORK on the BUS PARAMETER screen
is OFFLINE.
Before setting the slave parameter, the following
conditions must be satisfied.
<1> The MDI mode or emergency stop state is
entered.
<2> NETWORK on the BUS PARAMETER screen
is OFFLINE.
<3> COMMUNICATE on the SLAVE PARAMETER
screen is ENABLE.
When the bus parameter or slave parameter is
changed, "PW0000 POWER MUST BE OFF"
appears on the CNC ALARM MESSAGE screen.
For the changed parameters to take effect, turn the
CNC power off and back on again.
Procedure
1
Press soft keys [BUS PARAM] and [SLAVE PARAM] and then
enter the parameters for the setting items of all setting screens
that appear.
- 12 -
SYSTEM
SETTING
B-64044EN/02
Procedure
1
to
display
the
PAGE
PAGE
BUS
can be
Move the cursor to the item to set and then enter the parameter.
Screen 1-1
Press soft key [(OPRT)] as needed and then use the following
soft keys.
[NETWORK] :
[BAUDRATE] :
[DI DATA] :
- 13 -
SETTING
B-64044EN/02
Setting item
Item
Description
NETWORK
BAUDRATE
DI DATA ON
ABNORMAL
MAC ID (0 - 63)
COMMON
STATUS
ADDRESS
COMMON
STATUS SIZE
CYCLE TIME
(SETTING)
Display item
Item
Description
CYCLE TIME
(CURRENT)
CYCLE TIME
(MAXIMUM)
CYCLE TIME
(MINIMUM)
- 14 -
B-64044EN/02
SETTING
COMMON STATUS
This is status information found by the DeviceNet master. The
common status includes four types of status information: DeviceNet
MPU status 1, DeviceNet MPU status 2, master function status 1, and
slave communication states 1 to 8.
The common status occupies up to 14 bytes (size of the common
status), beginning with the common status address.
COMMON STATUS
COMMON STATUS ADDRESS
COMMON STATUS ADDRESS + 2
COMMON STATUS ADDRESS + 4
COMMON STATUS ADDRESS + 6
COMMON STATUS ADDRESS + 7
COMMON STATUS ADDRESS + 8
COMMON STATUS ADDRESS + 9
COMMON STATUS ADDRESS + 10
COMMON STATUS ADDRESS + 11
COMMON STATUS ADDRESS + 12
COMMON STATUS ADDRESS + 13
NOTE
For details on the DeviceNet daughter board, see
Subsection 1.1.1, "Part Layout on the DeviceNet
Master Board" in Part IV, "MAINTENANCE".
- 15 -
SETTING
B-64044EN/02
NOTE
For details on error records, see "MONITOR
screen" in Section 1.2, "MAINTENANCE SCREEN
OF THE DeviceNet MASTER FUNCTION".
Master function status 1
Bit 0
: A verification error has occurred.
(The DI/DO size set in the bus parameter differs
from that of the actual slave.)
Bit 1
: Reserved.
Bit 2
: An I/O communication error has occurred.
Bit 3 to Bit 11 : Reserved.
Bit 12
: Failed to set the communication cycle time.
Bit 13, Bit 14 : Reserved.
Bit 15
: I/O communication with one or more slaves is in
progress.
Slave communication state 1 (node number: 0 to 7)
Slave communication state 2 (node number: 8 to 15)
Slave communication state 3 (node number: 16 to 23)
Slave communication state 4 (node number: 24 to 31)
Slave communication state 5 (node number: 32 to 39)
Slave communication state 6 (node number: 40 to 47)
Slave communication state 7 (node number: 48 to 55)
Slave communication state 8 (node number: 56 to 63)
Bit 0
: Communication with the node with a node number
of ((N - 1) 8 + 0) is in progress.
Bit 1
: Communication with the node with a node number
of ((N - 1) 8 + 1) is in progress.
Bit 2
: Communication with the node with a node number
of ((N - 1) 8 + 2) is in progress.
Bit 3
: Communication with the node with a node number
of ((N - 1) 8 + 3) is in progress.
Bit 4
: Communication with the node with a node number
of ((N - 1) 8 + 4) is in progress.
Bit 5
: Communication with the node with a node number
of ((N - 1) 8 + 5) is in progress.
Bit 6
: Communication with the node with a node number
of ((N - 1) 8 + 6) is in progress.
- 16 -
B-64044EN/02
SETTING
Bit 7
CAUTION
Keep the following in mind when setting the
address and size of the common status.
<1> The R address or E address can be set.
For multipath PMC, the PMC address has the
following format.
<path-number>:<PMC-address>
For example, for the second path of PMC with
a PMC address of R0500, input "2:R500." If
only the PMC address is input, "R500" is
assumed as the address of the first path
(1:R0500).
When the ":" key is not present, use the "/" or
"EOB" key instead.
<2> Make sure that it does not overlap with the
input data (DI data) area or the detailed status
area of the DeviceNet master function.
<3> Make sure that it does not overlap with the
input data area of a ladder program.
<4> When using the DeviceNet slave function,
prevent overlapping with the DI/DO area or
status area of the DeviceNet slave function.
- 17 -
SETTING
B-64044EN/02
NOTE
For a network on which multiple masters are
present, follow a procedure as described below to
determine the communication cycle time.
Example)
To set the communication cycle time for a
network on which two masters are present:
<1> Configure a network with only this master
and the slaves that communicate with this
master.
<2> Set the communication cycle time of this
master to 0.
<3> Measure the maximum communication cycle
time (T1) of this master.
<4> Similarly, configure a network with only the
other master and the slaves that
communicate with the other master and
measure the maximum communication cycle
time (T2) of the other master.
<5> The communication cycle time of this master
is (T1 + T2 + ). The communication cycle
time of the other master is also (T1 + T2 +
). The value of represents an arbitrary
time value.
- 18 -
SETTING
B-64044EN/02
Procedure
1
PAGE
PAGE
Move the cursor to the item to set and then enter the parameter.
Screen 1-2
Press soft key [(OPRT)] as needed and then use the following
soft keys.
[COMMUNICATE]
- 19 -
SETTING
B-64044EN/02
Setting item
Item
Description
COMMUNICATE
DETAIL STATUS
ADDRESS
DI ADDRESS
DI SIZE
DO ADDRESS
DO SIZE
Display item
Item
Description
- 20 -
SETTING
B-64044EN/02
CAUTION
Keep the following in mind when setting the
address and size of the detailed status.
<1> The R address or E address can be set.
For multipath PMC, the PMC address has the
following format.
<path-number>:<PMC-address>
For example, for the second path of PMC with
a PMC address of R0500, input "2:R500." If
only the PMC address is input, "R500" is
assumed as the address of the first path
(1:R0500).
When the ":" key is not present, use the "/" or
"EOB" key instead.
<2> Make sure that it does not overlap with the
input data (DI data) area or the common status
area of the DeviceNet master function.
<3> Make sure that it does not overlap with the
input data area of a ladder program.
<4> When using the DeviceNet slave function,
prevent overlapping with the DI/DO area or
status area of the DeviceNet slave function.
- 21 -
SETTING
B-64044EN/02
DI DATA
This is input data of the DeviceNet master function. Data transferred
from a slave is stored in the PMC area as input data (DI data).
CAUTION
Keep the following in mind when setting the
address and size of the DI data.
<1> The R address or E address can be set.
For multipath PMC, the PMC address has the
following format.
<path-number>:<PMC-address>
For example, for the second path of PMC with
a PMC address of R0500, input "2:R500." If
only the PMC address is input, "R500" is
assumed as the address of the first path
(1:R0500).
When the ":" key is not present, use the "/" or
"EOB" key instead.
<2> Make sure that it does not overlap with the
common status area or the detailed status
area.
<3> Make sure that it does not overlap with the
input data area of a ladder program.
<4> Make sure that it does not overlap with the DI
data area of another slave.
<5> When using the DeviceNet slave function,
prevent overlapping with the DI/DO area or
status area of the DeviceNet slave function.
NOTE
The following restrictions are imposed on the
maximum size of DI data per slave.
<1> The maximum total size of DI data of all slaves
is 320 bytes.
<2> The restriction in <1> may reduce the
maximum size of DI data per slave to less than
128 bytes.
- 22 -
B-64044EN/02
SETTING
DO DATA
This is output data of the DeviceNet master function. The data stored
in the PMC area is transferred to a slave as output data (DO data).
CAUTION
Keep the following in mind when setting the
address and size of the DO data.
<1> The R address or E address can be set.
For multipath PMC, the PMC address has the
following format.
<path-number>:<PMC-address>
For example, for the second path of PMC with
a PMC address of R0500, input "2:R500." If
only the PMC address is input, "R500" is
assumed as the address of the first path
(1:R0500).
When the ":" key is not present, use the "/" or
"EOB" key instead.
<2> When using the DeviceNet slave function,
prevent overlapping with the DI/DO area or
status area of the DeviceNet slave function.
NOTE
The following restrictions are imposed on the
maximum size of DO data per slave.
<1> The maximum total size of DO data of all
slaves is 320 bytes.
<2> The restriction in <1> may reduce the
maximum size of DO data per slave to less
than 128 bytes.
SELECT NODE
When you press soft key [SELECT NODE] after entering the node
number (MAC ID) of a slave with the MDI key, the SLAVE
PARAMETER screen of the corresponding node number appears.
PREV NODE
When you press soft key [PREV NODE], the SLAVE PARAMETER
screen of the number before the current node number appears.
NEXT NODE
When you press soft key [NEXT NODE], the SLAVE PARAMETER
screen of the number next to the current node number appears.
- 23 -
1.2
SETTING
B-64044EN/02
Procedure
1
- 24 -
SYSTEM
SETTING
B-64044EN/02
Procedure
1
Screen 1-3
Press soft key [(OPRT)] as needed and then use the following
soft keys.
- 25 -
SETTING
B-64044EN/02
Display item
Item
Description
NODE NO.
STATUS
RETRY COUNT
VENDOR ID
DEVICE TYPE
PRODUCT CODE
SELECT NODE
When you press soft key [SELECT NODE] after entering the node
number (MAC ID) of a slave with the MDI key, the detailed
information (STATUS, RETRY COUNT, VENDOR ID, DEVICE
TYPE, and PRODUCT CODE) on the corresponding node number is
displayed.
- 26 -
SETTING
B-64044EN/02
MONITOR screen
Procedure
1
Screen 1 - 4
Press soft key [(OPRT)] as needed and then use the following
soft keys.
- 27 -
SETTING
B-64044EN/02
Display item
Item
Description
MPU STATUS1
MPU STATUS2
MASTER
STATUS1
CAN RECV
COUNTER
CAN SEND
COUNTER
CAN RECV
ERROR
COUNTER
CAN SEND
ERROR
COUNTER
FIRMWARE
VERSION
RECORD N
(N=1-8)
NOTE
Controller Area Network (CAN) is a communication
technology for signal control and media access
control adopted in the DeviceNet standard.
- 28 -
SETTING
B-64044EN/02
DETAIL CODE
Upper byte
Lower byte
0211H
Local MAC ID
00H
0340H
00H
00H
0341H
00H
00H
0342H
00H
00H
0344H
00H
00H
0345H
01H
Slave MAC ID
Description
Duplicate MAC IDs
There is an MAC ID on the network that is the
same as the local MAC ID.
Busoff detection
Communication stopped because a communication
error occurred frequently.
Network power failure
Power for communication is not successfully
supplied.
Transmission error
A transmission timed out.
Verification error
The DI/DO size set in the bus parameter differs
from that of the actual slave.
I/O communication error
An I/O communication error occurred on the slave
indicated by "Slave MAC ID."
CLEAR
When you press soft key [CLEAR], all records are cleared to 0.
- 29 -
1.3
SETTING
B-64044EN/02
PMC
PMC
Communication processing
Refreshing
Processing
by the
ladder program
DeviceNet
DeviceNet
master
function
Register
(memory)
......
Slave
Input
signal
Slave
Output
signal
Fig. 1.3(a) Input signal and output signal viewed from the master
- 30 -
Slave
SETTING
B-64044EN/02
Tin-out
Processing by the ladder program
PMC
Register
Tin3
Tout1
Refreshing
DeviceNet
master
function
CNC
Tout2
Tin2
Communication processing
.......
Slave
Slave
Slave
Tout3
Tin1
Input signal Output signal
Fig. 1.3(b) Input/output response time
- 31 -
SETTING
B-64044EN/02
Refreshing time
This is the time from when the DeviceNet master function updates all
DeviceNet-related DI/DO data assigned to PMC registers until DI/DO
data is updated again. The refreshing time varies with the sum of the
size of DI/DO data of the slave to be communicated.
This value is the maximum value of Tin3 and Tout1.
Sum of DI/DO data sizes
Refreshing time
1 to 80 bytes
81 to 160 bytes
161 to 240 bytes
241 to 320 bytes
8 ms
16 ms
24 ms
32 ms
- 32 -
SETTING
B-64044EN/02
Content of register A:
Content of register B:
0
0
((m+1)th)
2
((m+2)th)
2
1, 1
(nth)
2, 2
2, 1
((n+1)th)
((n+2)th)
3, 3
((n+3)th)
Transferred to slave
The upper part of the figure indicates that processing by the ladder
program is performed periodically and writing to register A or register
B in the PMC is performed in the ladder program.
The middle part indicates that how register A and register B are
updated in this case. There are differences in the timing in which data
is written to register A or register B even in the same execution cycle
of the ladder program, so register A and register B are not updated at
the same time.
The lower part indicates that refreshing by the DeviceNet master
function is cyclically made to read data in register A and register B.
Since register A and register B are not updated at the same time, for
example, in the case of (n +1)-th refreshing, the data written by one
execution of the ladder program cannot be read as one set.
Conversely, when input signals from a slave are processed in the
ladder program, the data written by one execution of refreshing may
not be read by one execution of the ladder program.
- 33 -
SETTING
B-64044EN/02
CAUTION
Refreshing by the DeviceNet master function is
made asynchronously with the execution of the
ladder program. Therefore, keep the following in
mind when creating a ladder program.
<1> When a DeviceNet input signal set in the
specified PMC address is read from two points
in the ladder program, even if the ladder
program can be executed in one cycle, there is
no guarantee that the same value can be read.
<2> When the ladder program writes an output
signal to DeviceNet in the specified PMC
address, the signal may be transferred to a
slave device before the ladder program is
completely executed.
- 34 -
B-64044EN/02
SETTING
Simultaneousness of data
When DI data or DO data is handled with the ladder program, the
simultaneousness of long data (4-byte data) and word data (2-byte
data) is guaranteed (there is no data spikes) under the corresponding
constraints.
CAUTION
If the following constraints are not satisfied, the
simultaneousness of long data or word data is not
guaranteed.
- 35 -
SETTING
B-64044EN/02
Occurrence of an
error
Yes
Bit
is ON
on.
Bit 00
No
Yes
Bit
is ON
on.
Bit 11
No
Bit 2 is on.
No
Normal
Setting errors
Other
errors
Memory
error
Busoff error
MAC ID duplication
Network power failure
Transmission error
- Verification error
- Failure in the setting
of the communication
cycle time
I/O
communication
error
CAUTION
Before referencing DI data in the ladder program, make sure that communication is
normal by monitoring COMMON STATUS or DETAIL STATUS with the ladder
program. The DI DATA ON ABNORMAL setting on the BUS PARAMETER screen
specifies whether DI data is restored to the previous status or cleared to 0 in the
event of a communication failure. Create a ladder program so that the system
operates safely even in the event of a communication failure with this setting
carefully considered.
- 36 -
B-64044EN/02
SETTING
WARNING
Before starting operation, carefully confirm the
following conditions. Otherwise, a serious accident
may occur.
<1> Confirm that the signal functions correctly in a
safety status after setting the DI/DO data area.
<2> Confirm that the ladder program is designed so
that the system operates safely even in the
event of a communication failure.
NOTE
1 "DI" represents output data in terms of the master
device.
2 "DO" represents input data in terms of the master
device.
- 37 -
2.1
SETTING
B-64044EN/02
NOTE
1 Before changing a parameter on the SETTING
screen, make sure that the system is in the MDI
mode or the emergency stop status.
2 When a parameter is changed on the SETTING
screen, "PW0000 POWER MUST BE OFF"
appears on the CNC ALARM MESSAGE screen.
For the changed parameters to take effect, turn the
CNC power off and back on again.
SETTING screen
Procedure
1
- 38 -
SYSTEM
SETTING
B-64044EN/02
Move the cursor to the item to set and then enter the parameter.
Screen 2-1
Press soft key [(OPRT)] as needed and then use the following
soft keys.
[BAUDRATE] :
[DI DATA] :
- 39 -
SETTING
B-64044EN/02
Setting item
Item
Description
BAUDRATE
DI DATA ON
ABNORMAL
MAC ID (0 - 63)
DI ADDRESS
DI SIZE
DO ADDRESS
DO SIZE
STATUS
ADDRESS
STATUS SIZE
- 40 -
SETTING
B-64044EN/02
STATUS INFORMATION
The status information consists of the five bytes below.
STATUS
STATUS ADDRESS
STATUS ADDRESS + 1
STATUS ADDRESS + 2
STATUS ADDRESS + 3
STATUS ADDRESS + 4
Status (1 byte)
DeviceNet MPU status (1 byte)
DeviceNet MPU status transition (1 byte)
DeviceNet MPU alarm code (1 byte)
DeviceNet MPU version information (1 byte)
Status
Indicates the communication status of the DeviceNet slave board.
00H : Communication is under preparation and I/O
communication is not in progress
01H : I/O communication with the master station is in progress.
03H : A communication error occurred.
Check the DiviceNet MPU status transition and
DeviceNet MPU alarm code.
- 41 -
SETTING
B-64044EN/02
DeviceNet MPU
Status
Status
transition
Alarm
code
00H
01H
00H
00H
02H
00H
03H
00H
04H
00H
05H
00H
06H
00H
07H
00H
00H
to
07H
0DH
82H
0BH
00H
01H
03H
- 42 -
SETTING
B-64044EN/02
DeviceNet MPU
Status
Status
transition
Alarm
code
83H
0CH
Others
Others
03H
Busoff detected
Frequent communication errors occurred and communication stopped.
When the system stops in this status, confirm the following and then turn the
slave power off and back on again.
The baud rate settings of all nodes are the same.
The cable length is appropriate.
Cable looseness or breaks are not present.
Terminals are present only at both ends of the trunk.
There is not much noise.
Other unrecoverable errors
Any of other unrecoverable failures occurred on the DeviceNet slave board.
When the system stops in this status, remove the noise factor and then turn the
slave power off and back on again.
When the error persists even after removal of the noise factor, replace the
DeviceNet slave board.
CAUTION
To set the DI/DO data area and status address
area, keep the following in mind.
<1> The R address or E address can be set.
For multipath PMC, the PMC address has the
following format.
<path-number>:<PMC-address>
For example, for the second path of PMC with
a PMC address of R0500, input "2:R500." If
only the PMC address is input, "R500" is
assumed as the address of the first path
(1:R0500).
When the ":" key is not present, use the "/" or
"EOB" key instead.
<2> Make sure that the DI data area, DO data area,
and status area do not overlap each other.
<3> Make sure that these areas do not overlap with
areas used by the ladder program or the like.
<4> Make sure that these areas do not overlap with
DI/DO data areas or status area of the
DeviceNet master function when using the
DeviceNet master function.
- 43 -
2.2
SETTING
B-64044EN/02
MONITOR screen
Procedure
1
SYSTEM
Screen 2 - 2
- 44 -
B-64044EN/02
SETTING
Display item
Item
Description
STATUS
MPU STATUS
MPU STATE
MPU ALARM
CODE
MPU VERSION
INFO
VENDOR ID
DEVICE TYPE
PRODUCT CODE
SERIAL NO.
- 45 -
2.3
SETTING
B-64044EN/02
Processing by the
ladder program
Refreshing
Slave
Slave
DeviceNet
slave function
Output
signal
Input
signal
Register
(memory)
......
Communication
processing by the master
Input signal
Output
signal
Master
Fig. 2.3(a) Input signal and output signal viewed from the master
- 46 -
SETTING
B-64044EN/02
Tin-out
Processing by the ladder program
PMC register
DI
DO
Tout1
Tin3
Refreshing
DeviceNet slave
CNC slave
function
Slave
Slave
.......
Tin2
Master
Tout2
DeviceNet
master function
Tin1
Tout3
Output
Input
- 47 -
SETTING
B-64044EN/02
Refreshing time
This is the time from when the DeviceNet slave function updates all
DeviceNet-related DI/DO data assigned to PMC registers until DI/DO
data is updated again.
This value is the maximum value of Tin3 and Tout1.
NOTE
For this DeviceNet slave function, the refresh time
is 8 msec. When on a DI/DO address assigned on
the setting screen is not 4-byte aligned, however, a
refresh time of 8 msec is not guaranteed.
4-byte aligned example)
1:R0000, 2:R0004, 3:R0008, 1:E0000
- 48 -
SETTING
B-64044EN/02
Ladder program processing (CNC slave) and refreshing by the DeviceNet slave
function
Processing by the ladder program and refreshing by the DeviceNet
slave function operate asynchronously with one another. Processing
by the ladder program can operate independently of refreshing by the
DeviceNet slave function, so the ladder program can be repeatedly
executed at high-speed.
Fig. 2.3 (c) shows a time chart of the internal operation of the CNC
with signals output from the ladder program.
(mth)
1
Content of register A:
Content of register B:
0
0
((m+1)th)
2
((m+2)th)
2
1, 1
(nth)
2, 2
2, 1
((n+1)th)
((n+2)th)
3, 3
((n+3)th)
Transferred to master
The upper part of the figure indicates that processing by the ladder
program is performed periodically and writing to register A or register
B in the PMC is performed in the ladder program.
The middle part indicates that how register A and register B are
updated in this case. There are differences in the timing in which data
is written to register A or register B even in the same execution cycle
of the ladder program, so register A and register B are not updated at
the same time.
The lower part indicates that refreshing by the DeviceNet slave
function is cyclically made to read data in register A and register B.
Since register A and register B are not updated at the same time, for
example, in the case of (n +1)-th refreshing, the data written by one
execution of the ladder program cannot be read as one set.
Conversely, when input signals from a master are processed in the
ladder program, the data written by one execution of refreshing may
not be read by one execution of the ladder program.
- 49 -
SETTING
B-64044EN/02
CAUTION
Refreshing by the DeviceNet slave function is
made asynchronously with the execution of the
ladder program. Therefore, keep the following in
mind when creating a ladder program.
<1> When a DeviceNet input signal set in the
specified PMC address is read from two points
in the ladder program, even if the ladder
program can be executed in one cycle, there is
no guarantee that the same value can be read.
<2> When the ladder program writes an output
signal to DeviceNet in the specified PMC
address, the signal may be transferred to a
slave device before the ladder program is
completely executed.
- 50 -
B-64044EN/02
SETTING
Simultaneousness of data
When DI data or DO data is handled with the ladder program, the
simultaneousness of long data (4-byte data) and word data (2-byte
data) is guaranteed (there is no data spikes) under the corresponding
constraints.
CAUTION
If the following constraints are not satisfied, the
simultaneousness of long data or word data is not
guaranteed.
- 51 -
SETTING
B-64044EN/02
CAUTION
Before referencing DI data in the ladder program,
make sure that communication is normal by
monitoring "STATUS INFORMATION with the
ladder program.
The DI DATA ON ABNORMAL setting on the
SETTING screen specifies whether DI data is
restored to the previous status or cleared to 0 in
the event of an communication failure. Create a
ladder program so that the system operates safely
even in the event of a communication failure with
this setting carefully considered.
NOTE
When DI DATA ON ABNORMAL is set to CLEAR
on the SETTING screen, if the first byte of the
status information is not 01H, DI data is cleared.
- 52 -
III. CONNECTION
B-64044EN/02
CONNECTION
CAUTION
The following provides descriptions of the
DeviceNet connection devices below, which are
not supplied by FANUC. Please purchase these
connection devices complying with the DeviceNet
standard as needed from other companies.
- Communication cable
- Power supply for communication
- Terminator
- T-branch tap
- Power tap
- Crimp terminal
- 55 -
1.1
CONNECTION
B-64044EN/02
DeviceNet CABLES
DeviceNet cables include thick-wire and thin-wire cables. A
thick-wire cable is normally used as a long main line. Since a
thin-wire cable is more flexible than a thick-wire cable, it is normally
used as a branch line or can also be used as a short main line.
These cables must comply with the DeviceNet standards.
- 56 -
1.2
CONNECTION
B-64044EN/02
Terminator
Node
T-branch tap
Node
Node
Branch
length
T-branch tap
Branch
length
Power supply for
communication
Node
As shown below, the maximum cable length varies with the type of a
cable.
Cable type
500 m
100 m
NOTE
When the maximum network length is 100 m or
less, a thin-wire cable can be used as a main line.
In this case, prevent the limit values from being
exceeded while keeping the maximum current
capacity of the cable in mind.
- 57 -
CONNECTION
B-64044EN/02
Maximum network
length when using
only thick-wire cables
500 K bits/sec
250 K bits/sec
125 K bits/sec
100m
250m
500m
100m
NOTE
When thick-wire cables and thin-wire cables are
mixed:
Thick-wire cables and thin-wire cables can be
mixed for connection between two nodes that are
most distant. In this case, however, the lengths of
the cables must satisfy the following expression.
The maximum network length is shorter as
compared with the case where only thick-wire
cables are used.
In addition, the maximum current capacity of each cable must not be
exceeded.
Communication rate
500 K bits/sec
250 K bits/sec
125 K bits/sec
100m
25m
40m
Node
T-branch tap
Node
3m
2m
1m
Terminator
T-branch tap
5m
Node
Branch
length
Node
Communication
rate
Enabled/
Disabled
500 K bits/sec
250 K bits/sec
125 K bits/sec
Disabled
Enabled
Enabled
- 58 -
B-64044EN/02
CONNECTION
Main line
T-branch
tap A
4m
T-branch
tap B
1m
T-branch tap
Branch length
(Max. 6m)
2m
Node
Node A
Node B
1m
Node C
Branch
length
500 K bits/sec
250 K bits/sec
125 K bits/sec
39m
78m
156m
Sample calculation
Terminator
Terminator
T-branch
tap A
4mA
T-branch
tap B
1m
2m
Node A
Node B
1m
Node C
T-branch
tap C
6m
Between T-branch tap A and T-branch tap B: 4 m
Between T-branch tap B and node A: 2m
Node D Between T-branch tap B and node B: 1m
Between node B and node C: 1m
Between T-branch tap C and node D: 6m
The total branch line length is 12 m.
- 59 -
1.3
CONNECTION
B-64044EN/02
TERMINATOR
Both ends of a main line must have terminators to reduce the
reflection of a signal and stabilize communication. The end of a
branch line does not need to be terminated, so do not attach a
terminator. A terminator is required only both ends of a main line.
The specifications and connection method of terminators are shown
below.
CAN L(2)
R=121, 1/4W
Allowable resistance difference:1%
Metal coating
CAN H(4)
NOTE
A number enclosed in parentheses is a connector
pin number.
A terminators must be attached within 1 m from the end (node or
T-branch tap) of a main line.
1m
Terminator
T-branch tap
Node
- 60 -
1.4
CONNECTION
B-64044EN/02
CONNECTORS
Connector
DeviceNet interface connector
1 2 3
4 5
Terminal
number
Signal
name
Color
code
Signal type
1
2
3
4
5
VCAN L
SHIELD
CAN H
V+
Black
Blue
Bare
White
Red
1.5
CONNECTION
B-64044EN/02
Power for
communication
V- V+ FG
Class-3 ground
Connector
1 2 3 4 5
Drain wire/shield
Signal line (CAN_L)
Signal line (CAN_H)
Power line (V-)
Power line (V+)
Grounding of a network
It is recommended in the DeviceNet standard that grounding be
performed only in one place on a network to prevent a ground loop
from being formed and that grounding be performed in about the
center of a network. As shown above, connect the shield line of the
cable to the ground terminal (FG) of the power supply for
communication and perform class-3 ground.
When using multiple power supplies for communication, connect the
shield line to the ground terminal of the power supply that locates near
the center of a network and perform class-3 ground for the frame
ground terminals of the other power supplies without connecting to
the shield line. In addition, when using multiple power supplies for
communication, use the special power tap from other companies.
One power supply for communication
-branch tap or power tap
Master
Power
supply
Slave
Power tap
Master Power
supply
- 62 -
Slave Power
supply
Slave
Power
supply
B-64044EN/02
CONNECTION
CAUTION
Be sure to connect the shield line of each
communication cable. If all shield lines are not
connected, the shielding effect of the whole
network will be reduced.
- 63 -
1.6
CONNECTION
B-64044EN/02
CABLE CLAMP
A cable clamp has a shielding effect in addition to supporting a 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
- 64 -
B-64044EN/02
1.7
CONNECTION
Output voltage
Output current
Input fluctuation
Load fluctuation
Effect of ambient
temperature
Output ripple
Output side capacity
Ambient temperature
Instantaneous maximum
output current
Protection against
overvoltage
Protection against
overcurrent
Startup time
Overshoot at startup
Insulation
Complying standard
Ambient humidity
Surge current
Specification
24VDC1%
16A or less
Max. 0.3%
Max. 0.3%
Max. 0.03%/C
250mVp-p
Max. 7000F
Use
: 0 to 58C
Storage : -40 to 85C
Less than 65 A (peak)
Enabled
Enabled (maximum current 125)
250 ms until 5% of the final output current is
achieved
Max. 0.2
Between output and AC power and between
output and cabinet ground
Required
:
Recommended : FCC Class B, CSA, TUV, VDE
30 to 90% (non-condensing)
10%
Power must be supplied from the main line to nodes. The maximum
current capacity of a communication cable is 8 A for thick-wire cables
or 3 A for thin-wire cables.
The power supply for communication can be connected in various
layouts depending on the power requirement of the user.
The current capacity of a branch line varies with the branch line length.
The maximum power capacity of a branch line is reduced as the
branch length increases. This is the same when either a thick-wire
cable or a thin-wire cable is used. The capacity of current "I" that can
pass through one branch line (sum of current used for each branch
line) can be obtained with the following expression.
I = 4.57/L I : Allowable current (A)
L : Branch length (m)
- 65 -
1.7.1
CONNECTION
B-64044EN/02
- 66 -
B-64044EN/02
1.7.2
CONNECTION
Terminator
Power supply
Node
Node for
Terminator
Node
Node
Node
communication
(2) When nodes are placed on one end of the power supply
NOTE
Configuration (1) is recommended when power is
supplied to many nodes by one power supply.
Power tap
or T-branch tap
Terminator
Terminator
Power supply
Node
for
communication
Node
Node
Node
Node
System 2
Terminator
Power tap
Power tap
Terminator
Power supply
for
communication
Node
Power supply
Node for
Node
Node
Node
communication
Fuse
V+
V-
- is common to system 1
and system 2.
24V 0V
- 67 -
CONNECTION
B-64044EN/02
Power tap
Terminator
Terminator
Power supply
Node
for
communication
Node
Node
Node
Node
Power supply
for
communication
NOTE
When the amount of current passing through
thick-wire cables are more than 8 A even if the
position of the power supply for communication is
changed, use multiple power supplies to satisfy the
power supply conditions.
When thick-wire cables are used in configuration
(1), up to 8 A of current can be supplied to the
main line on either side of the power supply.
Therefore, a configuration that uses current of up
to 16 A is allowed.
When a thin-wire cable is used as the main line, if
the amount of current passing through the thin-wire
cable is more than 3 A, consider replacement with
a thick-wire cable to satisfy the conditions.
- 68 -
B-64044EN/02
CONNECTION
NOTE
For each branch line, it is necessary to satisfy the
conditional expression for obtaining the current
capacity of the branch line using the branch length.
Distance from the power supply
to the farthest node or branch
tap on the main line
Terminator
Power tap
Node
Node
Node
Node
Terminator
Power supply
for
communication
Even when the power supply conditions are not satisfied by rough
calculation by the graph, the conditions may be satisfied by
calculation by the expression. In this case, the assumed power supply
layout has no problem.
NOTE
When the power supply for communication also
supplies power to the NC, rough calculation by the
graph cannot be used. Use the expression.
- 69 -
B-64044EN/02
Distance (m)
0
25
50 100 150 200 250 300 350 400 450 500
Max. current (A) 8.00 8.00 5.42 2.93 2.01 1.53 1.23 1.03 0.89 0.78 0.69 0.63
8
7
Max. current (A)
6
5
4
3
2
1
0
0
50
100
150
200
250
300
350
400
70
0.91
80
0.80
70
80
450
500
D is ta n c e ( m )
Distance (m)
Max. current (A)
10
3.00
20
3.00
30
2.06
40
1.57
50
1.26
40
50
60
1.06
90
0.71
100
0.64
3
Max. current (A)
1.7.3
CONNECTION
0
0
10
20
30
60
Distance (m)
- 70 -
90
100
B-64044EN/02
CONNECTION
NOTE
The graph referenced depends on the type of a
cable (thick-wire or thin-wire cable) used as the
main line.
Action
If the sum of power consumption (A) calculated in (1) is greater than
the maximum amount of current (B) obtained from the graph in (2) (A
> B), try to take the following actions.
- 71 -
CONNECTION
B-64044EN/02
Terminator
0.1A
Node
Node
0.25A
0.05A
Node
Terminator
0.25A
Main cable (5-wire cable)
Terminator Node
0.1A
Node
0.45A
3 m or
less
120m
Node
Power supply
for
communication
0.25A
Node
Terminator
0.3A
Main cable (5-wire cable)
B-64044EN/02
CONNECTION
- When there are differences in total power consumption between the left side and
the right side (example 3)
The following provides an example of placing the power supply for
communication at a point slightly displaced from the center of a
network using a thick-wire cable (THICK cable) with a total extended
length of 240 m for supplying power.
Power on one side may become insufficient even though the power
supply for communication is placed in the center. This is because
there are differences in total power consumption between the left and
the right. In this case, try to displace the power supply slightly from
the center to satisfy the conditions.
Power consumption for each node is assumed as shown below.
When the power supply is placed in the center
Power tap
120m
Terminator Node
1.1A
Node
Node
1.25A
0.5A
120m
3 m or less
Node
Node
Node
Terminator
0.25A
0.85A
Main cable (5-wire cable)
Terminator Node
1.1A
Node
1.25A
Power tap
3 m or less
Power supply for
communication
140m
Node
Terminator
Node
Node
Node
0.5A
0.25A
0.25A
0.85A
Main cable (5-wire cable)
CONNECTION
B-64044EN/02
(On the right side, these values are obtained by liner approximation
between 100 m and 150 m.)
This satisfies "Total power consumption < Maximum current" on both
ends and power can be supplied to all nodes.
1.7.4
V2
Voltage drop VB of VVoltage supplied to each node
- 74 -
B-64044EN/02
CONNECTION
Expression
First, measure the distances between the power supply and the nodes
and the current consumption of communication units of the nodes.
Check whether the following expression is satisfied. If it is satisfied,
the conditions for supplying power for each node are satisfied.
However, be careful not to exceed the maximum current capacity of a
cable (8 A for thick-wire cables or 3 A for thin-wire cables).
This expression cannot be used when the same power supply is used
for communication and the NC, so make another review.
When nodes are placed on only one side of the power supply (sample
configuration 1)
50m
30m
Power
tap
1m
Main cable:
thick-wire
Terminator
Terminator
50mA
Node
30mA
Node
50mA
Node
40mA
Node
30mA
Node
50mA
Node
40mA
Node
Power supply for
communication
5
nodes
<Group 1>
50mA+40mA5=250mA
30mA
Node
8
nodes
<Group 2>
30mA8=240mA
50mA
Node
10
nodes
<Group 3>
50mA10=500mA
- 75 -
CONNECTION
B-64044EN/02
When nodes are places on both sides of the power supply (sample
configuration 2)
System 1
System 2
30m
20m
Terminator
Main cable:
thick-wire
Terminator
Power
tap
50mA
Node
Branch line:
thin-wire cable
40mA
Node
40mA
Node
Power supply for
communication
10m
30mA
Node
50mA
Node
30mA
Node
50mA
Node
5 nodes
<Group 1>
50mA+40mA5=250mA
8
nodes
10 nodes
30mA
Node
50mA
Node
<Group 2>
30mA8=240mA
<Group 3>
50mA10=500mA
Calculate the voltage drop for each group for each system.
Group 1 in system 1: (200.015+10.005)0.250.07625 V
Group 2 in system 2: (100.015+10.005)0.240.0372V
Group 3 in system 2: (300.015+20.005)0.500.23V
Voltage drop in system 1 = 0.07625 V 4.65 V
Sum of voltage drops in system 2 = 0.0372 V+0.23=0.2672 V 4.65V
Therefore, the conditional expression is satisfied in both systems.
1.7.5
5-wire cable
A side
V+
CAN H
Shield
CAN L
V-
Power tap
Fuse A Fuse B
V+
CAN H
Shield
CAN L
V-
5-wire cable
B side
Shotkey
diode
Ground V- V+
terminal
Power supply unit
- 76 -
B-64044EN/02
1.7.6
CONNECTION
- 77 -
2.DeviceNet BOARD
CONNECTION
B-64044EN/02
DeviceNet BOARD
This chapter describes the specifications, installation, and mounting of
the DeviceNet master board and DeviceNet slave board for the Series
30i/31i/32i.
- 78 -
2.1
2.DeviceNet BOARD
CONNECTION
B-64044EN/02
SPECIFICATION
Specification
DeviceNet (Master) for Series 30i/31i/32i
Series 30i/31i/32i A
(common to LCD-mounted
A02B-0303-J301
type / stand-alone type)
Hardware drawing
number
A20B-8101-0220
Specification
DeviceNet (Slave) for Series 30i/31i/32i
Series 30i/31i/32i A
(common to LCD-mounted
A02B-0303-J302
type / stand-alone type)
Hardware drawing
number
A20B-8101-0330
2.2
INSTALLATION
2.2.1
Environmental Conditions
When using the DeviceNet master board and DeviceNet slave board,
satisfy the installation conditions (environmental conditions in the
cabinet) of the CNC control unit in which the board is included.
- 79 -
2.DeviceNet BOARD
2.3
CONNECTION
B-64044EN/02
MOUNTING
Only one DeviceNet master board and DeviceNet slave board can be
installed in the Series 30i/31i/32i.
2.3.1
DeviceNet board
2.3.2
- 80 -
IV. MAINTENANCE
B-64044EN/02
MAINTENANCE
1.HARDWARE
HARDWARE
This chapter provides maintenance information on the DeviceNet
master board and DeviceNet slave board for the Series 30i/31i/32i.
- 83 -
1.HARDWARE
MAINTENANCE
B-64044EN/02
1.1
COMPONENT LAYOUT
1.1.1
LSI
Daughter board
From left to
right
LEDWD
LED3
LED2
LED1
LED0
NS MS (LED)
Outside line
connector
TBL
Face plate
Ordering information
Name
DeviceNet Master board
- 84 -
Specification
A20B-8101-0220
Remarks
1.1.2
1.HARDWARE
MAINTENANCE
B-64044EN/02
Green LED1
Green LED0
Red
Green LED2
Green
Green LED3
LED
Red
Green
LEDWD Red
LED
MS
NS
Ordering information
Name
DeviceNet Slave board
- 85 -
Specification
A20B-8101-0330
Remarks
1.HARDWARE
MAINTENANCE
B-64044EN/02
1.2
1.2.1
Color
Description
LED0 to LED3
Green
LEDWD
Red
MS
Red/Green
NS
Red/Green
LED display transition for LED0, LED1, LED2, and LED3 (during power-on)
LED indication
L3L2L1L0
- 86 -
B-64044EN/02
1.HARDWARE
MAINTENANCE
Status
Daughter board
failure
Description
The daughter board failed.
Replace the DeviceNet master board.
Status
Immediately after
power-on
Initializing
MS Green
NS Green
Checking
duplication of
MAC IDs
I/O communication
stopped
MS Green
NS Green
I/O communication
in advance
MS Green
NS
- 87 -
Description
The MPU on the daughter board is
being reset.
The firmware on the daughter board is
making a initialization.
The firmware on the daughter board is
checking duplicated MAC IDs.
The firmware on the daughter board is
stopping I/O communication.
The firmware on the daughter board is
successfully performing I/O
communication.
1.HARDWARE
MAINTENANCE
B-64044EN/02
Status
Daughter board
failure
Daughter board
failure
Duplicate MAC
IDs
MS
NS Red
Busoff detection
Network power
failure
MS
NS
Transmission error
MS
NS Red
I/O communication
error
- 88 -
1.2.2
1.HARDWARE
MAINTENANCE
B-64044EN/02
Color
LED0 to LED3
Green
LEDWD
Red
Green
Red
Green
MS
NS
Red
Description
Indicates the activation state of the DeviceNet
application software.
Indicates an error on the board.
Indicates the unit status, which is the status of
the local node.
Indicates the network status, which is the
status of the entire network including the local
node.
(Repetition)
- 89 -
Check the following and then turn the slave power off
and back on again.
MAC IDs are not duplicate by check the MAC IDs of
all nodes.
1.HARDWARE
LED indication
L3L2L1L0
MAINTENANCE
State and cause when
stopped after power-on
B-64044EN/02
Check the following and then turn the slave power off
and back on again.
The communication rates of all nodes are set to the
same value.
The cable length is appropriate.
The cable is not loose or broken.
A terminal is placed on only both ends of the main
line.
There are not much noise.
???
(Repetition)
Remove the noise factor and then turn the slave power
off and back on again.
When the error persists, replace the DeviceNet slave
board.
(Repetition)
An unrecoverable failure
occurred on the CNC side.
Contact FANUC.
(Repetition)
NOTE
For details on DeviceNet MPU status transition,
see DeviceNet MPU status transition and
DeviceNet MPU alarm codes in Section 2.1,
"DeviceNet SLAVE FUNCTION SETTING
SCREEN" in II "SETTING".
When a transition to the "I/O communication
normal" status is not made, confirm that the power
for communication is correctly supplied because a
network power failure may have occurred.
Status
Board failure
- 90 -
Description
Remove the noise factor and then turn
the slave power off and back on again.
When the error persists, replace the
DeviceNet slave board.
1.HARDWARE
MAINTENANCE
B-64044EN/02
Green
Red
Green
Red
MS
MS
NS
NS
Green
Red
Green
Red
MS
MS
NS
NS
MS
MS
NS
NS
Green
Red
Green
Red
Green
Red
Green
Red
Status
Immediately
after power-on
Communication
under
preparation
Description
The onboard firmware is being
initialized when the onboard MPU is in
the reset status or reset release
status.
The onboard firmware performs
processing in the order below.
<1> Waits for the DeviceNet
application software to be
initialized.
<2> Checks the baud rate.
<3> Checks MAC ID duplication.
Waiting for
establishment of
I/O
communication
to be established
I/O
communication
normal
I/O
communication
timeout
NOTE
For details on DeviceNet MPU status transition,
see DeviceNet MPU status transition and
DeviceNet MPU alarm codes in Section 2.1,
DeviceNet SLAVE FUNCTION SETTING
SCREEN in II SETTING.
When a transition to the I/O communication
normal status is not made, confirm that the power
for communication is correctly supplied because a
network power failure may have occurred.
- 91 -
1.HARDWARE
MAINTENANCE
B-64044EN/02
Status
Duplicate MAC
IDs
MS
MS
NS
NS
Green
Red
Green
Red
MS
MS
NS
NS
Green
Other
Red
unrecoverable
Green
onboard failures
Red
Busoff detection
- 92 -
APPENDIX
B-64044EN/02
USE IN A MULTI-VENDOR
ENVIRONMENT
Appendix A provides information required to connect FANUC
DeviceNet master devices and DeviceNet slave devices to other
companies' devices.
- 95 -
A.1
B-64044EN/02
Applicable DeviceNet
specifications
Vendor ID
Device type
Product code
Physical
conformance
data
24VDC 50mA
Open plug
Presence
- 96 -
Predefined master/
slave connection set
Dynamic connection support
(UCMM)
Explicit message
fragmentation
Module
Network
Parameter
0
Parameter
125 Kbps
250 Kbps
500 Kbps
Group 2 client
Group 2 only client
Enabled
Enabled
B-64044EN/02
A.2
Not supported.
Not supported.
Attribute
ID
Description
1
2
3
4
5
6
7
8
9
10
Vendor
Device Type
Product code
Revision
Status (bits supported)
Serial number
Product name
State
Configuration Consistency Value
Heartbeat Interval
5
14
DeviceNet service
Reset
Get_Attribute_Single
Object instance
Service
GET
O
O
O
O
O
O
O
X
X
X
Object class
Not supported.
Not supported.
Attribute
Service
Not supported.
Not supported.
Object instance
- 97 -
Value
X
X
X
X
X
X
X
X
X
X
591
12
2
1.2
Per board
A20B-8101-0220
Parameter option
None
None
Attribute
Service
SET
B-64044EN/02
ID
Description
Revision
14
DeviceNet service
Get_Attribute_Single
ID
Description
1
2
3
4
5
6
7
8
9
MAC ID
Baud rate
BOI
Bus-off counter
Allocation information
MAC ID switch changed
Baud rate switch changed
MAC ID switch value
Baud rate switch value
Service
GET
O
SET
Value
Parameter option
None
Object instance
Attribute
Service
GET
O
O
O
O
O
X
X
X
X
DeviceNet service
14
75
76
Get_Attribute_Single
Allocate_Master /
Slave_Connection Set
Release_Master /
Slave_Connection Set
- 98 -
SET
X
X
X
X
X
X
X
X
X
Value
0
0
Parameter option
None
None
None
B-64044EN/02
Not supported.
Not supported.
203
Object instance
Section
Instance type
Production trigger
Transport type
Transport class
Attribute
Information
Explicit Message
Cyclic
Server
3
ID
Description
GET
1
2
3
4
5
6
7
8
9
12
13
14
15
16
17
State
Instance_type
Transport_class_trigger
Produced_connection_ID
Consumed_connection_ID
Initial_comm_characteristics
Produced_connection_size
Consumed_connection_size
Expected_packed_rate
Watchdog_timeout_action
Produced_connection_path_length
Produced_connection_path
Consumed_connection_path_length
Consumed_connection_path
Production_inhibit_time
5
14
16
Reset
Get_Attribute_Single
Set_Attribute_Single
Service
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
DeviceNet service
- 99 -
SET
X
X
X
X
X
X
X
X
O
X
X
X
X
X
O
Value
0
131
33
533
555, 556, 557
1, 3
0
Blank
0
Blank
Parameter option
None
None
None
A.3
B-64044EN/02
Applicable DeviceNet
specifications
Vendor ID
Device type
Product code
Physical
conformance
data
24VDC 50mA
Open plug
Presence
- 100 -
Predefined master/
slave connection set
Dynamic connection support
(UCMM)
Explicit message
fragmentation
Module
Network
Parameter
0
Parameter
125 Kbps
250 Kbps
500 Kbps
Group 2 only server
None
Enabled
B-64044EN/02
A.4
Not supported.
Not supported.
Attribute
ID
Description
1
2
3
4
5
6
7
8
9
10
Vendor
Device Type
Product code
Revision
Status (bits supported)
Serial number
Product name
State
Configuration Consistency Value
Heartbeat Interval
5
14
DeviceNet service
Reset
Get_Attribute_Single
Object instance
Service
GET
O
O
O
O
O
O
O
X
X
X
Object class
Not supported.
Not supported.
Attribute
Service
Not supported.
Not supported.
Object instance
- 101 -
Value
X
X
X
X
X
X
X
X
X
X
591
12
3
1.1
bit0 bit10
Per board
A20B-8101-0330
Parameter option
None
None
Attribute
Service
SET
B-64044EN/02
ID
Description
Revision
14
DeviceNet service
Get_Attribute_Single
ID
Description
1
2
3
4
5
6
7
8
9
MAC ID
Baud rate
BOI
Bus-off counter
Allocation information
MAC ID switch changed
Baud rate switch changed
MAC ID switch value
Baud rate switch value
Service
GET
O
SET
Value
Parameter option
None
Object instance
Attribute
Service
GET
O
O
O
O
O
X
X
X
X
DeviceNet service
14
16
75
76
Get_Attribute_Single
Set_Attribute_Single
Allocate_Master /
Slave_Connection Set
Release_Master /
Slave_Connection Set
SET
O
O
X
X
X
X
X
X
X
Value
Parameter option
None
None
None
None
Not supported.
Not supported.
Object instance (*)
Section
Instance type
Attribute
Information
Static I/O
ID
Description
GET
1
2
3
Service
X
X
O
DeviceNet service
14
16
Get_Attribute_Single
Set_Attribute_Single
SET
Value
X
X
O
Parameter option
None
None
- 102 -
B-64044EN/02
Not supported.
Not supported.
1
Object instance 1
Section
Instance type
Production trigger
Transport type
Transport class
Attribute
Information
Explicit Message
Cyclic
Server
3
ID
Description
GET
1
2
3
4
5
6
7
8
9
12
13
14
15
16
17
State
Instance_type
Transport_class_trigger
Produced_connection_ID
Consumed_connection_ID
Initial_comm_characteristics
Produced_connection_size
Consumed_connection_size
Expected_packed_rate
Watchdog_time-out_action
Produced_connection_path_length
Produced_connection_path
Consumed_connection_path_length
Consumed_connection_path
Production_inhibit_time
5
14
16
Reset
Get_Attribute_Single
Set_Attribute_Single
Service
O
O
O
O
O
O
O
O
O
O
O
O
O
O
O
DeviceNet service
- 103 -
SET
X
X
X
X
X
X
X
X
O
O
X
X
X
X
X
Value
0
131
33
100
100
One of 1, 3
0
0
Parameter option
None
None
None
B-64044EN/02
Object instance 2
Section
Instance type
Production trigger
Transport type
Transport class
Attribute
Service
Information
Polled I/O
Cyclic
Server
2
ID Description
GET
SET
1
2
3
State
Instance_type
Transport_class_trigger
O
O
O
X
X
X
4
5
6
7
8
9
12
13
Produced_connection_ID
Consumed_connection_ID
Initial_comm_characteristics
Produced_connection_size
Consumed_connection_size
Expected_packed_rate
Watchdog_time-out_action
Produced_connection_path_length
O
O
O
O
O
O
O
O
X
X
X
X
X
O
X
X
14 Produced_connection_path
15 Consumed_connection_path_length
16 Consumed_connection_path
17 Production_inhibit_time
DeviceNet service
*2
1
130(Poll)
130(With CyclicACK)
146(With COSACK)
128(Without CyclicACK)
144(Without COSACK)
1
*1
*2
0
0(Without IN)
6(With IN)
No data(Without IN)
20_04_24_64_30_03(With IN)
0(Without OUT)
6(With OUT)
No data(Without OUT)
20_04_24_65_30_03(With OUT)
Parameter option
5 Reset
14 Get_Attribute_Single
16 Set_Attribute_Single
*1
Value
None
None
None
The number of IN bytes used with the specified path in the case
of "Poll"
When COS/Cyclic is not combined with "Poll", OUT (Consumed
connection) of Instance2 can be used. When using OUT, set
"Produced connection size" to 0.
The number of OUT bytes used with the specified path
- 104 -
B-64044EN/02
Object instance 3
Section
Instance type
Production trigger
Transport type
Transport class
Attribute
Information
Bit Strobed I/O
Cyclic
Server
2
ID
Description
GET
SET
Value
1
2
3
4
5
6
7
8
9
12
13
State
Instance_type
Transport_class_trigger
Produced_connection_ID
Consumed_connection_ID
Initial_comm_characteristics
Produced_connection_size
Consumed_connection_size
Expected_packed_rate
Watchdog_timeout_action
Produced_connection_path_length
O
O
O
O
O
O
O
O
O
O
O
X
X
X
X
X
X
X
X
O
X
X
14
15
16
17
Produced_connection_path
Consumed_connection_path_length
Consumed_connection_path
Production_inhibit_time
DeviceNet service
O
O
O
O
X
X
X
X
Parameter option
5
14
16
Reset
Get_Attribute_Single
Set_Attribute_Single
Service
*1
1
130
2
*1
2048
0
0(Without IN)
6(With IN)
20_04_24_64_30_03
0
No data
None
None
None
The number of IN bytes used with the specified path. When the
number of In bytes exceeds 8 bytes, this value is 08H.
- 105 -
B-64044EN/02
Object instance 4
Section
Instance type
Production trigger
Transport type
Transport class
Attribute
Service
Information
GET
SET
1
2
3
State
Instance_type
Transport_class_trigger
O
O
O
X
X
X
4
5
6
Produced_connection_ID
Consumed_connection_ID
Initial_comm_characteristics
O
O
O
X
X
X
7
8
9
12
13
Produced_connection_size
Consumed_connection_size
Expected_packed_rate
Watchdog_timeout_action
Produced_connection_path_length
O
O
O
O
O
X
X
O
X
X
14 Produced_connection_path
15 Consumed_connection_path_length
O
O
X
X
16 Consumed_connection_path
17 Production_inhibit_time
DeviceNet service
1
2(With CyclicACK)
34(With COSACK)
0(Without CyclicACK)
16(Without COSACK)
65535(Without ACK)
1(With ACK)
15(Without ACK)
*1
0
0
0(Without IN)
6(With IN)
Setting value
4(With ACK)
0(Without ACK)
20_0B_24_01(With ACK)
No data(Without ACK)
Parameter option
5 Reset
14 Get_Attribute_Single
16 Set_Attribute_Single
*1
Value
None
None
None
NOTE
Object instance 4 of the Connection object is not
supported.
- 106 -
B-64044EN/02
Not supported.
Not supported.
Attribute
ID
Description
1
2
3
Acknowledge Timer
Retry Timer
COS Producing Connection Instance
Object instance 1
Service
GET
O
O
O
DeviceNet service
14
16
Get_Attribute_Single
Set_Attribute_Single
SET
Value
O
O
O
Parameter option
None
None
NOTE
The Acknowledge Connection object is not
supported.
- 107 -
B.SETTING EXAMPLES
APPENDIX
B-64044EN/02
SETTING EXAMPLES
Appendix B provides setting examples to connect FANUC DeviceNet
master devices and DeviceNet slave devices to other companies'
devices.
- 108 -
APPENDIX
B-64044EN/02
B.1
B.SETTING EXAMPLES
(500Kbps)
FANUC
Series 30i-A
FANUC
Series 16i-B
(Slave #1)
(Slave #2)
Master #0
1:R0000
14
Common status
1:R0040
1
1:R000
1:R0041
1
Slave #1
Slave#1
Detailed status
for Slave #1
Detailed status
for Slave #2
Status
1:R010
DI for Master #0
DO for Master #0
1:R010
1:R0100
8
DO for Slave #1
1:R0108
8
DI for Slave #1
Slave #2
R0000
1:R0200
16
DO for Slave #2
1:R0216
16
DI for Slave #2
Status
R0200
DI for Master #0
16
DO for Master #0
16
R0216
- 109 -
B.SETTING EXAMPLES
APPENDIX
B-64044EN/02
- 110 -
B-64044EN/02
APPENDIX
B.SETTING EXAMPLES
- 111 -
B.SETTING EXAMPLES
APPENDIX
B-64044EN/02
- 112 -
INDEX
B-64044EN/02
INDEX
LED INDICATORS AND THEIR MEANINGS ............86
<A>
<M>
<C>
MASTER FUNCTION....................................................24
CABLE CLAMP............................................................. 64
SLAVE FUNCTION.......................................................44
COMPONENT LAYOUT............................................... 84
Systems ...........................................................................76
MOUNTING ...................................................................80
CONNECTORS .............................................................. 61
<D>
<N>
NOTE............................................................................. s-2
<O>
FUNCTION .................................................................... 96
DEVICE PROFILE OF THE DeviceNet SLAVE
DeviceNet BOARD......................................................... 78
ORGANIZATION ............................................................4
<P>
<E>
<R>
Environmental Conditions............................................... 79
<S>
<G>
GENERAL ........................................................................3
<H>
SPECIFICATION ...........................................................79
HARDWARE.................................................................. 83
<T>
TERMINATOR...............................................................60
Supply ............................................................................. 66
<U>
<I>
INSTALLATION............................................................ 79
<V>
<L>
i-1
Sep., 2005
Sep., 2004
Date
02
01
Edition
Correction of errors
Contents
Edition
Date
Contents
Revision Record