ControlNet Operator Manual (B-81584EN - 01)
ControlNet Operator Manual (B-81584EN - 01)
ControlNet Interface
OPERATOR’
OPERATOR’S MANUAL
B-81584EN/01
Ȧ No part of this manual may be reproduced in any form.
Ȧ All specifications and designs are subject to change without notice.
1 SAFETY PRECAUTIONS
For the safety of the operator and the system, follow all safety precautions when
operating a robot and its peripheral devices installed in a work cell.
s-1
SAFETY PRECAUTIONS B-81584EN/01
(1) Have the robot system operators attend the training courses held by FANUC.
FANUC provides various training courses. Contact our sales office for details.
(2) Even when the robot is stationary, it is possible that the robot is still ready to
move state and is waiting for a signal. In this state, the robot is regarded as still
in motion. To ensure operator safety, provide the system with an alarm to
indicate visually or aurally that the robot is in motion.
(3) Install a safety fence with a gate so that no operator can enter the work area
without passing through the gate. Equip the gate with an interlock that stops the
robot when the gate is opened.
The controller is designed to receive this interlock signal. When the gate is
opened and this signal received, the controller stops the robot in an
emergency. For connection, see Fig.1.1.
(4) Provide the peripheral devices with appropriate grounding (Class 1, Class 2, or
Class 3).
(5) Try to install the peripheral devices outside the work area.
(6) Draw an outline on the floor, clearly indicating the range of the robot motion,
including the tools such as a hand.
(7) Install a mat switch or photoelectric switch on the floor with an interlock to a
visual or aural alarm that stops the robot when an operator enters the work area.
(8) If necessary, install a safety lock so that no one except the operator in charge can
turn on the power of the robot.
s-2
B-81584EN/01 SAFETY PRECAUTIONS
(9) When adjusting each peripheral device independently, be sure to turn off the
power of the robot.
s-3
SAFETY PRECAUTIONS B-81584EN/01
The operator is a person who operates the robot system. In this sense, a worker who
operates the teach pendant is also an operator. However, this section does not apply
to teach pendant operators.
(1) If it is not necessary for the robot to operate, turn off the power of the robot
controller or press the EMERGENCY STOP button, and then proceed with
necessary work.
(2) Operate the robot system at a location outside the work area.
(3) Install a safety fence with a safety gate to prevent any worker other than the
operator from entering the work area unexpectedly and also to prevent the worker
from entering a dangerous area.
s-4
B-81584EN/01 SAFETY PRECAUTIONS
While teaching the robot, it is necessary for the operator to enter the work area of the
robot. It is particularly necessary to ensure the safety of the teach pendant operator.
(1) Unless it is specifically necessary to enter the robot work area, carry out all tasks
outside the area.
(2) Before teaching the robot, check that the robot and its peripheral devices are all in
the normal operating condition.
(3) When entering the robot work area and teaching the robot, be sure to check the
location and condition of the safety devices (such as the EMERGENCY STOP
button and the deadman’s switch on the teach pendant).
NOTE
The deadman's switch is provided so that the robot operation can be
stopped simply by releasing finger from the teach pendant in case of
emergency.
s-5
SAFETY PRECAUTIONS B-81584EN/01
(4) The teach pendant operator should pay careful attention so that no other workers
enter the robot work area.
NOTE
In addition to the above, the teach pendant enable switch and the
deadman's switch also have the following function.
By pressing the deadman's switch while the enable switch is on, the
emergency stop factor (normally the safety gate) connected to FENCE1
and FENCE2 of the controller is invalidated. In this case, it is possible
for an operator to enter the fence during teach operation without
pressing the EMERGENCY STOP button. In other words, the system
understands that the combined operations of pressing the teach
pendant enable switch and pressing the deadman's switch indicates
the start of teaching. The teach pendant operator should be well
aware that the safety gate is not functional under this condition and
bear full responsibility to ensure that no one enters the fence during
teaching.
(5) When entering the robot work area, the teach pendant operator should enable the
teach pendant whenever he or she enters the robot work area. In particular,
while the teach pendant enable switch is off, make certain that no start command
is sent to the robot from any operator’s panel other than the teach pendant.
The teach pendant, operator's box, and peripheral device interface send
each robot start signal. However the validity of each signal changes as
follows depending on the mode of the teach pendant enable switch and the
remote switch on the operator's panel.
(6) To start the system using the operator’s box, make certain that nobody is in the
robot work area and that there are no abnormal conditions in the robot work area.
s-6
B-81584EN/01 SAFETY PRECAUTIONS
(7) When a program is completed, be sure to carry out a test run according to the
procedure below.
(a) Run the program for at least one operation cycle in the single step mode at
low speed.
(b) Run the program for at least one operation cycle in the continuous operation
mode at low speed.
(c) Run the program for one operation cycle in the continuous operation mode at
the intermediate speed and check that no abnormalities occur due to a delay
in timing.
(d) Run the program for one operation cycle in the continuous operation mode at
the normal operating speed and check that the system operates automatically
without trouble.
(e) After checking the completeness of the program through the test run above,
execute it in the automatic operation mode.
(8) While operating the system in the automatic operation mode, the teach pendant
operator should leave the robot work area.
For the safety of maintenance personnel, pay utmost attention to the following.
(1) Except when specifically necessary, turn off the power of the controller while
carrying out maintenance. Lock the power switch, if necessary, so that no other
person can turn it on.
(2) When disconnecting the pneumatic system, be sure to reduce the supply pressure.
(3) Before the start of teaching, check that the robot and its peripheral devices are all
in the normal operating condition.
(4) If it is necessary to enter the robot work area for maintenance when the power is
turned on, the worker should indicate that the machine is being serviced and
make certain that no one starts the robot unexpectedly.
(5) Do not operate the robot in the automatic mode while anybody is in the robot
work area.
(7) When a tool is mounted on the robot, or when any moving device other than the
robot is installed, such as belt conveyor, pay careful attention to its motion.
s-7
SAFETY PRECAUTIONS B-81584EN/01
(8) If necessary, have a worker who is familiar with the robot system stand beside the
operator’s panel and observe the work being performed. If any danger arises,
the worker should be ready to press the EMERGENCY STOP button at any time.
(9) When replacing or reinstalling components, take care to prevent foreign matter
from entering the system.
(10) When handling each unit or printed circuit board in the controller during
inspection, turn off the power of the controller and also turn off the circuit
breaker to protect against electric shock.
s-8
B-81584EN/01 SAFETY PRECAUTIONS
(1) Use a limit switch or other sensor to detect a dangerous condition and, if
necessary, design the program to stop the robot when the sensor signal is
received.
(2) Design the program to stop the robot when an abnormal condition occurs in any
other robots or peripheral devices, even though the robot itself is normal.
(3) For a system in which the robot and its peripheral devices are in synchronous
motion, particular care must be taken in programming so that they do not interfere
with each other.
(4) Provide a suitable interface between the robot and its peripheral devices so that
the robot can detect the states of all devices in the system and can be stopped
according to the states.
(1) Keep the component cells of the robot system clean, and operate the robot in an
environment free of grease, water, and dust.
(2) Employ a limit switch or mechanical stopper to limit the robot motion so that the
robot does not come into contact with its peripheral devices or tools.
s-9
SAFETY PRECAUTIONS B-81584EN/01
(1) When operating the robot in the jog mode, set it at an appropriate speed so that
the operator can manage the robot in any eventuality.
(2) Before pressing the jog key, be sure you know in advance what motion the robot
will perform in the jog mode.
(1) When the work areas of robots overlap, make certain that the motions of the
robots do not interfere with each other.
(2) Be sure to specify the predetermined work origin in a motion program for the
robot and program the motion so that it starts from the origin and terminates at
the origin.
Make it possible for the operator to easily distinguish at a glance that the robot
motion has terminated.
(1) Keep the work area of the robot clean, and operate the robot in an environment
free of grease, water, and dust.
s-10
B-81584EN/01 SAFETY PRECAUTIONS
(1) To control the pneumatic, hydraulic and electric actuators, carefully consider the
necessary time delay after issuing each control command up to actual motion and
ensure safe control.
(2) Provide the end effector with a limit switch, and control the robot system by
monitoring the state of the end effector.
(1) Never enter the robot work area while the robot is operating. Turn off the power
before entering the robot work area for inspection and maintenance.
(2) If it is necessary to enter the robot work area with the power turned on, first press
the EMERGENCY STOP button on the operator’s box.
(3) When replacing or reinstalling components, take care to prevent foreign matter
from entering the system.
When replacing the parts in the pneumatic system, be sure to reduce the pressure
in the piping to zero by turning the pressure control on the air regulator.
(4) When handling each unit or printed circuit board in the controller during
inspection, turn off the power of the controller and turn off the circuit breaker to
protect against electric shock.
(6) Before restarting the robot, be sure to check that no one is in the robot work area
and that the robot and its peripheral devices are all in the normal operating state.
s-11
SAFETY PRECAUTIONS B-81584EN/01
Description
Do not step on or climb the robot or controller as it may adversely affect the robot or
controller and you may get hurt if you lose your footing as well.
s-12
B-81584EN/01 CONTENTS
CONTENTS
SAFETY PRECAUTIONS ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・s-1
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・s-1
2 CONFIGURATION
CONFIGURATION OVERVIEW ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 10
2.1 CONTROLNET NETWORK INSTALLATION・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 11
INSTALLATION ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
2.2 CONTROLNET DEVICE PERSONALITIES ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・ 12
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・12
2.2.1 Setting R-J3 ControlNet Adapter Personality ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 13
2.2.2 Setting R-J3 ControlNet Scanner Personality ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 14
2.3 ADAPTER MODE CONFIGURATION OUTLINE ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・15
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・15
2.4 R-J3 CONT
CONTROLNET
ROLNET SCANNER MODE CONFIGURATION OUTLINE ・・・・・・・・・・16
・・・・・・・・・・16
6 CONTROLNET I/O
I/O CONFIGURATION ・・・・・・・・・・・・・・・・・・・・・・・ 41
6.1 CONTROLNET I/O AND ASSIGNMENTS ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・ 42
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・42
6.2 USER PROGRAM ACCESS ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・43
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・43
6.3 CONTROLNET BACKUP AND RESTORE ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・ 44
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・44
c-1
CONTENTS B-81584EN/01
APPENDIX
A CONTROLNET HARDWARE
HARDWARE PART NUMBERS ・・・・・・・・・・・・・・・ 83
A.1 CONTROLNET HARDWARE PART NUMBERS ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・84
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・84
D RESPONSE TIME
TIME ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 108
D.1 RESPONSE TIME ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 109
c-3
B-81584EN/01 1.CONTROLNET OVERVIEW
1 CONTROLNET OVERVIEW
Topics In This Chapter Page
R-J3 ControlNet This section contains an overview of the R-J3 ControlNet Interface. ・・・・・・・・・ 2
Overview
ControlNet Network This section contains an overview of ControlNet. ・・・・・・・・・・・・・・・・・・・・・・・・・ 3
Overview ● ControlNet Interface network connections ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 3
● Network requirements・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 4
● Network Update Time (NUT) ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5
● MAC ID assignments ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 5
● ControlNet cable installation guidelines・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 6
R-J3 ControlNet This section contains an overview of the R-J3 ControlNet hardware
Hardware Description components. ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 7
R-J3 ControlNet Software This section contains an overview of the R-J3 ControlNet software. ・・・・・・・・・ 8
Description ● Connections ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8
● Communications ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8
● ControlNet devices ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 8
-1-
1.CONTROLNET OVERVIEW B-81584EN/01
To give you a better idea of how you can use the ControlNet Interface in your system,
the following sections provide a physical and functional description of the ControlNet
Interface.
-2-
B-81584EN/01 1.CONTROLNET OVERVIEW
With ControlNet, it is possible to have two kinds of data on a single physical cable:
● Scheduled I/O - I/O update and peer to peer interlocking
● Unscheduled I/O- messaging and network configuration data
Information that is not time-critical is given lower priority on the network, which
allows time critical control and I/O data to be transmitted more efficiently.
ControlNet Daughterboards
MAIN
Processor PC/104
socket w/
Network ControlNet
Processor
Controller Backplane
-3-
1.CONTROLNET OVERVIEW B-81584EN/01
You need to use coaxial cables with BNC connectors to connect the ControlNet
Interface card to your network.
You will also need to provide the following components for your ControlNet network.
● Trunk line cable
● T–connectors
● Drop cables
● Cable terminator - one resistor is needed on each end of the trunk line to prevent
reflections from occurring. Terminators are 75 Ω resistors in a BNC connector.
The following components are optional:
● External master device (such as a PLC) with a separate ControlNet scanner.
● ControlNet–compatible devices
● A ControlNet network configuration device or software for devices that can be
configured only through software
Part numbers of certain network components are listed here for reference. Contact your
distributor for the latest part numbers.
● Trunk line RG-6 Coax Cable (Allen-Bradley 1786-RG6)
● Allen-Bradley ControlNet Taps (1786-TPS, 1786-TPYS, 1786-TPR, 1786-
TPYR)
● Allen-Bradley ControlNet Network Terminators (1786-XT)
-4-
B-81584EN/01 1.CONTROLNET OVERVIEW
The ControlNet protocol divides the network bandwidth into a series of fixed intervals.
Each of these fixed intervals is called a Network Update Time (NUT), as shown in
Figure 1-3. Each NUT is divided into the following three intervals:
● Scheduled data transfer
● Unscheduled data transfer
● Guardband or Network Maintenance
The scheduled portion of the NUT is for devices that need to exchange time critical data,
such as control and I/O data. The unscheduled portion of the NUT is for devices that
need to exchange information that is not time critical, such as messaging, or network
configuration data. The network maintenance portion of the NUT is used to set the
network for the next NUT.
For devices on a network, a MAC (Media Access Control) ID is the unique hardware
number for the device it is associated with. When a device in online, a table that is part
of the ControlNet software relates the device’s IP address to the device’s physical
(MAC) ID on the network.
Devices that exchange scheduled I/O can have a MAC ID ranging from 1-92.
Unscheduled devices can have a MAC ID ranging from 1-99.
It is recommended that all of the MAC IDs of different devices be packed (do not leave
any unused MAC IDs between two consecutive MAC IDs). Also, it is recommended
that scanners have the lowest MAC IDs.
-5-
1.CONTROLNET OVERVIEW B-81584EN/01
Proper cabling of a ControlNet Network is necessary for correct and reliable operation
of ControlNet. Refer to the ControlNet Specification and ControlNet International for
correct system installation information. You can obtain additional information by
referring to Rockwell Software’s ControlNet Coax Cable System Planning and
Installation Manual Cat.No.1786-6.2.1, or its equivalent. This manual can be found as
a downloadable document on Allen Bradley’s internet site, located at the following
address: http://www.ab.com/manuals/cn/controlnet.html.
-6-
B-81584EN/01 1.CONTROLNET OVERVIEW
-7-
1.CONTROLNET OVERVIEW B-81584EN/01
You must install the ControlNet Interface software option on your R-J3 controller
before you can configure and use the ControlNet Interface. This software is option.
Consult FANUC service representative for detailed information.
1.4.1 Connections
The R-J3 controller uses the ControlNet software to exchange data with ControlNet
devices through a shared memory area on the R-J3 ControlNet Interface. This in turn
allows the R-J3 controller to send and receive I/O status, receive diagnostic information
from devices on the network, and send commands to devices on the network. See
Figure 1-4.
1.4.2 Communications
The ControlNet Interface and network protocol enables the R-J3 controller to
communicate with adapter and scanner devices on your network simultaneously.
-8-
B-81584EN/01 1.CONTROLNET OVERVIEW
Any number of scanners or adapters, up to the maximum node limit you have specified,
can be used on you ControlNet Network.
● There are 92 Scheduled nodes available
● There are 99 Unscheduled nodes available
-9-
2.CONFIGURATION OVERVIEW B-81584EN/01
2 CONFIGURATION OVERVIEW
Topics In This Chapter Page
ControlNet Network This section contains an overview of ControlNet network installation. ・・・・・・・ 11
Installation
ControlNet Device This section describes the parameters that make up the personality of a
Personalities device on the ControlNet network. These personalities make it possible for
network tools to identify the device. ・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・ 12
● Setting R-J3 ControlNet Adapter personality ・・・・・・・・・・・・・・・・・・・・・・・・・・・ 13
● Setting R-J3 ControlNet Scanner personality ・・・・・・・・・・・・・・・・・・・・・・・・・・ 14
Adapter Mode This section contains an overview of the steps involved in configuring a
Configuration Outline ControlNet network with the R-J3 controller in adapter mode. ・・・・・・・・・・・・・・ 15
Scanner Mode This section contains an overview of the steps involved in configuring a
Configuration Outline ControlNet network with the R-J3 controller in scanner mode. ・・・・・・・・・・・・・・ 16
- 10 -
B-81584EN/01 2.CONFIGURATION OVERVIEW
The Network Configuration tool queries each scanner for its scan list and then
schedules I/O to meet update requirements. If the update requirements are not met, the
Network Configuration tool will inform the user and appropriate action such as
correcting the scan list of scanners or selecting different network parameters need to be
taken.
- 11 -
2.CONFIGURATION OVERVIEW B-81584EN/01
In order for a network configuration tool to operate and perform network configuration,
each device on the ControlNet network has associated with it the following parameters
so that it can be identified on the network by tools:
● Vendor ID - Specified by ControlNet International
● Device Type - Specified by ControlNet Specification
● Product Code - Specified by Vendor/Manufacturer of Device
● Major Revision - Specified by Vendor/Manufacturer of Device
● Minor Revision - Specified by Vendor/Manufacturer of Device
These parameters give a device a certain personality on the network that is recognized
by others.
Each device has an associated EDS (Electronic Data Sheet) file that documents the
above parameters , or personality, in an electronic format so that a configuration tool
can derive information about the device. This requires that the network configuration
tool support EDS files.
The most commonly used configuration tool is the Allen-Bradley RSNetWorx for
ControlNet. RSNetWorx Version 1.8 does not support EDS files. This version of the
tool does not recognize most devices manufactured by vendors other than Allen
Bradley. Therefore, all the devices on a network that is configured using RSNetWorx
1.8 must be Allen-Bradley devices or set as if they functioned as Allen Bradley devices.
The newer version of RSNetWorx, Version 2.0 supports EDS files. Therefore, this
version can be used to configure networks to configure networks using devices from
different vendors.
The R-J3 ControlNet Interface assumes a different personality based on how it is being
used. The personality of the R-J3 ControlNet Interface is configurable to allow it to be
used on any ControlNet network. Figure 2-1 outlines this information.
- 12 -
B-81584EN/01 2.CONFIGURATION OVERVIEW
As seen in Figure 2-1, the R-J3 ControlNet Interface needs to be configured with
different personalities under various situations. The personality is set using system
variables.
Table 2-1 gives the values of different system variables that need to be set for a certain
personality to take effect. It is strongly recommended to use these values for different
situations. For use with tools that allow use of EDS files, use 5136-CN-104 Simple
Adapter personality.
- 13 -
2.CONFIGURATION OVERVIEW B-81584EN/01
Table 2-2 defines the personality settings for the R-J3 ControlNet Scanner. If the
network in which the R-J3 Scanner is used supports EDS files, then use the 5136-CN-
104 Scanner Personality. If the R-J3 Scanner is used in a network that is configured by
RSNetWorx 1.8, then configure the R-J3 Scanner to a KTCS Scanner.
For use with RSNetWorx 2.0, it is very strongly recommended that 5136-CN-104
personalities be used for both Scanner and Adapter. The EDS files are listed in
Appendix E. Obtain electronic versions of the EDS files and register them with
RSNetWorx 2.0. This will enable RSNetWorx 2.0 to recognize the R-J3 ControlNet
Interfaces on the network and allow proper configuration of the network.
- 14 -
B-81584EN/01 2.CONFIGURATION OVERVIEW
Refer to Chapter 3 for information about setting up the R-J3 ControlNet Adapter
Interface.
If you are using a network without EDS file support such as RSNetWorx 1.8, then you
will need to determine which type of Scanner your R-J3 controller is configured to
communicate with. If you want to configure your R-J3 controller to exchange I/O with
a PLC 5, then you should configure your R-J3 Controller as a regular HMI 2711-T14
Adapter.
If you are going to configure the R-J3 to exchange I/O with a ControlLogix 5000
processor then you will need to configure the R-J3 as a generic module. Appendix F
provides an example about how to configure a ControlLogix 5000 processor for a
generic module.
- 15 -
2.CONFIGURATION OVERVIEW B-81584EN/01
After you have properly configured the Adapters, the Scanners can be configured based
on the configuration shown in Figure 2-3.
The SST Scanner Configuration tool is used to configure the R-J3 ControlNet Network
Interface.
If the network configuration tool is RSNetWorx 1.8, R-J3 ControlNet Interface must be
configured for the 1784-KTCS personality. Refer to Chapter 4 and Appendix F.
If the network configuration tool is RSNetWorx 2.0, R-J3 ControlNet Interface must be
configured for the 5136-CN-104 Scanner personality. Refer to Chapter 4 and
Appendix F.
- 16 -
B-81584EN/01 3.ADAPTER MODE CONFIGURATION
- 17 -
3.ADAPTER MODE CONFIGURATION B-81584EN/01
3.1 OVERVIEW
Installing and configuring the ControlNet Interface on the R–J3 controller requires
that you perform the following steps:
1. Install the ControlNet Interface board in the R–J3 controller, if it was not
supplied from the factory. Refer to Chapter 7.
2. Turn on your R-J3 controller, and verify that your ControlNet Interface board is
detected. The Board List screen should not display “NOBOARD” for the
interface card installed. Refer to Section 7.2.1.
3. Configure the ControlNet Interface board or boards in your R-J3 controller.
Refer to Section 3.2.
4. Configure the scanners on your ControlNet network. For configuration
information regarding the R-J3 controller as a scanner, refer to Section 4.2.
5. After you have configured your adapters and scanners, you need to configure
them on the network. Refer to Chapter 5 for a summary of how to configure the
ControlNet network.
- 18 -
B-81584EN/01 3.ADAPTER MODE CONFIGURATION
Before you can connect the ControlNet Interface daughterboards to devices on the
ControlNet network, you must configure them properly. Use Procedure 3-1 to set up
your robot.
Procedure 3-1 is used to set up your robot controller in adapter mode. This is
recommended because this is an easier method than configuring the robot as a scanner.
Setting the R-J3 controller in adapter mode does not require you use the SS
Technologies ControlNet Configuration Tool. After completing this step you will
need to perform Network Configuration with a tool such as the RSNetWorx
configuration tool.
NOTE
Procedure 3-1 is used to configure a network with one ControlNet
daughterboard.
If you are using a network that supports EDS files, set up the adapter as a 5136-CN-
104 simple adapter. Refer to Table 3-1.
- 19 -
3.ADAPTER MODE CONFIGURATION B-81584EN/01
- 20 -
B-81584EN/01 3.ADAPTER MODE CONFIGURATION
4. Select the board you want to set up, and press F3, DETAIL. You will see a
screen similar to the following.
[IPCFG ] ADPCNF
6. Verify the configuration by pressing NEXT, >, and then press ADPCNF. You
will see a screen similar to the following.
- 21 -
3.ADAPTER MODE CONFIGURATION B-81584EN/01
7. Move the cursor to Input Size (Words) and set the value to the desired size in
Words (16-bit). The term input size implies the size of the data received by the
Adapter mode connection from a scanner.
8. Move the cursor to Output Size (Words) and set the value to the desired size in
Words (16-bit). The term output size implies the size of the output data sent to a
scanner.
10. Press F3, PREV, or BDDT to return to the Board Detail screen.
11. Move the cursor to Param Change Mode. For Adapter operation mode it is not
suggested to use any other parameter change mode than Network Unlock
(NET_ULK). The Lock (LOCK) mode is used to prevent any changes to the
Network Configuration unless you specifically enable it. Use one of the
following function keys to set the Param Change Mode to NET ULK:
● NET ULK: This allows network changes and disables scan-list changes.
This is the default for adapter mode.
● LOCK: This prevents changes from being be made.
13. Move the cursor to the Adapter Error Severity selection (Scanner Error Severity
is ignored in Adapter mode). For I/O critical applications, you might change the
Adapter Error Severity from WARN to either STOP or PAUSE based on the
following information:
● STOP: Pauses program execution and stops robot motion. When a motion is
stopped, the robot decelerates to a stop and any remaining part of the current
motion segment is saved, meaning the motion can be resumed. STOP errors
- 22 -
B-81584EN/01 3.ADAPTER MODE CONFIGURATION
usually indicate that some action must be taken before the motion and
program execution can be resumed.
● PAUSE: Pauses program execution but allows the robot to complete its
current motion segment, if any are in progress. This error typically indicates
that some action must be taken before program execution can be resumed.
PAUSE errors cause the operator panel FAULT light to go on and the teach
pendant FAULT LED to go on.
● WARN: Notifies you of potential problems or unexpected circumstances.
They do not directly affect any operations that might be in progress.
14. Move the cursor to the MAC Id. Type in a value between 1 and 92. See the
following screen for an example.
[IPCFG ] ADPCNF
15. Turn the controller off, and then on for this change to take effect.
I/O that corresponds to this adapter needs to be mapped. Refer to Chapter 6 for
details on assigning I/O.
- 23 -
4.SCANNER MODE CONFIGURATION B-81584EN/01
- 24 -
B-81584EN/01 4.SCANNER MODE CONFIGURATION
4.1 OVERVIEW
This chapter describes how to configure an R-J3 controller as a scanner. The R-J3
controller requires the use of the SST ControlNet Configuration Tool (CCT). The
procedure in this chapter covers the configuration of an R-J3 Scanner scanning another
R-J3 Adapter that was set up using the procedure in Chapter 3. Refer to Appendix F for
additional programming examples.
Scanner configuration requires that you configure the scanner on the R-J3 controller
and then create the Scan List using the CCT or RSNetWorx. This chapter describes
how to use the CCT and configure the R-J3 Scanner. For more detailed information on
the CCT, refer to the online documentation, which can be found on the CD-ROM
containing the SS Technologies PC software, or visit the SST web site for other
information about the SS Technologies CCT software.
- 25 -
4.SCANNER MODE CONFIGURATION B-81584EN/01
This section contains information on how to configure the R-J3 ControlNet Interface as
a scanner and as a peer to another scanner. Refer to Appendix F for information on
setting up peer connections between PLC-5s and ControlLogix 5000s.
NOTE
The SST ControlNet Configuration Tool is used only to set up the R-J3
ControlNet Interface. Other scanners might require different
configuration tools. You should contact the manufacturer of these
devices if you need more information about using them with your
ControlNet network.
After you have installed your ControlNet Interface, you will need to set up a scanner
class device to initiate communication with adapter devices. There are three main steps
that you must perform to set up a ControlNet network with scheduled I/O Connections:
1. Set up your R-J3 controller.
2. Set up your ControlNet devices and create a scan list.
3. Configure the network parameters.
The devices can be scanners or adapters. Refer to Procedure 4-1 through Procedure 4-3
to set up your R-J3 ControlNet Interface as a scanner, and create a scan list. After you
have set up the R-J3 Scanner, refer to Chapter 5 to finish configuring your ControlNet
network.
To configure your R-J3 ControlNet Interface as a scanner, you will need to create a scan
list of devices to which you want your ControlNet Interface to communicate. The scan
list also contains the list of scheduled I/O for devices on your network.
Each scan list can be unique as it communicates with selected devices on the network.
However, before you schedule your scan lists to be used by the R-J3 ControlNet, you
need to configure the R-J3 ControlNet Interface as a scanner. Use Procedure 4-1 to
configure the controller as a scanner.
- 26 -
B-81584EN/01 4.SCANNER MODE CONFIGURATION
NOTE
If you are using a network that supports EDS files, set up the scanner as
a 5136-CN-104 module by setting the system variables to the values
shown in Table 4-1. For more details, refer to Chapter 2. These values
are default unless changed.
Step
1. Press MENUS, and select I/O.
3. Select ControlNet.
4. Select the Board you want to set up, and press F4, DETAIL. You will see the
Board Detail screen.
- 27 -
4.SCANNER MODE CONFIGURATION B-81584EN/01
5. Move the cursor to Operation Mode and select F2, SCANNR. You will see a
screen similar to the following:
[IPCFG ] ADPCNF
6. Move the cursor to Param Change Mode. In order to allow Scan List
modifications, set the Param Change Mode to SCN ULK. This will allow the CCT
Configuration to be loaded into the R-J3.
7. Move the cursor to Input Error State. Use the appropriate function key to set the
Input Error State to one of the following modes:
- 28 -
B-81584EN/01 4.SCANNER MODE CONFIGURATION
8. Move the cursor to the Scanner Error Severity selection (Adapter Error Severity is
ignored in Scanner mode). For I/O operations which are not critical, you may
change the Scanner Error Severity from STOP to either WARN or PAUSE based
on the following information:
● STOP: Pauses program execution and stops robot motion. When a motion is
stopped, the robot decelerates to a stop and any remaining part of the current
motion segment is saved, meaning the motion can be resumed. STOP errors
usually indicate that some action must be taken before the motion and
program execution can be resumed.
● PAUSE: Pauses program execution but allows the robot to complete its
current motion segment, if any are in progress. This error typically indicates
that some action must be taken before program execution can be resumed.
PAUSE errors cause the operator panel FAULT light to go on and the teach
pendant FAULT LED to go on.
● WARN: Notifies you of potential problems or unexpected circumstances.
They do not directly affect any operations that might be in progress.
NOTE
It is suggested that the Scanner Error Severity be left at the STOP level
with Input Error State set to ZERO. If any I/O is not transferred to the
R-J3 then the program is paused and robot motion is stopped.
9. Move the Cursor to the MAC ID. Type in a value between 1 and 92. You must turn
the controller off and then on for this change to take effect.
After you have set up the robot as a scanner (Procedure 4-1 ) you need to create a scan
list with the SS Technologies ControlNet Configuration Tool. This section describes
how to create a scan list and load it on your robot. The following sections contain
detailed steps to create and save scan lists on the R-J3 ControlNet interface.
The following procedures assume you have installed the SST CCT on your PC. The PC
must be connected to the network,as the scan list is uploaded from the PC directly to the
PC/104 ControlNet PCB. See Appendix F for details on the SST CCT.
Your ControlNet Interface will need a scan list of the scanner-class devices on your
ControlNet network. Use the SST ControlNet Configuration Tool and Procedure 4-2 to
create a scan list on your robot.
- 29 -
4.SCANNER MODE CONFIGURATION B-81584EN/01
Procedure 4-2 Creating a Scan List with the SST Configuration Tool
Condition
■ The controller is in Cold start mode.
■ You have assigned the MAC-ID of the PC-104 PCB where you installed the
ControlNet interface.
■ You have installed the SST Technologies ControlNet Configuration Tool (CCT)
on your ControlNet System’s PC.
NOTE
The scan list will be uploaded directly from your ControlNet network’s
PC to the PC-104 PCB.
Step
1. From the Start menu, start the SST ControlNet Configuration Tool on the
Scanner/Network configuration PC. You will see a screen similar to the following.
2. If the appropriate EDS files of the devices to be configured are not already
available in the SST CCT, then you will need to register them now. Refer to the
online Help topic, Adding an EDS File to the Library, which can be found in the
online Help documentation for the SS Technologies ControlNet Configuration
Tool.
- 30 -
B-81584EN/01 4.SCANNER MODE CONFIGURATION
4. Select General. Type the values for the Network Update Time (NUT), Maximum
Scheduled Nodes (SMAX), Maximum Unscheduled Nodes (UMAX), and
Redundancy. The default values are shown in the following screen.
- 31 -
4.SCANNER MODE CONFIGURATION B-81584EN/01
7. Select Properties. The SST ControlNet Scanner Properties window will be appear.
Type a name for the new scanner. In the following screen, the name of the scanner
has been changed to RJ3A104. Set MAC ID to the device you are configuring as a
scanner. You will see a screen similar to the following.
9. Select File, Save As. Identify an appropriate directory and file name, such as
rj3.cnc. The file is now backed up on the Configuration PC.
You have now created a null scan list. If you use the SST ControlNet
Configuration Tool to upload a null scan list from your network configuration PC
to the R-J3 ControlNet interface, the ControlNet interface will not automatically
make any I/O assignments with the null scan list.
To continue with making a connection to another R-J3 adapter, continue with Step
10 on the following pages.
Follow Procedure 4-3 to Send the Scan List to the R-J3.
- 32 -
B-81584EN/01 4.SCANNER MODE CONFIGURATION
10. Select the “5136-CN-104 Simple Adapter” for the EDS listing window and drag it
to the Scanner on the right window.
NOTE
If this device does not exist in the EDS list, obtain an electronic version
of the EDS file and register it with the CCT. Refer to Appendix F for more
details.
- 33 -
4.SCANNER MODE CONFIGURATION B-81584EN/01
15. Set the MAC ID so that it corresponds to the MAC ID of the adapter on the R-J3
controller. Set the O-T RPI, T-O RPI, the O-T size, the T-O size as required. The
O-T RPI is the update interval (in microseconds) for data coming from the scanner
to the adapter.
The T-O RPI is the update interval for the data coming from the adapter to the
scanner. The O-T size is the data coming from the scanner to the adapter. The T-O
- 34 -
B-81584EN/01 4.SCANNER MODE CONFIGURATION
size is the data coming from the adapter to the scanner in words. The Name field is
what will be displayed for the name of the device on the controller device list for
the scanner. When you are finished, select OK.
Procedure 4-3 Sending the Scan List to the R-J3 ControlNet Interface
NOTE
The R-J3 ControlNet Interface Supports 1 Send (Output) Connection.
Multiple send messages should not be configured.
Step
1. Double-click The Network (Network Configuration) icon. The Network Properties
dialog box will be displayed.
- 35 -
4.SCANNER MODE CONFIGURATION B-81584EN/01
3. Click the Statistics Tab. A dialog box similar to the following will be displayed.
Use these statistics to help evaluate if the ControlNet network is overloaded. If the
scheduled bandwidth is greater than 80%, then you will need to click on the
General tab of the Network Properties dialog box, and increase the NUT.
Otherwise, click OK.
4. Select the SST ControlNet Scanner. To Save the scan list to the Robot, right click
on SST ControlNet Scanner icon. Select either Send Config through SST CN Card
or Config through RSLinx. Refer to Section 4.2.4.
5. The Scan list will be downloaded into the controller at the MAC ID specified. A
dialog box will be displayed appear, indicating the download was successful or
that an error was detected. If an error occurs, use both the CCT Help menu item
and Appendix C to solve the problem.
6. If the Network contains any Rockwell Automation Scanners, then you will need to
perform a Network Configuration. Refer to Chapter 4 for more information about
configuring your network.
7. Finally the R-J3 requires that changes to the physical and logical I/O configuration
be completed at power up. Turn the controller off, and then on again for the new
scan list to take effect.
- 36 -
B-81584EN/01 4.SCANNER MODE CONFIGURATION
NOTE
In many cases, if your modifications to the Scan List are made without
having to change the NUT, SMAX, or UMAX, then you can simply
bypass steps 1-3 and start at Procedure 4-3, Step 4. However, this most
general case is presented in the event you need to change either of
these items.
At this point you have created a null scan list and loaded it into the R-J3. If the null
scan list is loaded via the CCT, the controller will not use the null scan list to create any
I/O assignments. However, this basic configuration is used in the following sections to
configure Allen Bradley PLC 5/40C devices, ControlLogix 5550 devices, and Flex I/O.
This section describes downloading over ControlNet using an SST card and
downloading over ControlNet using RSLinx.
If you right-click The Network and select Send Config Through SST CN Card, the
Configuration Tool downloads the configuration to all SST cards on the network.
NOTE
To download the configuration using RSLinx, you must have either the
full (9355-WAB) or OEM (9355-WABOEM) version of RSLinx installed
on your computer. You cannot download using RSLinx Lite.
If you right-click The Network and select Config Through RSLinx, the Configuration
Tool downloads the configuration to all SST cards on the network.
- 37 -
5.NETWORK CONFIGURATION
AND SCHEDULING B-81584EN/01
- 38 -
5.NETWORK CONFIGURATION
B-81584EN/01 AND SCHEDULING
You need Allen Bradley RSNetWorx 1.8 or later installed on your ControlNet
network’s PC to perform this procedure. Use Procedure 5-1 to configure your
ControlNet Network for RSNetWorx. Refer to the RSNetWorx documentation for
more information about using RSNetWorx to configure your network.
NOTE
This procedure is provided as a guideline only. If you have any
problems using RSNetWorx on any other PC-based tool, refer to the
technical support provided by the vendor of that tool.
Step
1. Start RSNetWorx on your PC.
2. Connect to your network with RSNetWorx by pressing the Online button. You
will see a screen similar to the following.
- 39 -
5.NETWORK CONFIGURATION
AND SCHEDULING B-81584EN/01
3. If RSNetWorx has been used to configure other networks from the PC from
which you are currently running it, you might not be able to connect to certain
nodes. Set RSNetWorx to ignore connections for those devices. For further
information, refer the RSNetWorx User Manual.
4. Click to check the Edits Enabled check box to allow network updates.
6. The controller should post a STOP error indicating connections are broken as
network change is occurring. No board operations (ONLINE, OFFLINE) can be
done while this is in progress.
7. When the configuration is complete, a WARN error will be posted, indicating the
network configuration is complete. At this point the controller can be resumed,
and your ControlNet network is now ready to use.
- 40 -
B-81584EN/01 6.CONTROLNET I/O CONFIGURATION
- 41 -
6.CONTROLNET I/O CONFIGURATION B-81584EN/01
The ControlNet board can be set ONLINE or OFFLINE by any user. Each device in
the device list can also be set ONLINE or OFFLINE. If there is any error and if the
board or device for any reason cannot be set ONLINE, the displayed state is ERROR
and an alarm is posted.
When a device or board is OFFLINE, the I/O points mapped to that board or device
are set OFFLINE. In this mode, if any KAREL or teach pendant program cannot
access the I/O point and an alarm will be posted if any program tries to read or write to
the I/O point.
For information on I/O assignments and access to I/Os from a teach pendant screen,
refer to appropriate application-specific FANUC Robot series R-J3 Controller
OPERATOR’S MANUAL.
- 42 -
B-81584EN/01 6.CONTROLNET I/O CONFIGURATION
You can access and change the state of ControlNet I/O from KAREL, teach pendant,
or PC-based programs. Your programs can read the Boolean value of any
ControlNet input or output that you have assigned to a device on your network.
This section also describes the procedures and methods to help you configure your
ControlNet system to set I/O to the desired state if an error occurs on your network.
NOTE
Inputs are placed in the I/O Image area of memory by I/O Scan, which is
performed by the R-J3 controller every 4 ms.
When an alarm occurs, you have the option of having ControlNet inputs automatically
set to a state that you specify. The inputs can be set to the last state they were in
when the network error occured or you can turn them off altogether.
Use Procedure 3-1 and Procedure 4-1 to change the severity of alarms for ControlNet
connection errors on the system.
- 43 -
6.CONTROLNET I/O CONFIGURATION B-81584EN/01
The ControlNet configuration can be saved in the SYSCNET.SV file. This works in
conjunction with your DIOCFGSV.IO file to save the I/O configuration of the
ControlNet Interface. The SYSCNET.SV file saves the ControlNet user settings as
entered in the [Setup] menu. This contains the MAC ID, Online/Offline Status,
Operational Mode (SCANNR/ADPTR), Parameter Change Mode (SCN ULK), Input
Error State (KEEP/LAST) and Adapter Configuration.
The SYSNET.SV and DIOCFGSV.IO can be used to restore the present operation of a
robot. They also may be used to clone robots. However, you must change the
MAC ID before trying to bring the unit Online.
During backup, the ControlNet configuration, MAC ID settings, and port comments
are saved in a system variable file called SYSCNET.SV. Use Procedure 6-1 to back
up your ControlNet configuration.
NOTE
The scan list for the R-J3 Scanner is not backed up. It resides on the
PC where it was created. The adapter configuration, however, is
saved with SYSCNET.SV.
Step
1. Set the Default Device.
- 44 -
B-81584EN/01 6.CONTROLNET I/O CONFIGURATION
- 45 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
- 46 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
In order to install and configure the ControlNet Interface, you will need the following
components:
● A mini wide motherboard with one ControlNet daughterboard.
● A FANUC Robotics R–J3 controller, with V5.30 or greater software.
● A physical network and ControlNet devices connected to it
– The physical network includes all necessary ControlNet cabling.
To install the ControlNet Interface correctly, you should become familiar with the items
listed in Table 7-1. Figure 7-1 in this section contains some important information
about specifying addresses for the ControlNet cards in your system.
Refer to the hardware part numbers located in Appendix A for more details.
COMPONENT DESCRIPTION
Daughterboard This is installed in the wide-mini motherboard.
BNC Network This connects each ControlNet Interface
Connectors daughterboard to its respective ControlNet network.
Multi–Pin Plug This connects the ControlNet Interface motherboard to
the R–J3 controller backplane.
- 47 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
- 48 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
There are three LED indicators, which are used to display the various network states of
the ControlNet card. Each of the two BNC network connectors has an associated LED.
See Figure 7-2 for the locations of the two BNC network connector LEDs, and the SYS
LED. Refer to Table 7-2 for a description of the states that the two BNC network
connector LEDs indicate when they are illuminated during network operation. Refer to
Table 7-3 for a description of the state that the SYS LED indicates when it is
illuminated during network operation.
- 49 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
Viewed Together
1 (Highest) Both OFF Reset or no power
2 Both steady red Failed link interface
3 Alternating red/green Self test
4 Alternating red/off Bad node configuration, such
as a duplicate MAC ID
5 OFF Channel disabled, or channel is
VIEWED SEPARATELY
NOTE
When you are using redundant network cables on a ControlNet board
(where both BNC network terminals are connected to the same
components on your ControlNet network), both BNC LEDs should be
green. One LED will be brighter than the other. The brighter of the two
LEDs is the network channel that the card is currently using.
- 50 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
The address configuration DIP switches are used to set the I/O Address Space of the
ControlNet board. I/O locations 0x250 and 0x258 are checked for ControlNet boards
on power up. If the signature of the board at I/O location 0x250 matches the
ControlNet signature, then it is automatically assigned as Board 1, Rack 85 in the R-J3
I/O System. If a ControlNet board is found at I/O location 0x258 then it is assigned as
Board 2, Rack 86.
- 51 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
WARNING
Disconnect electrical power from the controller before you remove
or replace components. Otherwise, you could injure personnel or
damage equipment.
Step
1. Turn off the controller.
2. Disconnect electrical power from the controller. Turn the circuit breaker handle to
the OFF (open) position.
- 52 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
WARNING
When the circuit breaker handle is OFF, power is still present
inside the controller. You must unplug the controller from the
electrical outlet to remove all power from the controller.
3. Use a flat–tip screwdriver to turn the latch on the front door of the controller to the
UNLOCKED position.
- 53 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
5. Close the controller door, turn the latch to the LOCKED position, and turn on the
controller.
- 54 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
7.2 DIAGNOSTICS
You can use the information on the Board List and Board Detail screens to diagnose
problems you might be having with your network.
The Board List identifies the overall Network Status of both ControlNet Boards that
can be used in a ControlNet system.
ITEM DESCRIPTION
Board This is the number of the ControlNet Interface daughteboard, 1 or 2. The number of
the Board corresponds to the ControlNet DIP Switch setting and position of the
daughterboard on the ControlNet Interface. Note that Board numbers are only unique 2 1
to ControlNet as DeviceNet board numbers start at Board 1. Refer to Section 7.1.4 for
information about how to set the DIP switches on your ControlNet daughterboards.
Comment You can use this text field to identify the ControlNet Network to which this Board is connected.
For example, on which Body Cell Network the node is attached. A maximum of 16 characters
can be used. A comment is not a required field.
- 55 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
ITEM DESCRIPTION
Rack This is the I/O rack that is assigned to the daughterboard. These are unique rack numbers
throughout the R-J3 system. ControlNet daughterboards are assigned Racks 85 and 86.
● Rack 85 - daughterboard 1
● Rack 86 - daughterboard 2
You cannot change the rack number of a ControlNet daughterboard.
Status STATUS is the current state of the ControlNet PCB
● ONLINE indicates the board is presently active. Information to and from devices configured
on this network is being updated.
● OFFLINE indicates that no data is being transferred to or from devices connected to the
board. Scanning of devices connected to this board shall not automatically restart at power
up. The user must explicitly set this Board ONLINE in order to transfer I/O.
● ERROR indicates that an error has been detected. The Inputs will be set to the state you
designated in the Board Detail Screen. I/O transfer will begin immediately when the condition
causing the ERROR is removed. Scanning shall also be attempted after the controller is
turned on.
- 56 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
In addition to the configuration information which is entered in the Board Detail Screen
as described in Section 3.2, “Setting up R-J3 ControlNet Interface in Adapter Mode”,
the Board Detail Screen supplies additional details on the ControlNet Network which
can be used to help diagnose network problems. The data in Figure 7-7 ControlNet
Board Detail screen indicates the Board 1 MAC-Id is 2 and the NUT is 4000µs (4ms).
Refer to Table 7-5 for a description of the other items shown in Figure 7-7.
Only the Operation Mode, Parameter (Param) Change Mode, Input Error State, scanner
and adapter error severity settings, and MAC ID values can be changed with this screen.
See Section 3.2, “Setting up an R-J3 ControlNet Interface in Adapter Mode” for details
on selection of these parameters.
- 57 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
ITEM DESCRIPTION
MAC-ID This item is the MAC ID of the ControlNet Interface board.
Network Update This item displays the Network Update Time, which is the basic time period for devices to
Time (NUT) communicate on the Network. A NUT consists of three required periods. The first period is the
Scheduled data period in which all the Scheduled Nodes are allowed to communicate until all
devices on the scheduled nodes have exchanged their data. The second period is the
Unscheduled data period in which each node is sequentially allowed to transmit an
unscheduled message.
If there is any time remaining in this interval, then the next node will be allowed to transmit an
unscheduled message. Message transmission can be continued until the Guardband time
period is reached. When the Guardband time period begins, network maintenance is
performed. This ends the NUT. It is immediately followed by another NUT in which scheduled
data is exchanged. See Figure 1-3.
SMAX The Scheduled Maximum MAC ID number on the network (1-92). Only the nodes which are in
this address range (and node 0) might transmit messages during the scheduled interval.
UMAX The Unscheduled Maximum MAC ID number on the network (1-99) is the MAC ID of the last
node that might send unscheduled messages on the network. It must be at least SMAX + 8.
Slot Time The Slot Time, in microseconds (us), is the time that nodes wait to see if the node that currently
has the token is going to use it.
Gbpre This item displays the Guardband Prestart, in 10µs intervals, and it is the time before the next
synchronization mark beyond which nodes will not be allowed to transmit.
GBstrt This item displays the Guardband Start, in 10µs ticks, and it is the time before the next
synchronization mark where the guardband should start.
Gbcenter This item displays the Guardband Center, in 10 µs ticks, and it is the time before the next
synchronization mark, where the moderator will begin transmitting the moderator frame. The
moderator frame is used to synchronize the network and distributing the link configuration
parameters.
- 58 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
- 59 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
ITEM DESCRIPTION
Input Size This is the size in words of the receive or input connection, designated in ControlNet by O=>T.
The 8 words of input identify 128 Digital Inputs. This represents data received from a scanner
over the network.
Output Size This is the size in words of the send or output connection, designated in ControlNet by T=>O.
The 8 words of output identify 128 Digital Outputs. This represents data transmitted to a
scanner over the network.
Output Header The Digital Outputs shall be read into the scanners input data file or data structure. This data is
generally written starting at the beginning of the data structure. However, if the scanner
structure includes a header structure, then the R-J3 output data needs to be offset from the
beginning of the structure. The normal Output Header of a 2711E-T14 is 0 word.
- 60 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
For an Adapter Board, the Device List contains a single entry that contains the Device
Name, Description, Status and MAC ID. For a Scanner Board the Device List lists all
MAC IDs that are exchanging I/O with the Scanner. See Figure 7-10 for an example of
the ControlNet Device List screen.
You can use the Device List screen to put a Device ONLINE or OFFLINE.
The Device Detail screen provides information about each scan list entry on the
ControlNet card. See Figure 7-11 for an example screen.
- 61 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
The Device Detail screen includes device data as well as the number of physical I/O
assignments the device will support. For example, the device shown in Figure 7-11
physically supports 128 Digital I/O signals, even if not all of them are logically
assigned to the R-J3 I/O.
ITEM DESCRIPTION
Input Header Words This item indicates the Input Header size in words. This is fixed for most devices by the CNET
Spec to two words. This field contains the Run/Idle bit. This bit is used by the Scanner to
enable the outputs. The Scanner’s outputs are then sent to the device as inputs.
Status This item lists the status of the device you are displaying details about. The status of the device
can be ON, OFF, or ERR on a device basis (same as Device List Status).
MAC–Id/Slot This item displays the MAC-ID of your ControlNet interface, or a device being scanned by your
ControlNet Interface. If the MAC Id being displayed in this field matches the ControlNet
Interface’s MAC Id, then the data being displayed on the device detail screen is from the R-J3
ControlNet Interface. If the MAC Id is not equal to the ControlNet Interface’s MAC Id, then the
data being displayed on the Device Detail screen is from a unit being Scanned. The MAC Id is
same as the Slot when configuring I/O from any of the DI/DO, GI/GO, AI/AO, and so forth
screens.
Device Name This item allows you to provide a name for the device you are configuring.
Comment This item allows you to enter a comment. Although 16-characters can be entered here, only 14
of them shall show up on the Device List Description field.
Vendor ID This item is the unique identification of the device’s vendor. For Example, Vendor ID 1 is
assigned to Rockwell Automation’s Allen-Bradley devices, and Vendor ID 8 is assigned to SS
Technologies.
Device Type This item displays the Device Type. Device Types identify the device profile or device object
that a device is using. For example, Device Type 24 or 0x18 is a Human-Machine Interface
(HMI).
Product Code This item displays the Product Code for the device. Each Vendor assigns a Product Code
within a particular Device Type. The Product Code maps to one or more catalog or model
numbers. For example, Allen-Bradley has assigned product code 9 of the HMI Device type to
the 2711E-T14C15.
Major Revision This item represents significant releases of ’fit, form, or function’ of the product.
Minor Revision This item indicates that minor changes were made to a given product. These kinds of revisions
probably will not affect affect the way your network is configured. Minor revisions might include
new product labels or software patch files.
Digital Inputs This item is the number of physical inputs that the device can support, in bits.
Digital Outputs This item is the number of physical outputs that the device can support, in bits.
Analog Inputs This item is the number of physical analog input points which the device supports. This item is
displayed in ControlNet words (16-bits/word).
Analog Outputs This item is the number of physical analog output points which the device supports. This item is
displayed in ControlNet words (16-bits/word).
O-T RPI This item is the requested packet interval for data from scanner to adapter.
- 62 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
ITEM DESCRIPTION
T-O RPI This item is the requested packet interval for data from adapter to scanner.
Path: This item is the connection path--the path in the adapter from where I/O is read and written. The
path configured in the scanner should match what is expected in the adapter. If it does not,
ControlNet error 01 0107 will be posted on the scanner.
- 63 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
7.3 TROUBLESHOOTING
Now that you have an idea of what your problem is from using diagnostics, you are
ready to solve it. Use Table 7-8 to help you troubleshoot the problems in your system.
WARNING
Disconnect electrical power from the controller before you remove
or replace components, or you could be injured seriously.
When the circuit breaker handle is OFF, power is still present
inside the controller. You must unplug the controller from the
electrical outlet to remove all power from the controller.
Otherwise, you could injure personnel or damage equipment.
WARNING
Lethal voltage is present in the controller WHENEVER IT IS
CONNECTED to a power source. Be extremely careful to avoid
electrical shock.
HIGH VOLTAGE IS PRESENT at the input side whenever the
controller is connected to a power source. Turning the disconnect
or circuit breaker to the OFF position removes power from the
output side of the device only.
- 64 -
7.HARDWARE, DIAGNOSTICS,
B-81584EN/01 AND TROUBLESHOOTING
- 65 -
7.HARDWARE, DIAGNOSTICS,
AND TROUBLESHOOTING B-81584EN/01
- 66 -
B-81584EN/01 8.USING TCP/IP WITH CONTROLNET
- 67 -
8.USING TCP/IP WITH CONTROLNET B-81584EN/01
8.1 OVERVIEW
ControlNet divides network bandwidth into scheduled and unscheduled portions. The
Unscheduled portion is typically used for messaging. ControlNet supports IP address
resolution and IP message transfer using the unscheduled portion.
The R-J3 V5.30 robot system supports TCP/IP messaging using ControlNet. SS
Technologies has developed an NDIS driver allowing the use of 5136-CN ControlNet
interface cards for TCP/IP messaging on a PC. These two components allow the use of
all Internet options such as FTP, Web Server, and Telnet to be used with ControlNet.
This chapter describes the necessary system components and how to set up a robot
system and a PC so that they can exchange TCP/IP messages over ControlNet.
- 68 -
B-81584EN/01 8.USING TCP/IP WITH CONTROLNET
This section describes the hardware necessary to install and use TCP/IP with your
ControlNet system.
- 69 -
8.USING TCP/IP WITH CONTROLNET B-81584EN/01
In this manual, we will use the 5136-CN card for ControlNet communications and the
following steps explain how to do that. There are three main steps to install and
configure the 5136-CN card:
● Install the Allen Bradley RSNetworx 2.0 on your PC. (Section 8.3.1)
● Install the 5136-CN card in your PC. (Section 8.3.2)
● Install the 5136-CN card firmware and utilities, and the SS Technologies
ControlNet Configuration Tool on your PC. (Section 8.4)
Install Allen Bradley RSNetworx 2.0 according to the RSNetworx 2.0 documentation.
Refer to the Allen Bradley RSNetworx 2.0 documentation, or contact Allen Bradley for
more help on installation and troubleshooting.
Install the 5136-CN-ISA card in an available ISA slot on your PC. Set the port address
for the 5136-CN card to be either 0x250 or 0x258. The NDIS driver requires the card to
be set to one of these ports. Power up the PC and log on to the PC with administrative
privileges.
To configure and use the 5136-CN Card, you need to install two main software
components on your PC:
● The 5136-CN card firmware and utilities for Windows NT
● The SS Technologies ControlNet Configuration Tool
Obtain the Card Firmware and utilities that include the ControlNet NDIS driver
(1.01.03 or later). Refer to Section 8.4 for information about how to install the
firmware and utilities, and configure the 5136-CN card.
- 70 -
B-81584EN/01 8.USING TCP/IP WITH CONTROLNET
After you have installed the ControlNet 5136-CN card in your PC, you need to
configure it.
The 5136-CN firmware and utilities are typically in a zipped file named
SstCnCardWinInst.zip. Unzip this file in a temporary directory and run setup.exe.
Perform a full installation. When the installation is complete, select NO when you are
prompted to restart the computer.
This section describes how to configure your PC to recognize the 5136-CN ControlNet
card with the SS Technologies software. Refer to Procedure 8-1 to configure the
5136-CN card.
- 71 -
8.USING TCP/IP WITH CONTROLNET B-81584EN/01
Condition
■ You have installed the 5136-CN Card in your PC.
■ You have installed the SS Technologies ControlNet Configuration Tool.
Step
1. From your Windows Start menu, select Programs-> SST Card
Config->SST Card Configuration. You will see a screen similar to the following.
NOTE
Ensure that SST_CN_250 or SST_CN_258 entries exist depending
upon the configuration for the 5136-CN card installed on your PC as
shown in the screen above.
- 72 -
B-81584EN/01 8.USING TCP/IP WITH CONTROLNET
2. Next Click Start->Program-.SST CN->CN Startup Manager. Doing this will start
the CN Startup Manager. See the following screen for an example.
3. Select the proper card. Check the box to automatically put the local card on at
startup and put it online automatically. Select the MAC ID for the card. Check the
RSLinx Support box. We will be using the SST Card for RSLinx and RSNetworx.
Note the KTCX Memory address. Do not restart the computer until you complete
Procedure 8-2 and Procedure 8-3 .
NOTE
The RSLinx Support is optional. If you do not have RSLinx, ignore this
box.
- 73 -
8.USING TCP/IP WITH CONTROLNET B-81584EN/01
Step
1. Click on Start->Settings->Control Panel. You will see a screen similar to the
following.
2. Double-click on Network for network configuration. The Network dialog box will
appear.
3. Click on the [Protocol] tab. Verify that TCP/IP protocol is installed. See the
following screen for an example.
- 74 -
B-81584EN/01 8.USING TCP/IP WITH CONTROLNET
4. Next, click on the [Adapter] tab. See the following screen for an example.
5. From the [Network] dialog box, Click on [Add]. The following dialog box will be
displayed.
6. Click on [Have Disk]. The [Insert Disk] dialog box will be displayed.
- 75 -
8.USING TCP/IP WITH CONTROLNET B-81584EN/01
7. Type in the path where the SST NDIS driver has been installed. If you did not
change the default installation directory for the SST NDIS driver, the path should
be C:\Program Files\SST\CN\NDIS, as shown in the following dialog box.
8. Click OK. The following dialog box will be displayed. Click OK.
9. The SST Card should be displayed in the list of adapters as shown in the following
screen.
- 76 -
B-81584EN/01 8.USING TCP/IP WITH CONTROLNET
10. Click on [Protocol] tab, select TCP/IP, and then click on [Properties]. Select the
SST interface from the adapters list, as shown in the following screen.
11. Enter the IP address and subnet mask. The IP address should be on a different
domain than that of any other interfaces (if any) on the PC.
- 77 -
8.USING TCP/IP WITH CONTROLNET B-81584EN/01
12. Click on the [Routing] tab for [TCP/IP properties]. Check the box to [Enable IP
Forwarding] if you want this PC to act as a router between Ethernet and
ControlNet.
13. Click OK and close the Network Control Panel. A window will prompt you to
restart. Select NO.
Procedure 8-3 Setting up the Registry for the SST NDIS Driver
Step
1. Click on Start->Programs->SST CN->TCP/IP->NDIS Config.
2. Check the box to Enable NDIS Driver and select the correct SST card if multiple
cards are installed on the PC. Click OK and restart the computer.
- 78 -
B-81584EN/01 8.USING TCP/IP WITH CONTROLNET
Your PC is now set up to run RSLinx (If installed), the SST Scanner Configuration
Tool and TCP/IP over the SST ControlNet interface.
You need to have the ControlNet option installed on your R-J3 Controller, and the R-
J3 software version has to be V5.30 or later. TCP/IP over ControlNet is not supported
on previous versions.
Verify that the ControlNet Interface Card is set up correctly and the card is online.
Refer to Chapters 2-6 for details.
Step
1. Cold start the controller.
2. Press MENUS .
3. Select I/O.
- 79 -
8.USING TCP/IP WITH CONTROLNET B-81584EN/01
8. Press F1, [IPCFG]. You will see a screen similar to the following.
9. Enter the IP address for the ControlNet Interface. The domain of the IP address
should be different than that of any Ethernet or PPP interface that you may have
configured on the R-J3 controller.
10. Note that the domain should be the same as that of the other ControlNet devices
you may have on the network for TCP/IP communications (such as a PC or another
R-J3 controller). Enter the corresponding subnet mask.
11. Scroll to [Enable TCP/IP]: and select F4, YES, to enable TCP/IP.
12. Turn off the controller and then turn it back on. You should now be able to ping
the controller from a PC which is also configured for TCP/IP communications over
ControlNet.
- 80 -
APPENDIX
A.CONTROLNET HARDWARE
B-81584EN/01 APPENDIX PART NUMBERS
- 83 -
A.CONTROLNET HARDWARE
PART NUMBERS APPENDIX B-81584EN/01
Table A-1 contains a list of the relevant part numbers associated with the ControlNet
Interface. Figure A-1 contains an illustration of the ControlNet Interface.
Part Number
ControlNet interface board (Order number) A05B-2400-5340
Wide-mini motherboard (Spare part number) A20B-8001-0830
ControlNet daughterboard (Spare part number) A15L-0001-0079
Face plate label (Spare part number) A370-3070-0133
- 84 -
B.CONTROLNET SYSTEM
B-81584EN/01 APPENDIX VARIABLES
- 85 -
B.CONTROLNET SYSTEM
VARIABLES APPENDIX B-81584EN/01
B.1 OVERVIEW
$CN_BD_INFO[#].$CN_KPRST
CAUTION
Do NOT change any system variable directly from the [System
Variables] Screen. Doing so might result in incorrect operation of the
R-J3 ControlNet Interface and might require an INIT start or a restore of
the R-J3 system.
- 86 -
B.CONTROLNET SYSTEM
B-81584EN/01 APPENDIX VARIABLES
Table B-1 contains ControlNet system settings and variables. The remaining portion
of this section contains descriptions of system variables related to the R-J3 ControlNet
Interface.
- 87 -
B.CONTROLNET SYSTEM
VARIABLES APPENDIX B-81584EN/01
$CN_BD_INFO[1].$cn_bd_cmt
Minimum: ”” Default: ”******************************************” Maximum: ””
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING
Name: ControlNet Daughter-Board Comment
Description: Provides a short description field for the daughter-board/network.
Power Up: Effective immediately.
User Interface Location: ControlNet Board List screen.
$CN_BD_INFO[1].$cn_bd_kprst
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Daughter-Board ControlNet Keeper State
Description: This item contains the Keeper State of the Card.
Power Up:
User Interface Location:
$CN_BD_INFO[1].$cn_bd_vndid
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Daughter-Board Vendor ID
Description: This item is contained in the ControlNet ID object Vendor ID of the board manufacturer.
Power Up:
User Interface Location:
$CN_BD_INFO[1].$cn_bd_dtype
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Daughter-Board Device Type
Description: This item is contained in the ControlNet ID object. It is the Device Type of the board.
Power Up:
User Interface Location:
$CN_BD_INFO[1].$cn_bd_pcode
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Daughter-Board Product Code
Description: This item is contained in the ControlNet ID object. It is the Product Code of the board.
Power Up:
User Interface Location:
- 88 -
B.CONTROLNET SYSTEM
B-81584EN/01 APPENDIX VARIABLES
$CN_BD_INFO[1].$cn_bd_majrv
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Major Revision
Description: This item is contained in the ControlNet ID object. It is the Major Revision number of the Product.
Power Up:
User Interface Location:
$CN_BD_INFO[1].$cn_bd_minrv
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Minor Revision
Description: This item is contained in the ControlNet ID object. It is the Minor Revision number of the Product.
Power Up:
User Interface Location:
$CN_BD_INFO[1].$cn_bd_stat
Minimum: 0 Default: 0 Maximum: 99
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Daughter-Board Status
Description: Indicates the status of the ControlNet daughter-board:
0: board is offline and has not been initialized
1: board is offline and cannot be initialized
2: board is offline but has been initialized
3: board is in an error state and has not been initialized
4: board is in an error state and cannot be initialized
5: board is in an error state but has been initialized
6: board is online
7: board is currently being initialized
Power Up:
User Interface Location:
$CN_BD_INFO[1].$cn_bd_macid
Minimum: 1 Default: 1 Maximum: 99
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Daughter-Board MAC-Id
Description: The Media Access Control Identifier (MAC-Id) for the ControlNet daughter-board. This item must be in the range
[1..99]. There cannot be a duplicate MAC-Id for the daughter-board, or any devices connected to the daughter-
board.
Power Up: Changes take effect at power-up.
User Interface Location: ControlNet Board Detail screen
- 89 -
B.CONTROLNET SYSTEM
VARIABLES APPENDIX B-81584EN/01
$CN_BD_INFO[1].$cn_bd_mb_id
Minimum: 0 Default: 0 Maximum: 99
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Motherboard ID
Description: Identifies the type of motherboard the ControlNet daughterboard is installed in. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].$cn_nut
Minimum: 0 Default: 0 Maximum: 99
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Network Update Time
Description: Identifies the network update time (NUT) of the ControlNet Network. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen.
$CN_BD_INFO[1].$cn_smax
Minimum: 0 Default: 0 Maximum: 92
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet network maximum scheduled MAC ID
Description: Identifies maximum scheduled MAC ID (smax) of the ControlNet network. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].$cn_umax
Minimum: 0 Default: 0 Maximum: 99
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet network maximum unscheduled MAC ID
Description: Identifies maximum unscheduled MAC ID (smax) of the ControlNet network. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].$cn_slot
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Network Slot parameter
Description: Identifies the slot network parameter of the ControlNet network. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
- 90 -
B.CONTROLNET SYSTEM
B-81584EN/01 APPENDIX VARIABLES
$CN_BD_INFO[1].$cn_gbpre
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Network Guard-band Prestart
Description: Identifies the guard-band prestart network parameter. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].$cn_gbstrt
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Network Guard-band Start
Description: Identifies the guard-band start network parameter. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].$cn_gbcntr
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Network Guard-band Center
Description: Identifies the guard-band center network parameter. This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].$cn_firmfile
Minimum: ”” Default: “FRSU:CNET.BIN” Maximum: ””
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING
Name: ControlNet Configuration Firmware File
Description: This indicates firmware file to be loaded. The extension of this file is .BIN. If no file is supplied, the file in flash is
run.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].$cn_flshfile
Minimum: ”” Default: ”MC:¥PRODUCT¥CNET¥CNPGACFG.SS1” Maximum: “”
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING
Name: ControlNet Flash Programming file (.SS1)
Description: This indicates firmware file to be loaded. The extension of this file is .SS1. This is required to update the FPGA
Flash EPROM.
Power Up:
User Interface Location: ControlNet Board Detail screen
- 91 -
B.CONTROLNET SYSTEM
VARIABLES APPENDIX B-81584EN/01
$CN_BD_INFO[1].$cn_pgafile
Minimum: “” Default: ”MC:¥PRODUCT¥CNET¥CN104.SSP” Maximum: “”
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING
Name: ControlNet FPGA Source file (.SSP)
Description: This indicates firmware file to be loaded. The extension of this file is .SSP. This is required to update the FPGA
Flash EPROM. This is the file which will be loaded by the ControlNet Flash Programming file.
Power Up:
User Interface Location:
$CN_BD_INFO[1].$cn_bd_erst
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Error state of Input and Output Ports
Description: This sets what the last state of the input/output ports should be:
0 : Keep last state
1 : Set to zero
2 : Use individual device settings
Power Up: Takes effect at next power up.
User Interface Location:
$CN_BD_INFO[1].$cn_firm_loc
Minimum: 0 Default: 0 Maximum: 1
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: Location of ControlNet Firmware file (.BIN)
Description: This sets where the CNET firmware file resides. It should be:
0 : CN_FLASH_BIN - Run BIN file from flash
1 : CN_LOAD_BIN - Load BIN file identified in ControlNet configuration firmware file - system variable
$CN_BD_INFO[#].$cn_firmfile - Default Setting
Power Up: Takes effect immediately.
User Interface Location:
$CN_BD_INFO[1].$cn_netchang
Minimum: 0 Default: 0 Maximum: 1
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: Specifies the action to be taken when the Network Parameter Change event is received.
Description: This specifies action to be taken when Network Parameter Change event is received. It should be:
0 : CN_NETCHNG_WARN - Allow Network Change with Warning Post - Default
1 : CN_NETCHNG_STOP - Post Stop error on Network Change
Power Up: Takes effect immediately.
User Interface Location:
- 92 -
B.CONTROLNET SYSTEM
B-81584EN/01 APPENDIX VARIABLES
$CN_BD_INFO[1].$cn_dbin_ver
Minimum: “” Default: ”******************” Maximum: “”
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: STRING
Name: ControlNet Executing Firmware Revision
Description: Provides the revision number for the firmware on the card.
Power Up: Read and set during power up
User Interface Location: ControlNet Board Detail Screen
$CN_BD_INFO[1].$cn_fbin_ver
Minimum: “” Default: ”******************” Maximum: “”
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: STRING
Name: ControlNet Card FPGA Firmware Revision
Description: Provides the revision number for the FPGA Firmware on the card.
Power Up: Read and set during power up
User Interface Location: ControlNet Board Detail Screen
$CN_BD_INFO[1].cn_stat1
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Sys Var for Internal Purposes
Description: This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].cn_stat2
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Sys Var for Internal Purposes
Description: This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].cn_stat3
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Sys Var for Internal Purposes
Description: This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
- 93 -
B.CONTROLNET SYSTEM
VARIABLES APPENDIX B-81584EN/01
$CN_BD_INFO[1].cn_stat4
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Sys Var for Internal Purposes
Description: This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_BD_INFO[1].cn_stat5
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Sys Var for Internal Purposes
Description: This value cannot be changed.
Power Up:
User Interface Location: ControlNet Board Detail screen
$CN_DV_LIST[1].$cn_dv_cmt
Minimum: “” Default: ”****************” Maximum: “”
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: STRING
Name: ControlNet Device Comment
Description: Provides a short description field for the Device.
Power Up: Effective immediately.
User Interface Location: ControlNet Device List screen
$CN_DV_LIST[1].$cn_dv_stat
Minimum: 0 Default: 0 Maximum: 99
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Device Status
Description: The status of the ControlNet device:
0: device is Not used
1: device is offline
2: device is in an error state
3: device is online
Power Up:
User Interface Location: ControlNet Device List screen
$CN_DV_LIST[1].$cn_dv_ihdln
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Device Input Header Length
Description: This reflects the ControlNet Connection Header Length. The total size of data exchanged is equal to 2 bytes of
Sequence, header length and the I/O size.
Power Up:
User Interface Location:
- 94 -
B.CONTROLNET SYSTEM
B-81584EN/01 APPENDIX VARIABLES
$CN_ADP_CNF[1].$cn_adpenab
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RO Program: RO GET/SET_VAR: RO Data Type: INTEGER
Name: ControlNet Mode of Operation
0 - Adapter Mode - Default
1 - Scanner Mode
Description: Decides if the board operates in Scanner mode or Adapter mode
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_bd_vndid
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Daughter-Board Vendor ID
Description: Goes in the ControlNet ID object Vendor ID of the Manufacturer of the board.
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_bd_dtype
Minimum: 0 Default: 0 Maximum: 0
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Daughter-Board Device Type
Description: Goes in the ControlNet ID object Device Type of the board.
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_bd_pcode
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Daughter-Board Product Code
Description: Goes in the ControlNet ID object Product Code of the board.
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_bd_majrv
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Major Revision
Description: Goes in the ControlNet ID object Major Revision of the Product.
Power Up:
User Interface Location:
- 95 -
B.CONTROLNET SYSTEM
VARIABLES APPENDIX B-81584EN/01
$CN_ADP_CNF[1].$cn_bd_minrv
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Minor Revision
Description: Goes in the ControlNet ID object Minor Revision of the Product.
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_outsize
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Output Size in Words for adapter mode
Description:
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_insize
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Input Size in Words for adapter mode
Description:
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_ost_sz
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Output Status size
Description:
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_ist_sz
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Input Status size
Description:
Power Up:
User Interface Location:
- 96 -
B.CONTROLNET SYSTEM
B-81584EN/01 APPENDIX VARIABLES
$CN_ADP_CNF[1].$cn_class
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Connection Class for the target (adapter connection)
Description: Provides the Connection Path for the device.
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_inst
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Connection Instance for the target (adapter connection)
Description: Provides the Connection Path for the device.
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_conpt
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Connection point 0 for the target (adapter connection)
Description: Provides the Connection Path for the device.
Power Up:
User Interface Location:
$CN_ADP_CNF[1].$cn_conpt1
Minimum: 0 Default: 0 Maximum: 32767
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: INTEGER
Name: ControlNet Connection point 1 for the target (adapter connection)
Description: Provides the Connection Path for the device.
Power Up:
User Interface Location: ControlNet Board Detail Screen
$CN_BD_INFO[1]
Minimum: 0 Default: 0 Maximum: 0
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: CN_BD_INFO_T
Name: ControlNet Board Information Variables
Description: Contains variables which hold information on the operation of each ControlNet daughter-board and the network
associated with each daughter-board. Individual fields are described below. User viewable and configurable fields
are viewed and edited on the ControlNet Board List and Board List Detail screens.
Power Up:
User Interface Location:
- 97 -
B.CONTROLNET SYSTEM
VARIABLES APPENDIX B-81584EN/01
$CN_BD_INFO[2]
Minimum: 0 Default: 0 Maximum: 0
KCL/Data: RW Program: RW GET/SET_VAR: RW Data Type: CN_BD_INFO_T
Name: ControlNet Board Information Variables
Description: Contains variables which hold information on the operation of each ControlNet daughter-board and the network
associated with each daughter-board. Individual fields are described below. User viewable and configurable fields
are viewed and edited on the ControlNet Board List and Board List Detail screens.
Power Up:
User Interface Location:
- 98 -
C.CONTROLNET ERROR
B-81584EN/01 APPENDIX CODES
- 99 -
C.CONTROLNET ERROR
CODES APPENDIX B-81584EN/01
This section contains definitions for some ControlNet errors you might encounter on
your system. You should refer to Appendix C.2 to look up hexadecimal error codes
that are referenced in this section.
- 100 -
C.CONTROLNET ERROR
B-81584EN/01 APPENDIX CODES
- 101 -
C.CONTROLNET ERROR
CODES APPENDIX B-81584EN/01
- 102 -
C.CONTROLNET ERROR
B-81584EN/01 APPENDIX CODES
- 103 -
C.CONTROLNET ERROR
CODES APPENDIX B-81584EN/01
- 104 -
C.CONTROLNET ERROR
B-81584EN/01 APPENDIX CODES
The following error codes are defined by the ControlNet Specification 2.0. When a
connection to a device fails, the R-J3 posts a stop error in the following format:
The Error code (## ####) is a ControlNet error code from the ControlNet
Specification. The code is displayed in hexadecimal, and the first two digits
correspond to the General Status, while the last four digits correspond to the extended
status.
Table C-1 lists the ControlNet error codes.
GENERAL EXTENDED
DESCRIPTION
STATUS STATUS
0x00 Service completed successfully
0x01 0x0100 Connection in Use or Duplicate Forward Open
0x01 0x0103 Transport Class and Trigger combination not supported
0x01 0x0106 Ownership Conflict
0x01 0x0107 Connection not found at target application.
0x01 0x0108 Invalid Connection Type. Indicates a problem with either the Connection Type or
Priority of the Connection
0x01 0x0109 Invalid Connection Size
0x01 0x0110 Device not configured
0x01 0x0111 RPI not supported. Might also indicate problem with connection timeout multiplier.
0x01 0x0113 Connection Manager cannot support any more connections
0x01 0x0114 Either the Vendor Id or the Product Code in the key segment did not match the device
0x01 0x0115 Product Type in the key segment did not match the device
0x01 0x0116 Major or Minor Revision information in the key segment did not match the device
0x01 0x0117 Invalid Connection Point
0x01 0x0118 Invalid Configuration Format
0x01 0x0119 Connection request fails since there is no controlling connection currently open.
0x01 0x011A Target Application cannot support any more connections
0x01 0x0203 Connection cannot be closed since the connection has timed out
0x01 0x0204 Unconnected Send timed out waiting for a response.
0x01 0x0205 Parameter Error in Unconnected Send Service
0x01 0x0206 Message too large for Unconnected message service
0x01 0x0301 No buffer memory available
0x01 0x0302 Network Bandwidth not available for data
0x01 0x0303 No Tag filters available
0x01 0x0304 Not Configured to send real-time data
- 105 -
C.CONTROLNET ERROR
CODES APPENDIX B-81584EN/01
GENERAL EXTENDED
DESCRIPTION
STATUS STATUS
0x01 0x0311 Port specified in Port Segment Not Available
0x01 0x0312 Link Address specified in Port Segment Not Available
0x01 0x0315 Invalid Segment Type or Segment Value in Path
0x01 0x0316 Path and Connection not equal in close
0x01 0x0317 Either Segment not present or Encoded Value in Network Segment is invalid.
0x01 0x0318 Link Address to Self Invalid
0x01 0x0319 Resources on Secondary Unavailable
0x01 0x031A Connection already established
0x01 0x031B Direct connection already established
0x01 0x031C Miscellaneous
0x01 0x031D Redundant connection mismatch
0x02 n/a Connection Manager resources are unavailable to handle service request
0x03 n/a Invalid connection number specified by the Get_Connection_Data service. This is
also returned by the Search_Connection_Data service if the specified connection is
not found.
0x04 Zero Based Segment Type in path is invalid. The Extended Status shall be the word offset (0
Word Offset based) to the word in the path where the error occurred. The offset starts at the first
word after the path size. This error shall not be returned if an error occurs when
parsing the Connection Path.
0x05 Zero Based Destination in path is invalid. The Extended Status shall be the word offset (0 based)
Word Offset to the word in the path where the error occurred. The offset starts at the first word
after the path size. This error will not be returned if an error occurs when parsing the
Connection Path.
0x07 n/a Connection has been lost. This is used by the Get/Set Services when they are made
through a connection
0x08 n/a Connection Manager does not support the requested Service.
0x09 Index to Error in Data Segment. Extended Status shall be index to where the error was
Element encountered in the Data Segment. The Configuration Revision Number if present in
the Data Segment shall always be index 1.
If the error occurs with the Get/Set Services, then the extended status indicates the
attribute number that failed.
0x0C Optional Service cannot be performed while Object is in current state. The first word of
Extended Status may optionally contain the object’s current state.
0x10 Optional Service cannot be performed while Device is in current state. The first word of
Extended Status may optionally contain the device’s current state.
0x11 n/a Response data too large. This is used by the get services to indicate the amount of
data requested was too large to fit into the response buffer.
0x13 n/a Not enough data was received.
0x14 Attribute Id Attribute specified in FIND service is not supported by Connection Manager
0x15 n/a Too much data was received.
0x25 0x0114 Either the Vendor Id or the Product Code in the key segment did not match the device.
Used if the Key Segment was contained in the path.
- 106 -
C.CONTROLNET ERROR
B-81584EN/01 APPENDIX CODES
GENERAL EXTENDED
DESCRIPTION
STATUS STATUS
0x25 0x0115 Product Type in the key segment did not match the device. Used if the Key Segment
was contained in the path.
0x25 0x0116 Major or Minor Revision information in the key segment did not match the device.
Used if the Key Segment was contained in the path.
0x26 n/a Invalid path size
0xd0 0x0001 Connection is closed or stopped. (Used in Adapter mode of operation.)
0xd0 0x0002 Connection open is pending. (Used in Adapter mode of operation.)
- 107 -
D.RESPONSE TIME APPENDIX B-81584EN/01
D RESPONSE TIME
Topics In This Chapter Page
Response Time The response time of the system is the amount of time it takes an I/O signal
to be transmitted through the system to its destination.・・・・・・・・・・・・・・・・・・・・ 109
- 108 -
B-81584EN/01 APPENDIX D.RESPONSE TIME
The system response time is the amount of time it takes an I/O signal to propagate
through the system to its destination and back again. For an R-J3 -to- PLC system this
time would be from the time an output is set to the time a modified input is read. The
system response time depends on many factors. The primary factors are:
● The Network Update Time (NUT)
● The R-J3 I/O Scan Time
● PLC Ladder Scan Time
To calculate the response time, take into account the following information:
The response time is asynchronous but has a deterministic upper limit. After a signal
gets set on the ControlNet (CNET) I/O Image, it will take a maximum of one NUT
before it gets transmitted to any node on the network.
Examine the case where an R-J3 DO is transferred to a PLC and back as an R-J3 DI.
In this case after the DO is set in the I/O Image, it will take a maximum of one I/O
Scan to get the DO to the CNET I/O Image, t(o-c). After the DO is in the CNET I/O
Image it is transferred once a Network Update Time, t(nut) to any node on the network.
See Figure D-1.
In the PLC, the inputs are scanned into the Ladder I/O Image, which fixes them for the
entire Ladder Scan, t(c-li). The inputs are processed during the ladder scan t(l) and
then set back to the PLC’s CNET I/O Image via t(li-c).
- 109 -
D.RESPONSE TIME APPENDIX B-81584EN/01
The PLC outputs are transferred once during each NUT, t(nut) back to the R-J3. They
are then transferred to the I/O Image t(c-i) where they can be read by a program.
● t(o-c) = Teach pendant outputs get immediately set in the I/O Image. The time
necessary to get to them to ControlNet memory can be a maximum of one I/O
Scan or 4 ms.
● t(nut) = The time from one node to any node is set in ControlNet this is one
Network Update Time (NUT). This value can be obtained from RSNetWorx.
● t(c-li) = After the signal is in the PLC CNET I/O Image, it must get placed in an
appropriate ladder image data file to be accessed by the PLC Ladder.
● t(l) = The input value needs to be fixed for the entire scan in the ladder. The
PLC Scan can usually be obtained by examining an appropriate status register in
the PLC. After the signal has been processed, the reverse process must take
place
● T(li-c) = Signal to from PLC Data File to PLC’s CNET Output Image
● T(c-i) = The time to copy data from the CNET I/O Image into the I/O Image used
by a program.
For example, using R-J3 V5.30 and a PLC 5/40C over a simple network with a 2 ms
NUT, the following times were calculated.
Your actual PLC ladder scan times might vary from the example. Most PLCs offer
the capability to get the actual scan time from a programmer or monitor.
NOTE
These calculations apply to user level access.
- 110 -
E.EDS FILES (ADAPTER AND
B-81584EN/01 APPENDIX SCANNER)
- 111 -
E.EDS FILES (ADAPTER AND
SCANNER) APPENDIX B-81584EN/01
E.1 OVERVIEW
The R-J3 ControlNet Interface can be configured into either an Adapter or a Scanner
personality. Each personality has their own specific parameters that need
configuration. Therefore, two EDS files exist, one for Adapter and the second for
Scanner.
- 112 -
E.EDS FILES (ADAPTER AND
B-81584EN/01 APPENDIX SCANNER)
The R-J3 Adapter EDS File is used in the SST CCT and RSNetWorx 2.0. It is used
in the SST CCT to allow any of the CCT’s supported Scanners to configure the R-J3
Adapter. It is also used by RSNetWorx 2.0 to configure PLC-5 Scanners to the R-J3
Adapter.
- 113 -
E.EDS FILES (ADAPTER AND
SCANNER) APPENDIX B-81584EN/01
- 114 -
E.EDS FILES (ADAPTER AND
B-81584EN/01 APPENDIX SCANNER)
- 115 -
E.EDS FILES (ADAPTER AND
SCANNER) APPENDIX B-81584EN/01
The R-J3 Scanner EDS File is used when configuring Scanner-to-Scanner connections
(sometimes called Peer-to-Peer. It is used in both the SST CCT and RSNetWorx 2.0
to identify the I/O Size and Producer/Consumer ID pair.
- 116 -
E.EDS FILES (ADAPTER AND
B-81584EN/01 APPENDIX SCANNER)
- 117 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
- 118 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
F.1 OVERVIEW
This appendix describes the SST ControlNet Configuration tool required to configure
the R-J3 ControlNet Scanner interface.
Procedure F-1 contains steps that serve as guidelines for the following examples.
The information provided here is for reference only. For further details and information
about troubleshooting the PLCs, refer to Allen Bradley/Rockwell Automation
Technical Support. For details about troubleshooting the SST ControlNet
Configuration Tool, refer to SST Technologies Technical Support.
- 119 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
The ControlNet Configuration Tool is used to configure the R-J3 ControlNet Interface
in the Scanner Mode of operation.
The ControlNet Configuration Tool (CCT) can be obtained from SS Technologies FTP
web-site at http://www.sstech.on.ca. The FTP site to obtain the tool is ftp.sstech.on.ca
in the directory /pub/drivers/5136-CN.
The CCT runs either on Windows 98 or Windows NT Service Pack 3 or later. The CCT
is compatible with RSNetWorx and RSLinx. To utilize the CCT, the PC needs to be
able to communication with the ControlNet network on which the R-J3 Scanner to be
configured exists.
- 120 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
This example describes how to set up an R-J3 Scanner Interface and an R-J3 Adapter
Interface. This example also describes in detail on how to use the SST Scanner
Configuration Tool. The figures in this section serve as examples for the remainder of
this section.
System Requirements
The following components are required and used to set up this loop-back network.
● A PC with the SST Scanner Configuration Tool installed
● Two R-J3 controllers with one ControlNet Interface each or one R-J3 controller
with two ControlNet Interfaces. The Software version is R-J3 V5.30 or later.
● Necessary trunk cable, taps and terminators to connect the network.
NOTE
Since all the components of this network are SST components, another
network configuration tool such as RSNetWorx 2.0 is not required. If a
different vendor makes any of the scanners on a network you are
configuring, RSNetWorx 2.0 is required to perform network
configuration.
- 121 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
Step
1. Cold start the R-J3 controller.
2. The R-J3 adapter will be set up for the 5138-CN-104 Simple Adapter Personality.
Ensure that the following system variables have values as listed. If they are
different, set them to the values listed in Table F-1, cycle power, and Cold start the
R-J3 Controller.
3. Press MENUS .
4. Select [I/O].
- 122 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
7. Move the cursor to the board you want to set up for adapter mode configuration
and press F3, DETAIL, to see the ControlNet board details. You will see a screen
similar to the following.
8. Move the cursor to [Operation Mode] and press F3, [ADPTR] for adapter mode
operation.
9. Move the cursor to [Adapter Err Sevrty] and set the adapter connection error
severity to [STOP], [WARN], or [PAUSE] as required.
10. Move the cursor to [MAC-ID] and set the MAC ID of the adapter interface card.
- 123 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
12. Press F4, [ADPCNF], for adapter mode configuration. You will see a screen
similar to the following.
13. Move the cursor to [Input Size (Words)] and set to the value to 8 if it is not already
set to 8.
The term [input size] implies the size of the data received by the Adapter mode
connection from a scanner.
14. Move the cursor to [Output Size (Words)] and set the value to 0.
The output header size provides a means to configure the offset from which the I/O
begins. Certain scanners, such as the Allen-Bradley PLC-5 and Logix 5000, do
not allow for a non-zero header. This parameter allows user configuration for that
parameter. The total size of data sent to a scanner is equal to the sum of the output
header and the output size parameters. The output header, if non-zero, is not
accessible, and that data cannot be set by the user.
15. Turn the controller off, and then Cold start the controller. The settings take effect
when the controller turns on.
This completes the configuration of the adapter.
Step
1. Cold start the R-J3 controller.
2. The R-J3 Scanner will be set up for the 5138-CN-104 personality. Ensure that the
following system variables have values as listed in . If they are different, set them
to the values listed, cycle power, and Cold start the R-J3 controller.
- 124 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
3. Press MENUS .
4. Select [I/O].
- 125 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
7. Move the cursor to the board you want to set up for adapter mode configuration
and press F3, DETAIL, to see the ControlNet Board Details. You will see a screen
similar to the following.
8. Move the cursor to [Operation Mode] and ensure that the operation mode is
[SCANNR]. If it is not, press F2, [SCANNR].
9. Move the cursor to [Param Change Mode] and ensure that it is set to [SCN ULK].
This will allow downloading of the network configuration from the network.
10. Move the cursor to [Scanner Err Sevrty] and set the adapter connection error
severity to [STOP], [WARN], or [PAUSE] as required.
11. Move the cursor to [MAC ID] and set the MAC ID of the adapter interface card.
The MAC ID of the scanner should be lower than that of the adapter. If the MAC
ID has been changed, cycle power and Cold start the controller.
12. Note the MAC ID of the scanner. The next step is to use the SST ControlNet
Configuration Tool to download the scan list.
- 126 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
Condition
■ The SST ControlNet Configuration Tool is installed on a PC that is connected to
the ControlNet network.
Step
1. Click [START] - [Programs] - [SST Cn] - [Cn Config Tool]. This will launch the
Configuration Tool.
2. When the tool is launched for the first time, there will be no EDS files in the library.
Click to the Left icon above the EDS pane to add EDS files. See the following
screen for an example.
- 127 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
- 128 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
5. A new scanner will be added to the right window. Select the scanner and right click
the mouse. See the following screen for an example.
6. Select [Properties]. The following window will be displayed. Set the MAC ID for
the Scanner interface. The MAC ID should match that of the scanner on the R-J3
controller as the scan list will be downloaded Online over ControlNet. Click [OK]
when you are finished.
- 129 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
7. Select the [5136-CN-104 Simple Adapter] for the EDS listing window and drag it
to the Scanner on the right window.
8. Select the Adapter entry in the right window and right click using the mouse. See
the following screen for an example.
- 130 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
11. Set the MAC ID so that it corresponds to the MAC ID of the adapter on the R-J3
controller. Set the [O-T RPI], [T-O RPI], the [O-T size], the [T-O size] as required.
The [O-T RPI] is the update interval (in microseconds) for data coming from the
scanner to the adapter.
The [T-O RPI] is the update interval for the data coming from the adapter to the
scanner. The [O-T size] is the data coming scanner to the adapter and corresponds
to the value entered in the [Input Size (Words):] field in Procedure F-1 , Step 13 of
adapter mode configuration. Type 8 and press [ENTER].
The [T-O size] is the data coming from the adapter to the scanner in words. This
- 131 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
corresponds to the sum of the Output Size (Words): field in Procedure F-1 , Step
14 and [Output Header (Words):] field in Procedure F-1 , Step 14. Type 8 and
press [ENTER]. The [Name] field is what will be displayed for the name of the
device on the robot controller device list for the scanner. Click [OK] when you are
done.
12. Select [The Network] in the network window. Right-click and select [Properties].
13. The window shown below will be displayed. Set the NUT (Network Update time)
as required. This value should be less than or equal to the smallest RPI set for any
device on the scan list. Set the SMAX (Scheduled Maximum MAC ID) and the
UMAX (Unscheduled Maximum MAC ID) as appropriate. When you are finished,
click [OK].
- 132 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
14. Select [The Network] in the network window and right click again. Select [Send
Config Through SST CN Card].
NOTE
Ensure that the R-J3 controller with the scanner interface is online
and connected to the same network as the card in the PC is. Also
ensure that the MAC ID of the scanner matches that of the scanner
in the network list. Select the correct SST card and click [OK].
- 133 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
16. After the configuration is sent, you will see the message shown below.
17. Turn the controller off, then turn it on again. Cycle power to the controller. When
the controller powers up, the System LEDs for both, the Scanner Interface as well
as the Adapter Interface should be solid green.
18. Map I/O on the R-J3 Systems. ControlNet Board 1 shows up as Rack 85 and Board
2 as Rack 86. The Slot represents the MAC Id. In case of adapter interface, the slot
is equal to the MAC Id of the adapter card. In case of the scanner, the slot is equal
to MAC Id of the adapter being scanned. Refer to the appropriate Application-
Specific FANUC series R-J3 Controller OPERATION’S MANUAL for more
details on how to configure I/O for the R-J3 system.
- 134 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
In ControlNet, two Scanner devices can exchange I/O with each other using Send and
Receive connections. This section describes how to set up an R-J3 ControlNet Scanner
interface as a peer to an Allen Bradley PLC-5.
Requirements
The requirements for setting up an R-J3 Scanner as a peer to PLC-5 are as follows:
● R-J3 System with ControlNet Scanner Interface (Refer Chapter 2 and Chapter 4)
● PLC-5 with ControlNet Interface
● PC connected to ControlNet
● SST ControlNet Configuration Tool installed
● RSNetWorx for ControlNet installed (Version 1.8 or Version 2.0)
● If using 1784-KTCX on PC, RSLinx OEM installed.
● If using 5136-CN-ISA or 5136-CN-PCI, Drivers properly configured for RSLinx
Refer to Allen Bradley Technical support for PLC-5, RSNetWorx, RSLinx OEM and
1784-KTCX. Refer to SS Technologies Technical Support for 5136-CN PC cards, SST
ControlNet Configuration Tool, and configuring drivers for RSLinx.
Step
1. If you have not already done so, create a new network and add a scanner.
Double-click [The Network] and set the network properties. Double-click the
scanner. On the [Scanner] tab, set the MAC ID. On the [Connections] tab, set the
[Card Type] to the appropriate type (usually [Standard]).
2. Drag the appropriate (model and revision) PLC-5C from the [Programmable Logic
Controller] section of the EDS library to the scanner.
- 135 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
4. On the [General] tab, you can optionally set the name and description for the
PLC-5 connection.
6. Set the [O=>T RPI] and [T=>O RPI] to the required update time. This time is
shown in microseconds. For example, if you want it to update every 30 ms, enter
30000 for both values. The default values for the RPIs is the network update time
(NUT).
7. Set the [T=>O Size] to the length of the receive in words. This must match the
length of the send you configure in the PLC.
8. On the [Parameters] tab, set the [Consume Buffer ID] value to match the message
number of the send in the PLC.
10. Double click on the scanner, select the [Connections] tab, and configure
appropriate [Rx Start] and [Tx Start] addresses.
Condition
■ You have successfully completed Procedure F-4 .
Step
1. If you are using RSNetWorx 1.8 or below, drag an [SST-CN KTCS Send] from the
[Communication Adapters] section of the EDS library to the scanner. If you are
using RSNetWorx 2 or above, drag an [SST-CN-104 Send] from the
[Communication Adapters] section of the EDS library to the scanner.
3. On the [General] tab of the dialog box that appears, you can optionally set the
name and description of the send.
4. Set the [T=>O Size] to the length of the send in words. This must match the length
of the corresponding receive in the PLC.
- 136 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
5. On the [Parameters] tab, set the [Produce Buffer ID] value to match the message
number of the corresponding receive in the PLC. Each send on a node must have a
unique Produce Buffer ID (message number).
7. Download the configuration to the module and put the module online.
Step
1. Start RSNetWorx and select [Network]/[New] to create a new network.
3. Enable [Edits].
4. Right click on the PLC-5 icon in the network window and select [ControlNet
Configuration]. RSNetWorx opens the PLC-5 Map Editing Tool.
5. Assign the Data Input, Data Output, Status, Diagnostic and Configuration Files to
the file numbers you want to use in the PLC.
6. To insert a Receive Scheduled message, right click on the PLC and select [Insert
Receive Scheduled Message]. In the dialog box that appears:
● Set the [Node Number] to that of the card from which the PLC is receiving the
scheduled data.
● Set the [message number] to be the Produce Buffer ID of the corresponding
send in the card.
● Set the [Requested Packet Interval] to the update time, in ms, for this receive.
● Set the [Message Size] to the length of the send in the card.
● Click [OK] to accept the configuration for the receive.
7. To insert a Send Scheduled message, right click on the PLC and select [Insert Send
Scheduled Message]. In the dialog box that appears:
● Set the [Message Number] to match the Consume Buffer ID for the
corresponding receive in the card.
- 137 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
● Set the [Message Size] to match the T=>O size for the corresponding receive
in the card.
● Click [OK] to accept the configuration for the send.
8. Select [Configuration]/[Auto Map]/[All Entries] from the main menu so the Map
Editing Tool can assign addresses for the scheduled sends and receives you have
configured.
- 138 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
Requirements
The requirements for setting up an R-J3 as a Peer to ControlLogix 5000 are as follows:
● R-J3 System with ControlNet Scanner Interface (Refer Chapter 2 and Chapter 4)
● ControlLogix 5000 with 1756-CNB ControlNet Interface
● PC connected to ControlNet
● SST ControlNet Configuration Tool installed
● RSNetWorx for ControlNet installed (Version 1.8 or Version 2.0)
● RSLogix 5000 to program ControlLogix 5000
● If using 1784-KTCX on PC, RSLinx OEM installed.
● If using 5136-CN-ISA or 5136-CN-PCI, Drivers properly configured for RSLinx
Refer to Allen Bradley Technical support for PLC-5, RSNetWorx, RSLogix 5000,
RSLinx OEM and 1784-KTCX. Refer to SS Technologies Technical Support for
5136-CN PC cards, SST ControlNet Configuration Tool, and configuring drivers for
RSLinx.
Use Procedure F-7 to create a produced tag (scheduled send) in RSLogix 5000. Use
Procedure F-8 to set up the corresponding receive or consumed connection in the SST
ControlNet Configuration Tool.
Use Procedure F-9 to create a consumed tag in RSLogix 5000. Use Procedure F-10 to
set up the corresponding send in the SST ControlNet Configuration Tool.
- 139 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
NOTE
You must be offline in RSLogix 5000 to complete this procedure.
Step
1. Expand the [Data Types] item in the tree, right click on [User-Defined], and select
[New Data Type]... In the dialog box that appears:
● Give the new type a name, for example, ProdTag, and optionally a
Description.
● Create Members for the data type. Give each one a name, data type (INT,
BOOL, etc), style (HEX, etc. This is how the member is displayed), and
description. Note that members can be arrays. If you enter a data type of
INT[20], the member is an array of 20 integers. The maximum size is
approximately 240 words (the actual value depends on the network schedule.)
● Click Apply and RSLogix 5000 displays the current size of the structure.
● When you have created the desired members, click [OK].
2. Expand the [Controller] in the tree. Right-click [Controller Tags] and select [Edit
Tags]. RSLogix 5000 displays a list of the existing controller tags.
3. Right-click an empty entry in the list and select [Edit Tag Properties]. In the dialog
box that appears:
● Give the tag a Name and optionally a description.
● For the [Data Type], select the user-defined data type you created earlier.
● The [Scope] should be [Controller].
● Check the [Produce this tag for up to xxx consumers] box and set the number
of consumers to an appropriate value.
● Click the [OK] button.
- 140 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
Procedure F-8 Setting Up the Corresponding Receive or Consumed Connection in the SST
ControlNet Configuration Tool
Step
1. If you have not already done so, create a new network and add a scanner.
Double-click [The Network] and set the network properties. Double-click the
scanner. On the [Scanner] tab, set MAC ID. On the [Connections] tab, set the
[Card Type] to the appropriate type (usually [Standard]).
2. Click the scanner to select it, then drag the appropriate (size and revision)
ControlLogix chassis from the EDS library to the scanner.
3. Click the chassis to select it, then double click on the appropriate ControlLogix
processor from the EDS library to add it to the scanner. Place it in the processor
slot, not the CNB slot.
4. Double-click the ControlLogix processor to edit it. In the dialog box that appears:
● Set the [O=>T RPI] and [T=>O RPI] to the required update time. This time is
shown in microseconds. For example, if you want the receive to update every
30 ms, enter 30000. The default values for the RPIs is the network update
time (NUT).
● Set the [T=>O size] to match the size of the tag in the ControlLogix. This size
is in words whereas the size of the user defined data type shown in RSLogix
5000 is in bytes.
● Click the [ControlLogix Tag Name] button. In the dialog that appears, enter
the tag name you created in RSLogix 5000. Note that this must be the name of
the tag, not the name of the user-defined data type. Click [OK] to accept the
tag name.
● Click [OK] to accept the configuration.
- 141 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
5. For every consumed or receive from a given ControlLogix processor, you must add
a chassis and processor (repeat steps 2-4)
6. Double-click [The Network] in the configuration to build the schedule. Click [OK]
to close the dialog.
7. Download the configuration to the card (see below) or if there are any Scheduled
Send connections, continue with Procedure F-9 first.
- 142 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
NOTE
You must be offline in RSLogix 5000 to complete this procedure.
Step
1. Expand the [Data Types] item in the tree, right click on [User-Defined], and select
[New Data Type]... In the dialog box that appears:
● Give the new type a name, for example, ConsumedTag, and optionally a
Description.
● Create Members for the data type. Give each one a name, data type (INT,
BOOL, etc), style (HEX, etc. This is how the member is displayed), and
description. Members can be arrays; if you enter a data type of INT[20], the
member is an array of 20 integers.
● Click [Apply] and RSLogix 5000 displays the current size of the structure.
● When you have created the desired members, click [OK].
3. Add a ControlNet bridge module of the appropriate type and revision. In the dialog
box that appears, assign it a name and enter the slot that it occupies in the
ControlLogix chassis. Click [OK] to accept the entry.
4. Right-click the bridge module you just added and select [New Module]. Add a
ControlNet PLC5C. In the dialog box that appears, give it a name, for example,
OurCard, and a node number. The node number is the node number of the card,
which will contain the corresponding scheduled send (produced tag).
6. Expand the [Controller] in the tree. Right click on [Controller Tags] and select
[Edit Tags]. RSLogix 5000 displays a list of the existing controller tags.
7. Right-click an empty entry in the list and select [Edit Tag Properties]. In the dialog
box that appears:
● Give the tag a Name and optionally a description.
● For [Tag Type], check [Consumed].
● In the [Controller] listbox, select the name you gave the PLC5C, in this
example, OurCard.
● The [Remote Instance] should be the message number you will be assigning
the Scheduled send on the card (see below).
● Select an appropriate RPI for the update time, in ms.
● For the [Data Type], select the user-defined data type you created earlier, in
this example, ConsumedTag.
- 143 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
● Leave the [Produce this tag for up to xxx consumers] checkbox unchecked.
● Click the [OK] button.
Procedure F-10 Setting Up the Corresponding Send in the SST ControlNet Configuration Tool
Step
1. Create a new network and add a scanner. Double-click [The Network] and set the
network properties. Double-click the scanner. On the [Scanner] tab, set the MAC
ID. On the [Connections] tab, set the [Card Type] to an appropriate type (usually
[Standard]).
2. Click the scanner to select it. Double-click an [SST-CN-104 Send] from the
[Communication Adapter] section of the EDS tree to add it to the scanner.
3. Double-click the send to edit it. In the dialog box that appears:
● On the [General] tab, set the [T=>O size] to the required value. This size is in
words whereas the size of the user defined data type shown in RSLogix 5000
is in bytes. The maximum is approximately 240 words (the exact value
depends on the network schedule.)
● On the [Parameters] tab, double-click the [Produce Buffer ID Value] field and
type the message number you entered in RSLogix 5000. Every scheduled send
on a node must have a unique message number.
● Click [OK] to accept the configuration.
4. Double-click [The Network] in the configuration to build the schedule. Click [OK]
to close the dialog.
5. Download the Configuration to the card.
Requirements
The requirements for setting up an R-J3 as an Adapter scanned by ControlLogix 5000
are as follows:
● R-J3 System with ControlNet Scanner Interface (Refer Chapter 2 and Chapter 4)
● ControlLogix 5000 with 1756-CNB ControlNet Interface
● PC connected to ControlNet
- 144 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
Refer to Allen Bradley Technical support for PLC-5, RSNetWorx, RSLogix 5000,
RSLinx OEM and 1784-KTCX. Refer to SS Technologies Technical Support for
5136-CN PC cards, SST ControlNet Configuration Tool, and configuring drivers for
RSLinx.
System Variable
Generic Module
(# = board number)
$CN_ADP_CNF[#].$cn_bd_vndid 8
$CN_ADP_CNF[#].$cn_bd_dtype 12
$CN_ADP_CNF[#].$cn_bd_pcode 2
$CN_ADP_CNF[#].$cn_bd_majrv 1
$CN_ADP_CNF[#].$cn_bd_minrv 1
$CN_ADP_CNF[#].$cn_class 4
$CN_ADP_CNF[#].$cn_inst 1
$CN_ADP_CNF[#].$cn_conpt0 8
$CN_ADP_CNF[#].$cn_conpt1 7
Use Procedure F-11 to set up a generic module in the ControlLogix 5000 processor.
- 145 -
F.SST CCT AND EXAMPLE
PROGRAMS APPENDIX B-81584EN/01
NOTE
You must be offline in RSLogix 5000 to complete this procedure.
Step
1. In RSLogix 5000, Select the 1756-CNB processor connection in the [I/O
Configuration] tab. If it is not already present, add the appropriate ControlNet
module to the [I/O configuration] tab.
4. In the configuration screen for the module enter the following values:
● Type the name.
● Type the optional description.
● Select [Comm Format to be Data-Int] in the pull-down menu.
● Set the node value so that it matches the MAC Id of the R-J3 Adapter.
● Set the [Input Assembly Instance] value to 7 and set the size to 8 (words).
● Set the [Output Assembly Instance] value to 8 and set the size to 8 (words).
● Set the [Configuration Assembly Instance] value to 1 and set the size to 0
(words).
● Click [OK] to save these values.
- 146 -
F.SST CCT AND EXAMPLE
B-81584EN/01 APPENDIX PROGRAMS
- 147 -
B-81584EN/01 INDEX
INDEX
CONTROLNET NETWORK OVERVIEW ........ 3
A
CONTROLNET OVERVIEW ............................. 1
ADAPTER MODE CONFIGURATION........... 17
CONTROLNET SYSTEM VARIABLES.......... 85
ADAPTER MODE CONFIGURATION
D
OUTLINE...................................................... 15
Device List......................................................... 61
B
DIAGNOSTICS ................................................. 55
Board Adapter Configuration .......................... 60
Downloading a Scan List to the R-J3 ControlNet
Board Address Configuration DIP Switch
Interface ........................................................ 37
Settings.......................................................... 51
E
Board Detail...................................................... 57
Board List.......................................................... 55 EDS FILES (ADAPTER AND SCANNER) ... 111
C H
i-1
INDEX B-81584EN/01
S T
i-2
Revision Record
FANUC Robot series (R-J3 CONTROLLER) ControlNet Interface OPERATOR’S MANUAL (B-81584EN)
01 Jul.,2001