Woodsstpb3clxrll Ins
Woodsstpb3clxrll Ins
Woodsstpb3clxrll Ins
Copyright ©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
This document and its contents are the proprietary and confidential property of Woodhead
Industries Inc. and/or its related companies and may not be used or disclosed to others without
the express prior written consent of Woodhead Industries Inc. and/or its related companies.
SST is a trademark of Woodhead Industries Inc. All other trademarks belong to their respective
companies.
ii
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
Contents
Contents iii
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
iv Contents
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
Contents v
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
vi Contents
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
Preface
Preface Sections:
• Purpose of this Guide
• Special Notation
Preface vii
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
Special Notation
The following special notations are used throughout this guide:
Warning
Warning messages alert the reader to situations where personal injury
may result. Warnings are accompanied by the symbol shown, and
precede the topic to which they refer.
Caution
Caution messages alert the reader to situations where equipment damage
may result. Cautions are accompanied by the symbol shown, and
precede the topic to which they refer.
Note
A note provides additional information, emphasizes a point, or gives a
tip for easier operation. Notes are accompanied by the symbol shown,
and follow the text to which they refer.
viii Preface
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
1
System Overview
Chapter Sections:
• System Overview
System Overview 9
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
• Supports and scans up to 122 words of input data and 122 words of output data per slave
• Can reside in any slot in the local or remote CLX chassis. You can have up to 8 scanners
in a rack.
• Supports all standard PROFIBUS baud rates (9600, 19200, 31.25k, 45.45k, 93.75k,
187.5k, 500k, 1.5M, 3M, 6M, 12M)
• Can handle up to 16 Class 2 connections (to 16 Class 2 DPV1 Slaves) when using DPV1
Class 2 Communication only
• Allows for simultaneous operation of PROFIBUS Master and Slave (up to 12M)
• As a Master, supports a maximum of 1984 bytes of input data and 1968 bytes of output
data with in 4 I/O pages
10 System Overview
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
The Tool also allows you to configure I/O on the DP network, enabling you to download the
configuration to the scanner via the serial port or an RSLinx driver. The scanner stores this
configuration in its flash memory, so you don't need to download it every time you start the CLX.
The input and output data for the slaves is mapped into the ControlLogix 5550 Controller’s I/O Data
arrays, starting at byte offset 4. The mapping depends on the addresses you assign in your Master
configuration.
System Overview 11
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
12 System Overview
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
2
Hardware Overview
Chapter Sections:
• Hardware Features
Hardware Overview 13
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
LCD
LEDs
Configuration Port
14 Hardware Overview
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
Configuration port For downloading I/O configuration data and upgrading firmware
COMM LED
The COMM LED indicates the health of the PROFIBUS network and flashes green when the
PROFIBUS scanner is token passing or being monitored via the Configuration Tool. The LED is
solid green when there are no network errors. If a network error occurs, the COMM LED can
either be off, solid red, or flashing red periodically while it is green.
SYS LED
At powerup, the SYS LED shines red, then green for two seconds. While it shines, you can enter
System Configuration mode to download new firmware to the scanner.
When the scanner acts as a Master, the SYS LED indicates the communication status with
PROFIBUS slaves. A solid red SYS LED indicates that one or more slaves are in error, and solid
green means that all slaves are being scanned on the network in Run mode. When it’s amber, all
slaves are being scanned in Clear mode (outputs are all zeroes).
When the scanner acts as a slave, the SYS LED indicates the communication status with the
PROFIBUS Master. When the SYS LED is solid red, the PROFIBUS Master is no longer
scanning, and when it is solid green, the PROFIBUS Master is successfully scanning the module
as a slave in Run mode. An amber SYS LED indicates that the PROFIBUS Master is scanning
the module as a slave in Clear mode.
Hardware Overview 15
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
OK LED
The OK LED indicates that initialization is complete and that the module is OK.
16 Hardware Overview
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
3
Quick Start
Chapter Sections:
• Purpose
• Package Contents
• Power Requirements
• Procedures
Quick Start 17
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
3.1 Purpose
Although this section does not include detailed information in its procedures, other chapters
are referenced where more information is available. These procedures are written with the
assumption that you have a basic understanding of process control and are fully able to
interpret the ladder logic instructions that control the applications.
o sstpb3clx_main_AOP_example.ACD
o DPV1_ReadClass1_AOP.ACD
o DPV1_ReadClass2_AOP.ACD
o sstpfbclx_IO_Expansion_AOP.ACD
18 Quick Start
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
• PROFIBUS scanner
Quick Start 19
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
Note
The scanner consumes 850 mA @ 5VDC, 1.75 mA @ 24VDC.
For modular systems, calculate the total load on the system power supply using the procedure
described in the CLX 5000 Modular Style Installation & Operation Manual, Allen-Bradley
Publication 1747-6.2
3.5 Procedures
The setup of the SST-PB3-CLX-RLL scanner is divided into two parts:
2. Connect the scanner to the PROFIBUS devices using the appropriate cabling and
termination. Refer to Section 4.2, PROFIBUS Wiring, for more detailed information.
3. From the CD, open the supplied sample RSLogix 5000 Ladder program that you need to
include with the rest of your control program to operate the scanner.
Note
You may need to change the rack size and scanner location in the I/O
configuration. Changing the slot location will update the existing
controller tags.
20 Quick Start
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
If you are using PlantScape, refer to Section 5.1.2, Configuring Through PlantScape
Control Builder.
4. Set up your system's I/O configuration for the particular slot in which you installed the
scanner. Refer to Section 5.1, Configuring the Scanner, for more information.
7. Put the CLX PLC in Program mode and transfer the program to the CLX PLC. See your
programming software manuals for details.
Note
Ensure that you uninstall any previous PROFIBUS installation and
reboot your PC before installing a new version of the software.
Refer to Section 5.1.1, Configuring Through RSLogix 5000, for more detailed
information. If you are using PlantScape, refer to refer to Section 5.1.2, Configuring
Through PlantScape Control Builder.
2. Run the setup.exe file from the supplied Windows 2000/XP/Server 2003
installation CD. This installation script has an option to install a set of tools for
use with SST PROFIBUS backplane modules. The SST-PB3-CLX-RLL scanner
is a backplane module and this option should be used to install the Configuration
Tool and associated software.
3. Open the SST PROFIBUS Configuration Tool window by selecting: Start Menu >
SST PROFIBUS Configuration.
5. In the PROFIBUS Device library (left-most pane), select and drag the SST-PB3-CLX
master into the Network view (right-most pane) to add it. Select AOP option if using
Add-on-Profile.
Quick Start 21
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
22 Quick Start
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
7. Configure the bus parameters and set the network baud rate.
8. From the PROFIBUS Device library, select and drag the slave into the Network view to
add the slave to the configuration.
Note
The I/O addresses determine where the slave data maps into the CLX
data table. You can use the Print Preview feature under the File menu to
determine where each I/O module for all your slaves is mapped to in the
input and output data arrays in the CLX processor.
10. Connect the PROFIBUS Configuration Tool to the scanner using the null modem cable
supplied, or by configuring an RSLinx driver.
11. While the CLX PLC is in Program mode or PBIM Block with Clear mode enabled is
inactive, right-click on CLX Master and select Connect from the shortcut menu.
Note
Before connecting to the CLX scanner, make sure that it has completed
its initialization (green OK LED displays on the front of the scanner)
and the CLX PLC is in Program mode or PBIM Block with Clear mode
enabled is inactive.
12. One you are communicating, the COMM LED flashes at one-second intervals on the
scanner.
Quick Start 23
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
13. To download the I/O configuration to the scanner, right-click on the CLX Master and
select the Load Configuration option from the shortcut menu. If the scanner is online at
the time, select Yes when prompted with the “Card is ONLINE do you want to load
configuration?” message. When the download is complete, the Master Status displays
Configured Program.
14. Select the Online icon located in the toolbar to put the SST-PB3-CLX-RLL online
(COMM and SYS LEDs turn ON). The online module begins to scan I/O in Clear mode
(output is all zeroes).
Warning
Do not put the CLX PLC in Run mode or have the PBIM block active in
Honeywell's Control Builder while connected to the scanner. This may
cause an unrecoverable serial communications failure, requiring you to
cycle the power on the scanner before being able to connect to it again.
24 Quick Start
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
4
Installing the SST-PB3-CLX-RLL Scanner
Chapter Sections:
• Installing the Scanner Module
• PROFIBUS Wiring
1. You can, but do not necessarily need to disconnect the power, as the scanner supports
insertion under power.
2. Using the chassis card guides, align the full-sized circuit board.
3. Slide the module into the chassis until the top and bottom latches catch.
1. You can, but do not necessarily need to disconnect the power, as the scanner supports
removal under power.
3. Press the releases at the top and bottom of the module and slide the module out of the
module slot.
Pin # Pin Description DB9 Line * Termination When Using the SST-PB3-CLX-RLL
1 Chassis ground
2 Reserved
3 Data + Connect this pin to pin 8 (data -) with 220 ohm resistor
4 TX Enable
5 Isolated ground Connect this pin to pin 8 (data -) with 390 ohm resistor
6 Isolated +5V Connect this pin to pin 3 (data +) with 390 ohm resistor
7 Reserved
8 Data -
9 Reserved
Caution
Do not connect devices to the +5V line. It is there for termination
purposes only.
Baud Rate (Bits/s) Line A Distance (Max) Line B Distance (Max) Register Value
Note
The two physical ends of the PROFIBUS network should be terminated.
There should be only two terminators on a network.
Note
The recommended male connector is the Brad Harrison PA9D01-42
Diagnostic D-Sub Connector.
• Brad Harrison 85-001 PVR2 conductor with shield, UL-listed PROFIBUS cable
Note
Allen Bradley blue hose, which has an impedance of 78 ohms, is not
recommended.
* Refer to Section 5.3.5, Diagnosing Slave Errors in the SST PROFIBUS Configuration Tool,
for further information.
Display Meaning/Description
Ver x.xx Power up message. This message appears briefly during power up. x.xx
is the firmware version.
Invalid Serial Number The serial number has not yet been programmed on this module.
CLX INIT FALT 0xYY ControlLogix Initialization fault. The ControlLogix Backplane startup
routines failed, with failure code YY (hex).
CONNCLSD There are no open ControlLogix Backplane connections.
NVLD XMIT SIZE Invalid transmit size. The size of the transmitted data for a new connection
does not match that of an existing connection.
NVLD OUT CNPT Invalid output connection point.
NVLD RCV SIZE Invalid receive size. The size of the received data for the connection is
invalid.
NVLD RCV BUFF Invalid receive buffer. Failed to allocate a receive buffer. This should
never happen.
CONN BLKED Connections blocked (not allowed). The Connection Manager is in a
Connections not allowed state. This should never happen.
DUPLCONN DTCT Duplicate connection detected. Connection is already open.
RSRC ERR1 INCM Resource error # 1 in Connection Manager: Out of memory. This should
never happen.
NVLD FWD OPEN Invalid forward open. CM was unable to parse the Forward open. May be
a key segment mismatch.
NVLD SRVC CODE Invalid service code. Service code in CLX Forward Open was invalid.
Note
The default LCD display is COPN when the scanner is working
correctly.
5
Configuring and Programming the DP Master
Chapter Sections:
• Configuring the Scanner
• Troubleshooting
• Importing the DP Master Binary Configuration (.bss) Using the Configuration Tool
• Errors
• Making Changes to the CLX Configuration File while the PROFIBUS card is Online
If you need to reduce the size of the I/O tables you must use 1756-Generic profile. I/O sizes are
fixed at their maximum sizes in AOP. To configure through RSLogix 5000 using 1756-Generic
profile, see section on Generic 1756 Module.
The following are available on the SST Backplane Communication Module Products CD
v1.7.0.0 and on our webs site www.wooodhead.com.
• RSLogix 5000 Ladder sample code using AOP (Created in RSLogix 5000 Version 15)
o sstpb3clx_main_AOP_example.ACD
o DPV1_ReadClass1_AOP.ACD
o DPV1_ReadClass2_AOP.ACD
o sstpfbclx_IO_Expansion_AOP.ACD
Note
When you are configuring the Module, ensure that the CLX is in
Program mode.
1. From the SST Backplane Communication Module Products CD, run the SST Profibus
backplane Products installation by going to Product Menu/SST-PB3-CLX-RLL. This will
install the following components to configure the module for AOP:
o RSLogix 5000 AOP sample ladder code. Default install directory is Program
Files\BradCommunications\SST Profibus\Ladder Sample Codes for
ControlLogix\AOP
2. From the SST Backplane Communication Module Products CD, select Product Menu/ SST-
SST-PB3-CLX-RLL and run Rockwell’s RSLogix 5000 AOP install and follow the
instructions.
3. AOP requires the SST-PB3-CLX-RLL to be loaded with firmware modules Pbfclx.ss4 v8.6
or higher and Pfbclx.ss3 7.26 or higher. The version of pfbclx.ss4 is displayed at power-up.
To determine the version of pfbclx.ss3, execute the command string “ver pfbclx.ss3” in
HyperTerminal. To determine the version of pfbclx.ss3 or if you need to upgrade the
firmware modules see chapter 8, section Upgrading the Scanner Firmware.
Note
After upgrading firmware on module to support AOP, the Profibus ID
number will change from 0x0876 to 0x0C44. This new ID affects the
module as a DP Slave. If needed, you can force the module to still use
Profibus ID 0x0876 by enabling the option called Legacy_ID_0876 on
the Module Configuration tab when you configure its Add-on-Profile in
RSLogix 5000.
4. In RSLogix 5000, from the project tree, right-click on 1756-Backplane and select New
Module…
5. Scroll down until you see the Vendor Name “SST-Molex”. Select SST-PFB/PB3-CLX-
RLL.The module is also displayed under Category\Communications.
If you are going to have more than one PLC communicating with the same SST-PB3-CLX-RLL
(output connection plus listen only connection), all must use the Generic Module type or AOP.
Generic module and AOP types cannot be mixed.
7. Enter a name in the Name field. This parameter must begin with a letter.
11. Series B represents the SST-PB3-CLX-RLL module. This is the default. Series A represents
the legacy SST-PFB-CLX-RLL.
12. The Revision refers to the backplane firmware version on module. The revision contains a
Major and Minor revision number. The defaults for Major and Minor are 8 and 1.This
revision is displayed on the SST-PB3-CLX-RLL LCD display at power-up and is displayed
in RSLinx when viewing the properties of our module in RSWho.
13. Electronic keying is a feature that allows a consistency check to be done between the
physical module and software configuration of the module. The consistency check involves
checking attributes Vendor, Product Type, Catalog number, Major and Minor Revision.
There are three modes available: Compatible, Exact Match, and Disable Keying. The default
is compatible mode. In compatible mode, a COPN to the module is only successful when:
• Module type and Catalog Number and Major revision must match
• The Minor revision of the physical module must be equal to or greater than the one
specified in the software.
If you want to make use of the Exact Match option for the Electronic keying, all of the
attributes of the SST-PB3-CLX-RLL module and the module created in software must
match. If the module’s firmware is upgraded later, the Revision setting must be updated
so that it matches exactly.
The “Disable Keying” option allows a COPN to the module without performing a
consistency check. This option is not recommended.
14. The default connection type is Output w/ Status. Listen-only connection is also available.
15. Select the data format required (INT, SINT, DINT). INT is the default.
16. Click on the next to the Mode field and select one of the three available modes. The
default is Master/Enable Auto-Run. If you require Master mode but do not want the card to
come online automatically, select Master/Disable Auto-Run. Select Slave mode if you want
to configure the module as a DP slave only or as a Master and Slave. Selecting Slave mode
will create an additional dialog called “Module Configuration” to configure the Slave or
Master-Slave parameters.
18. If required, click on the Connection tab to modify the Rate Packet Interval (RPI) time. The
default is 5ms. The valid range is 3ms to 750ms.
Note
The PB3-CLX is not synchronized to the RPI time. The PB3-CLX starts
scanning as soon as it goes online. This is the only behavioral change as
a DP Master from the PFB-CLX card.
19. See chapter 10, section Configuring the CLX Slave in RSLogix 5000 using Add-on-Profile
(AOP) if configuring the module as DP slave or as DP Master and Slave. Otherwise Click on
OK. The SST-PFB/PB3-CLX-RLL will appear in your I/O configuration.
Note
Our web address, online help and technical support phone numbers are
available on the Vendor tab.
Now begin creating your ladder code using the detailed tags created by AOP for the SST-PB3-
CLX-RLL. For a more detailed description of I/O and status file tags see CLX interface layout
later in this chapter.
Note
When you are configuring the scanner, ensure that the ControlLogix
CPU is in Program mode.
3. Select the correct Chassis type that you are using from the list.
4. In the project tree, right-click on I/O Configuration and select New Module from the
shortcut menu. The Select Module Type window displays.
5. Select the category “Other” and expand it to select the Generic 1756 Module option from
the module Type list.
7. In the Name field, type in the new name for the Controller.
• Data-DINT-with status
• Data-SINT-with status
10. From the Connection Parameters frame, set the following values:
Note
When using the scanner as a slave only, the Configuration Size should
be set to 24.
12. Select Next >. The corresponding Modules Properties window displays.
Set the Requested Packet Interval (RPI) accordingly. The RPI value must not be any
lower than 3ms.
Note
The PB3-CLX is not synchronized to the RPI time. The PB3-CLX starts
scanning as soon as it goes online. This is the only behavioral change as
a DP Master from the PFB-CLX card.
The estimated PROFIBUS typical scan cycle time can be generated by the Configuration
Tool once the Profibus network has been created. To find the typical scan cycle time,
right-click on the CLX Master in the Tool and select Properties. Next, click the
Parameters tab. The typical scan cycle time is displayed in milliseconds in the upper-left
corner. Refer to Section 5.2, Creating an I/O Configuration, for more information on
using the Configuration Tool.
14. Create the rest of your Control program and all of the logic.
Note
You must include the SST sample RSLogix 5000 program
(SSTPFBCLX_Preview_2_Example.ACD or SSTPFBCLX_AOP.ACD),
located on the CD, or see Section 7.2, Main CLX Example, to interface
to the scanner.
15. Save the configuration file and download it to the CLX scanner.
The above graphic shows the data areas created in the ControlLogix 5550 Controller as a
result of the SST-PB3-CLX-RLL scanner's Generic Profile configuration.
4. Select the Load with Contents option from the Tools menu.
6. Select the Monitoring tab located on the bottom of the Project window.
7. Select CEE.
9. From the sub-menu, select the This CEE and its 10M and CM's option.
10. Select YES in the Change State dialog box. This procedure places the processor in Run
mode and the SST-PB3-CLX-RLL scanner online and in Run mode. For detailed
information, refer to Honeywell's PlantScape PROFIBUS Implementation guide.
2. Navigate to the SST PROFIBUS Configuration option to run the SST PROFIBUS
Configuration Tool.
• To open the Device library (left-most pane), select View > Library. This pane
appears by default in the upper left-hand side of the window.
• To open the Online Browse pane or DP view, choose View > Online. This pane
appears by default at the bottom of the window.
4. Locate and select the SST-PB3-CLX Master device in the Device library
(left-most pane).
OR:
• Click on the Add to Network icon on the main toolbar. A Configuration
window displays for the selected device.
6. Select the station number in the Station field on the General tab for the selected Master.
7. Enable the AOP option if you plan to use Rockwell’s Add-on-Profile in RSLogix 5000 to
configure the SST-PB3-CLX Master. See Chapter 5 for more details on AOP.
9. Select the corresponding radio button for the data type. WORD is the default and the
preferred data type for PROFIBUS. If you are using PlantScape, select the BYTE radio
button for the data type.
10. Set the RPI time to match the RPI configured in RSLogix (refer to Section 5.1,
Configuring Through RSLogix 5000), in the Request Periodic Interval field for the
PROFIBUS ControlLogix system. Ensure that you have set the Requested Periodic
Interval Rate for PFB-CLX. For PB3-CLX, this box can be left at default 5000us (5 ms).
For the PlantScape system, set the RPI time to 5 ms or higher if you are using it in the
Local rack. If you are using it in the Remote rack, set it to 12.5 ms. or higher.
Note
Honeywell has validated the SST-PB3-CLX-RLL card with firmware
pfbclx.ss4 v7.30 and pfbclx.ss3 v7.11 for use in the Experion PKS
system.
11. Select the COM Channel tab to configure the connection. For details on configuring an
RSLinx connection, refer to Section 12.3, Configuring the RSLinx Connection.
12. Select the COM port you want to use to download the Master Configuration from the
Connection: field.
13. Click OK to save the setting. The Master device is added to the Network view
(right-most pane).
Note
To edit device properties, right-click on the device and choose Properties
from the shortcut menu or select the device from the Network view and
select the Properties icon on the main toolbar.
14. Find and select your slave device from the Device library. If your slave device is
not listed:
a) Click on the New Device icon in the Device library to add the GSD file for your
device. The Add PROFIBUS Devices window opens.
Note
A GS* file should have been supplied with your slave device.
If not, contact the vendor or search for it on the internet at:
http://www.profibus.com/products/gsd-files/
* signifies the language
15. You can now add the device to the Network view in one of two ways.
• If you are connected to your PROFIBUS network, use the Online Browse
feature to search for your slaves on your network. Refer to Section 5.2.2,
Online Browsing with DP View in the SST PROFIBUS Tool, for detailed
information on how to perform this procedure.
• If you are not connected to your PROFIBUS network, you can do the following:
• Drag and drop each slave to the network view under the Master device
16. Set the station address of the slave in the Station field.
If your slave is modular, insert the modules that your slave device uses. To do this, select
the Add button to display the Add Modules window.
If your slave is not modular (compact device), the modules have already been configured.
19. Select OK to set the module and return to the Slave Properties window.
20. Select the Address tab and assign input and/or output addresses. The RSLogix 5K
destination tags displayed on right-hand side are for 1756 Generic module I/O
configuration format. The data offsets begin at 2 (Word Format).
If using AOP, the RSLogix 5K destination tags will look like below and the data offsets
begin at 0 for all data formats (BYTE, WORD, and DWORD).
You have the option of using the default values that display in the Modify Offset fields or
selecting the Modify Offset checkboxes and entering your own values.
Note
The first four bytes of input and output arrays are reserved for
handshaking.
There are 4 input and 4 output pages (0 – 3) for data mapping. The
available sizes are 496 bytes for each input page, and 492 bytes for each
output page. For the range of data offsets that can be used, refer to
Chapter 13, I/O Expansion.
You may now need to configure the slave and module parameters.
• Edit - Allows you to change value of parameter. You can also double-click on a
parameter to edit.
22. Configure any necessary parameters. You may now need to configure the module
parameters.
24. Select the module that needs parameterization and select Properties. The Data Area
Properties window opens, with the General tab displayed.
25. Select the Ext. Prms. tab (if it exists) and set the parameters according to your device.
27. Repeats steps 13-25 for each slave device on your network.
28. To set the parameters for your network, right-click on the highest level of the
Network view (default is PROFIBUS_DP) and choose Properties from the shortcut
menu. The Network window displays (opens in General tab), allowing you to
set the Baud Rate and other parameters found in the Timing and Parameters tabs.
• Highest Station - Highest allowed station address for any active station on the
network. The highest station affects how much time is spent soliciting for new
nodes.
• Options - These affect the network parameters that the Configuration Tool
assigns:
• Repeater - indicates whether or not there are any repeaters on the network.
• FMS Devices - indicates whether or not there are any FMS devices on the
network.
• Stay Offline on Error - indicates whether or not the card stays offline when
Token Error Limit or Response Error Limit is exceeded within 256 token cycles.
30. Once you finish setting the parameters, select OK to save the new settings.
31. Chose File > Save to save your configuration (.pbc file). The Save As window displays.
32. Specify a filename and location for your configuration and select Save. This saves your
project as a .pbc file.
33. To download your configuration, refer to Section 5.3, Downloading to the Scanner.
34. You now have the option of exporting your configuration to a binary (.bss) file using one
of the following methods:
OR
2. If you’re using a serial connection, connect your null modem cable between the scanner’s
serial port and your PC COM port and verify that you are connected to the PROFIBUS
network. If you’re using an RSLinx connection, refer to Section 12.3, Configuring the
RSLinx Connection for details.
3. Select the Network Search Properties icon. The DP View window displays.
• Local Card - Default radio button selection only. Select the Serial radio button.
• Serial - Select this radio button for serial communication. This is the COM port to
which your serial cable is connected.
• RSLinx – If you have a licensed RSLinx installed, specify the Driver Name and
the scanner module slot in the rack. For more details, refer to Section 12.3,
Configuring the RSLinx Connection.
• Driver Name – Name of the RSLinx Driver set up to communicate over Ethernet
with the scanner module
• RSLinx Path – If the scanner is in a remote rack, this is the relevant path. For
more details, refer to Section 12.3, Configuring the RSLinx Connection.
• IP Address - The IP address of the 1756-ENBT when using the Ethernet Devices
and Ethernet/IP drivers.
Note
Remote Devices via Linx Gateway driver is not supported with the
RSLinx Classic Profession/Gateway v2.54 or higher.
The IP Address field can be left blank when using the 1756-ENET
Ethernet TCP/IP Communications ControlLogix module or when
RSLinx path contains an IP address.
• Station - Set a unique station number, one not used by any of the slaves on the
network
• Baud Rate - Slaves that do not support the selected baud rate will not be detected
7. Right-click on each slave to assign its GSD file. A shortcut window displays with the
following options:
• GSD Files - Displays GSD file(s) found with the corresponding slave ID and a
default-generated GSD file, in case no ID match found
• Export GSD - Export a GSD file that will be saved with a new name, which by
default is the station number-slave ID
• Edit GSD - Edit the selected GSD file. The generated GSD is the default if
another
GSD file is not selected. Here you can specify the vendor and model name,
slave-specific options such as freeze, sync, auto baud and set slave address; and
user parameters.
Note
To create a configuration with these slaves, you must first have a Master
in your configuration and then you can drag over the slaves from the DP
library to your Network view.
9. Drag and drop each slave from DP View to the Network view, underneath the Master.
You may be prompted with the following window to select the correct I/O modules for
the slave.
10. Select OK. The slave is then added and appears in your Network view.
12. Select Properties from the shortcut menu to display the Slave Properties window.
13. Select the Address tab and assign the I/O offset(s). If you are using AOP to configure the
module in RSLogix 5000, make sure to enable AOP option under Master Properties.
You have the option of using the default values that display in the Modify Offset fields,
or selecting each Input and Output Modify Offset checkbox and entering your own
values.
Note
The first four bytes of input and output arrays are reserved for
handshaking.
There are 4 input and 4 output pages (0 – 3) for data mapping. The
available sizes are 496 bytes for each input page, and 492 bytes for each
output page. For the range of data offsets that can be used, refer to
Chapter 13, I/O Expansion.
You may now need to configure the slave and module parameters.
• Edit - Allows you to change value of parameter. You can also double-click on a
parameter to edit it.
You may now need to configure the module parameters. This is done via the Modules
tab.
17. Repeat steps 8-15 until all of your slaves are configured and exist under your Master in
the Network View.
18. Right-click on PROFIBUS-DP in the Network view to configure the Network Parameters
(baud rate and so on), and select Properties from the shortcut menu. The Network
window displays.
• Highest Station - Highest allowed station address for any active station on the
network. The highest station affects how much time is spent soliciting for new
nodes.
• Options - These affect the network parameters that the Configuration Tool
assigns
• Repeater - Indicates whether or not there are any repeaters on the network
• FMS Devices - Indicates whether or not there are any FMS devices on the
network.
• Stay Offline on Error - Indicates whether or not the card stays offline when the
Token Error Limit or Response Error Limit is exceeded within 256 token cycles.
21. Choose File > Save to save your configuration. The Save As window displays.
22. Specify a filename and location for your configuration and select Save. This saves your
project as a .pbc file.
The serial cable for a standard PC COM port must have lines 2 and 3 swapped. No handshaking
is required. Pins 2 and 3 are wired the same as a PC 9-pin COM port.
If you are using HyperTerminal, refer to Section 5.6, Downloading the I/O Configuration to the
Scanner Using HyperTerminal, for detailed information.
2. Connect the modem serial cable between the PC COM port and the scanner serial port
(top one).
4. Select Connect from the shortcut menu. You can also select the first icon above
PROFIBUS-DP*. If you do not have a mouse, select Connect from the Edit menu.
Note
*Wait for the OK LED on the scanner to display green before
connecting.
You may be prompted with a message indicating a configuration mismatch between what
is in the scanner and your current PROFIBUS project. In this case, select Yes to retain
your configuration.
5. Load the configuration to the Master through one of the following methods:
• Right-click on the Master and select Load Configuration from the shortcut menu.
OR
• Select the Load configuration icon in the toolbar. If the scanner is online,
the following message displays:
—Card is online. Do you want to load configuration?
6. Select Yes to load your new configuration. The Master status now changes to the
Configured Program mode.
7. Right-click on the Master and select Disconnect from the shortcut menu to disconnect
from the network.
2. Switch the CLX PLC back to Program mode. For PlantScape, ensure that the PBIM block
is inactive with the Clear mode enabled.
Note
You may get a message indicating a configuration mismatch.
Select YES to retain and download the configuration.
5. Select the Online icon in the toolbar to place the scanner online. The master should
now display either:
OR
If this displays, refer to Section 5.3.5, Diagnosing Slave Errors in the SST PROFIBUS
Configuration Tool.
Caution
Do not switch the CLX PLC to Run mode or activate the PBIM block in
PlantScape while monitoring the scanner in the Configuration Tool.
This may result in unrecoverable serial communication failure.
Note
You may get a message indicating a configuration mismatch.
Select YES to retain the configuration and download the
configuration. Select the Online icon in the toolbar to go online.
Caution
If the only difference between your offline and online configuration is
slave data offsets, you will not get a Configuration Mismatch status for
the Master. You can fix this by re-downloading the configuration.
OR
If this displays, refer to Section 5.3.5, Diagnosing Slave Errors in the SST PROFIBUS
Configuration Tool, for further information.
A Slave Diagnostics window displays, indicating the errors specific to that slave.
5.4 Troubleshooting
Check the slave’s PROFIBUS interface to ensure that it is powered on and connected to your
network. Ensure that the slave supports the configured baud rate. Also, verify that you are using
the Correct GSD file for the slave device by checking the slave’s part number.
Check that the I/O modules are configured in the order they appear in the slave device and that
the I/O modules match the exact description of the modules you selected (i.e., module serial
number).
If there are still outstanding errors, this is always present. Also, you may be trying to scan the
slave too quickly. This may be caused by using a wrong GSD file.
This is device specific. Retrieve the data by requesting the slave diagnostics in your RSLogix
5000 sample program. Extended diagnostic data starts at byte 7 of the slave diagnostics.
Compare the values with the descriptions that may be available for the slave by viewing the
slave’s properties and selecting the Diagnostics tab in the Configuration Tool.
The slave does not support commands like SYNC or FREEZE coming from the Master.
Check that you are using the correct GSD file.
This usually occurs when the slave is returning more diagnostic information than the Master can
handle. Check your GSD file.
Parameter Fault
This usually means an incorrect Indent - Number or Invalid parameter sent to the slave. Check
that you have set the slave and module parameters correctly by selecting the Ext. Prms. tab under
the slave/module’s properties.
Master Lock
The DP slave has been parameterized by another Master. Take the controlling Master offline.
Param/Config Required
This remains present until the parameterization has completed properly. You may be using the
incorrect GSD file or you haven't set the slave and module parameters to the correct values.
Check the slave and module parameters by selecting the Ext. Prms. tab under the slave/module’s
properties.
Static Diagnostics
Check your slave diagnostic data in the scanner status area using the RSLogix 5000 sample
Ladder Logic, which already includes the logic to retrieve this. Write xx05 (xx = station number)
to the CMD Argument register (Local:Slot:O.Data [1], AOP tag Local:Slot:O.ModuleControl.
CMD_Argument). The slave diagnostics display, starting at Local:Slot:S.Data [59], AOP tag
SlaveStatus1.
DP Slave Set
WatchDog
More Diagnostic data is being returned from the slave than what is specified in its GSD file.
You may be using an incorrect GSD file.
2. Right-click on the Master in your Network view (right-most pane) and select Import
Binary from the shortcut menu.
OR:
Select the Import Binary icon from the toolbar. The Open window displays.
3. Select and open your .Bss file. The Import Wizard displays.
4. Select SST-PFB-CLX.
5. Select the Next > or Finish >> button. If you have multiple GSD files for the same slave
in your binary configuration, select the Next > button and follow the process to assign the
correct GSD file to the slave.
7. If you are using Rockwell’s RSLogix 5000 Add-on-Profile, double-click on master and
enable AOP then click OK.
1. Verify that you are connected to the scanner module via a serial cable or RSLinx.
For an RSLinx connection, go to the Communications menu in RSLinx and select
RSWho. You can upload the configuration while you are online or offline.
3. Drag and drop the SST-PB3-CLX scanner device from the Device Library
(upper left-hand side) into the Network view. The Master Properties window displays.
4. Enable the AOP option if you are using Rockwell’s RSLogix 5000 Add-on-Profile.
6. Specify the COMM port or RSLinx connection you want to use. For an RSLinx
connection, specify the Driver Name and scanner module slot in the rack. For more
details, refer to Section 12.3, Configuring the RSLinx Connection.
8. Right-click on the Master and select Connect from the shortcut menu.
10. Select Finish if you went through the Configuration wizard process. You can now save
this uploaded configuration as a .pbc file.
11. Select File > Save, assign a filename and location, and select Save.
12. Right-click on the Master and select Disconnect from the shortcut menu.
2. For Connect using:, select Direct to Comn, where "n" is the serial port you are using.
3. Select 115200 Bits per second, 8 Data bits, set Parity to None, select 1 Stop Bit, and set
Flow control to None. You should now be able to communicate with the scanner serial
port.
4. Connect to the serial port using your communication software. The scanner serial port
supports any baud rate from 9600 baud to 115 Kbaud, with no parity, 8 data bits, 1 stop
bit and flow control set to None. The scanner automatically detects the baud rate you are
using.
Note
When configuring the scanner, the CLX PLC must be in Program mode,
or if you’re using PlantScape, the PBIM block with the Clear mode
enabled must be inactive in Control Builder.
5. Type an asterisk (*) to get the scanner's attention. You may need to type several asterisks
(*) to let the scanner auto-detect the baud rate being used. The scanner displays the
message:
;Copyright (c) 1995-2008 WSE, a division of Molex
For SST-PB3-CLX Card
Version 7.10
Note
If the module has no configuration in flash, one of two possible warning
messages may be displayed in HyperTerminal:
The scanner is now in Config mode. While in Config mode, the scanner COMM and SYS
LEDs are off. You cannot put the scanner online until you exit from Config mode.
6. Issue the RecBssXmodem command, then initiate an XModem file download from your
communication software. Refer to the documentation supplied with your Communication
software for more detailed information.
Note
When you download a Configuration file to the scanner, the
configuration is stored in memory on the scanner. Use the UpdFlash
command to store the configuration into flash memory.
If there have been changes to the Configuration, the scanner will ask you whether you want to
store those changes in flash before you exit.
5.7 Errors
5.7.1 Network Parameter Errors
The following status errors may occur when setting the Network parameters. Values are in
hexadecimal.
02h STS_BAD_BAUD
03h STS_BAD_STN_ADR
04h STS_BAD_HI_STN_ADR
05h STS_BAD_TOK_ROT
06h STS_BAD_SLOT_TME
07h STS_BAD_IDLE_1
08h STS_BAD_IDLE_2
09h STS_BAD_RDY_TME
0ah STS_BAD_QUI_TME
0bh STS_BAD_GAP_UPD
0ch STS_BAD_TOK_RETRY
0dh STS_BAD_MSG_RETRY
0eh STS_BAD_TOK_ERR_LIM
0fh STS_BAD_RSP_ERR_LIM
10h STS_BAUD_DET_ERROR
20h STS_CFG_BAD_CHK_PATTERN
21h STS_CFG_BIN_TOO_SHORT
22h STS_CFG_BIN_TOO_LONG
23h STS_CFG_BAD_CHKSUM
24h STS_CFG_INVALID_CPU_HDR
25h STS_CFG_INVALID_SLV_REC_TYP
26h STS_CFG_RX_OVERFLOW
27h STS_CFG_TX_OVERFLOW
35h STS_CFG_MAS_EXT_ALLOC_ERROR
If the status register contains STS_CFG_INTERNAL_ERROR (80h), there has been an internal
error on the scanner. Record the contents of the errInternal and errArg registers and contact
Technical Support (refer to Section D.3, Technical Support, for details). When the Data Type is
INT, these two status registers are located in the high byte of Word offset 24 and the low byte of
Word offset 25 in the Status area
Warning
Attempting to upload while the CLX PLC is in RUN mode or the PBIM
block is activated and Run mode is enabled in Control Builder may
result in unrecoverable serial communication failure.
You can now begin accessing the data at the addresses that have been assigned to your slaves in
your Master configuration.
• When the CLX is in Program mode, the scanner outputs are off and inputs hold their last
state.
• When the CLX is in Test mode, inputs are read and updated but outputs are off.
• When the CLX is in Run mode, the scanner updates inputs and outputs.
• When the PBIM Block is active with Clear mode enabled, the scanner outputs are off and
inputs continue to get updated.
• When the PBIM Block is active with Run mode enabled, the scanner updates inputs and
outputs.
• When the PBIM block is inactive, the scanner input and output areas in the Control
Builder are not updated.
Output Data Area For AOP, PROFIBUS output data starts 246 x 16 bits
Local:Slot:O.ProfibusDataOut [0] to at tag ProfibusDataOut[0].4 Pages of
output Data are available in the module
Local:Slot:O.ProfibusDataOut [245] but only one page can be accessed at a
time via the host.
Input Data Area Module Status register Card status register 1 x 8 bits
Local:Slot:I.ModuleStat. ModuleStatus
Local::Slot:I:.ModuleStat. CurrentPage is for Displays current input and output page 1 x 8 bits
the firmware to copy the page number of the number mapped into Host (Pages 0 - 3)
valid Input and Output data that is mapped
into the host.
Upper nibble (bits 4 - 7) is for the firmware to
copy the page number of the valid output
data that is mapped into the host.
Lower nibble (bits 0 - 3) is for the firmware to
copy the page number of the valid Input data
that is mapped into the host
Input Data Area PROFIBUS input area starts at Tag 248 x 16 bits
Local:Slot:I.ProfibusDataIn[0] to ProfibusDataIn[0]. 4 Pages of Input Data
are available in the module but only one
Local:Slot:I.ProfibusDataIn [247] page can be accessed at a time via the
host.
Status Area Module Static Counters/ Error Counters Indicates module behavior 26 x 16 bits
See Status table
Active Slave Status Bit Array 1 bit set for each slave that has OK 8 x 16 bits
PfbActStnList0_15 to PfbActSnList112_126 status. Up to 125 slaves
ActSlv_1 = Station 1, ActSlv_126 =
Station 126
Configured Slave Status Bit Array 1 bit is set for each slave configured. Up 8 x 16 bits
PfbCfgStnList0_15 to PfbCfgStnList112_126 to 125 slaves
CfgSlv_1 = Station 1, CfgSlv_126 =
Station 126
Local Slave Status registers See Description below 2 x 8 Bits
SlvStatus,SlvError
MasDiagUpdate See Description below 1 x 16 bit
MasDiagStn See Description below 1 x 16 bit
DiagLen See Description below 1 x 16 bit
Slave Diagnostic Buffer Area to where the slave diagnostic data 122 x 16bits
Consists of Tags: is dumped.
See Reading the Slave Diagnostics for
SlaveStatus1
more detailed information.
SlaveStatus2
SlaveStatus3
MasterStnAddr
SlvID
DiagDataBuffer[0-118]
For Generic Profile, all commands that require an additional parameter (BOLD), the high byte of
Local:Slot:O.Data[1] is used. For AOP, the tag ModuleControl.CMD_Additional_Parameter is
used.
Value,
Meaning/Description
Hex
00 No Command
of this register. This command is for updating output data on slaves. Slaves
will not accept output data again until the next SYNC command is sent again or
the UNSYNC command is sent.. Group ID is 8 bit field (0 – 7 and each of the
bits represent a Group. Group 0 (Bit 0) is for sending to all slaves in Master
scanlist.
Caution
The Module Status Register should be monitored for 0xFF in ladder
code. If this condition occurs, the processor has lost the connection to
the scanner and should assume a safe state.
An example of the handshaking that occurs between the CMD Control (Local:Slot:O.Data[0]),
CMD Argument (Local:Slot:O.Data[1]) and CMD Reply (Local:Slot:I.Data[1]) registers is
provided in the sample program:
pfbActStnList112_126 Active Slave station bit table for stations 112 to 126
pfbCfgStnList112_126 Configured Slave station bit table for stations 112 – 126
PfbModVer Module Firmware Version (ex. 0x0102 = 1.02) Local: Slot: S.Data [01]
PfbMasSts Global status for all aster blocks Local: Slot: S.Data [02].00-
07
PfbStnAddr PFB Local station address Local: Slot: S.Data [02].8-
15
PfbFmsSts Global status for all FMS blocks Local: Slot: S.Data [03].00-
07
PfbMasCntrlCfg DP Master options and configuration Local: Slot: S.Data [03].8-
15
Reserved Reserved Local: Slot: S.Data [04].00
- 07
ReconfigStatus Status of Reconfig message that is sent when Local: Slot: S.Data [04].8-
applying configuration change while a 15
connection is open to module in RSLogix 5000.
ErrLanOffline LAN encountered errors and went into offline Local: Slot: S.Data [05].00-
state 07
Reserved Reserved Local: Slot: S.Data [05].08-
15
DiagConf Total confirmations (to requests from us) Local: Slot: S.Data [06]
(MAS,LAY2,FMS)
DiagInd Total indications (requests to us) Local: Slot: S.Data [07]
(MAS,LAY2,FMS)
ErrNotOk Total Not OK confirmations and/or indications Local: Slot: S.Data [08]
(MAS,LAY2,FMS)
DiagTokHldTime Instantaneous token hold time in Tbits Local: Slot: S.Data [09]
(LSW) œ Local: Slot:
S.Data [10] (MSW)
DiagMinTokHldTime Minimum Actual token hold time in Tbits Local: Slot: S.Data [11]
(LSW) œ Local: Slot:
S.Data [12] (MSW)
DiagMasterUpdate Master I/O update cycles completed Local: Slot: S.Data [13]
ErrHsa Station higher than HSA was heard Local: Slot: S.Data [22].08-
15
ErrStn Duplicate Station Detected Local: Slot: S.Data [23].00-
07
ErrPasTok Unable to Pass Token (bad wiring or hardware) Local: Slot: S.Data [23].08-
15
ErrLasBad Active station list invalid (bad wiring or Local: Slot: S.Data [24].00-
hardware) 07
ErrInternal Internal Error Code (configuration error or Local: Slot: S.Data [24].08-
runtime fault). Call Technical Support. 15
ErrArg Additional information about the internal error Local: Slot: S.Data [25].00-
code 07
ErrEventOverun Event queue has overflowed Local: Slot: S.Data [25].08-
15
Reserved Reserved Local: Slot: S.Data [26]
pfbActStnList Active Slave station bit table Local: Slot: S.Data [27]-
Local: Slot: S.Data [34]
pfbCfgStnList Configured Slave station bit table below Local: Slot: S.Data [35]-
Local: Slot: S.Data [42]
Reserved Reserved Local: Slot: S.Data [43]
MasDiagUpdate A non-zero value here means a DP slave has Local: Slot: S.Data [46]
updated diagnostic information
MasDiagStn The station address of the slave that updated Local: Slot: S.Data [47]
diagnostics above
DiagLen The length of the slave diagnostic data to follow Local:Slot:S.Data[56]
in the DiagDataBuffer
DiagDataBuffer The slave's diagnostic data. This is filled in using Local:Slot:S.Data[59] to
the PFB_READ_SLV_DIA GS described above. Local:Slot:S.Data[180]
maximum
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Local:Slot:S.Data[27] 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Local:Slot:S.Data[28] 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Local:Slot:S.Data[29] 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
Local:Slot:S.Data[30] 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
Local:Slot:S.Data[31] 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
Local:Slot:S.Data[32] 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
Local:Slot:S.Data[33] 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
Local:Slot:S.Data[34] 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
When a logical 1 appears in one of the above bit positions, that slave station is configured and is
returning no errors
Active Station
Tag ActSlv_X , X = Station Number
Group Tags
pfbActStnList0_15 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
pfbActStnList16_31 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
pfbActStnList32_47 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
pfbActStnList48_63 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
pfbActStnList64_79 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
pfbActStnList80_95 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
pfbActStnList96_111 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
pfbActStnList112_126 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
Active Station
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Group Tags
Local:Slot:S.Data[35] 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Local:Slot:S.Data[36] 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Local:Slot:S.Data[37] 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
Local:Slot:S.Data[38] 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
Local:Slot:S.Data[39] 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
Local:Slot:S.Data[40] 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
Local:Slot:S.Data[41] 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
Local:Slot:S.Data[42] 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
When a logical 1 appears in one of the above bit positions, that slave station is configured.
Configured Station
Tag CfgSlv_X , X = Station Number
Group Tags
pfbCfgStnList0_15 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
pfbCfgStnList16_31 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
pfbCfgStnList32_47 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
pfbCfgStnList48_63 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
pfbCfgStnList64_79 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
pfbCfgStnList80_95 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
pfbCfgStnList96_111 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
pfbCfgStnList122_126 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
Generic AOP
Meaning/Description
Bit Bit
8 -11 0–3 Reply message counter. Verify counter has changed to confirm reply has been returned. Then check bit 4 (Tag
Error) to see if applying configuration data update was successful. This counter rolls over to 0 after It reaches
15
12 4 Bit is 1 means configuration rejected (Bad configuration data)
Bit is 0 means configuration data was accepted
3. Issue the Offline command by right-clicking on the Master and selecting the
Offline command.
6
System Diagnostics
Chapter Sections:
• PFB Status Register
• Diagnostic Counters
Note
The scanner maintains a variety of diagnostic information in its Status
area from Local:Slot: S.Data[0] to Local:Slot: S.Data[180].
The first 16-bit INT in the Status area is the Card Status register. The following tables show
possible status register values.
If the status register contains STS_CFG_INTERNAL_ERROR (80h), there has been an internal
error on the scanner. Record the contents of the ErrInternal and errArg registers and contact
Technical Support. ErrInternal is stored in the high byte of status area offset 24. ErrArg is stored
in the low byte of status area offset 25.
If the status register contains STS_OUT_OF_APBS (81h), the scanner has run out of application
blocks. The DP master uses 2 application blocks per configured slave. There are a total of 835
application blocks. If you get this error, reduce the number of application blocks you use.
The other table is the Configured Slave Station bit table, which starts at Local:Slot:
S.Data[35] to [42] and contains one bit per slave.
If using AOP, the Active Slave Station bit table and Configured Slave Station bit table have
descriptive tags for all stations from 0 – 126.
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Local:Slot:S.Data[27] 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Local:Slot:S.Data[28] 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Local:Slot:S.Data[29] 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
Local:Slot:S.Data[30] 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
Local:Slot:S.Data[31] 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
Local:Slot:S.Data[32] 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
Local:Slot:S.Data[33] 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
Local:Slot:S.Data[34] 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
When a logical 1 appears in one of the bit positions above, that slave station is configured and
returns no errors.
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Local:Slot:S.Data[35] 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Local:Slot:S.Data[36] 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
Local:Slot:S.Data[37] 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
Local:Slot:S.Data[38] 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
Local:Slot:S.Data[39] 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
Local:Slot:S.Data[40] 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
Local:Slot:S.Data[41] 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
Local:Slot:S.Data[42] 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112
When a logical 1 appears in one of the above bit positions, the slave station is configured.
In addition, if the status of all slaves is acceptable, then bit 0 of location Local:Slot:
S.Data[2](PfbMasSts) is set to 1. If this bit is 0, one or more slaves are in error.
To determine that a slave has faulted, use the following ladder logic example:
• Local:Slot:S.Data[46]
• Local:Slot:S.Data[47]
• DiagLen -the length of the Slave diagnostic data to follow in the DiagData buffer
• Local:Slot:S.Data[56]
• Local:Slot:S.Data[59] to [180]
The first 6 slave Diagnostic bytes are common to all DP slaves, as follows:
Local:Slot:S.Data[60].8-15 MasterStnAddr Master Station Address (Master that configured the slave.
OxFF means that no master has configured this slave
6 SlaveInvalidParam Slave received an invalid parameter frame, wrong Ident, wrong length, invalid parameters, and
so on
4 SlaveFunctionNonExist Master requested a function that the slave does not support
The station status byte 1 should always be zero (0) when the master is scanning the slave.
Otherwise, a non-zero value indicates errors.
6 SlaveReserved Reserved
Station status byte two is 0x0C when the master is scanning a DP slave.
7 SlaveDiagBufOverun The DP slave is returning more diagnostic information than the DP Master can
enter in its diagnostic buffer
• Network statistics
To reset these counters to 0, write 0x03 to CMD Argument register (Local:Slots:O.Data[1], AOP
Tag Local.Slot:O.Module.CMD_Argument). The scanner clears the counters to 0.
Note
In order for the commands to execute properly, you must include the
SST Main CLX Example sample Ladder Logic in your Control program.
In the following table, counters with a name beginning with "diag" roll over to zero when they
reach their maximum value. Counters with a name beginning with "err" hold their maximum
value.
• The DiagConf counter, register Local:Slot:S.Data[06], counts total confirmations, that is,
good replies to messages that this station has generated
• The DiagInd counter, register Local:Slot:S.Data[07], counts total indications, that is,
unsolicited messages to this station
• The scanner stores the instantaneous token hold time, in Tbits, in DiagTokHldTime,
registers Local:Slot:S.Data[09](LSW) and Local:Slot:S.Data[10](MSW). This is the
time available to send messages when the scanner gets the token.
• The scanner stores the minimum actual token hold time, in Tbits, in
DiagMinTokHldTime, registers Local:Slot:S.Data[11](LSW) and Local:Slot:
S.Data[12](MSW). This time is the minimum value of diagTokHldTime.
If this number is 0, you may need to increase the target token rotation
time in your configuration.
3. Right-click and select Properties from the shortcut menu that displays.
6. Enter the new value (the sum of ALL masters or Active Station’s token rotation time) in
the Token Rotation Time field.
• The ErrMasErr counter, the low byte of register Local:Slot:S.Data[14], bits 00-07, is the
number of DP master to DP slave communication errors. It increments anytime the
message failed because of retries exceeded, and so on.
• The ErrMasReConfig counter, the high byte of register Local:Slot:S.Data[14], bits 08-15,
is the number of times a DP slave went offline and had to be reconfigured, that is, the
scanner was actively updating a node and got a faulty message
Note
See the typical scan time given in your SST PROFIBUS Master
configuration. As a safety margin, the RPI should be 2 times the typical
scan time. Therefore, if the DiagMasMaxScanTime is higher than your
RPI time, you will miss slave updates each PROFIBUS scan. For
example if your typical scan time is 1.5ms then your RPI should be 3ms
or higher.
Local:Slot:S.Data[17](LSW) to Local:Slot:S.Data[18](MSW)
The low byte of register Local:Slot:S.Data[19], bits 0-7, counts invalid request length errors.
These errors occur when the scanner software gives the LAN controller a message that is too
long. This is an internal error and should never occur.
The high byte of register Local:Slot:S.Data[19], bits 8-15, counts FIFO overflow errors. These
errors occur when the LAN controller cannot write to memory fast enough. This is an internal
error and should never occur.
The low byte of register Local:Slot:S.Data[20], bits 0-7, counts receive overrun errors. This is an
internal error and should never occur.
The high byte of register Local:Slot:S.Data[20], bits 8-15, counts double token errors. These
errors may occur when more than one node thinks it has the token or there are wiring errors,
duplicate nodes, and so on. The scanner withdraws to the “not hold token” state (decides it
doesn't have the token) and waits until it gets the token passed to it again.
The low byte of register Local:Slot:S.Data[21], bits 0-7, counts response errors when a message
fails or there is no response from the destination. This error may be due to bad hardware or faulty
wiring.
The high byte of register Local:Slot:S.Data[21], bits 8-15, indicates general network errors.
These errors occur when there are problems on the network, but before you get a network
timeout error.
The low byte of register Local:Slot:S.Data[22], bits 0-7, counts network timeout errors. These
errors occur when the network is dead. If a timeout occurs, the scanner enters the claim token
state.
The high byte of register Local:Slot:S.Data[22], bits 8-15, increments when a station higher than
the set high station address is heard. If the scanner is going online, it increments the counter and
stays offline.
The low byte of register Local:Slot:S.Data[23], bits 0-7, increments when a duplicate station is
detected. If this error occurs when the scanner is going online, the scanner increments the errStn
counter and stays offline.
The high byte of register Local:Slot:S.Data[23], bits 8-15, increments when the scanner is unable
to pass the token. This is usually caused by bad wiring (shorted) or other hardware problems.
The scanner tries to pass the token, fails to hear its own token pass message, and puts itself
offline.
The low byte of register Local:Slot:S.Data [24], bits 0-7, increments when the active station list
on the ASPC2 LAN controller is invalid because of multiple network errors. This error is caused
by bad wiring or hardware.
7
DP Master Application Examples
Chapter Sections:
• Addressing
7.1 Addressing
7.1.1 I/O Data Packing Examples
Table 45: ControlLogix Assembly Object Array Packing, Example for INT16 Array
Area Description PROFIBUS Module Output Array Location Input Array Location
Size
Slave One, Output 8 discrete outputs Local:Slot:O.Data[0] N/A
array
Table 46: ControlLogix Assembly Object Array Packing, Example for INT32 Array
Area Description PROFIBUS Module Output Array Location Input Array Location
Size
Slave One, Output 8 discrete outputs Local:Slot:O.Data[0] N/A
array
DataType is INT32, 2 words I/O Local:Slot:O.Data[1] Local:Slot:I.Data[0]
input
Array data type is 24 discrete inputs N/A Local:Slot:I.Data[1]
INT32
Slave Two 16 discrete I/O Local:Slot:O.Data[2] Local:Slot:I.Data[2]
Table 47: ControlLogix Assembly Object Array Packing, Example for INT8 Array
Area Description PROFIBUS Module Output Array Location Input Array Location
Size
Slave One, Output 8 discrete outputs Local:Slot:O.Data[0] N/A
array
DataType is INT8, 2 words I/O Local:Slot:O.Data[1..4] Local:Slot:I.Data[0..3]
input
Array data type is 24 discrete inputs N/A Local:Slot:I.Data[4..6]
INT8
Slave Two 16 discrete I/O Local:Slot:O.Data[5..6] Local:Slot:I.Data[7..8]
• Check to see if the Card is offline by reading the ModuleStatus register (Local:Slot:
I.Data[0]). If it is (0xE0), wait one 1 second and then put the Card online.
• Put the Bus in Run mode once the Card is running and the Bus is not already in Run
mode
• Issue commands that are outstanding by setting the command bit in the CMD Control
register (Local:Slot: S.Data[0].0)
Note
The Main CLX Example must be included with your Control Logic
unless you are using the AutoRun bit. If using the AutoRun bit you
should still use rungs 4 and 5 from the Main CLX Example to be able to
issue commands through the Command Argument register. See section
10.2.3 for more information on the AutoRun bit.
Note
The PfbMasSts_Bit is the Global Status bit. It will be set only if all
slaves are present and in data exchange with the Master. If you do
not want to enter Run mode while some slaves are missing or not
communicating, you should add this bit as an Examine On contact to
rung 2.
This procedure is outlined in the diagram shown below, as well as in a sample Ladder Logic
program, which includes SSTPFBCLX_preview_2_Example.ACD:
1. Slave request diagnostic read. Scanner reads the diagnostics data and places the update
indication and the slave station address in the Status array.
Scanner reads the diagnostics data from the local diagnostics buffer and places it at the
DiagDataBuffer. The length of the data in this buffer is placed in the DiagLen register.
3. Once the PLC program copies the DiagDataBuffer data to a safe spot, the PLC program
should issue a PFB_SLV_DIAG_ACK command to retire the current slave diagnostic
indication.
The following table shows how to configure the various Flex I/O modules. An entry of "000"
means do not configure a length for that slot.
In the following example, the first module is a 1794-IB16, the second is a 1794-OB16, and the
third is a 1794-IE8. The scanner is in slot 2 of the CLX rack. The Data Type used is INT16.
3 1AO - local:Slot:O.Data[3]
1794-OB16 4 000 - -
5 1AO - local:Slot:O.Data[4]
7 1AO - local:Slot:O.Data[5]
Empty 8 000 - -
9 000 - -
Empty 10 000 - -
11 000 - -
Empty 12 000 - -
13 000 - -
Empty 14 000 - -
15 000 - -
Empty 16 000 - -
17 000 - -
These offsets are set in the user's DP Master Configuration, created in the Configuration Tool.
The output data for the 1794-OB16 module maps into: Local:Slot:O.Data[4].0-15
Note
When AutoRun is used, the first 4 rungs of Figure 6: Main CLX are not
needed. The last 2 rungs are required for other commands. See section
10.2.3.
8
Upgrading the Scanner Firmware
Chapter Sections:
• Upgrading the Scanner Firmware
Connect to the serial port using your communication software. The scanner serial port supports
any baud rate from 9600 baud to 115 kbaud, with no parity, 8 data bits, 1 stop bit and flow
control is set to None. The scanner automatically detects the baud rate being used.
2. For Connect using:, select "Direct to Com n" where "n" is the serial port you are using.
3. Select 115200 Bits per second, 8 Data bits, set Parity to None, select 1 Stop Bit, and set
Flow control to None. You should now be able to communicate with the scanner serial
port.
4. Cycle power on the CLX rack. When the CLX is powering up, the SYS LED shines solid
red for 2 seconds before turning off.
5. While the SYS LED is red after powerup, hit the exclamation mark (!) in your
communication software to tell the scanner that you want to download software. You
may need to press it several times while the scanner tries to auto-detect the baud rate. The
SYS LED will alternately flash red and green when COPN or be solid green (NO COPN)
to tell you the scanner is in System Configuration mode.
ver Pfbclx.ss3 Displays the current ss3 firmware revision number. Typing “ver” by
itself displays boot code version
help Displays the available commands
The SST-PB3-CLX-RLL has two firmware modules. Pfbclx.ss3 manages the Profibus
communication. Pfbclx.ss4 manages the backplane communication.
To program new pfbclx.ss3 firmware into flash, do the following steps:
1. Type “Ry pfbclx.ss3”. The the scanner responds with a query.
2. Initiate an Ymodem send of the module firmware file (Pfbclx.ss3) using your
communication software. When the download is complete, the module
automatically programs it into flash.
3. When the module has been programmed into flash, use the “ver pfbclx.ss3”
command to confirm that the version number is correct.
4. Use the “Run pfbclx.ss3” command to exit System Configuration mode and
startup. The scanner turns off the SYS LED.
1. Type “Burn”.
5. At startup, use the LCD to verify that the new firmware version is displayed (i.e.,
v7.27).
9
Network Parameter Defaults
Chapter Sections:
• Network Parameter Default Values
Idle time 1 is the time the scanner waits after it receives a response before it sends. This
corresponds to the PROFIBUS Idle Time.
Idle time 2 is the time the scanner waits after it sends and before it sends again. This corresponds
to the PROFIBUS Max TSDR.
9600 100 37 60 11 0
19200 100 37 60 11 0
31.25 K 100 37 60 11 0
45.45 K 100 37 60 11 0
93.75 K 100 37 60 11 0
187.5K 100 37 60 11 0
3M 400 45 250 11 3
6M 600 55 450 11 6
9600 100 37 60 11 0
19200 100 37 60 11 0
31.25 K 100 37 60 11 0
45.45 K 100 37 60 11 0
93.75 K 100 37 60 11 0
187.5K 100 37 60 11 0
3M 400 45 250 11 3
6M 600 55 450 11 6
9600 125 37 60 30 0
3M 400 45 250 11 3
6M 600 55 450 11 6
9600 125 37 60 30 0
3M 400 45 250 11 3
6M 600 55 450 11 6
10
Slave Functionality
Chapter Sections:
• SST-PB3-CLX-RLL DP Slave Features
• A maximum of 244 bytes input and 244 bytes output for slave functionality
• A maximum total input data size of 1984 bytes and output size of 1976 bytes combined,
for DP master and slave
• Slave configuration via AOP interface which updates the configuration file automatically
DP slave status and Local:Slot:S:Data[44] SlvStatus, SlvError Returns DP slave status and error
error register information to the CLX processor.
Status byte -> bits 0-7. Error byte ->
bits 8-15.
Note
The above table assumes that the scanner is configured as a 16-bit
device in RSLogix5000.
DP slave status Local:Slot:S:Data[44].6 SlvStsRunMode Set to True if the slave is being scanned by a
SLV_STS_RUN_MODE remote master in "RUN" mode.
bit
DP slave status Local:Slot:S:Data[44].7 SlvStatusOk Set to True if the current slave status is OK. This
SLV_STS_OK bit means parameterization was successful and the
slave watchdog has not timed out.
DP slave error byte Local:Slot:S:Data[44].8-15 SlvError The scanner sets the error byte to report various
error conditions. If there are multiple errors, the
register contains the value of the last error
encountered.
01h SLV_ERR_ID_MISM Slave ID does not match the slave ID configured in the master. If
there is a mismatch, the slave won't communicate with the master.
02h SLV_ERR_READY_TIME_MISM Ready time for the card is different from the value configured in the
master. The card can communicate as a slave even if the times are
different, but you may experience network errors.
03h SLV_ERR_UNSUP_REQ Master has requested Sync or Freeze during parameterization,
which the card does not support.
04h SLV_ERR_RX_LEN_MISM Data received from the master has a length different from the length
configured on the card. If there is a receive length mismatch, the
card won't communicate as a slave.
05h SLV_ERR_TX_LEN_MISM Master has requested data from the slave with a length different
from the length configured for the slave. If there is a transmit length
mismatch, the card won't communicate as a slave.
06h SLV_ERR_WD_FACT_INV One of the two slave watchdog factors is zero, which is not allowed.
07h SLV_ERR_TIME_OUT Slave's watchdog timed out. The slave goes offline and must be
reinitialized by the master.
08h SLV_ERR_WARN_WD_DIS Master has disabled the slave watchdog.
Note
All errors (except SLV_ERR_TIME_OUT) occur when the slave is
being parameterized by the master.
Note
If you are using AOP to configure module as a slave, you do not have to
edit the CLX configuration table manually. Editing the CLX
configuration table is only required when using Generic 1756 Module
Profile.
If the slave is configured, the slave I/O is always mapped into the CLX I/O table after the master
data. By default, the slave data will be mapped immediately following the master data; however,
"hard addresses" can be specified in the CLX config file. This adds the ability to specify the
starting slave data address in the I/O files. This can be used to leave a gap between master and
slave data. This way, if the master network configuration changes, it does not affect the offsets of
the slave data in the CLX I/O files. If the master is not configured, the default mapping of slave
data is the beginning of the CLX I/O tables where the master data usually starts. Again, this
default can be changed by assigning "hard addresses" in the CLX config file.
Received data is data received from the remote master. This data is mapped into the CLX input
table. Transmit data is data that the scanner module sends to the remote master. This data is
mapped into the CLX output table.
Note
The CLX config file is always configured as byte locations. The CLX
config file must be set to at least 24 bytes in size for Slave-only Mode.
For Master and Slave mode, the minimum size is 26 bytes.
The following table shows the additions to the CLX config table that support the DP slave
functionality:
AUTORUN Local:Slot:C:Data[1] If 2, the module comes online automatically after powerup and
enters the mode that the CLX processors is in (RUN or PROG)
SlvRxOffset Local:Slot:C:Data[19] If 0, the DP slave Rx data will be mapped into the CLX Input
file immediately following the master data. If set to a non-zero
value, it specifies the word offset into the CLX Input file where
the slave Rx data should be mapped.
SlvTxOffset Local:Slot:C:Data[20] If 0, the DP slave Tx data will be mapped into the CLX Output
file immediately following the master data. If set to a non-zero
value, it specifies the word offset into the CLX Output file
where the slave Tx data should be mapped.
MasDisAbl Local:Slot:C:Data[16].1 If set, and the SlvEna bit is set, the scanner
is configured as DP slave only
SYS LED
If the scanner is configured as both a DP master and slave, the SYS LED shows the status of
both operations. It sequentially flashes the master status, then the slave status.
For the DP master, the SYS LED displays status in the already-defined CLX DP master format.
If the module is configured as DP slave only, the SYS LED shows only the status of the slave, as
indicated in the table below:
COMM LED
If the scanner is configured as DP slave only, the COMM LED is off. If the scanner is configured
as a DP master only, or DP master and slave, the COMM LED behavior does not change from its
normal master-only behavior.
OK LED
The OK LED behavior does not change from its normal master-only behavior.
LCD Display
The LCD Display behavior does not change from its normal master-only behavior.
Note
If you’re defining your own offsets for CLX slave data in the
ControlLogix configuration file, they must be greater than the highest
data offset of the slave in the master configuration. So, for example,
if the highest input offset the CLX master uses for a slave is 20 with
1 word input, then the slave RX offset could be set to 21 or greater.
The CLX slave accepts the ControlLogix configuration only once after power-up. This means
that if after power-up you change the ControlLogix configuration file settings (Station number,
baud rate and so on) in your RSLogix 5000 Program and download it to the ControlLogix PLC,
the new setting will not take effect.
There are three ways to have the new configuration settings accepted:
1. Cycle power on the module before new configuration settings are accepted.
2. Double-click on SST PROFIBUS module. The Module Properties dialog box appears,
allowing you to set connection parameters.
3. Assembly Instance for the configuration must be set to 3 and Size to 24 (by default, the
size is Zero). All other assembly instances and sizes are the same as what is required for
the CLX Master.
With AOP, the configuration file is automatically updated and adjusted to the correct length to
configure the module successfully. Follow the steps below to configure module as DP Slave.
1. To configure the module as Slave only, Click on the Module Configuration tab and configure
the following parameters:
RxDataSwap: RxDataSwap option is for Slave operation only. Set this if you want to swap
the data coming from the master (Slave Rx data).
will still remain offline after being reconfigured. In order for the Auto-Run to take effect, the
SST-PB3-CLX-RLL must be reset. This can be done by sending a RESET message to the
module by going to the Module Info tab and clicking on module Reset button and then
selecting OK to warning message. When in AutoRun, if the SST-PB3-CLX-RLL is taken
offline in the SST Profibus Configuration Tool, the SST-PB3-CLX-RLL must be put back
online by the user. This can be done by issuing the online command in the SST Profibus
Configuration Tool (Right-click on Master and select online).
Legacy_ID_0876: Enable this option if you want the module to use legacy ID 0x0876
instead of 0xOC44 when it’s operating in Slave or Master and Slave mode. You must use the
correct slave GSD file that goes with this Slave ID. Use slave GSD file ssti0876.gse for ID
0x0876 and slave GSD file ssti0c44.gse for ID 0x0C44.
Slave Parameters
Input Size: This is the length of slave receive data in Words. Valid input size is 1- 122.
Output Size: This is the length of slave transmit data in Words. Valid output size is 1- 122.
Input Offset: Specifies the word offset into the CLX input file where the slave Rx data
should be mapped. The input offset range is 2 to 249. The actual tag offset will be the offset
– 2. By default, the input data begins at tag Local:Slot.ProfibusDataIn[0].
If configuring the module as a Master and Slave, make sure offsets do not overlap with
offsets configured in your master configuration (created in SST Profibus Configuration
Tool).
Output Offset: Specifies the word offset into the CLX output file where the slave Tx data
should be mapped. The output offset range is 2 to 247. The actual tag offset will be the offset
– 2. By default, the output begins at tag Local:Slot.ProfibusDataOut[0].
If configuring the module as a Master and Slave, make sure offsets do not overlap with
offsets configured in your master configuration (created in SST Profibus Configuration
Tool).
Address: – This is the local station number configured for the slave. The valid range is 1-
125. If the module is configured as Master and Slave, the station address used for the Master
is also used for the slave address and this field is ignored.
Baud: This is the Baud rate and can be set to any one of these baud rates (9K6, 19K2,
93K75, 187K5, 500K, 1M5, 3M, 6M, 12M, 31k25, 45k45). This is settable for DP Slave
operation only. If Master-Slave is configured, this field is ignored and the baud rate
configured on DP Master (using SST Profibus Configuration Tool) is used.
2. If you are configuring the module as a DP Master and Slave, select Master-Slave for the
mode and configure all the active parameters.
Note
The Address and Baud fields will be inactive when Master-Slave mode
selected. The address and baud come from the master configuration that
is loaded on card from SST Profibus Configuration Tool.
Master-Slave Parameters
PAGE-INPUT: Tells the scanner which page to map the slave input data to. This field is
ignored if configured as a slave only. Range is 0 – 3. 0 is the default.
PAGE-OUTPUT: Tells the scanner which page to map the slave output data to. This field is
ignored if configured as a slave only. Range is 0 – 3. 0 is the default.
4. Click on OK.
When the module is used in Slave or Master-Slave mode, AOP allows you to make
modifications to you configuration and apply them while you have an open connection to
module.
Warning
Be aware that applying changes while the SST-PB3-CLX-RLL is
operational will interrupt Profibus communication. The card will go
offline and online so new configuration will take effect
If you apply changes with AutoRun disabled, the SST-PB3-CLX-RLL will stay offline until the
ladder code issues the online command. If the CLX CPU is in PROG mode and AutoRun is
enabled, the module will come back online. To see if applying the new configuration was
successful, check the ReconfigStatus register in the module’s status file.
11
DPV1 Master Functionality
Chapter Sections:
• General Features
• DPV1-Supported Functions
• Communicate, via the backplane CPU, with the SST-PB3-CLX-RLL scanner through
CIP generic messages
To process a DPV1 command, the scanner should be initialized by the backplane CPU with
the DPV1_INIT Command (it must be in offline configured mode to accept this command).
DPV1 Class 1 commands can be sent after initialization when the scanner is online.
To set up a DPV1 Class 2 communication, the backplane CPU should send an Initiate command.
The scanner maintains Class 2 communication automatically, until a network error occurs.
The backplane CPU should close the class communication via an Abort command. The CPU can
restart the Class2 communication with an Initiate command if needed.
When DPV1 communication is no longer needed, the backplane CPU should stop the DPV1
module via a DPV1 Close command.
Note
The following arrays assume an alignment of 1 byte; make sure that the
ladder program's set parameters at the correct offsets.
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x50 Service
1 Instance
1 Length
00h Successful
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x51 Service
1 Instance
0 Length
Destination: none
00h Successful
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x52 Service
1 Instance
8 Length
[0...254] SINT Slot_Number Slot number where the data should be read (0 to 254)
[0...254] SINT Index Index where the data should be read (0 to 254)
00h Successful
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x53 Service
1 Instance
[9...248] Length
[0...254] SINT Slot_Number Slot number where the data should be read (0 to 254)
[0...254] SINT Index Index where the data should be read (0 to 254)
00h Successful
E7h Another command is already in progress for this slave / class 2 connection.
Note
When using Class 2 communication only, up to 16 Class 2 connections
can be initiated.
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x54 Service
1 Instance
[33..244] Length
D_Addr SINT[8+y] - -
(*) High byte is placed first. For example, for the Send_TimeOut word, you will find 0xF4 in
0x01, and 0x01 for a Send_TimeOut of 500 (0x01F4) in 0x02.
00h Successful
E7h Another command is already in progress for this slave / class 2 connection.
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x55 Service
1 Instance
7 Length
DINT Reserved
-
Returned SINT C_Ref Connection reference
by
initiate
0 SINT Subnet Location of the source of the abort request
Destination: none
00h Successful
E7h Another command is already in progress for this slave / class 2 connection.
This command reads data from a DPV1 slave using Slot_Number and Index parameters through
a Class 2 connection.
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x56 Service
1 Instance
8 Length
[0...254] SINT Slot_Number Slot number where the data should be read (0 to 254)
[0...254] SINT Index Index where the data should be read (0 to 254)
00h Successful
E7h Another command is already in progress for this slave / class 2 connection.
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x57 Service
1 Instance
[9...248] Length
00h Successful
E7h Another command is already in progress for this slave / class 2 connection.
The backplane CPU should use an MSG instruction of the CIP generic message type.
0x101 Object
0x58 Service
1 Instance
5 Length
Destination: none
00h Successful
E7h Another command is already in progress for this slave / class 2 connection.
If an FDL error (0xE5) occurs, the extended error code contains the FDL error code.
Value Meaning/Description
0h OK
2h No resource for sending data, tried to send to SAP that was not configured
9Fh No access
If a DPV1 error (0xE6) occurs, the extended error code contains the DPV1 error code.
3 bytes are significant:
• The first indicates the type of error (its value is always 0x80 : DPV1 error)
The following table describes the meaning of the error class and error code of the second error
byte.
Note
There is limit to the number of MSG (cache connection) instructions you
can leave as opened (cached) in RSLogix 5000. Check the online help to
find the limitations.
If you are using more than 16 MSG instructions in your ladder logic,
we recommend that you disable the cache option for MSG instructions.
For MSG instructions that only have to be executed once (i.e., DPV1 Init
and DPV1 Class 2 Init commands) disabling the cache connection is
recommended so that you can run more cache connection messages.
1. Select the MSG instruction from the Input/Output tab and place it into a rung of
ladder code.
2. If you haven't already created a tag for the message, right-click on “Message Control”
inside the MSG instruction and select the Create Tag. The New Tag dialog box displays.
3. Enter a unique tag name in the Name field and click OK.
5. Select Edit TagName Properties, where TagName is the name of your MSG tag. The Tag
Properties dialog box opens.
6. Click on the Configure button. The Message Configuration dialog box opens:
Instance: Set to 1
Source Element: Select the variable source you created to hold the DPV1 request
Source Length: Select the number of bytes to transfer from the variable source
Destination: Select the destination variable you created to hold the DPV1
response
8. Under the Communication tab, set the scanner path to where you want to send the
message.
11. If you are disabling the cache connection, go to Controller tags > Message Tag and set
your Message tagname: EN_CC to 0.
Note
The only difference between this initialization routine and the one for
the Class 1 communication is in Rungs 7 and 8, where the C2_Initiated
tag is Unlatched.
12
Using the Configuration Tool through RSLinx
Chapter Sections:
• Configuration Tool Overview
• Functions
• DPV1 Features
Note
The following product versions must be used:
• Firmware version 7.27 or higher
• Configuration Tool version 3.12.1.0 or higher
• RSLinx driver version 2.2 OEM/Professional or higher
Note
Refer to Section A.1, Installing and Configuring the RSLinx Driver,
for details on configuring the driver.
ETHERNET
12.2 Functions
All Configuration Tool functions are available through Ethernet:
• Network detection
• Slave diagnostics
Note
Refer to Section A.1, Installing and Configuring the RSLinx Driver,
for details on configuring the driver.
5. If the scanner module is in a remote rack, enter the RSLinx path. Here is an example:
The remote Ethernet module is in slot 6 and its address in the remote rack is
130.151.132.1. The SST-PB3-CLX module is in slot 8. So the string would be:
01 06 12 0D 31 33 30 2e 31 35 31 2e 31 33 32 2e 31 00
6. Enter the IP address of the 1756-ENBT when using Ethernet Devices and Ethernet/IP
drivers for local racks.
Note
Remote Devices via Linx Gateway driver is not supported with the
RSLinx Classic Profession/Gateway v2.54 or higher.
The IP Address field can be left blank when using the 1756-ENET
Ethernet TCP/IP Communications ControlLogix module or when
RSLinx path contains an IP address.
8. Connect to the scanner by clicking the button or by selecting the Connect command
in the master menu.
13
I/O Expansion
Chapter Sections:
• I/O Expansion Overview
The SST-PB3-CLX master supports I/O data up to a maximum of 1984 input bytes and 1968
output bytes within 4 I/O pages. There are 4 bytes reserved for control registers at the beginning
of each page. Each input page is 500 bytes and each output page is 496 bytes.
The Host controls which page of I/O is mapped into the ControlLogix I/O table by writing to
Byte 1 of the ControlLogix output table. To change the input page, (WORD Data type is used),
update the lower nibble of byte 1 (Local:2:O.Data[0].8 – 11, AOP Tag
Local:Slot:ModuleControl.ChangePage Bits 0 - 3) with page number (0 – 3). To change the
output page, update the upper nibble of byte 1 (Local:Slot:O.Data[0].12 – 15, AOP Tag
Local:Slot:ModuleControl.ChangePage Bits 4 - 7) with page number (0 -3).
When changing Output Pages, updating the Control register (Local:Slot:I.Data[0].12 – 15, AOP
tag Local:Slot:ModuleControl.ChangePage Bits 4 - 7) with the output page number and output
data at the same time is required before doing a Synchronous Copy to the ControlLogix Output
table.
After changing the Input pages, the host should wait for the firmware to set the page number(s)
in byte 1 of the Input table (Local:Slot:I.Data[0].8 – 11, AOP tag
Local:Slot:ModuleControl.CurrentPage Bits 0 - 3). Input pages should not be read until the
Inpute table’s low nibble of byte 1 (Local:Slot:I.Data[0].8 – 11, AOP tag
Local:Slot:ModuleControl.CurrentPage Bits 0 - 3) is equal to the Output table’s low nibble of
byte 1 (Local:Slot:O.Data[0].8 – 11, AOP tag Local:Slot:ModuleControl.ChangePage Bits 0 - 3).
To retrieve or update the data on a page, use the CPS instruction (Synchronous Copy File) in the
RsLogix 5000 software. With the CPS instruction, an I/O update cannot change the data while
you are copying to/from the local buffer. If you plan to read all used input pages into a local
buffer prior to processing input data, below is sample logic that would be required to avoid data
tearing.
Note
The ladder logic samples given are examples only.
If Modify Offset is enabled, you can assign the offset of the input or output data for the slave
rather than have the Configuration Tool assign the address automatically.
Notes
Control register offsets cannot be used as I/O offsets when AOP is not
enabled for Master. This AOP option can be enabled in the Master
configuration created in the SST Profibus Configuration Tool under
Master properties.
Below are the available/restricted offsets to use for each Data Type:
Control Register Offsets don’t apply when using AOP. This is because the Control registers are
separated from the I/O registers when using AOP in RSLogix 5000.
Figure 19: Read Multiple Input Tables Ladder Sample (using generic profile)
For more details on I/O Control registers, refer to Section 5.9, SST-PB3-CLX-RLL I/O and
Status Images
14
Listen-Only Connection
Note
Listen-only support is available in backplane firmware PFBCLX.SS4
Version 7.33 and higher.
Up to the maximum 250 words in the CLX input table and 250 words in the Status table can be
monitored from another CLX processor that has a listen-only connection to an SST-PB3-CLX-
RLL module.
When setting up a listen-only connection in RSLogix 5000 makes sure to use the same data
format that is configured on Main CLX controller with the output connection. Supported data
formats for listen-only connections are:
When the main output connection is lost to an SST-PB3-CLX-RLL while it has a listen-only
connection, the SST-PB3-CLX-RLL will remain in RUN mode with outputs held in their last
state. The SYS LED will remain GREEN to indicate the SST-PB3-CLX-RLL is still in RUN
mode. This allows another CLX controller to take control over the SST-PB3-CLX-RLL module
and resume updating output data on a Profibus network.
Note
If the Listen-only connection is closed before the Output connection is
reestablished, the SST-PB3-CLX-RLL will enter CLEAR mode (outputs
will get cleared to zeros).
The following considerations should be taken into account when setting up a listen-only
connection:
2. Output data on the CLX processor that is taking over the I/O
connection must be updated prior to the connection being opened to
the SST-PB3-CLX-RLL.
A
Setting up the RSLinx Driver
Appendix Sections:
• Installing and Configuring the RSLinx Driver
Note
This Appendix assumes that you are using RSLinx software
OEM/Professional, version 2.54 and SST Profibus Configuration tool
version 3.12.1.0 or later.
3. From the Available Driver Types list, select Ethernet devices, and click Add New.
Note
The Remote Devices via Linx Gateway driver is not supported with the
RSLinx Classic Profession/Gateway v2.54 or higher. Valid drivers are
Ethernet devices or Ethernet/IP Driver.
5. Enter the IP address of the ControlLogix backplane you want to communicate with, and
click OK.
6. To verify that all drivers are able to communicate with the backplane, follow these steps:
• Click on the driver you created and check if the backplane unit is viewable.
You will be able to see the SST module installed on the backplane, along with any other
modules.
B
Technical Specifications
Appendix Sections:
• Technical Specifications
C
CE Compliance
Appendix Sections:
• CE Compliance
CE Compliance 217
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
User Reference Guide SST-PB3-CLX-RLL
C.1 CE Compliance
Marking of this equipment with the symbol indicates compliance with European Council
Directive 2004/108/EC.
Warning
This is a Class A product. In a domestic environment, this product may
cause radio interference, in which case you may be required to take
adequate measures.
Caution
This equipment is neither designed for, nor intended for operation in
installations where it is subject to hazardous voltages and hazardous
current.
Note
To maintain compliance with the limits and requirements of the EMC
Directive, it is required to use quality interfacing cables and connectors
when connecting to this device. Refer to the cable specifications in the
Hardware Guide for selection of cable types.
Note
The backplane voltage supply for this equipment must be delivered as
Separated Extra Low Voltage (SELV).
218 CE Compliance
©2010 Molex Inc.Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.4, Document #: 715-0102, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
SST-PB3-CLX-RLL User Reference Guide
D
Warranty and Support
Appendix Sections:
• Warranty
• Reference Documents
• Technical Support
D.1 Warranty
For warranty information, refer to http://www.mysst.com/warranty.asp.
A-B power supply specifications CLX 5000 Modular Style Installation Allen-Bradley Publication 1747-6.2
& Operation Manual
RSLogix information ControlLogix 5000 Controllers AB Publication number 1756-6.4.1 and
General Instruction Set Reference 1756-RM003A-US-P
Manual
CLX Chassis installation ControlLogix Chassis Installation AB Publication number 1756-5.80
Instructions
Honeywell PlantScape information PlantScape Process System and PS03-140 Release 400
Controller Product Overview
Implementing PROFIBUS on the Honeywell PlantScape PROFIBUS N/A
PlantScape System Implementation Guide
• PROFIBUS standard DIN 19245, parts 1 and 3. Part 1 describes the low-level protocol
and electrical characteristics. Part 3 describes the DP protocol.
• IEEE 518 Guide for the Installation of Electrical Equipment to minimize Electrical Noise
Input to Controllers
• Computer's make, model, CPU speed and hardware configuration (other cards installed)
• Details of the problem you are experiencing: firmware module type and version, target
network and circumstances that may have caused the problem
North America
Canada:
Tel: +1-519-725-5136
Fax: +1-519-725-1515
Email: [email protected]
Europe
France:
Tel: +33 2 32 96 04 22
Fax: +33 2 32 96 04 21
Email: [email protected]
Germany:
Tel: +49 7252 9496 555
Fax: +49 7252 9496 99
Email: [email protected]
Italy:
Tel: +39 010 5954 052
Fax: +39 010 5954 052
Email: [email protected]
Other countries:
Tel: +33 2 32 96 04 23
Fax: +33 2 32 96 04 21
Email: [email protected]
Asia-Pacific
Japan:
Tel: +81 46 265 2428
Fax: +81 46 265 2429
Email: [email protected]
Singapore:
Tel: +65 6268 6868
Fax: +65 6264 6055
Email: [email protected]
China:
Tel: +86 21 5835 9885
Fax: +86 21 5835 9980
Email: [email protected]