Solid-state equipment has operational characteristics differing from those of electromechanical equipment. Safety
Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1
your local Rockwell Automation sales office or online at http://www.rockwellautomation.com/literature/
important differences between solid-state equipment and hard-wired electromechanical devices. Because of this difference,
and also because of the wide variety of uses for solid-state equipment, all persons responsible for applying this equipment
must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the
use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or
liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or
software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,
Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
available from
) describes some
WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.
Identifies information that is critical for successful application and understanding of the product.
Allen-Bradley, Rockwell Software, RSLog ix, FactoryTalk, SoftLogix, R SLinx, ControlLogix, Studio 5000, Rockwell Automation, SLC, PLC-5, Logix5000, PhaseManager, ControlLogix, RSNetWorx, FlexLogix, PLC-2,
PLC-3, DH+, Integrated Architecture, Kinetix, Flex, PanelView, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Summary of Changes
Introduction
Updated Information
The release of this document contains new and updated information. To find
new and updated information, look for change bars, as shown next to this
paragraph.
The document contains these changes. This table represents major topics. Make
sure to look for the change bars throughout this document.
Top icPa ge
Troubleshoot FactoryTalk Activations Link17
Logix Designer software has now replaced RSLogix™ 5000 softwareThroughout
Studio 5000™ Logix Designer application is the rebranding of RSLogix 5000 software11
DeviceNet is supported in SoftLogix software, Version 20 or earlier159
ControlNet is supported in SoftLogix software, Version 20 or earlier193
Rockwell Automation Publication 1789-UM002J-EN-P - December 20123
Summary of Changes
Notes:
4Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
10Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Preface
Use this manual to become familiar with the SoftLogix™ 5800 controller and its
features.
Studio 5000 Environment
The Studio 5000 Engineering and Design Environment combines engineering
and design elements into a common environment. The first element in the Studio
5000 environment is the Logix Designer application. The Logix Designer
application is the rebranding of RSLogix™ 5000 software and will continue to be
the product to program Logix5000™ controllers for discrete, process, batch,
motion, safety, and drive-based solutions.
The Studio 5000 environment is the foundation for the future of Rockwell
Automation® engineering design tools and capabilities. It is the one place for
design engineers to develop all of the elements of their control system.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201211
Preface
IMPORTANT
Additional Resources
These documents address the Logix5000™ family of controllers and networks.
We recommend that you read the appropriate release notes for software
requirements, compatible PCI cards and driver, and system requirements.
To locate the release notes for your system, search for 1789-RN in
Literature Library.
ResourceDescription
Logix5000 Controllers Quick Start, publication 1756-QS001Explains how to set up a Logix5000 controller.
Logix5000 Controllers Common Procedures, publication
1756-PM001
Logix5000 Controllers General Instruction Set Reference
Manual, publication 1756-RM003
Logix5000 Controllers Process Control/Drives Instruction Set
Reference Manual, publication 1756-RM006
Logix5000 Controllers Motion Instruction Set Reference
Manual, publication 1756-RM007
Motion Modules in Logix5000 Control Systems, publication
LOG IX- UM0 02
EtherNet/IP Network Configuration User Manual, publication
ENET-UM001
PhaseManager™ User Manual, publication LOGIX-UM001
Describes how to complete standard tasks for
Logix5000 controllers. Program logic by using
sequential function chart (SFC), ladder diagram (LD),
structured text (ST), and function block diagram (FBD)
languages.
Program sequential applications, ladder diagram, and
structured text instructions.
Programming process control and drives applications
and function block
diagram instructions.
Describes ladder diagram motion instructions so you
can program motion applications.
Provides general information about motion modules.
Describes how to use EtherNet/IP communication
modules with your Logix5000 controller and
communicate with various devices on the Ethernet
network.
Describes how to set up a state model for your
controller.
You can view or download publications at
http:/www.rockwellautomation.com/literature/
. To order paper copies of
technical documentation, contact your local Allen-Bradley distributor or
Rockwell Automation sales representative.
12Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Chapter 1
IMPORTANT
SoftLogix 5800 System
Catalog Numbers 1789-L10, 1789-L30, 1789-L60
Top icPag e
About the SoftLogix 5800 Controller13
Before You Begin14
Install the SoftLogix 5800 Controller15
FactoryTalk Activation Manager15
Configure the RSLinx Virtual-backplane Driver18
About the SoftLogix 5800 Controller
The type of SoftLogix™ 5800 controller you use determines how many slots are available in the
virtual chassis and how many devices you can install.
Motion, ControlNet, and DeviceNet modules not currently supported in SoftLogix software,
version 21.00.00 or later which runs on these 32 and 64-bit Windows operating systems:
– Win 7 Pro (32 & 64 bit)
– Win 7 Home Premium (32 & 64 bit)
– Server 2008 R2 Standard Edition w/SP1
Running the SoftLogix software in a Virtual Machine, for example, VMWare or VirtualBox, is not
supported.
Controller TypeMaximumAvailable Slots
1789-L10• One SoftLogix 5800 controller
• Memory size limit of 2 MB per controller
• One 1784-SIM module
• EtherNet/IP support
• No third-party virtual-backplane module suppor t
1789-L30• Two SoftLogix 5800 controllers
• Memory size limit of 64 MB per controller
• Five PCI network interface cards
• Five 1784-SIM modules
• EtherNet/IP support
• Third-party virtual-backplane module suppor t
1789-L60• Six SoftLogix 5800 controllers
• Memory size limit of 64 MB per controller
• Sixteen PC I network interface cards
• Sixteen 1784-SIM modules
• EtherNet/IP support
• Third-party virtual-backplane module suppor t
(1) As of version 12 of the SoftLogix 5800 controller, the 1789-L10 controller supports three slots in the virtual chassis.
(2) The number of available slots in th e virtual chassis is limited by activation level. You can have as many PCI communication
cards as you have available slots in the virtual chassis and in the personal computer.
(2)
(2)
3-slot virtual chassis
5-slot virtual chassis
16-slot virtual chassis
(1)
Rockwell Automation Publication 1789-UM002J-EN-P - December 201213
Chapter 1
IMPORTANT
IMPORTANT
IMPORTANT
IMPORTANT
SoftLogix 5800 controllers and software do not support Integrated Motion on the EtherNet/IP
network. All motion PCI cards are not suppor ted by the Softlogix software, version 20.00.00 and
later.
PCI-based cards are not supported when using the Microsoft Windows 7 operating system. The
1784-PCIDS card is not supported when using the Microsoft Windows Vista or Windows 2008
Server operating system.
Before You Begin
Make sure you have the following software installed before you install SoftLogix software:
• Windows 7 operating system
• RSLinx® Classic software
We recommend that you read the appropriate release notes for software requirements,
compatible PCI cards and driver, and system requirements.
To locate the release notes for your system, search for 1789-RN in
Literature Library at http://www.rockwellautomation.com/literature
In Microsoft Windows Vista, Windows 2008 Server, and Windows 7 operating systems, when
RSlinx software is running as a service, the RSLinx® driver configuration GUI is not available.
To invoke the RSL inx GUI, remove a ll SoftLogix controllers from the chassis monitor and use the
RSLinx Control Panel to start RSLinx software as an application instead of a service.
.
Before you can install the SoftLogix 5800 controller, you need to perform the following steps.
1. Log into the Windows operating system under an account that is a member of the
Administrators user group on the computer where you are installing the SoftLogix 5800
controller.
To log in as a member of the Administrators group, your user account must be added to the
Administrators group on the computer. Ask your system administrator if you need help.
2. Install or verify that the following Windows services, required by the SoftLogix 5800
controller, are running.
The Workstation and Server services are automatically installed when you install Windows
Networking orRemote Access Service (RAS).
A machine running SoftLogix software does not support a remote desktop.
14Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Chapter 1
IMPORTANT
Install the SoftLogix 5800 Controller
If you have a previous version of the SoftLogix 5800 controller already installed on the
computer, use Start>Control Panel>Programs and Features to remove that earlier version
before installing the current version.
When you insert the installation DVD into your CD ROM drive, the DVD automatically begins
the set-up program for the controller. If your computer meets the hardware and software
requirements for the controller, you can install the controller.
1. If RSLinx software is already running, shut it down before beginning this installation
procedure.
2. Insert the SoftLogix 5800 installation DVD.
3. From the installation window, click SoftLogix 5800 V21.00.
4. Follow the set-up wizard.
FactoryTalk Activation Manager
There are two types of FactoryTalk® activations to activate the SoftLogix 5800 controller license—
node-locked and concurrent.
Node-locked Activation
Node-locked activation can be used only on the computer wherethe activation is locked (on the
personal computer for which the license was purchased). It is always locked to a specific piece of
hardware, for example, an Ethernet card, a hard disk, or a USB dongle.
Concurrent Activation
Concurrent activation is used in a server-client environment and is a type of activation that lets
multiple computers across a network use Rockwell Automation software products concurrently. A
concurrent activation can ‘float’ to, or be borrowed temporarily from, an activation server for a
specific period of time before expiring and returning automatically to the pool of available
activations on the server. Concurrent activations can be borrowed only if your Rockwell Software®
product supports borrowed activations.
If you want to check out a concurrent activation from an activation server, you do not need to use
the Rockwell Software Activation website. You can use the FactoryTalk Activation Manager to
configure your client computer to recognize the activation server computer where concurrent
activations are stored.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201215
Chapter 1
Run the FactoryTalk Activation Manager
When you install Studio 5000 environment, FactoryTalk Activation Manager is automatically
installed on the computer where the activation needs to reside. The FactoryTalk Activation
Manager software manages activations for the Rockwell Software products installed on the
computer. The FactoryTalk Activation Manager opens automatically when you install a new
Rockwell Software product.
You can also run the tool from the Windows Start menu by choosing Start>Programs>Rockwell
Software>FactoryTalk Activation>FactoryTalk Activation Manager.
For more information about the FactoryTalk Activation Manager, refer to the online help in the
software.
You need to have the following information available to activate your license:
• Host ID
• Serial Number
• Product Key
ItemDescription
Host IDThis is found by using the FactoryTalk Activation Manager.
Serial NumberThis is a 10-digit number supplied to you when you purchased
Product KeyThis is usually found in a red envelope that is shipped with
1. Click ‘Find Available Activations’ or ‘Get New Activations’.
2. Follow steps 1…5 in the FactoryTalk Activation Manager.
16Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Activation Tools and Rehosting
For information on Activation Tools and Rehosting Activations, see the Rockwell Software
Activation website at https://activate.rockwellautomation.com
.
Troubleshoot FactoryTalk Activations
There could be several reasons you might have trouble installing
your activations:
• If you accidentally requested too few concurrent activations for a product, you can
download more new activations for the same Host ID. You cannot download more
activations than you have purchased.
To purchase additional activations, contact your local Rockwell Automation sales office.
• If you accidentally requested too many concurrent activations for a product, you must
rehost all of the activations, and then request the correct number of activations again.
For e xample, i f you have 50 con current activatio ns avai lable for a product, and you intended
to request 10 for a particular Host ID, but accidentally selected 13 in the Activations
Requested list, you cannot return just the three activations you didn't want. You must
rehost all 13 activations, and then download 10 activations to the correct Host ID.
• If you accidentally requested activations for the wrong Host ID (computer or dongle), you
must rehost all of the activations you downloaded accidentally, and then request the
activations again for the correct Host ID.
• If you accidentally requested activations for the wrong product, you must rehost all of the
activations for that product, and then request the activations again.
For example, if you accidentally requested five concurrent activations for Logix Designer
application instead of FactoryTalk View SE software, you must rehost the five activations
for Logix Designer application, and then download five activations for FactoryTalk View
SE software.
To obtain more information, go to the Rockwell Automation Activations Support website
at https://activate.rockwellautomation.com
.
Chapter 1
Rockwell Automation Publication 1789-UM002J-EN-P - December 201217
Chapter 1
IMPORTANT
Configure the RSLinx Virtual-backplane Driver
Use RSLinx software to configure the virtual-backplane driver. You do this only once for the
computer.
The RSLinx virtual-backplane driver is required for SoftLogix software to operate.
To install the virtual-backplane driver, follow these steps.
1. In RSLinx software, from the Communications menu, choose Configure Drivers.
2. From the Available Driver Type pull-down menu, choose Virtual Backplane Driver.
3. Click Add New.
4. Type the driver name, such as AB_VBP-1, and click OK.
The Configure Drivers dialog box appears.
5. Click Configure.
The Configure VirtualBackplane dialog box appears. The Logix Designer application,
version 21.00.00, lets you insert a valid SoftLogix module into slot 0.
18Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
The RSLinx software module defaults in Slot 0 if not set up for another slot position.
IMPORTANT
6. From the Slot Number pull-down menu, choose a slot number.
7. Click OK and then click Close.
Even if you remotely program the controller over a ControlNet or Ethernet link, you must
add the virtual-backplane driver via RSLinx software. If you do not, the SoftLogix
application will not be restored when you restart the computer.
Troubleshoot the SoftLogix 5800 Controller
This table describes the status of the controller.
Table 1 - Troubleshooting the Controller
Chapter 1
IndicatorStatusDescription
RUNOffThe controller is in Program or Test mode.
GreenThe controller is in Run mode.
I/OOffEither of these is true:
GreenThe controller is communicating with all the devices in its I/O configuration.
Green flashingOne or more devices in the I/O configuration of the controller are not responding.
Red flashingA virtual chassis error was detected. Contact your Rockwell Automation
FRCOffNo tags contain force values.
FlashingAt least one tag contains a force value.
GreenForces are active (enabled).
(1)
RS232
BAT
(1)
OffNo COM port was selected.
GreenThe selected COM port was successfully assigned to channel 0 on the controller.
RedThere is a COM port conflict or you selected an invalid COM port number.
OffNormal operation.
Amber flashingThe controller is in Power-up mode.
RedPersistent storage for the controller has failed.
• There are no devices in the I/O configuration.
• The controller does not contain a project (controller memory is empt y).
representative or local distributor.
Forces are inactive (disabled).
Force values are inactive (disabled).
Force values may or may not exist.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201219
Chapter 1
Table 1 - Troubleshooting the Controller (continued)
IndicatorStatusDescription
OKR ed flashingRecoverable fault.
RedNonrecoverable fault.
Complete the following to correc t.
1. Remove the controller from the virtual chassis and then reinstall the
controller.
2. Download the project.
3. Place the controller in Run mode.
If the problem continues to occur, contact your Rockwell Automation sales
representative or local Allen-Bradley distributor.
GreenThe controller is OK.
(1) Note that these status indicators func tion slightly different than the same status indicators on a ControlLogix® controlle r.
20Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Chapter 2
What is the SoftLogix System?
Top icPag e
SoftLogix System Components22
Set Up the Chassis Monitor24
Configure the SoftLogix Controller27
Developing Programs34
How the SoftLogix System Uses Connections38
Connections for Produced and Consumed Tags38
Connections for Messages38
Connections for I/O Modules40
Total Connection Requirements40
Restart the Controller41
Select a System Overhead Percentage42
This chapter discusses SoftLogix controller options and characteristics.
Procedures include how to configure your SoftLogix controller in the virtual
chassis monitor for the first time and how to create your SoftLogix project in the
Logix Designer application.
The SoftLogix system is a ‘soft’ control system that runs in Microsoft operating
systems. The system resides on a computer, as opposed to a physical module in a
hard chassis. For a list of the supported Windows operating systems, see the
System Requirements section of the current release notes. The SoftLogix
controller is part of the Logix environment and is a software-based controller that
supports Logix instructions.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201221
Chapter 2What is the SoftLogix System?
SoftLogix System
Components
A SoftLogix system can consist of these components, depending on your needs:
• The Chassis Monitor resides in the SoftLogix Virtual Chassis. It is a virtual
‘soft’ chassis as opposed to a physical chassis. It lets you create, delete,
monitor, and configure controllers, communication interface cards, and
motion cards in your SoftLogix System.
• The Studio 5000 environment supports every Logix controller. It provides
the flexibility to program (online or offline) in ladder logic, function block
diagram, structured text, and sequential function chart. It provides
complete axis configuration and motion programming support.
• A SoftLogix 5800 controller is based on the Logix platform and takes the
control functions normally found in a dedicated programmable controller,
encapsulates them in software, and runs them on a commercial operating
system. The SoftLogix controller contains a high-speed motion task,
which executes ladder motion commands and generates position and
velocity profile information. The controller sends this profile information
to one or more motion cards. Each controller can control up to 32 axes of
motion. There are several controllers to choose from in the SoftLogix
family, depending on your needs.
• A commercially available Ethernet port for messaging and controlling I/O
over an EtherNet/IP network.
• RSNetWorx™ software is a configuration tool that lets you control and
schedule your network. RSNetWorx software can be used with a
ControlNet network, a DeviceNet network, and an EtherNet/IP network.
• RSLinx software is a communication server that lets you configure
communication devices for networks.
• IOLinx software lets the SoftLogix controller read I/O data.
22Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
Analog
Analog Drives
EtherNet/IP Connection
SoftLogix
IMPORTANT
SoftLogix System Description
The same RSLogix 5000 software supports program development for all Logix
controllers. The system can make a connection through a 1784-PCICS card via
the ControlNet network, through a 1784-PCIDS card via the DeviceNet
network, and through a standard EtherNet port via the EtherNet/IP network.
SoftLogix supports two types of motion cards; the 1784-PM02AE analog
motion card and the 1784-PM16SE SERCOS motion card.
Figure 1 - The SoftLogix System at a Glance
Regardless of the product you have, choose 1789-L60/A in RSLogix 5000
software when you specify a controller type.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201223
Chapter 2What is the SoftLogix System?
IMPORTANT
Set Up the Chassis Monitor
The Chassis Monitor is your window into the SoftLogix system that lets you
configure and monitor the system components. The Chassis Monitor models a
physical chassis, but is virtual, or ‘soft.’ You install virtual devices in the virtual
chassis to represent the controller and cards in your system.
An example of the SoftLogix Chassis Monitor is shown here.
Treat the computer running a SoftLogix controller like an industrial
controller and not a personal computer. A personal computer can perform
many operations that are incompatible with the real-time operations
required by a SoftLogix controller.
The Chassis Monitor is your SoftLogix controller interface. You use the
simulated status indicators to view the status of the controllers in your system.
You use the virtual chassis to do the following:
• Add and configure controllers
• Add and configure communication cards
• Change processor mode
• Monitor controller and associated module status
• Monitor motion performance
24Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
IMPORTANT
Table 1 - Chassis Motor Characteristic
CharacteristicDescription
Startup modeSpecify how the controller should behave when its service is star ted. Select Remote Program (default) or
Memory sizeSpecify the memory size (KB) to allow for the controller. The maximum limit depends on the controller type. See page 25
Periodic save intervalSpecify whether you want to save the current controller information (tag data values and configuration information)
Continuous task dwell time (ms)Specify the dwell time (0…1000 ms) made available for all other Windows applications. The default is 10 ms.
CPU affinityIf your computer has multiple Pentium CPUs, choose which CPU to use for this controller. The default is CPU 0.
Channel 0 serial portChoose which COM port to use for serial communication. Choose COM1, COM2, COM3, or COM4. The default is none.
Last Controller State.
more information.
periodically, and if so, specify how often (minutes). Specify an interval between 0.5…30 minutes. Online edits to the
program are saved instantly, regardless of Periodic Save interval. The default is enabled for 10 minutes.
See page 26
The dwell time is the time between the end of the continuous task and the start of the next execution of the continuous
task. This setting has an impact on overall system performance, see Appendix E
about this setting’s impact on overall system performance.
.
Determine a Memory Size
for
The memory size you specify is the amount of RAM in your computer that
you want to allocate to the SoftLogix controller. The maximum memory size
per controller is determined by the controller type.; see page 25
information. This allocated RAM is not available to the Windows operating
system or any other application.
These equations provide an estimate of the memory needed for a controller.
Each of these numbers includes a rough estimate of the associated user
programming. Depending on the complexity of your application, you might
need additional memory.page 22
If you want to change the amount of memory you specified for a controller, you
must first remove the controller from the SoftLogix chassis monitor, then
reinstall the controller and specify the new memory size.
for more
Rockwell Automation Publication 1789-UM002J-EN-P - December 201225
Chapter 2What is the SoftLogix System?
Specify a Periodic Save Interval
The periodic save task executes at a priority of ‘user-mode high’. This means that
the control process running within the SoftLogix 5800 controller will not be
impacted by a periodic save, but other user applications will be impacted if they
run at a priority lower than ‘user-mode high’. Most HMI applications run at a
‘user-mode normal’ priority. If these applications run on the same computer as
the SoftLogix 5800 controller, these applications will be starved of CPU cycles
while the periodic save is in progress. If you run an HMI application remotely
and gather data from a SoftLogix 5800 controller via OPC, the performance of
the HMI may also be impacted during a periodic save. The controller handles
both the periodic save ‘tag value upload’ and HMI OPC requests through the
same communication mechanism.
When the periodic save task executes, it performs these actions:
• For every tag defined within the controller, the current tag value is read
from the controller.
The larger the amount of data, the longer the periodic save takes and the
greater the impact on HMI responsiveness.
• The current tag values read earlier, along with the current program file, are
saved to the computer disk drive.
The larger the archive file, the longer the periodic saves takes and the
greater the impact on HMI responsiveness. However, tag data size has
more of an impact than archive file size.
To maintain better HMI responsiveness, you can do the following:
• Turn off the periodic save interval.
Even with the periodic save interval disabled, a periodic save occurs if a
remote terminal performs an upload. This makes sure that the most
current tag data values and archive file are uploaded.
If you disable the periodic save, you can still initiate a save manually by
using the Save menu item on the controller from the Chassis Monitor or
programmatically from an external routine or application.
(See Chapter 7
).
• Increase the periodic save interval so that it occurs less frequently.
• Use a dual CPU computer.
On a dual CPU computer, the Windows operating system automatically
balances the periodic save and HMI applications across the CPUs.
For more information on system tuning and the periodic save interval,
see Appendix E
26Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
.
What is the SoftLogix System?Chapter 2
Configure the SoftLogix
Controller
You must first create and configure your SoftLogix controller, that is, catalog
number 1789-L10, 1789-L30, or 1789-L60, in the virtual chassis monitor.
Step 1: Create and Configure the Controller in the SoftLogix Chassis
Monitor
When you install a controller, the Chassis Monitor lets you configure specific
characteristics about the controller. To configure the controller in the Chassis
Monitor, follow these steps.
1. In the SoftLogix Chassis Monitor, from the Slot menu, choose
Create Module.
The Select Module dialog box appears.
2. In the Select Module dialog box, select your module type and enter the
Slot number.
RSLinx software defaults to slot 0, but you can move it to another slot if
set up for this functionality. See page 29
Rockwell Automation Publication 1789-UM002J-EN-P - December 201227
.
Chapter 2What is the SoftLogix System?
For this example, we will enter slot 1 for the 1789-L60
SoftLogix controller.
3. Click OK.
The General dialog box appears.
4. In the General dialog box, enter Startup Mode, Memory Size and Periodic
Save Interval values.
5. Click Next.
The NT System dialog box appears.
6. In the NT System dialog box, enter Continuous Task Dwell Time, CPU
Affinity, and Channel Serial Port values.
7. Click Finish.
28Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
This SoftLogix Chassis Monitor now shows our new controller in slot 1.
Change the RSLinx Software Slot
The RSLinx software module automatically defaults to Slot 0 in the chassis. But
you can program the virtual backplane to use the RSLinx module in another slot
before starting up the SoftLogix application. This flexibility allows a SoftLogix
module to be used in Slot 0 if so desired.
Complete these steps to set up RSLinx software, version 2.59.00 or later, in the
chassis.
1. In RSLinx software, from the Communications menu, choose
Configure Drivers.
The Configure Drivers dialog box appears.
2. From the Available Driver Types pull-down menu, choose
Virtual Backplane.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201229
Chapter 2What is the SoftLogix System?
3. Click Add New and click OK.
4. Select AB-VBP-1 RSLinx Classic Driver from the list and click Configure.
The driver must be running if SoftLogix is used. If the driver is deleted
while SoftLogix is running after choosing a slot other than zero for the
RSLinx module, RSLinx chooses the next available slot in the
chassis monitor.
5. From the Slot Number pull-down menu, choose the slot for the
RSLinx module.
6. Click OK and then click Close.
This SoftLogix Chassis Monitor now shows the RSLinx module in slot 5.
In addition to configuring your controller in the SoftLogix Chassis
Monitor, you must create the controller as part of your RSLogix 5000
project before you can configure and program it.
30Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
Step 2: Create the New Controller Project in RSLogix 5000 Software
1. In RSLogix 5000 software, from the File menu, choose New.
The New Controller dialog box appears.
2. In the New Controller dialog box, from the Type pull-down menu, choose
your SoftLogix controller.
3. Enter the controller Name, Chassis Type, and Slot Number to create the
new controller project.
The example above shows the 1789-L60 controller in slot 1.
For RSLogix 5000 software version 20.00.00 or later, slot 0 can
be selected.
4. Click OK.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201231
Chapter 2What is the SoftLogix System?
RSLogix 5000 Controller
Organizer
You now see the new controller in the Controller Organizer’s
I/O Configuration section of RSLogix 5000 software.
Step 3: Configure the Controller in the RSLogix 5000 Project
1. To configure the controller, in the Controller Organizer, from the I/O
Configuration folder, right-click the new controller you just created and
choose Properties.
32Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
The Controller Properties dialog box appears.
2. In the Controller Properties dialog box, set controller configuration
information for the open project, and when online—for the attached
controller.
The tabs that appear are particular to the type of controller you have
selected.
3. Click OK when you are done configuring each tab for your controller.
For a complete description of each tab and the appropriate configuration
settings for your SoftLogix controller, see the SERCOS and Analog
Motion Configuration and Startup User Manual,
publication MOTION-UM001.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201233
Chapter 2What is the SoftLogix System?
Figure 2 - Control Application
Controller Fault Handler
Tas k 32
Tas k 1
Confi guration
Status
Watc hdo g
Program 32
Program 1
Main Routine
Fault Ro utine
Program (local)
Tag s
Other Routines
Controller (global) TagsI/O DataSystem-shared Data
Developing Programs
The controller’s execution model is a preemptive, multitasking system that is
IEC 1131-3 compliant. This environment provides the following:
• Tasks to configure controller execution
• Programs to group data and logic
• Routines to encapsulate executable code written in a single
programming language
Configuring Tasks
A task provides scheduling and priority information for a set of one or more
programs. You can configure tasks as either continuous or periodic. The
SoftLogix controller supports as many as 32 tasks, only one of which can
be continuous.
A task can have as many as 32 separate programs, each with its own executable
routines and program-scoped tags. Once a task is activated, all of the programs
assigned to the task execute in the order in which they are grouped. Programs can
appear only once in the Controller Organizer and cannot be shared by
multiple tasks.
34Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
Setting Task Priorities
Each task in the controller has a priority level. The controller uses the priority
level to determine which task to execute when multiple tasks are triggered. There
are 3 configurable priority levels for periodic tasks that range from 1…3, with 1
being the highest priority and 3 being the lowest priority. A higher priority task
will interrupt any lower priority task. The continuous task has the lowest priority
and is always interrupted by any periodic task.
The continuous-task dwell time determines how much time to allow for other
Windows programs, running at a normal priority, to execute. The dwell time is
the time between the end of the continuous task and the start of the next
execution of the continuous task. The dwell time does not affect periodic tasks.
Periodic tasks execute as scheduled, regardless of the dwell time. By default, the
dwell time is 10 ms. This setting has an impact on overall system performance,
see Appendix E
.
Tasks Based on Other Events
The SoftLogix controller supports an additional Windows event trigger. This
trigger lets you monitor Windows events in Windows 2000 or Windows XP
operating systems so that applications outside of the SoftLogix controller can
cause a task within the SoftLogix controller to execute. For more information,
see Chapter 7
.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201235
Chapter 2What is the SoftLogix System?
Tas k 1
Tas k 2
Continuous
Tas k
Dwell
Time
Table 2 - Task Execution Order for Application with Periodic Tasks and Continuous Task
TaskPriority LevelTask TypeActual Execution TimeWorst Case
1120 ms periodic task2 ms2 ms
2210 ms periodic task4 ms6 ms
N/ANone (lowest)Continuous task25 ms35 ms
N/ANoneDwell time10 ms14 ms
Execution Time
Tas kDe scr ipt ion
AThe highest priority task interrupts all lower priority tasks.
BA lower priority task can be interrupted multiple times by a higher priority task.
CThe continuous task runs at the lowest priority and is interrupted by all other tasks.
DThe dwell time starts when the continuous task completes. The dwell time does not affect periodic tasks.
Periodic tasks execute as scheduled, regardless of the dwell time.
EThe continuous t asks restart, when the dwell time completes, unless a higher priority task is running.
Determining Programs
Each program contains program tags, a main executable routine, other routines,
and an optional fault routine. Each task can schedule as many as 100 programs
(including equipment phases).
The scheduled programs within a task execute to completion from first to last.
Programs that are not attached to any task appear as unscheduled programs. You
must specify (schedule) a program within a task before the controller can scan
the program.
36Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
Supporting Routines
A routine is a set of logic instructions in a single programming language, such as
ladder logic. Routines provide the executable code for the project in a controller.
A routine is similar to a program file or subroutine in a PLC or SLC™ processor.
Each program has a main routine. This is the first routine to execute when the
controller triggers the associated task and calls the associated program. Use logic,
such as the JSR instruction, to call other routines.
You can also specify an optional program-fault routine. The controller executes
this routine if it encounters an instruction-execution fault within any of the
routines in the associated program.
The SoftLogix controller supports routines developed with the relay ladder and
function block editors of RSLogix 5000 software. You can edit relay ladder and
function block routines either offline or online. You can also develop C/C++
routines and incorporate them into your project.
See Chapter 5
Chapter 6
for information on adding external routines to a project; see
for information on developing external routines.
Instruction Execution
When performing a math operation, the SoftLogix controller handles INT to
REAL conversions differently than hardware-based Logix controllers. The
SoftLogix controller completes the math operation by using the INT data and
then converts the result to REAL data, which is more consistent with how math
operations occur on personal computers. The hardware-based Logix controllers
first convert INT data to REAL data and then perform the math operation.
The SoftLogix controller also handles the conversion of single-float values to
double-float values differently than the ControlLogix controller. The personal
computer processor calculates conversions to more decimal points than the
ControlLogix controller. This can result in instructions operating differently
between SoftLogix and ControlLogix controllers. For example, when calculating
cam (MAPC) position with the MAPC instruction, the.PC bit can get set
slightly sooner or later in a ControlLogix controller than in a SoftLogix
controller. Factors that affect the time the .PC bit is set are as follows:
• Direction of travel
• Axis scaling constants of the two axes being used for the camming
instruction
• The start and end point values used in the cam
Rockwell Automation Publication 1789-UM002J-EN-P - December 201237
Chapter 2What is the SoftLogix System?
How the SoftLogix System
Uses Connections
Connections for Produced
and Consumed Tags
The SoftLogix system uses a connection to establish a communication link
between two devices. Connections can be any of the following:
• Controller to local I/O modules or local communication modules
• Controller to remote I/O or remote communication modules
• Controller to remote I/O (rack-optimized) modules
• Produced and consumed tags
• Messages
You indirectly determine the number of connections the controller uses by
configuring the controller to communicate with other devices in the system.
Connections are allocations of resources that provide more reliable
communication between devices than unconnected messages.
The SoftLogix controller supports the ability to produce (multicast) and
consume (receive) system-shared tags. System-shared data is accessible by
multiple controllers over an EtherNet/IP network. Produced and consumed tags
each require scheduled connections.
Tag TypeRequired Connection
ProducedBy default, a produced tag allows two other controllers to consume the tag, which means that as
many as two controllers can simultaneously receive the tag data. The local controller (producing)
must have one connection for the produced tag and the first consumer and one more connection
for each additional consumer (heartbeat). The default produced tag requires two connections.
As you increase the number of controllers that can consume a produced tag, you also reduce the
number of connections the controller has available for other operations, like communication and I/
O.
ConsumedEach consumed tag requires one connection for the controller that is consuming the tag.
The SoftLogix controller supports a maximum of 127 consumed connections.
For two controllers to share produced or consumed tags, both controllers must be
attached to the same network. You cannot bridge produced and consumed tags
between two networks.
Connections for Messages
38Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Messages transfer data to other devices, such as other controllers or operator
interfaces. Some messages use unscheduled connections to send or receive data.
These connected messages can leave the connection open (cache) or close the
What is the SoftLogix System?Chapter 2
connection when the message is done transmitting. This table shows which
messages use a connection and whether you can cache the connection.
Message TypeCommunication MethodConnection
CIP data table read or writeCIP
PLC-2®, PLC-3®, PLC-5®, or SLC (all types)CIP
CIP with source ID
DH+™
CIP genericN/A
Connected messages are unscheduled connections on both ControlNet and
EtherNet/IP networks.
If a message executes repeatedly, cache the connection. This keeps the connection
open and optimizes execution time. Opening a connection each time the message
executes increases execution time.
If a message executes infrequently, do not cache the connection. This closes the
connection upon completion of the message, which frees up that connection for
other uses.
Each message uses one connection, regardless of how many devices are in the
message path. To conserve connections, you can configure one message to read
from or write to multiple devices.
You can cache as many as 16 messages (a combination of any type, not including
block-transfer) at one time. If you try to cache more than 16, the controller
determines the 16 most-currently used messages and caches those. If there are 16
messages cached, and a message is triggered that is currently not cached, the
controller drops the connection of the oldest-cached message to make room for
the new message.
In addition to 16 cached messages, you can also cache as many as 16 blocktransfer messages. The same conditions apply to caching block-transfer messages
as described above for caching other types of messages.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201239
Chapter 2What is the SoftLogix System?
Connections for I/O Modules
ConnectionDescription
DirectA direct connection is a real-time, data transfer link between the controller and an I/O module. The controller maintains and
Rack-optimizedFor digital I/O modules, you can choose rack-optimized communication. A rack-optimized connection consolidates
The SoftLogix system uses connections to transmit I/O data. These connections
can either be direct connections or rack-optimized connections.
monitors the connection between the controller and the I/O module. Any break in the connection, such as a module fault or
the removal of a module while under power, causes the controller to set fault status bits in the data area associated with the
module.
connection usage between the controller and all of the digital I/O modules on a rack (or DIN rail). Rather than having
individual, direct connections for each I/O module, there is one connection for the entire rack (or DIN rail).
To conserve the number of connections that are available, place digital
I/O modules together in the same location and use a rack-optimized connection.
To choose a rack-optimized connection, choose a ‘rack-optimized’ option for the
communication format when you add the communication device and
I/O modules to the controller project in RSLogix 5000 software.
If you have analog I/O modules, or want a direct connection to specific
I/O modules, you do not have to create the rack-optimized connection to the
communication device. To use direct connections to I/O modules, choose ‘none’
for the communication format of the communication device.
Total Connection
Requirements
Table 3 - Connections
Connection TypeDevice QuantityConnections Per
Remote EtherNet/IP communication device (such as a 1794-AENT or 1756-ENBT
module):
• Configured as a direct (none) connection
• Configured as a rack-optimized connection
Remote I/O device over the EtherNet/IP network (direct connection)1
Produced and consumed tag:
• Produced tag and one consumer
• Each additional consumer
Consumed tag1
Cached message1
Total
The SoftLogix controller supports 250 connections. Each 1784-PCICS
ControlNet communication card supports 128 total connections, 127 of which
can be scheduled. Do not configure more connections than the controller can
support. Use this table to tally ControlNet connections.
Total Connections
Device
0
1
1
1
40Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
What is the SoftLogix System?Chapter 2
Restart the Controller
You restart the controller by either of these methods:
• Restarting the computer
• Removing and reinserting the controller in the virtual chassis
After restarting the controller, you must upload or download from
RSLogix 5000 software before you can go online with the controller. This is
because the RSLogix 5000 project file (.ACD) contains explicit knowledge of the
physical memory addresses used by the controller. When you restart the
controller, all of the physical addresses for the controller are regenerated. Note
that as long as the controller is not restarted, you can go online and offline as
many times as required.
Online with the Controller
You must save the RSLogix 5000 project after a download completes, or you will
not be able to go online with the controller. After downloading, the physical
address information has changed. RSLogix 5000 software prompts you to save
and indicates that a change has occurred even though you might not have made
changes to the project. Saving the project stores the physical address information
into the ACD file.
An upload recovers all of the information that was downloaded to the controller,
including documentation. This is because of the persistent storage feature that
you enable by specifying a periodic save interval (see page 26
the persistent storage copies the entire project file to the controller. The
controller opens and goes online with the project file so that any edits made by
RSLogix 5000 workstations are saved into the persistent image (the controller's
copy of the project file). Online edits are saved to the persistent image
immediately; tag data values are saved to the persistent image at every periodic
save interval (10 min default). If the periodic save is disabled, tag data values are
not saved, but online edits are still saved to the persistent image.
The SoftLogix controller maintains a change log that holds 999 entries. This
means that as you edit an RSLogix 5000 project file, you must save the project file
before you make 999 changes. If you make more than 999 changes to a project,
you will not be able to go back online without performing an upload or
a download.
). On a download,
Upload to the Controller
If your project has edits and you want to upload the project to the controller,
RSLogix 5000 software prompts you to save the project before uploading.
Regardless of your choice, the edits are saved before the upload occurs. This
happens because the edits are already stored in the controller as you make
the edits.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201241
Chapter 2What is the SoftLogix System?
Select a System Overhead
Percentage
The Controller Properties dialog box lets you specify a percentage of controller
time (excluding the time for periodic tasks) that is devoted to communication
and background functions.
1. In the RSLogix 5000 software, from the Controller Organizer, right-click
the controller and choose Properties.
2. Click the Advanced tab.
3. In the System Overhead Time Slice box, enter a percentage.
The system overhead function interrupts the continuous task. The percentage
you specify determines the amount of the continuous task to allocate to system
overhead functions, which include the following:
• Communicating with programming and HMI devices (such as
RSLogix 5000 software)
• Responding to messages
• Sending messages, including block-transfers
• Re-establishing and monitoring I/O connections (such as RIUP
conditions); this
during program execution
• Bridging communication from one communication device to another
communication device across the virtual chassis
This function allows the controller to take care of communication requests that
occur from other controllers or from queued requests from within the controller’s
application program. If communication is not completing fast enough, increase
the system overhead percentage.
Because the SoftLogix controller runs natively on your computer's Pentium CPU,
the default setting of 10% yields satisfactory performance for most applications.
does not include normal I/O communication that occurs
42Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Chapter 3
Communicate with Devices on an
Ethernet Network
Top icPag e
Configure Your System for an Ethernet Network43
Multiple EtherNet/IP Modules54
Controller Connections over the EtherNet/IP Network55
Distributed Ethernet I/O56
Add a Remote Controller60
Check EtherNet/IP Statistics63
Example 1: Workstation Remotely Connected to a SoftLogix Controller65
Example 2: Send Messages over the EtherNet/IP Network68
Example 3: Send Messages over the EtherNet/IP Network to a PLC-5 Processor71
Example 4: Control Distributed I/O73
Configure Your System for an
Ethernet Network
This chapter explains how to communicate with a device on an Ethernet network
by using the SoftLogix controller.
For information about communicating with EtherNet/IP devices, see the
EtherNet/IP Network Configuration User Manual, publication ENET-UM001
For the SoftLogix controller to operate on an EtherNet/IP network, you need
the following:
• A computer where the SoftLogix controller resides enabled with an
Ethernet communication port
• RSLogix 5000 software installed
• A computer where the RSLogix 5000 software resides enabled with an
Ethernet communication port
• RSLinx software installed
You can use any commercially-available Ethernet port. Use the Ethernet driver
that comes with the device.
.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201243
Chapter 3Communicate with Devices on an Ethernet Network
Step 1: Disable UDP Messages in RSLinx Classic Software
To send messages, or control I/O, you must change the RSLinx Classic
configuration so that it does not accept UDP messages.
(1)
1. Launch RSLinx software on the computer with the controller.
2. From the View menu and choose Options.
The Options dialog box appears.
3. On the General tab, clear ‘Accept UDP Messages on the Ethernet Port’.
4. Click OK.
5. Restart your computer.
(1) RSLinx Enterprise software may have other requirements. For details, see the MySupport Knowledgebase
at http://www.rockwellautomation.com/support.
44Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
Disabling the UDP option
Disabling the UDP option lets RSLinx software and the SoftLogix 5800
EtherNet/IP functionality coexist on the same personal computer. Disabling the
UDP option also disables RSLinx software’s Gateway functionality. RSLinx
software still functions, but the Gateway options are removed while RSLinx
software continues to display that it has a full Gateway activation. This affects
how remote computers can browse through a local computer with UDP disabled.
If UDP is disabled on a local computer, a remote computer browsing through the
local computer has this functionality:
• If the local computer has a DeviceNet module in the virtual chassis, you
cannot remotely browse the DeviceNet network. Replacing RSLinx Lite
with RSLinx Gateway software on the local or remote computer does not
enable remote browsing of the DeviceNet network.
• If the local computer has a ControlNet module in the virtual chassis, you
can remotely browse the ControlNet network.
• If the local computer has a SoftLogix controller in the virtual chassis, you
can browse the serial port of the computer.
• If the local computer has an EtherNet/IP module in the virtual chassis, you
can browse the EtherNet/IP network configured to that module.
• The local computer supports a remote connection to the SoftLogix
controller over an Ethernet network so that you can remotely program the
SoftLogix controller.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201245
Chapter 3Communicate with Devices on an Ethernet Network
If UDP is disabled on a local computer, you can browse the ControlNet and
EtherNet/IP networks and serial devices to see configured devices, as long as the
appropriate module is installed in the virtual chassis on the local computer.
To be able to browse DeviceNet networks, RSLinx Gateway functionality (and
therefore UDP) must be enabled on the computer that hosts the DeviceNet
communication card.
Enabling the UDP option
Enabling the UDP option lets the RSLinx Gateway functionality operate as
expected. Installing a SoftLogix 5800 EtherNet/IP module into a system with the
UDP option enabled and RSLinx Gateway functionality enabled, causes the
SoftLogix EtherNet/IP module to display a red X in the chassis monitor. This
does not affect the operation of the RSLinx software. It does prohibit the
SoftLogix controller from sending and receiving messages and controlling
I/O modules via an EtherNet/IP network.
Adding multiple Ethernet modules does not affect controller operation when
UDP is enabled. Checking the Enable UDP box applies to all Ethernet ports on
the computer; RSLinx Gateway software will use all of the Ethernet ports.
Enable the UDP option and the RSLinx Gateway functionality when you need
the computer to configure or commission ControlNet and DeviceNet networks
and devices. With the UDP option enabled, you have this functionality and loss
of functionality in the computer where the controller resides:
• You must browse from the 1784-PCIDS driver in RSLinx software to
browse a DeviceNet network.
• You can remotely browse the ControlNet network if there is a
ControlNet module in the virtual chassis.
• You can browse over the serial port of the computer if there is a
SoftLogix controller in the virtual chassis.
• You can remotely program the SoftLogix controller because the local
computer supports a remote connection to the SoftLogix controller over
an Ethernet network.
• If there is an EtherNet/IP module in the virtual chassis, it will not function
as expected. You cannot control I/O or send messages.
• You can remotely program the SoftLogix controller because the local
computer supports a remote connection to the SoftLogix controller over
an Ethernet network.
46Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
If you want the UDP option enabled, you should also enable the Gateway
functionality within RSLinx Gateway software. You must have RSLinx Gateway
software to enable Gateway functionality. Follow these steps.
1. Launch RSLinx software on the computer with the controller.
2. From the Communications menu, choose Configure Gateway.
The Configure RSLinx Gateway dialog box appears.
3. Check Enable RSLinx Gateway.
4. Click OK.
In many applications, initially leave UDP enabled so that you can configure
ControlNet and DeviceNet networks. After configuration is done, disable UDP
so the SoftLogix controller can have EtherNet/IP functionality. If you change the
UDP setting, you must restart RSLinx software for the change to take affect. To
restart RSLinx software, restart the computer.
For information on adding multiple Ethernet modules, see page 54
Rockwell Automation Publication 1789-UM002J-EN-P - December 201247
.
Chapter 3Communicate with Devices on an Ethernet Network
Step 2: Create the Communication Card in the SoftLogix Chassis
Monitor
Add the EtherNet/IP module to the SoftLogix virtual chassis if you are
controlling I/O or sending messages over Ethernet network. These instructions
show a a SoftLogix controller installed already in slot 4. Follow these steps to add
an EtherNet/IP module to your chassis.
1. In the SoftLogix Chassis Monitor, from the Slot menu, choose Create
Module.
Or right-click the appropriate slot and choose Create.
The Select Module dialog box appears.
2. In the Select Module dialog box, select the EtherNet/IP SoftLogix 5800
EtherNet/IP communication module.
3. Enter the backplane slot number.
For RSLogix 5000 software, version 20.00.00 or later, you can specify any
slot number for the communication card, as long as the RSLinx software
module is positioned in a slot other than its default 0. See page 29
4. Click OK.
.
48Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
If you previously had an Ethernet port configured in this slot, the chassis
monitor remembers the configuration of that previous port.
6. Click Next.
The Module Properties General dialog box appears.
7. Specify a label name for the EtherNet/IP I/O Module Marquee.
The IP address, status, and the label name you enter here scrolls across the
front of the module.
8. Click Finish.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201249
Chapter 3Communicate with Devices on an Ethernet Network
This chassis monitor has an EtherNet/IP module
installed in slot 3.
This chassis monitor shows the selected IP address as a virtual module in the
SoftLogix chassis.
Step 3: Configure the Communication Card as Part of the Project
If you want to control I/O over an EtherNet/IP network, use RSLogix 5000
software to add the SoftLogix 5800 EtherNet/IP module to your project.
You should already have added the SoftLogix controller to the project.
See Step 2: Create the New Controller Project in RSLogix 5000 Software on
page 31,
Your controller is offline.
1. In the RSLogix 5000 software project, right-click the Ethernet module in
the I/O Configuration folder, and choose New Module.
50Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
The Select Module dialog box appears.
2. Expand the Communications list and choose the 1756-EWEB/A module.
3. Click OK.
The Select Major Revision dialog box appears.
4. From the Major Revision pull-down menu, choose the revision number
and click OK.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201251
Chapter 3Communicate with Devices on an Ethernet Network
The Module Properties dialog box appears.
5. Name the module, enter the IP address, and select the
Disable Keying option.
6. Click OK.
The Module Properties dialog box appears.
52Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
Step 4: Configure the SoftLogix EtherNet/IP Module to Communicate
on an Ethernet Network
Configuring a SoftLogix 5800 EtherNet/IP module is similar to configuring a
1756-ENBT module in a ControlLogix project, except for these differences:
• If the SoftLogix 5800 EtherNet/IP module is in the same virtual chassis as
the SoftLogix controller, you do not have to enter an IP address. The
configuration defaults to the IP address of the computer.
• If there are multiple IP addresses, or if the SoftLogix 5800 EtherNet/IP
module is not in the same virtual chassis as the SoftLogix controller, you
must enter an IP address. This is similar to configuring a
1756-ENBT module.
• A 1756-ENBT module requires that you choose a communication format.
This is not required for a SoftLogix 5800 EtherNet/IP module.
Refer to the EtherNet/IP Network Configuration User Manual,
publication ENET-UM001,
1756-ENBT module. The SoftLogix module is configured the same way.
for more information on configuring the
When you have completed configuration, click OK and save the project.
Your RSLogix 5000 project’s I/O configuration folder should now look
similar to this example.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201253
Chapter 3Communicate with Devices on an Ethernet Network
SoftLogix Ethernet Module 1
SoftLogix Ethernet Module 2
Multiple EtherNet/IP
Modules
If the computer has multiple IP addresses available, you can install multiple
Ethernet modules in the virtual chassis. Choose the appropriate IP address when
you configure the EtherNet/IP module in the virtual chassis.
The configuration you choose for the UDP option in RSLinx software applies to
every IP address on the same computer. RSLinx software does not support
separate UDP configurations per IP address or actual Ethernet device. If you
enable UDP functionality in RSLinx software, RSLinx software consumes all IP
addresses on the computer.
Ethernet Communication
With multiple Ethernet modules, the SoftLogix 5800 controller can receive an
I/O connection error due to conflicting naming conventions with Windows
operating systems. To avoid this, place all of the following:
• Produced and consumed tags and I/O devices on one Ethernet module.
• MSG instructions on a different Ethernet module.
To connect to the Ethernet network, launch RSLinx software.
Domain Interactions
In a system with multiple Ethernet modules, you can connect to different
networks. For example, this multi-homing system has two Ethernet modules.
ItemDescription
1Ethernet module 1 connected to the corporate network
2Ethernet module 2 connected to the plant network
• Member server in the domain
• Searches for name and DNS information
• Dynamic configuration
• No existing domain control
• DNS not available
• Static configuration
In this example, because Ethernet module 1 is dynamically configured, Ethernet
module 2 is unable to get routing information to a gateway and cannot
54Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
successfully send or receive multicast packets.
Possible solutions include the following.
IMPORTANT
SolutionDescription
Multi-homed Windows 2003 member server on active
directory or mixed domain
Multi-homed personal computer not connected to a
domain and set up in a work group.
Connect both Ethernet modules to domain controllers so that they both receive correct routing information.
Configure both Ethernet modules with correct IP address information by using either a DHCP server or by static IP
address assignment. When IP address information is assigned to the Ethernet modules, the modules do not have to
independently determine domain relationships.
Communicate with Devices on an Ethernet NetworkChapter 3
If you have multiple networks, you must have gateways configured to reach
those networks.
Controller Connections over
the EtherNet/IP Network
A Logix system uses a connection to establish a communication link between two
devices. Connections can be the following:
• Controller to distributed I/O or remote communication modules
• Produced and consumed tags
• Messages
All EtherNet/IP connections are unscheduled. An unscheduled connection is a
message transfer between controllers that is triggered by the requested packet
interval (RPI) or the program (such as an MSG instruction). Unscheduled
messaging lets you send and receive data when needed.
Over EtherNet/IP network, the SoftLogix controller supports the following:
• 64 TCP/IP connections for EtherNet/IP communication
• 1 single TCP connection can support multiple CIP connections
• 128 CIP connections for Logix-based communication
A CIP connection transfers data from one Logix application running on
one end-node to a second Logix application running on another end-node.
A CIP connection is established over a TCP connection.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201255
Chapter 3Communicate with Devices on an Ethernet Network
Ethernet
Communication Port
Device
Control ler
I/O
Module
Remote
Adapter
Supported Functionality of the SoftLogix 5800 EtherNet/IP Module
Compared to a 1756-ENBT EtherNet/IP module in a ControlLogix system, the
SoftLogix 5800 EtherNet/IP module does the following:
• Supports the same number of I/O connections
• Supports the same number of messaging connections
• Supports the same bridging functionality
• Supports an EtherNet/IP statistics utility (see page 63
• Does not support a web-based interface
• Does not support email via MSG instruction
)
Distributed Ethernet I/O
The SoftLogix controller supports distributed I/O over an EtherNet/IP
network. Use RSLogix 5000 software to add the SoftLogix 5800 EtherNet/IP
module for the local controller; then add a remote adapter and I/O modules to
the I/O Configuration folder of the controller project.
I/O Configuration Order in the Project
This example shows a typical SoftLogix distributed I/O network.
56Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
Adapter
Module
Adapter
Distributed I/O
Modules
You build the I/O configuration in this order.
1. Add(see page 50
) the remote adapter to the SoftLogix 5800
EtherNet/IP module of the controller (1794-AENT/A
remote_flex_adapter).
2. Add(see page 50
) the I/O modules to the remote adapter (1794-IA16/A
remote_flex_input, 1794-CB16/A remote_flex_output, 1794IF2XOF2I/A remote_flex_combo).
Rockwell Automation Publication 1789-UM002J-EN-P - December 201257
Chapter 3Communicate with Devices on an Ethernet Network
Ethernet I/O Data
I/O information is presented as a structure of multiple fields, which depend on
the specific features of the I/O module. The name of the structure is based on the
location of the I/O module in the system. Each I/O tag is automatically created
when you configure the I/O module through the programming software. Each
tag name follows this format:
ADAPTER_NAME = identifies remote adapter or bridge
SlotNumberSlot number of I/O module in its chassis
TypeType of data
I = input
O = output
C = configuration
S = status
MemberNameSpecific data from the I/O module; depends on the type of data the module can store.
For example, Data and Fault are possible fields of data for an I/O module. Data is the common name for values the are sent to or received
from I/O points.
SubMemberNameSpecific data related to a MemberName.
Bit (optional)Specific point on the I/O module; depends on the size of the I/O module (0…31 for a 32-point module)
58Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
EXAMPLE
See this example.
DeviceExample Tag Names (automatically created by the software)
Rockwell Automation Publication 1789-UM002J-EN-P - December 201259
Chapter 3Communicate with Devices on an Ethernet Network
Add a Remote Controller
If you want this controller to consume tags from another controller via Ethernet,
add the controller to the EtherNet/IP module. The consumer initiates
any actions.
To add a remote controller, build the I/O configuration in this order.
1. Add the devices to the EtherNet/IP port of the controller.
2. For a controller that requires a communication module, add the module
first, and then add the controller.
60Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
Add a Consumed Tag
A consumed tag’s value comes from a remote controller. The local controller is
the consumer, and the remote controller is the producer. Consumed tags are
always at controller scope.
Complete these steps to add a consumed tag.
1. On the Controller folder in the Controller Organizer, right-click
Controller Tags and choose New tag.
The New Tag dialog box appears.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201261
Chapter 3Communicate with Devices on an Ethernet Network
2. Enter tag configuration information.
ParameterDescription
NameEnter the name of the tag.
DescriptionEnter a tag description.
Type Consumed.
Data TypeEnter the type of tag you want to create.
ScopeConsumed tags are always controller scope.
External AccessSelect whether the tag has Read/Write, Read Only, or no access (None) from external applications such as HMIs.
StyleChoose the default style in which to display the value of the tag. The pull-down menu lists available display styles for the
chosen data type. Choose from Binary, Decimal, Hex, Octal, Date/Time, ASCII, Exponential, or Float.
3. Click Connection.
The Consumed Tag Connection dialog box appears.
4. Configure connection properties in the Consumed Tag Connection
dialog box.
ParameterDescription
ProducerChoose the name of the controller producing the data. The pull-down menu lists only those options that are available.
Remote DataEnter the name of the tag in the remote controller that you want to consume.
RPIEnter the requested packet interval. This is the amount of time (in ms) between updates of the data from the remote
controller. This is the minimum rate at which the local controller receives data. The valid RPI range for a Standard
consumed tag is 0.196…536870.911 ms. The valid RPI range for a Safety consumed tag is 1…500 ms and can only be
set on the Safety tab of the Consumed Tag Connection dialog box. Note that the Safety Tag RPI must match the rate
specified by Safety Task Period of the producing controller.
You must be offline or online in Program mode to change the RPI.
5. Click OK when done.
62Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
To view the tag , from the Controller, double click the Controller Tags folder in
the Controller Organizer.
Check EtherNet/IP Statistics
The SoftLogix controller installs with an EtherNet/IP statistics utility that
displays different counters for the EtherNet/IP module.
Complete these steps to display the statistics.
1. Choose the EtherNet/IP Statistics Utility from the folder where you
installed the SoftLogix controller.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201263
Chapter 3Communicate with Devices on an Ethernet Network
The SoftLogix 5800 EtherNet/IP Module Statistics dialog box appears.
2. Use the character key at the top of the utility screen to display information
and change screen characteristics.
64Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
2
1
6
9
10
11
3
5
4
7
8
12
Example 1: Workstation
Remotely Connected to a
SoftLogix Controller
In this example, a workstation remotely connects to a SoftLogix controller over
an Ethernet network to remotely program the SoftLogix controller.
ItemDescription
1Ethernet switch
2Firewall/router
3ControlLogix chassis with controller and Ethernet module
4PanelView terminal
5Personal computer running RSLinx software and RSLogix 5000 software
6Ethernet switch
7FLEX I/O system with Ethernet adapter
8ControlLogix gateway
9To ControlNet network
10To DeviceNet network
11To DH+ network
12SoftLogix 5800 controller
Rockwell Automation Publication 1789-UM002J-EN-P - December 201265
Chapter 3Communicate with Devices on an Ethernet Network
Browsing from a computer to a remote SoftLogix controller looks like
this example.
66Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
Browsing from the EtherNet/IP module in a SoftLogix controller to remote
devices looks like this example.
The computer cannot be an RSLinx gateway. The UDP option in
RSLinx software must be disabled.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201267
Chapter 3Communicate with Devices on an Ethernet Network
2
1
6
9
10
11
3
5
4
7
8
12
Example 2: Send Messages
over the EtherNet/IP
Network
In the following example, the SoftLogix controller can send messages to the other
devices on the EtherNet/IP network.
ItemDescription
1Ethernet switch
2Firewall/router
3ControlLogix chassis with controller and Ethernet module
4PanelView terminal
5Personal computer running RSLinx software and RSLogix 5000 software
6Ethernet switch
7FLEX I/O system with Ethernet adapter
8ControlLogix gateway
9To ControlNet network
10To DeviceNet network
11To DH+ network
12SoftLogix 5800 controller
68Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
Configure a MSG Instruction
How you configure the MSG instruction depends on the target device.
1. Click MSG to launch the Message Configuration dialog box.
2. On the Configuration tab, configure the following.
For this itemSpecify
Message TypeCIP Data Table Read or
CIP Data Table Write
Source ElementTag containing the data to be transferred
Number of ElementsNumber of array elements to transfer
Destination TagTag to which the data will be transferred
Rockwell Automation Publication 1789-UM002J-EN-P - December 201269
Chapter 3Communicate with Devices on an Ethernet Network
On the Communication tab, specify the communication path.
A communication path requires pairs of numbers. The first number in the
pair identifies the port from which the message exits. The second number
in the pair designates the node address of the next device.
For this itemSpecify
Communication Path
(Each SoftLogix controller resides in its
own computer)
Communication Path
(Each SoftLogix controller resides in the
same computer)
1,2,130.151.255.43,1,5
where:
1 is the SoftLogix backplane of Soft1
2 is Ethernet port in slot 5
130.151.255.43 is IP address of the target
1 is the SoftLogix backplane of Soft2
5 is the controller slot of Soft2
1,5
where:
1 is the SoftLogix backplane of Soft1
5 is the controller slot of Soft2
70Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
1
3
5
2
4
Example 3: Send Messages
over the EtherNet/IP
Network to a PLC-5 Processor
In this example, the SoftLogix controller sends a message through the
1756-ENBT, out the 1756-DHRIO, and to a PLC-5 processor at DH+ node 2.
ItemDescription
1SoftLogix 5800 controller
2Ethernet network
3ControlLogix controller with 1756-ENBT and 1756-DHRIO modules
4DH+ network
5PLC-5 processor
Configure a MSG Instruction
Use a PLC-5 Typed Write MSG instruction.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201271
Chapter 3Communicate with Devices on an Ethernet Network
Specify the path and communication method.
The example path is 1, 6, 2, 10.88.55.186, 1, 2.
This valueSpecifies
1The SoftLogix virtual chassis
6The sending device (the Ethernet port in the controller’s computer) is in slot 6 of
2Sending the message out the Ethernet communication port
10.88.55.186The IP address of the 1756-ENBT module
1The 1756 backplane
2The slot where the 1756-DHRIO module is in the 1756 chassis
the virtual chassis
This is an example communication method.
This fieldSpecifies
Channel = AChannel A on the 1756-DHRIO module
Source Link = 3The DH+ address of the 1756-DHRIO module is node 3
Destination Node = 2The DH+ address of the PLC-5 processor is node 2
72Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Devices on an Ethernet NetworkChapter 3
2
1
3
Example 4: Control
Distributed I/O
In this example, one SoftLogix controller controls distributed I/O through a
1794-AENTmodule.
ItemDescription
1EtherNet/IP network
2SoftLogix controller (Soft1)
31794-AENT with distributed I/O (remote_flex_adapter)
This example has Soft1 controlling the I/O connected to the remote
1794-AENT module. The data the SoftLogix controller receives from the
distributed I/O modules depends on how you configure the I/O modules. You
can configure each module as a direct connection or as rack optimized. One
chassis can have a combination of some modules configured as a direct
connection and others as rack optimized.
All analog modules require direct connections. Diagnostic modules support
rack-optimized connections, but require direct connections to take full advantage
of the diagnostic feature.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201273
Chapter 3Communicate with Devices on an Ethernet Network
In RSLogix 5000 software, the controller project and associated tags looks
like this example.
Throughput is based on the performance of the personal computer running the
SoftLogix controller.
74Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Chapter 4
IMPORTANT
Communicate with Serial Devices
Top icPag e
Configure Your System for a Serial Device75
Controller Status Indicators85
Example 1: Workstation Directly Connected to a SoftLogix Controller85
Example 2: Workstation Remotely Connected to a SoftLogix Controller86
Example 3: SoftLogix Controller to a Bar Code Reader90
This chapter explains how to use a serial device with your SoftLogix system.
Details on configuring your system for a serial device and examples are included.
Limit the length of serial (RS-232) cables to 15.2 m (50 ft).
Configure Your System for a
Serial Device
For the SoftLogix controller to operate with a serial device, you need
the following:
• A computer where the SoftLogix controller resides to have a serial port
• RSLinx software to configure the serial communication driver
If a remote computer communicates with the SoftLogix controller via a
serial connection, the remote computer must have the serial driver
installed. The computer with the SoftLogix controller does not need the
serial driver to connect to other devices over a serial device
• Logix Designer application to configure the serial port of the controller
Rockwell Automation Publication 1789-UM002J-EN-P - December 201275
Chapter 4Communicate with Serial Devices
Step 1: Configure the Serial Port
Use the SoftLogix Chassis Monitor to choose which COM port to use for serial
communication. The controller supports only one COM port for DF1
communication.
Follow these steps to configure serial communication.
1. In the SoftLogix Chassis Monitor, from the Slot menu, choose
Create Module.
Or right-click the appropriate slot and choose Create.
The Select Module dialog box appears.
2. In the Select Module dialog box, choose the 1789-L60 SoftLogix5860
Controller.
3. Choose the backplane slot number.
For this example, we will choose Slot 1.
4. Click OK.
76Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
The General dialog box appears.
5. Specify the settings for the controller.
6. Click Next.
The NT System dialog box appears.
Communicate with Serial DevicesChapter 4
7. Choose the COM port.
8. Click Finish.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201277
Chapter 4Communicate with Serial Devices
Your SoftLogix Chassis Monitor now looks like this example.
Change the COM Port Setting
Once you choose a COM port for the controller, you can only change the setting
by removing the controller from the chassis and reinstalling the controller.
Follow these steps to change the COM port.
1. In the SoftLogix Chassis Monitor, from the Slot menu, choose
Remove Module.
The Remove Module dialog box appears.
2. Verify the slot number and click OK.
78Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Serial DevicesChapter 4
Do not clear the SoftLogix Chassis Monitor module
configuration unless you want to enter all new information.
The Remove Module verification dialog box appears.
3. Click OK.
The SoftLogix Chassis Monitor now appears with slot 1 empty.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201279
Chapter 4Communicate with Serial Devices
COM port.
4. In the same slot, re-add the controller.
The SoftLogix Chassis Monitor prompts whether to use the
previous configuration.
5. Click Next.
80Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Serial DevicesChapter 4
Your SoftLogix Chassis Monitor looks like this example.
Step 2: Configure the Serial Port of the Controller in the Project
Complete these steps to configure the controller in your project.
1. Open a project in the Logix Designer application and add the controller to
the I/O Configuration folder.
Refer to Step 3: Configure the Controller in the RSLogix 5000 Project on
page 32.
2. From the Edit menu, choose Controller Properties.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201281
Chapter 4Communicate with Serial Devices
The Controller Properties dialog box appears.
3. On the Serial Port tab, specify the appropriate serial port settings.
82Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Serial DevicesChapter 4
Specify Serial Port Characteristics
Specify these characteristics on the Serial Port tab.
CharacteristicDescription
ModeChoose System (for DF1 communication) or User mode (for ASCII communication).
Baud RateSpecifies the communication rate for the serial port. Choose a baud rate that all devices in your system support.
Data BitsSpecifies the number of bits per message packet.
Choose 8. (7 is ASCII only.))
ParitySpecifies the parit y setting for the serial port. Parity provides additional message-packet error detection. Parity is an additional non-data bit attached
Stop bitsSpecifies the number of stop bits to the device with which the controller is communicating.
Control lineSpecifies the mode in which the serial driver operates.
RTS Send DelayEnter a count that represents the number of 20 ms periods of time that elapse between the assertion of the RTS signal and the beginning of a
RTS Off DelayEnter a count that represents the number of 20 ms periods of time that elapse between the end of a message transmission and the de-assertion of
DCD Wait DelayApplies to the DF1 Radio Modem protocol only.
to a binary word. Its purpose is to provide a check of the data integrity by making the sum of the number of ones in a word always even or odd.
Choose None or Even.
Choose 1. (2 is ASCII only.)
Choose No Handshake, Full-Duplex, Half-Duplex with Continuous Carrier, or Half-Duplex without Continuous Carrier.
If you are not using a modem, choose No Handshake
If both modems in a point-to-point link are full-duplex, choose Full-Duplex for both controllers.
If the master modem is full duplex and the slave modem is half-duplex, choose Full-Duplex for the master controller and choose Half-Duplex with
Continuous Carrier for the slave controller.
If all the modems in the system are half-duplex, choose Half-Duplex without Continuous Carrier for the controller.
message transmission. This time delay lets the modem prepare to transmit a message. The CTS signal must be high for the transmission to occur.
The range is 0…32767 periods.
the RTS signal. This time delay is a buffer to make sure the modem successfully transmits the entire message.
The range is 0…32767 periods. Normally leave at zero.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201283
Chapter 4Communicate with Serial Devices
4. Click the System Protocol tab and specify the appropriate settings.
Specify System Protocol Characteristics
These are the available system modes and their characteristics.
Table 4 - System Protocol Tab Descriptions
FieldMode
ProtocolDF1 Master - control of polling and message transmission between the master and slave nodes.The master/slave network includes one
controller configured as the master node and as many as 254 slave nodes. Link slave nodes by using modems or line drivers.
A master/slave network can have node numbers from 0…254. Each node must have a unique nod e address. Also, at least 2 nodes must exist
to define your link as a network (1 master and 1 slave station are the two nodes).
See page 88.
DF1 Point-to-Point - communication between the controller and one other DF1-protocol-compatible device. This is the default system
mode.This mode is typically used to program the controller through its serial port.
See page 86
DF1 Radio Modem - Check the Enable Store and Forward check box if you want to enable the store and forward functionality. When enabled,
the destination address of any received message is compared to the Store and Forward tag table. If there is a match, the message is then
forwarded (re-broadcasted) out the port.
From the Store and Forward Tag pull-down menu, choose an integer (INT[16]) tag.
Each bit represents a station address. If this controller reads a message destined for a station that has its bit set in this table, it forwards the
message.
Click OK to accept your edits and close the Controller Properties dialog box.
DF1 Slave - by using a controller as a slave station in a master/slave serial communication network. When there are multiple slave st ations on
the network, link slave stations by using modems or line drivers. When you have a single slave station on the network, you do not need a
modem to connect the slave station to the master; you can configure the control parameters for no handshaking. You can connect 2-255
nodes to a single link. In DF1 Slave mode, a controller uses DF1 half-duplex protocol.
One node is designated as the master and it controls who has access to the link. All the other nodes are slave stations and must wait for
permission from the master before transmitting.
See page 90
.
.
84Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Serial DevicesChapter 4
1
2
3
Table 4 - System Protocol Tab Descriptions
FieldMode
Station AddressThe station address for the serial port on the DF1 point-to-point network. Enter a valid DF1 address (0…254). Address 255 is reserved for
Enable Store and ForwardEnable Store Forward box should only be checked if the controller that you are downloading the project to is connected to the Master radio
Error DetectionIn the Error Detection section, click one of the radio buttons to specify the error detection scheme used for all messages.
broadcast messages. The default is 0.
modem. This particular controller will help support the radio modem network that is being created.
BCC: the processor sends and accepts messages that end with a BCC byte. BCC is quicker and easier to implement in a computer driver. This is
the default.
CRC: the processor sends and accepts messages with a 2-byte CRC. CRC is a more complete method.
Controller Status Indicators
Example 1: Workstation
Directly Connected to a
SoftLogix Controller
The SoftLogix controller has an RS-232 status indicator that follows
this behavior.
IndicatorDescription
OffYou selected ‘None’ for the COM port selection of the controller.
GreenThe COM port you selected was successfully assigned to channel 0 of
the controller.
RedThere is conflict with COM port or the COM port number you selected is invalid.
Please note that these status indicator states are different than for the
ControlLogix controller.
In this example, a workstation directly connects to a SoftLogix controller over a
serial device.
ItemDescription
1Serial
2Workstation with Logix Designer application
3Computer with SoftLogix controller
Use the Logix Designer application to configure the controller’s serial port for the
DF1 Point-to-Point (full-duplex) protocol. This type of protocol supports
simultaneous transmission between two devices in both directions. The DF1
Point-to-Point protocol controls message flow, detects and signals errors, and
retries if errors are detected.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201285
Chapter 4Communicate with Serial Devices
IMPORTANT
2
3
4
1
FieldDescription
Station AddressThe station address for the serial port on the DF1 point-to-point network. Enter a valid DF1 address (0…254). Address
NAK Receive LimitSpecifies the number of NAKs the controller can receive in respo nse to a message transmission.
ENQ Transmit LimitSpecifies the number of inquiries (ENQs) you want the controller to send after an ACK timeout.
ACK TimeoutSpecifies the amount of time you want the controller to wait for an acknowledgment to its message transmission.
Embedded ResponseSpecifies how to enable embedded responses.
Error DetectionChoose BCC or CRC error detection.
Enable Duplicate DetectionChoose whether the controller should detect duplicate messages. The default is duplicate detection enabled.
The workstation with the Logix Designer application must also have the
®
Logix5550
serial port driver installed through RSLinx software.
DF1 Point-to-Point Configuration
255 is reserved for broadcast messages. The default is 0.
Enter a value 0…127. The default is 3.
Enter a value 0…127. The default is 3.
Enter a value 0…32767. Limits are defined in 20 ms intervals. The default is 50 (1000 ms).
Choose Autodetect (enabled only after receiving one embedded response) or Enabled. The default is Autodetect.
Configure both stations to use the same type of error checking.
BCC: the controller sends and accepts messages that end with a BCC byte for error checking. BCC is quicker and easier to
implement in a computer driver. This is the default.
CRC: the controller sends and accepts messages with a 2-byte CRC for error checking. CRC is a more complete method.
Example 2: Workstation
Remotely Connected to a
SoftLogix Controller
In this example, a workstation remotely connects to a SoftLogix controller over a
serial device. A modem is connected to the controller to provide remote access.
86Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
ItemDescription
1Workstation with Logix Designer application and Logix5550 serial port driver
2Modem
3Modem
4SoftLogix controller
If you use a modem to remotely connect the controller to one workstation, use
the Logix Designer application to configure the serial port of the controller for
the DF1 Point-to-Point (full-duplex) protocol, as in the previous example. If the
controller is part of a master/slave serial device, configure the serial port of the
controller for either the DF1 master or DF1 Slave protocol (both half-duplex).
Master and Slave Communication Methods
A master station can communicate with a slave station in these two ways.
NameMethodBenefits
Standard Communication
mode
Message-based
Communication mode
Initiates polling packets to slave stations according to their
position in the polling array.
Polling packets are formed based on the contents of the
normal poll array and the priority poll array.
Initiates communication to slave stations by using only userprogrammed message (MSG) instructions.
Each request for data from a slave station must be
programmed via a MSG instruction.
The master polls the slave station for a reply to the message
after waiting a user-configured period of time. The waiting
period gives the slave station time to formulate a reply and
prepare the reply for transmission. After all of the messages
in the master’s message-out queue are transmitted, the
slave-to-slave queue is checked for messages to send.
This communication method is most often used for point-to-multipoint configurations.
This method provides these capabilities:
• Slave stations can send messages to the master station (polled report-byexception ).
• Slave stations c an send message s to each other via the master.
• Master maintains an active station array.
• The poll array resides in a user-designated data file. You can configure the master.
• To send messages during its turn in the poll array
(master transmits any message that it needs to send before polling the next
slave station).
In either case, configure the master to receive multiple messages or a single message
per scan from each slave station.
If your application uses satellite transmission or public switched-telephone-network
transmission, consider choosing message-based communication. Communication to a
slave station can be initiated on an as-needed basis.
Also choose this method if you need to communicate with non-intelligent remote
terminal units (RTUs).
Communicate with Serial DevicesChapter 4
or for between-station polls
Rockwell Automation Publication 1789-UM002J-EN-P - December 201287
Chapter 4Communicate with Serial Devices
DF1 Slave Configuration
FieldDescription
Station AddressThe station address for the serial port on the DF1 slave.
Enter a valid DF1 address (0…254). Address 255 is reserved for broadcast messages. The default is 0.
Transmit RetriesThe number of times the remote station retries a message after the first attempt before the station declares the message undeliverable.
Enter a value 0…127. The default is 3.
Slave Poll TimeoutSpecifies the amount of time the slave station waits to be polled by a master before indicating a fault.
Enter a value 0…32767. Limits are defined in 20 ms intervals. The default is 3000 (60,000 ms).
EOT SuppressionChoose whether to suppress sending EOT packets in response to a poll. The default is not to suppress sending EOT packets.
Error DetectionChoose BCC or CRC error detection.
Configure both stations to use the same type of error checking.
BCC: the controller sends and accepts messages that end with a BCC byte for error checking. BCC is quicker and easier to implement in a
computer driver. This is the default.
CRC: the controller sends and accepts messages with a 2-byte CRC for error checking. CRC is a more complete method.
Enable Duplicate DetectionChoose whether the controller should detect duplicate messages. The default is duplicate detection enabled.
DF1 Master Configuration
Table 5 - Master Station Configuration
FieldDescription
Station AddressThe station address for the serial port on the DF1 master.
Enter a valid DF1 address (0…254). Address 255 is reserved for broadcast messages. The default is 0.
Transmit RetriesSpecifies the number of times a message is retried after the first attempt before being declared undeliverable.
Enter a value 0…127. The default is 3.
ACK TimeoutSpecifies the amount of time you want the controller to wait for an acknowledgment to its message transmission.
Enter a value 0…32767. Limits are defined in 20 ms intervals. The default is 50 (1000 ms).
Reply Message WaitMessage-based Polling mode only
Specifies the amount of time the master station waits after receiving an ACK to a master-initiated message before polling the slave station
for a reply.
Enter a value 0…65535. Limits are defined in 20 ms intervals. The default is 5 (100 ms).
Polling ModeChoose one of these:
Master TransmitStandard Polling modes only
Normal Poll Node TagStandard Polling modes only
• Message -based (slave cannot initiate messages)
• Message-based (slave can initiate messages) - default
• Standard (multiple message transfer per node scan)
• Standard (single message transfer per node scan)
Choose when the master station sends messages:
• Between station polls (default)
• In polling sequence
An integer tag array that contains the st ation addresses of the slave stations.
Create a single-dimension array of data type INT that is large enough to hold all the normal station addresses. The minimum size is three
elements.
This tag must be controller-scoped. The format is:
list[0] contains total number of stations to poll
list[1] contains address of station currently being polled
list[2] contains address of first slave station to poll
list[3] contains address of second slave station to poll
list[n] contains address of last slave station to poll
88Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Serial DevicesChapter 4
Table 5 - Master Station Configuration
FieldDescription
Normal Poll Group SizeStandard Polling modes only
The number of stations the master station polls after polling all the stations in the priority poll array. Enter 0 (default) to poll the entire array.
Priority Poll Node TagStandard Polling modes only
An integer tag array that contains the st ation addresses of the slave stations you need to poll more frequently.
Create a single-dimension array of data type INT that is large enough to hold all the priority station addresses. The minimum size is three
elements.
This tag must be controller-scoped. The format is:
list[0] contains total number of stations to be polled
list[1] contains address of station currently being polled
list[2] contains address of first slave station to poll
list[3] contains address of second slave station to poll
list[n] contains address of last slave station to poll
Active Station TagStandard Polling modes only
An array that stores a flag for each of the active stations on the DF1 ne twork.
Both the normal poll array and the priority poll array can have active and inactive stations. A station becomes inactive when it does not
respond to the master’s poll.
Create a single-dimension array of data type SINT that has 32 elements (256 bits). This tag must be controller-scoped.
Error DetectionChoose BCC or CRC error detection.
Configure both stations to use the same type of error checking.
BCC: the controller sends and accepts messages that end with a BCC byte for error checking. BCC is quicker and easier to implement in a
computer driver. This is the default.
CRC: the controller sends and accepts messages with a 2-byte CRC for error checking. CRC is a more complete method.
Enable Duplicate DetectionChoose whether the controller should detect duplicate messages. The default is duplicate detection enabled.
Standard Polling Modes
The master station polls the slave stations in this order.
1. All stations that are active in the priority poll array
2. One station that is inactive in the priority poll array
3. The specified number (normal poll group size) of active stations in the
normal poll array
4. One inactive station, after all the active stations in the normal poll array
have been polled
Use the programming software to change the display style of the active station
array to binary so you can view which stations are active.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201289
Chapter 4Communicate with Serial Devices
1
2
Example 3: SoftLogix
Controller to a Bar Code
Reader
In the following example, the SoftLogix controller connects to a bar code reader.
A bar code reader is an ASCII device, so you configure the serial port differently
than in the previous examples. Configure the serial port for user mode, rather
than a DF1 mode.
ItemDescription
1SoftLogix controller
2Barcode reader
Connect the ASCII Device to the Controller
Dp these steps to connect the ASCII device to the serial port of the controller.
1. For the serial port of the ASCII device, determine which pins send signals
and which pins receive signals.
90Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Communicate with Serial DevicesChapter 4
2 RDX
3 TXD
4 DTR
COMMON
6 DSR
7 RTS
8 CTS
9
1 CD
2 RDX
3 TXD
4 DTR
COMMON
6 DSR
7 RTS
8 CTS
9
1 CD
ASCII DeviceController
42231
2 RDX
3 TXD
4 DTR
COMMON
6 DSR
7 RTS
8 CTS
9
1 CD
2 RDX
3 TXD
4 DTR
COMMON
6 DSR
7 RTS
8 CTS
9
1 CD
ASCII DeviceController
42232
2. Connect the sending pins to the corresponding receiving pins and
attach jumpers.
If the communication isThen wire the connectors as follows
Handshake
Do not handshake
3. Attach the cable shield to both connectors and tie the cable to
both connectors.
4. Connect the cable to the controller and the ASCII device.
User Mode Configuration
Complete these steps to specify ASCII protocol settings.
1. From the Edit menu, choose Controller Properties.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201291
Chapter 4Communicate with Serial Devices
The Controller Properties dialog box appears
2. Click the User Protocol tab.
Table 6 - Default Serial Port Configuration Settings
FieldDescription
Read/Write Buffer SizeSpecify the maximum size (in bytes) of the data array you plan to send and receive. The default is 82 bytes.
Termination Character 1 & 2In the Termination Character 1 and Termination Character 2 fields, enter the character you wish to use to designate the end of a line.
Append Character 1 & 2In the Append Character 1 and Append Character 2 fields, enter the character you wish to append to the end of a line.
XON/XOFFChoose whether to regulate the flow of incoming data. The default is disabled.
Echo ModeChoose whether to echo data back to the device from which it was sent. The default is disabled.
Delete ModeChoose Ignore, CTR, or Printer for the Delete mode. The default is Ignore.
ASCII Instructions
The controller supports ASCII instructions to communicate with ASCII
devices. Your Logix Designer application CDROM includes programming
examples by using ASCII instructions.
For information about using these examples, see the Logix5000 Controllers
Common Procedures Programming Manual, publication 1756-PM001
.
92Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Chapter 5
Configure and Use Simulated I/O
Top icPag e
Configure Your System for a 1789-SIM Module93
Map I/O Data to the 1789-SIM Module100
Toggle Inputs and Monitor Outputs101
Example: Move Application Data into the 1789-SIM Tags103
This chapter explains how to use SIM modules with a SoftLogix controller.
The 1789-SIM module is a software-only module that comes with the SoftLogix
controller; no hardware is required. You can put as many SIM modules as you
have available slots, on your system, according to your activation level.
Configure Your System for a
1789-SIM Module
The 1789-SIM module lets you change inputs and monitor outputs of your
application by toggling input bits and monitoring output bits on the 1789-SIM
module. You use this module to test logic without having physical I/O attached
to the system.
For the SoftLogix controller to simulate local I/O, you need the following:
• A 1789-SIM module (comes with the SoftLogix 5800 controller)
• Logix Designer application to configure the 1789-SIM module
You are limited by the activation level of your SoftLogix controller as to
how many modules you can install.
Even though the 1789-SIM module is a software-based module, each module you
create uses communication resources. If you are controlling actual I/O and
simulating I/O, the 1789-SIM module in your application use communication
resources that could impact control performance. If this occurs, increase the RPI
of your 1789-SIM module. This maintains control performance because the
greater RPI of the 1789-SIM module lessens the load on the SoftLogix system.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201293
Chapter 5Configure and Use Simulated I/O
Step 1: Create the 1789-SIM Module in the SoftLogix Chassis Monitor
Before you can operate the module, you must create the 1789-SIM module as
part of the SoftLogix Chassis Monitor. You can install as many 1789-SIM
modules as allowed by your activation level of the controller.
Complete these steps to install the SIM module.
1. From the Slot menu in the SoftLogix Chassis Monitor, choose
Create Module.
The Select Module dialog box appears.
2. Choose the 1789-SIM 32 Point Input/Output Simulator.
3. Choose the slot number.
For this example, we chose slot 9.
4. Click OK.
94Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
The Select Device dialog box appears.
5. Verify the slot number and click Next.
The General dialog box appears.
Configure and Use Simulated I/OChapter 5
6. Enter the label name for the 1789-SIM module.
The text you enter for the module scrolls across the Marquee on the front
of the module in the chassis monitor. If you do not enter a label name, the
default label of ‘Simulator Module’ appears.
For RSLogix 5000 software, version 20.00.00 and the Logix Designer
application, version 21.00.00 or later, you can specify any slot number for
the 1789-SIM module, as long as the RSLinx software module is
positioned in a slot other than its default 0. See page 29
Rockwell Automation Publication 1789-UM002J-EN-P - December 201295
.
Chapter 5Configure and Use Simulated I/O
The module door is open.The module door is closed.
The chassis monitor shows the 1789-SIM module as a virtual module in the
SoftLogix Chassis Monitor. Note that the door of the 1789-SIM module opens
to display the output bits.
Left-click to open or close the module door.
96Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Configure and Use Simulated I/OChapter 5
Step 2: Configure the 1789-SIM module as Part of the Project
Use the software to map the 1789-SIM module as part of the SoftLogix project.
1. In the project, right-click I/O Configuration folder, and choose New
Module.
The Select Module dialog box appears.
2. Select the Generic 1789 Module and click OK.
The New Module dialog box appears.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201297
Chapter 5Configure and Use Simulated I/O
3. Enter the module parameters.
FieldDescription
TypeRead and Write - This connection lets the computer read inputs and write outputs.
Listen Only - This connection lets the cont roller read inputs, but not wr ite outputs.
The Output Assembly Instance is the only field that is different from the Read and Write connection parameters.
NameEnter the name of the module.
The name must be IEC 1131-3 compliant. This is a required field and must be completed; otherwise you receive an error message when you exit
this tab. An error message is also displayed if a duplicate name is detected, or you enter an invalid character. If you exceed the maximum name
length allowed by the software, the extra characters are ignored.
DescriptionEnter a description for the module here, up to 128 characters. You can use any printable character in this field. If you exceed the maximum
Comm FormatChoose the communication format for the module. This field lists the available communication formats for the module.
SlotEnter the slot number where the module resides. The values range from 0…1 less than the chassis size (for example, if you have a 4-slot chassis,
Input Assembly InstanceEnter the input connection point for the primary connection. The default value is 1.
Output Assembly InstanceEnter the output connection point for the primary connection. The default value is 2.
Configuration Assembly InstanceEnter the target of the connection. The default value is 4.
Configuration SizeEnter the target of the connection. The default value is 4.
Status Input InstanceEnter the size of the configuration assembly. The configuration data type associated with this module is a fixed size (400 bytes), but only the
Status Input SizeEnter the size of the input assembly for the secondary connection. The default value is 1.
Status Output InstanceEnter the output connection po int for the secondary connection. The default value is 6.
length, the software ignores any extra characters.
When you choose a communication format, you are also defining the configuration formats for the module.
(Once you create a module, you cannot change the communication format. To change configuration, you must delete and recreate the module.)
the values are from 0…3). If you enter a slot number that is out of this range, you receive an error message when you go to apply your changes.
The slot number cannot be changed when online.
This parameter setting differs depending on whether the module Type is Read and Write or Listen Only.
amount of the data indicated by this parameter is sent as configuration data. The Size ranges from 0 to 400 bytes. The default value is 0 bytes.
This field is disabled if you enter a value of 0, or if you leave it blank. It is hidden when the Comm Format does not indicate a status connection.
This is field hidden when the Comm Format does not indicate a status connection.
4. Click OK.
The Connection tab on the Module Properties dialog box opens.
98Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Configure and Use Simulated I/OChapter 5
TIP
IMPORTANT
5. Specify the connection parameter; use this tab to define
controller-to-module behavior.
FieldDescription
Requested Packet Interval (RPI)Enter the requested rate of packet arrival (connection update rate). The connection is scheduled to move data to or from the
Inhibit ModuleCheck/clear this box to inhibit/uninhibit your connection to the module. Inhibiting the module causes the connection to the
Major Fault on Controller If Connection Fails
When in Run Mode
module at least this often. The minimum and maximum RPI values are shown parenthetically to the right of the box/spin control.
The RPI is determined by the Owner Controller of a module. If a Listen Only connection is established, the RPI for that connection
cannot be faster than the fastest RPI configured for all owner controllers (for input modules), or faster than the RPI configured for
the one owner controller (for output modules).
module to be broken.
Check this box to configure the controller so that failure of the connection to this module causes a major fault on the controller.
The data on this tab comes directly from the controller. This tab
displays information about the condition of the connection between
the module and the controller.
You must specify an RPI of at least 50.0 ms for each 1789-SIM module
or the connection to the module fails. Because this module uses the
generic module profile, the default RPI is 5.0 ms.
6. Click OK.
Rockwell Automation Publication 1789-UM002J-EN-P - December 201299
Chapter 5Configure and Use Simulated I/O
Map I/O Data to the 1789-SIM
Module
ViewDescription
I/O ConfigurationThe SIM module is in slot 9.
Controller TagsThe programming software assigns these controller-scoped tags to the 1789-SIM module in slot 9.
When you add a 1789-SIM module to a project, the software automatically
assigns input and output data structures for the module. For example, this I/O
configuration generates these I/O data structures.
100Rockwell Automation Publication 1789-UM002J-EN-P - December 2012
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.