The information in this manual is subject to change without notice.
Trademarks not belonging to Rockwell Automation are property of
their respective companies.
Throughout this manual, the following notes are used to alert you to safety
considerations:
ATTENTION:
that can lead to personal injury or death, property damage, or
!
Important:
The thick black bar shown on the outside margin of this page will be used throughout
this instruction manual to signify new or revised text or figures.
!
economic loss.
Identifies information that is critical for successful application and
understanding of the product.
ATTENTION:
injury or death. Remove all power from the drive, and t hen verify power
has been removed before installi ng or removing an Interb us module .
Failure to observe these precautions could result in severe bodily
injury or loss of life.
ATTENTION:
power products and the associated machinery should plan or
implement the installation, start up, configuration, and subsequent
maintenance of the product using an Interbus module. Read and
understand this manual in its entirety before proceeding. Failure to
observe these precautions could result in bodily injury and/or damage
to equipment.
ATTENTION:
together via RECBL-xxx cables. Unpredictable behavior due to timing
and other internal procedures can result if two or more devices are
connected in this manner. Failure to observe this precaution could
result in bodily injury and/or damage to equipment.
ATTENTION:
module and connected drive if communications are disrupted. By
default, this parameter f aults the driv e . You can set this parameter so
that the drive continues to run. Precautions should be taken to ensure
that the setting of this parameter does not create a hazard of injury or
equipment damage. Failure t o observe this precaution could result in
bodily injury and/or damage to equipment.
ATTENTION:
may be unintended or incorrect machine motion. Disconnect the motor
from the machine or process during initial system testing. Failure to
observe this precaution could result in bodily injury and/or damage to
equipment.
A TTENTION:
drive, the drive ma y faul t when you reset the module. Determine how
your drive will respond bef ore resetting the module. F ailure to observe
this precaution could result in bodily injury and/or damage to
equipment
Identifies information about practices or circumstances
The drive may contain high v ol tages that can cause
Only qualified electrical personnel familiar with drive and
DPI host products must not be directly connected
Comm Flt Action (6) lets you determine the action of the
When a system is configured for the first time, there
If the Interbus module is transmitt ing control I/O to the
Interbus isa trademark of the Interbus Trade Organization.Windows, Windows NT,and Microsoft are trademarks of MicrosoftCorporation.Reliance,SP600, VSUtilities, DPI, and SLC are trademarks of Rockwell Automation.
Figure 7.3 – Reading Accel Time 1 (140) from an SP600 Drive (DPI Host)7-7
Figure 7.4 – Reading Fault 1 Time (244) from an SP600 Drive (DPI Host) 7-8
Figure 7.5 – Reading PIDD W0 Actual (21) from an RECOMM-IBUS
Table 8.7 – Event Codes and Descriptions.................................................8-6
Contents
VII
VIII
Interbus Communications Module
C
HAPTER
Introduction
The Interbus module (RECOMM-IBUS) is an embedded
communication option for DPI AC drives, such as the SP600
drive. The module is mounted in the drive and receives its required
power from the drive and from the network.
The module can be used with other products that implement DPI, a
peripheral communication interface. Refer to the documentation for
your product for specific information about how it works with the
module.
This manual is intended for qualified electrical personnel familiar
with installing, programming, and maintaining AC drives and
networks.
1.1Interbus Module Features
The Interbus module features the following:
A number of configuration tools that can be used to configure the
•
module and connected drive. The tools include the LCD Operator
Interface Module (OIM) on the drive and drive-configuration
software such as VS Utilities (version 1.01 or later)
Status indicators that report the status of the drive
•
communications, module, and network. They are visible both
when the cover is opened and when it is closed.
I/O, including Logic Command/Reference and up to four pairs of
•
Datalinks, that may be configured for your application using a
parameter.
Explicit messages (PCP Read/Write.)
•
User-defined f ault actio ns that determine ho w the modul e and the
•
drive respond to communicat ion disruptions on the network.
1
.
Introduction
1-1
1.2Related Documentation
Refer to the following related publications as necessary for more
information. All of the publications are available from
http://www.theautomationbookstore.com
D2-3485SP600 AC Drive User Manual
•
D2-3488VS Utilities Getting Results Manual
•
1747-6.2SLC 500 Modular Hardware Style Installation and
•
1747-6.15SLC 500 and MicroLogix 1000 Instruction Set
•
Documentation about the scanner, SST-IBS-SLC User’s Guide,
Version 1.20, can be obtained online at
http://www.mysst.com/download.
Online help installed with the software
Operation Manual
.
1.3Conventions Used in This Manual
The following convention is used throughout this manual:
Parameters are referenced as follows:
•
Parameter Name (Parameter Number)
For example: DPI Port (1)
1.4Getting Assistance from Reliance
Electric
If you have any questions or problems with the products described
in this instruction manual, contact your local Reliance Electric sales
office.
For technical assistance, call 1-800-726-8112.
1-2
Interbus Communications Module
C
HAPTER
Getting Started
This chapter provides:
A description of the Interbus module components
•
A list of parts shipped with the module
•
A list of user-supplied parts required for installing the module
•
An installation checklist
•
2.1Interbus Module Components
2
Status IndicatorsFive LEDs that indicate the status of the
DPI ConnectorA 20-pin, single-row shrouded male
Bus In Interbus
Connector
Bus Out Interbus
Connector
Getting Started
connected drive, module, and network.
Refer to chapter 8, Troubleshooting the
Interbus Module and Network, for more
information.
header. An Internal Interface cable is
connected to this connector and a
connector on the dr ive.
One 6-pin plug-in connector.
One 7-pin plug-in connector.
Figure 2.1 – Components of the Interbus Module
2-1
2.2Required Equipment
Table 2.1 lists the equipment shipped with the Interbus module.
When you un pac k the mo dule, ve rify that t he pack age inc ludes al l of
these items.
Table 2.1 – Equipment Shipped with the Interbus Module
Item Description
One RECOMM-IBUS Interbus module
A 2.54 cm (1 in) and a 15.24 cm (6 in) Internal Interface cable
(only one cable is needed to connect the module to the drive)
LED labels
Interbus Module User Manual (D2-3480)
Table 2.2 lists user-supplied equipment also required to install and
configure the Interbus module.
Table 2.2 – Required User-Supplied Equipment
Item Description
A small flat head screwdriver
A grounding wrist strap
Interbus cable
Configuration tool, such as:
LCD OIM
•
VS Utilities (version 1.01 or later)
•
• with RECOMM-232 Serial Converter
Interbus configuration software (CMD)
2-2
Interbus Communications Module
2.3Installation Checklist
This section is designed to help experienced users start using the
Interbus module. If you are unsure about how to complete a step,
refer to the referenced chapter.
StepActionRefer to
U
U
U
U
U
U
U
U
1Review the safety precautions for the
module.
2Verify that the drive is properly installed.SP6 00 AC
3Install the module.
Verify that the drive is not powered. Then,
connect the module to the network using a
Interbus cable and to the drive using the
Internal Interface cable. Use the captive
screws to secure and ground the module to
the drive.
4Apply power to the module.
The module receives power from the drive.
Apply power to the drive. Refer to chapter 8,
Troubleshooting the Interb u s Modu le a nd t he
Network, if there is a problem.
5Configure the module for your
application.
Set the parameters for the followi ng features
as required by your application:
I/O configuration.
•
Fault actions.
•
6Apply power to the Interbus master and
other devices on the network.
Verify that the master and network are
installed and functioning in accordance with
Interbus standards, and then apply power to
them.
7Configure the scanner to communicate
with the module.
Use a network tool for Interbus to configure
the master on the network.
8Create a ladder logic program.
Use a programming tool to create a ladder
logic program that enables you to do the
following:
Control the module and connected drive.
•
Monitor or configure the drive using Exp licit
•
Messages.
Throughout
this manual
Drive User
Manual
Chapter 3,
Installing the
Interbus
Module
Chapter 3,
Installing the
Interbus
Module
Chapter 4,
Configuring
the Interbus
Module
Chapter 5,
Configuring
the Interbus
Scanner
Chapter 6,
Using I/O
Messaging.
Chapter 7,
Using Explicit
Messaging
(Parameter
Protocol)
Getting Started
2-3
2-4
Interbus Communications Module
C
HAPTER
Installing the
Interbus Module
Chapter 3 provides instructions for installing the Interbus module on
an SP600 drive.
3.1Preparing for an Installation
Before installing the Interbus module, verify that you have all
required equipment. Refer to chapter 2, Getting Started, for a list of
equipment.
3
ATTENTION:
(Electrostatic Discharge) sensitive parts that can be
damaged if you do not follow ESD con trol procedures.
!
Static control precautions are r equired when
handling the module. Failure to observe these
precautions could result in damage to equipment.
The Interbus module contains ESD-
3.2Connecting the Module to the
Network
ATTENTION:
that can cause injury or death. Remove all power
!
Step 1.Remove power from the drive.
Step 2.Use static control precautions.
Step 3.Route the Interbus cables through the bottom of the
Step 4.Connect the Interbus connectors to the cables. (See
from the drive, and then verify power has been
removed before installing or removing an Interbus
module. F ail ure to obse rve these pre cautions c ould
result in severe bodily injury or loss of life.
SP600 drive. (See figure 3.1.)
figure 3.1 and tables 3.1 and 3.2.)
The drive may contain high voltages
Installing the Interbus Module
3-1
Table 3.1 – Bus In Connector (From Previous Node on the Network)
Figure 3.2 – DPI Ports and Internal Interface Cables
SP600 Drive
25-40 HP @ 460 VAC
SP600 Drive
1-20 HP @ 460 VAC
3-4
Interbus Communications Module
Step 4.For 1-20 HP SP600 drives: Fold the Internal Interface
Important:
cable behind the module and mount the module on the
drive using the four captive screws to secure and
ground it to the drive. See figure 3.2.
For 25-40 HP SP600 drives: Mount the module in the
drive using the four captive screws to secure and
ground it to the drive.
All screws must be tightened to ground the module.
Drive
Module
Adapter
I
nternal Interface cable
folded behind the module
and in front of the drive
SP600 Drive
Figure 3.1 – Mounting and Grounding the Interbus Module
3.4Applying Power
ATTENTION:
if parameter settings and switch settings are not
!
Step 1.Close the doo r or reinstall the cover on th e drive. Key
Important:
Installing the Interbus Module
compatible with your application. Verify that
settings are compatible with your application
before applying power to the drive. Failure to
observe these precautions could result in severe
bodily injury or loss of life.
status indicators can be viewed on the front of the drive
after power has been applied.
Interbus compliance requires different LED
functions than what is normally displayed on the
front of the drive (DRIVE, MS, Net A, and Net B
LEDs). LED labels are provided with the module for
application to the drive cover.
Unpredictable operation may occur
3-5
Step 2.Apply power to the SP600 drive. The module receives its
Step 3.Apply power to the master device and other devices on
power from the connected drive. When you apply power
to the product for the first time, the status indicators
should be green or off after initialization. Refer to chapter
8, Troubleshooting the Interbus Module and Network, for
more information.
the network.
3-6
Interbus Communications Module
C
Configuring the
Interbus Module
Chapter 4 provides instructions and information for setting the
parameters in the module.
For a list of parameters, refer to Appendix B, Interbus Module
Parameters. For definitions of terms in this chapter, refer to the
Glossary.
4.1Configuration Tools
The Interbus module stores parameters and other information in its
own non-volatile memory. Therefore, you must access the module
to view and edit its parameters. Table 4.1 lists the tools that can be
used to access the module parameters.
Table 4.1 – Configuration Tools
ToolRefer to:
VS Utilities Software (version
1.01 or later)
LCD OIMSection 4.2
HAPTER
VS Utilities online help
4
Configuring the Interbus Module
4-1
4.2Using the LCD OIM to Configure the
pp
pp
pp
g
g
g
Module
Use the procedure in figure 4.1 to access the parameters on the
Interbus module using the LCD OIM. If you are unfamiliar with the
operation of the LCD OIM, refer to the SP600 AC Drive User Manual
(D2-3485) for more information.
>>
Sto
P0: SP600
Main Menu
Device Select
Monitor
Use to hi
Device Select icon
Auto
ed
Lan
hlight
>>
Sto
P0: SP600
Device: Port 0
SP600
RECOMM-IBUS
Use to select
RECOMM-IBUS.
Auto
ed
>>
P5: RECOMM-IBUS
Parameters
Edit the Interbus
parameters usin
same techniques as for
drive parameters.
Figure 4.1 – Accessing the Interbus Parameters using the LCD OIM
4.3Setting the I/O Configuration
The I/O configuration determines the data that is sent to and from
the drive. This is a two part process: enabling/disabling the data
transmitted between the module and drive, and identifying the data
transmitted between the module and the scanner.
Step 1.Enable or disable the data transmitted between the
Port 5 Device
RECOMM-IBUS
Parameter #: 8
DPI I/O Config
xxxxxxxxxxx0000
Cmd/Refb00
module and drive by setting the bits in DPI I/O Config (8).
A “1” enables the I/O. A “0” disables the I/O.
BitDescription
0Logic Command/Reference (Default)
1Datalink A
2Datalink B
1
LCD OIM Screen
3Datalink C
4Datalink D
5 - 16 Not Used
Sto
ed
Main Menu
Auto
the
Figure 4.2 – I/O Configuration Screen on an LCD OIM
Bit 0 is the right-most bit. In figure 4.2, it is highlighted and equals
“1.”
4-2
Interbus Communications Module
Step 2.If Logic Command/Reference is enabled, configure the
parameters in the drive to acc ept the Logic and Ref erence
from the module. For example, set Speed Ref A Sel (90)
in an SP600 drive to “Network” so that the drive uses the
Reference from the module. Also, verify that the mask
parameters (for example, Manual Mask (286)) in the drive
are configured to receive the desired logic from the
module.
Step 3.If you enabled one or more Datalinks, configure
parameters in the drive to determine the source and
destination of data in the Datalink(s). Also , ensure th at the
Interbus module is the only module using the enabl ed
Datalink(s).
Step 4.Interbus requires the network I/O mapping to be
configured first in the module . CM D softw are wi ll rea d this
configuration online when it is configuring the scanner.
Process Input Data Description (PIDD) words map input
data on the network (data seen as inputs to the scanner
and controller program). Example input data includes
Logic Status, Feedback and Datalinks (Datalink x1 Out).
Up to 9 words of input data can be mapped.
Process Output Data Description (PODD) words map
output data on the network (dat a sent as outpu ts from the
scanner and controller program). Example output data
includes Logic Command, Reference and Datalinks
(Datalink x1 In). Up to 9 words of output data can be
mapped.
Table 4.2 lists the indexes used to select the I/O data.
2FA412196Datalink A1 Out 2F9C 12188 Datalink A1 In
2FA512197Datalink A2 Out 2F9D 12189 Datalink A2 In
2FA612198Datalink B1 Out 2F9E 12190 Datalink B1 In
2FA712199Datalink B2 Out 2F9F 12191 Datalink B2 In
2FA812200Datalink C1 Out 2FA0 12192 Datalink C1 In
2FA912201Datalink C2 Out 2FA1 12193 Datalink C2 In
2FAA12202 Datalink D1 Out 2FA2 12194 Datalink D1 In
2FAB12203 Datalink D2 Out 2FA3 12195 Datalink D2 In
Configuring the Interbus Module
Table 4.2 – PIDD / PODD Indexes
Value
(Hex)
Value
(Dec)Selects
Command
4-3
To configure the module for Logic Command/Status,
Reference/Feedback and the maximum number of
Datalinks enabled in see the example in table 4.3.
Table 4.3 – Module I/O Configuration Example
Parameter #NameValue
20PIDD W0 Cfg2F9A12186Logic Status (default)
22PIDD W1 Cfg2F9B12187Feedback (default)
24PIDD W2 Cfg2FA412196Datalink A1 Out
26PIDD W3 Cfg2FA512197Datalink A2 Out
Input28PIDD W4 Cfg2FA612198Datalink B1 Out
30PIDD W5 Cfg2FA712199Datalink B2 Out
32PIDD W6 Cfg2FA812200Datalink C1 Out
34PIDD W7 Cfg2FA912201Datalink C2 Out
36PIDD W8 Cfg2FAA12202Datalink D1 Out
38PODD W0 Cfg2F9812184Logic Command (default)
40PODD W1 Cfg2F9912185Reference (default)
42PODD W2 Cfg2F9C12188Datalink A1 In
44PODD W3 Cfg2F9D12189Datalink A2 In
Output46PODD W4 Cfg2F9E12190Datalink B1 In
48PODD W5 Cfg2F9F12191Datalink B2 In
50PODD W6 Cfg2FA012192Datalink C1 In
52PODD W7 Cfg2FA112193Datalink C2 In
54PODD W8 Cfg2FA212194Datalink D1 In
(Hex)
Value
(Dec)
Description
Note that Datalink D2 is no t used in this e xampl e because
maximum conf iguration has been reached. The maxim um
configura tion is shown to illustrate utilizin g all 9 words of
inputs and 9 words of outputs. Depending on your
application needs, any subset of the above example can
be implemented.
The corresponding DPI I/O Config (8) setting would be
“11111” for all of the above information to transfer
between the module and the drive.
Step 5.Reset the mod ule. Refer to the s ection 4.4.3, Resetting
the Module, in this chapter.
4-4
The module is ready to receive I/O from the master (i.e., scanner).
You must now configure the scanner to recognize and transmit I/O
to the module. Re fer to chapter 5, Configuring the Interb us Sc an ner.
Interbus Communications Module
4.4Settin g a Fault Action
By default, when communications are disrupted (for example, a
cable is disconnected), the drive responds by faulting if it is using
I/O from the network. You can configure a different response to
communication disruptions using Comm Flt Action (6).
ATTENTION:
the action of the module and connected SP600 drive
!
if communications are disrupted. By default, this
parameter faults the drive. You can set this
parameter so that the drive continues to run.
Precautions should be taken to ensure that the
setting of this parameter does not create a hazard
of injury or equipment damage. Failure to observe
this precaution could result in bodily injury or
damage to equipment.
Comm Flt Action (6) lets you determine
4.4.1 Changing the Fault Action
Set the value of Comm Flt Action (6) to the desired response as
shown in table 4.4. See figure 4.3 for a sample LCD OIM Fault
Action screen.
Table 4.4 – Selections for Drive Response to Communication Fault
ValueActionDescription
0Fault (default)The drive is faulted and stopped.
1StopThe drive is stopped, but not faulted.
2Zero DataThe drive is sent 0 for output data after
3Hold LastThe drive continues in its present state
4Send Flt CfgThe drive is sent the data that you set in
(Default)
a communications disruption. This does
not command a stop.
after a commun i cations dis ru ption.
the fault configuration parameters, Flt
Cfg Logic (10) throu gh Fl t Cfg D 2 (19).
Figure 4.3 – Fault Action Screen on an LCD OIM
Changes to this parameter take effect immediately. A reset is not
required.
Configuring the Interbus Module
Port 5 Device
RECOMM-IBUS
Parameter #6:
Comm Flt Action
0
Fault
4-5
4.4.2 Setting the Fault Configuration Parameters
If you set Comm Flt Action (6) to “Send Flt Cfg,” the values in the
following parameters are sent to the drive after a communications
fault occurs. You must set these parameters to values required by
your application.
Table 4.5 – Fault Configuration Parameters
NumberNameDescription
10Flt Cfg Logic A 16-bit value sent to the drive for Logic
11Flt Cfg RefA 32-bit value (0 – 4294967295) sent to
12 – 19Flt Cfg x1 In
Changes to these parame ters ta k e effect immediately . A res et is no t
required.
Command.
the drive as a Reference or Datalink.
Important:
Reference or 16-bit Datalinks, the most
significant word of the value must be set
to zero (0) or a fault will occur.
If the drive uses a 16-bit
4-6
Interbus Communications Module
4.4.3 Resetting the Module
Changes to s witch sett ings or some mo dule par ameters re quire that
you reset the module before the new settings take effect. You can
reset the module by cycling power to the drive or by using Reset
Module (5).
ATTENTION:
I/O to the drive, the drive may fault when you reset
!
Set Reset Module (5) to Reset Module. See figure 4.4.
Port 5 Device
RECOMM-IBUS
Parameter #: 5
Reset Module
Reset Module
When you enter
reset. When you enter
module parameters to their f actory-defau lt settings. T he val ue of this
parameter will be restored to
the module. Determine how your drive will respond
before resetting a connected module. Failure to
observe this precaution could result in bodily injury
or damage to the equipment.
1
Figure 4.4 – Reset Module Screen on an LCD OIM
1 (Reset Module)
If the module is transmitting control
ValueDescription
0Ready (Default)
1Reset Module
2Set Defaults
, the module will be immediately
2 (Set Defaults)
0 (Ready)
, the module will set all
after the module is reset.
Configuring the Interbus Module
4-7
4.5Viewing the Module Configuration
The parameters in table 4.6 provide information about how the
module is configured. You can view these parameters at any time.
Table 4.6 – Module Configuration Status Parameters
No.Name and Description
01
DPI Port
Port to which the module is connected. This will
usually be port 5.
03
Ref/Fdbk Size
Size of the Reference/Feedback. The drive
determines the size of the Reference/Feedback.
04
Datalink Size
Size of each Datalink word. The drive determines
the size of Datalinks.
09
DPI I/O Active
I/O that the module is actively transmitting. The
value of this parameter will usually be equal to the
value of parameter 8 - DPI I/O Config.
Bit
Default
21
PIDD W0 Actual
Actual Process Input Description for Word 0
Displays the Actual PIDD Config being transmitted
to word 0 in the Interbus Master.
23
PIDD W1 Actual
Actual Process Input Description for Word 1
Displays the Actual PIDD Config being transmitted
to word 1 in the Interbus Master.
25
PIDD W2 Actual
Actual Process Input Description for Word 2
Displays the Actual PIDD Config being transmitted
to word 2 in the Interbus Master.
27
PIDD W3 Actual
Actual Process Input Description for Word 3
Displays the Actual PIDD Config being transmitted
to word 3 in the Interbus Master.
29
PIDD W4 Actual
Actual Process Input Description for Word 4
Displays the Actual PIDD Config being transmitted
to word 4 in the Interbus Master.
31
PIDD W5 Actual
Actual Process Input Description for Word 5
Displays the Actual PIDD Config being transmitted
to word 5 in the Interbus Master.
Default:0
Minimum:0
Maximum:7
Type:Read Only
Default:0 = 16-bit
Values:0 = 16-bit
Type:Read/Write
Default:0 = 16-bit
Values:0 = 16-bit
Type:Read Only
Default:xxx0 0001
Bit Values:0 = I/O disabled
Type:Read Only
Bit Definitions
01234576
0 = Cmd/Ref
10000xxx
1 = Datalink A
2 = Datalink B
3 = Datalink C
4 = Datalink D
5 = Not Used
6 = Not Used
7 = Not Used
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Details
1 = 32-bit
1 = 32-bit
1 = I/O enabled
4-8
Interbus Communications Module
Table 4.6 – Module Configuration Status Parameters (Continued)
No.Name and Description
33PIDD W6 Actual
Actual Process Input Description for Word 6
Displays the Actual PIDD Config being transmitted
to word 6 in the Interbus Master.
35PIDD W7 Actual
Actual Process Input Description for Word 7
Displays the Actual PIDD Config being transmitted
to word 7 in the Interbus Master.
37PIDD W8 Actual
Actual Process Input Description for Word 8
Displays the Actual PIDD Config being transmitted
to word 8 in the Interbus Master.
39PODD W0 Actual
Actual Process Output Description for Word 0
Displays the actual PODD Configuration being
received from word 0 in the Interbus Master.
41PODD W1 Actual
Actual Process Output Description for Word 1
Displays the actual PODD Configuration being
received from word 1 in the Interbus Master.
43PODD W2 Actual
Actual Process Output Description for Word 2
Displays the actual PODD Configuration being
received from word 2 in the Interbus Master.
45PODD W3 Actual
Actual Process Output Description for Word 3
Displays the actual PODD Configuration being
received from word 3 in the Interbus Master.
47PODD W4 Actual
Actual Process Output Description for Word 4
Displays the actual PODD Configuration being
received from word 4 in the Interbus Master.
49PODD W5 Actual
Actual Process Output Description for Word 5
Displays the actual PODD Configuration being
received from word 5 in the Interbus Master.
51PODD W6 Actual
Actual Process Output Description for Word 6
Displays the actual PODD Configuration being
received from word 6 in the Interbus Master.
53PODD W7 Actual
Actual Process Output Description for Word 7
Displays the actual PODD Configuration being
received from word 7 in the Interbus Master.
55PODD W8 Actual
Actual Process Output Description for Word 8
Displays the actual PODD Configuration being
received from word 8 in the Interbus Master.
57PCP Comm Act
Actual PCP configuration
Details
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value:See table 4.2
Type:Read Only
Value: Enabled, Disabled
Configuring the Interbus Module
4-9
4-10
Interbus Communications Module
C
HAPTER
Configuring the
Interbus Scanner
A scanner is a separate module of a multi-module controller or a
built-in component of a single-module controller that provides
communication with a module connected to a network.
Interbus scanners are available from several manufacturers,
including SST. Chapter 5 provides instructions on how to use
Phoenix Contact CM D softw are to confi gure th e netw ork on an SST
scanner .
5.1Configuring a Simple Network:
An Example
All examples in this manual are based on the following:
SLC controller with an SST Interbus scanner (SST-IBS-SLC)
•
in slot 1.
SP600 drive at Device 1.0 / CR 2 (CR# is needed for PCP
•
commands).
SP600 drive at Device 2.0 / CR 3 (CR# is needed for PCP
•
commands).
Logic Command/Status, Reference/Feedback and Datalinks A-D
•
are enabled in the RECOMM-IBUS and mapped to network
I/O.
Phoenix Contact CMD software is used to configure the network.
•
5
This chapter describes the steps to configure a simple network like
the one featured in figure 5.1.
Configuring the Interbus Scanner
5-1
Interbus Scanner in
Multi-Module Controller
Interbus
REMOTE OUT
Config
RS232 Port
Fault LED
COMM LED
SP600 Drive
Station 1.0
(CR=2)
Figure 5.1 – Sample Interbus Network
SP600 Drive
Station 2.0
(CR=3)
5.2Configuring the Module for use with
the Ladder Examples
Prior to setting up the SST Inte rbus sc anner with C MD softw are, the
parameters listed in table 5.1 need to be configured to use the
sample ladder logic program.
Table 5.1 – Module Parameter Settings for Ladder Example
Value
Binary/
ParameterName
DecimalHexadecimal
8DPI I/O Config xxx1 1111001FEnable Cmd/Ref,
20PIDD W0 Cfg121862F9ALogic Status
22PIDD W1 Cfg121872F9BFeedback
24PIDD W2 Cfg121962FA4Datalink A1 Out
26PIDD W3 Cfg121972FA5Datalink A2 Out
Description
Datalinks A-D
5-2
Interbus Communications Module
Table 5.1 – Module Parameter Settings for Ladder Example (Continued)
Value
Binary/
ParameterName
28PIDD W4 Cfg121982FA6Datalink B1 Out
30PIDD W5 Cfg121992FA7Datalink B2 Out
32PIDD W6 Cfg122002FA8Datalink C1 Out
34PIDD W7 Cfg122012FA9Datalink C2 Out
36PIDD W8 Cfg122022FAADatalink D1 Out
38PODD W0 Cfg121842F98Logic Command
40PODD W1 Cfg121852F99Reference
42PODD W2 Cfg121882F9CDatalink A1 In
44PODD W3 Cfg121892F9DDatalink A2 In
46PODD W4 Cfg121902F9EDatalink B1 In
48PODD W5 Cfg121912F9FDatalink B2 In
50PODD W6 Cfg121922FA0Datalink C1 In
52PODD W7 Cfg121932FA1Datalink C2 In
54PODD W8 Cfg121942FA2Datalink D1 In
PIDD and PODD parameters are used to identify what will be
transmitted on t he n etwork and the amount of ne twork I/O the CMD
software will allocate on the scanner.
DecimalHexadecimal
Description
5.3Configuring the Network Using CMD
Software
Before starting the network configuration process, make sure the
PC running CMD software is connected to the SST scanner (a null
modem cable is supplied with t he scanner). The SLC and drives
need to be conne cted to the Interbus network and powered in order
for CMD software to configure the network. The CMD software tool
automatically creates a Reliance Electric sub-folder (in the Slaves
folder), if it does not already exist.
CMD needs to be in Extended Mode to configure the network. A
password (supplied by Phoenix Contact along with the CMD
software), is requested for this functionality each time CMD is
started. After CMD has started, you can also click O
xtended (Function Scope) to enter the password.
E
Step 1.Select F
new project. (See figure 5.2.)
Configuring the Interbus Scanner
ile / New from the pull-down menu to create a
ptions/
5-3
Figure 5.2 – Creating a New Interbus Project using CMD
Step 2.Right-click on the Project icon and select
Description. Enter a name for the project and any
additional information desired, as shown in figure 5.3.
Click OK when comp lete.
SP600 Interbus Demo
An SP600 Interbus demonstration
program using an SLC-5/05
system with an SST-IBS-SLC
Interbus scanner.
Figure 5.3 – Entering a Name for the New Interbus Project
Step 3.Right-click on the PLC/PC icon and select
Description. Enter a name for the controller and any
additional information desired, as shown in figure 5.4.
Click OK when comp lete.
5-4
Interbus Communications Module
Figure 5.4 – Entering a Name for the Interbus Controller
Step 4.Right-click on the Program icon and select
Description. Enter a name for the program (the actual
RSLogix500 file name is recommended), and any
additional information desired, as shown in figure 5.5.
Click OK when comp lete.
Using SP600 w/RECOMM-IBUS
Figure 5.5 – Entering a Name for the Interbus Program
Step 5.When complete, the representation area will look as
shown in figure 5.6.
SP600 Interbus Demo
Figure 5.6 – Sample Interbus CMD Project
Configuring the Interbus Scanner
5-5
This provides useful information regarding the CMD project
being created:
• “SP600 Interbus Demo” indicates what this project is
for.
• “SLC 5/05” indicates the contro ller used.
• “Interbus_SLC_Demo” indicates that
Interbus_SLC_Demo.RSS is the associated
RSLogix500 program used with this system.
Step 6.To configure the PC Com Port that CMD will use to
communicate with the SST scanner, click on Options/
Settings and then the Driver tab.
Step 7.Click on the Communication Path icon and then the
Standard tab.
Step 8.Select the port communication path. Typically, this is
“Serial Port” and “Com1” respectively, as shown in figure
5.7. Click OK until you return to the main screen.
5-6
Figure 5.7 – Selecting the Port Communication Path
Step 9.Right-click on the Controller Board icon and select
Type. Set the type to “IBS USC/4(4K)” and click OK. This
identifies the type of Interbus controller used on the SST
scanner. (See figure 5.8.)
Interbus Communications Module
Figure 5.8 – Selecting the Interbus Controller Type
Step 10. Right-click on the Controller Board icon and select
Description. Enter “SST-IBS-SLC” in the name field, as
shown in figure 5.9.
Figure 5.9 – Entering a Description for the Controller Board
Step 11. When complete, the representation area will look as
shown in figure 5.10.
Configuring the Interbus Scanner
5-7
.
SP600 Interbus Demo
Figure 5.10 – Sample Interbus CMD Project
Step 12. From the pull-down menu select Configuration/
Configuration Fr ame/Read In and answ er Yes to changing
the operating state to Configuration Online. If there are
additional prompts , answer OK or Yes to perform the read
anyway. CMD will then read the bus configuration. (See
figure 5.11.)
SP600 Interbus Demo
5-8
Figure 5.11 – CMD Bus Configuration
The gray PCP icons represent each SP600 drive. The first SP600
drive has a Device Number of 1.0 and the second has a Device
Number of 2.0.
Interbus Communications Module
Step 13. Right-click on the SST-IBS-SLC scanner and select
Process Data. This shows the Interbus I/O mapping for
each device on the network, as shown in figure 5.12.
Figure 5.12 – Sample Interbus I/O Mapping
In the example, the length is 144 bits (9 words) because the
RECOMM-IBUS was previously configured for the maximum I/O
configuration. (See section 4.3, Setting the I/O Configuration.
Depending on your application needs, this length may be less.)
The scanner mapping correlates to SLC addressing as shown in
figure 5.13.
Scanner Scanner
(USC/4) Output SLC (USC/4) Input SLC
0
1
63
64
65
511
Figure 5.13 – Scanner Mapping / SLC Addressing
Configuring the Interbus Scanner
O:x.0(high)
O:x.0(low)
O:x.31(low)
M0:x.0(high)
M0:x.0(low)
M0:x.223(low)
512
513
575
576
1023
I:x.0(high)
I:x.0(low)
I:x.31(low)
M1:x.0(high)
M1:x.0(low)
M1:x.223(low)
5-9
The mapping in the scann er is se t up in b ytes . In puts t o the s cann er
start at byte #512 and outputs start at byte #0.
PIDD/PODD parameter setting s in the m odule d etermine the l ength
of I/O data mapped. In the example, each device is configured for 9
words (144 bits) of inputs and 9 words (144 bits) of outputs, the
maximum allowed for each device.
Using the PIDD/PODD values previously set in the RECOMM-IBUS
module, the I/O layout in the scanner is as shown in table 5.2.
Device 2.0’s SLC addressing starts immediately after 1.0
addressing (I:1.9 and O:1.9).
5-10
Interbus Communications Module
Step 14. Right-click on the 1.0 PCP icon and select
D
escription. Enter a Station N ame such as “SP600 Demo
#1”. Note the Communication Reference (CR) is 2. The
CR needs to be known when using PCP communication
services (explicit messaging). (See figure 5.14.)
SP600 Demo #1
Figure 5.14 – Entering a Station Name
Step 15. Click on the Parameter Channel button. Set Transmit and
Receive to 128 bytes and enable Read, Write, and
Get-0D (long format) services, as shown in figure 5.15.
Click OK when comp lete.
Configuring the Interbus Scanner
5-11
Figure 5.15 – Selecting Data for the Parameter Channel Screen
Step 16. Repeat steps #14 and #15 using the 2.0 PCP icon .
Enter a Station name such as “SP600 Demo #2 ”. Note the
Communication Ref erence (CR) is 3. The CR ne eds to be
known when using PCP communication services (explicit
messaging). Cli ck OK wh en complete.
Step 17. When complete, the representation area will look as
shown in figure 5.16.
5-12
Interbus Communications Module
SP600 Demo #1
SP600 Demo #2
Figure 5.16 – Sample SP600 Demo #2
Step 18. Right-click on the SST-IBS-SLC icon and select
arameterization/Execute. Select “Startup without PDP”
P
as shown in figure 5.17, and click OK. This uses the
mapping already se t up in the scanne r and does not al low
re-mapping by the software tool.
Configuring the Interbus Scanner
5-13
.
Figure 5.17 – Selecting Data for Parameterization/Execute Screen
If parameterization execution is successful, there will be a prompt to
click OK. Click OK.
Step 19. When complete, the representation area will look as
shown in figure 5.18.
5-14
SP600 Demo #1
SP600 Demo #2
Figure 5.18 – Sample Parameterization Execution
Step 20. Click F
project.
ile/Save from the pull-down menu and save the
Interbus Communications Module
5.4Configuring the SP600 Drive for use
with the Ladder Examples
Configure the parameters as shown in table 5.4 to use the sample
ladder logic program.
Table 5.4 – SP600 Parameter Settings for Ladder Examples
Parameter NameValueDescription
90Speed Ref A Sel22Network (RECOMM-IBUS)
300Data In A1140Accel Time 1 (140)
301Data In A2142Decel Time 1 (142
302Data In B1100Jog Speed (100)
303Data In B2155Stop Mode A (155)
304Data In C1101Preset Speed 1 (101)
305Data In C2102Preset Speed 2 (102)
306Data In D1103Preset Speed 3 (103)
310Data Out A1140Accel Time 1 (140)
311Data Out A2142Decel Time (142)
312Data Out B1100Jog Speed (100)
313Data Out B2155Stop Mode A (155)
314Data Out C1101Preset Speed 1 (101)
315Data Out C2102Preset Speed 2 (102)
316Data Out D1103Preset Speed 3 (103)
provides the Reference
Configuring the Interbus Scanner
5-15
5.5Configuring the RSLogix 500 SST
Interbus Scanner
The SST Interbus scanner is configured by clicking on the I/O
Configuration in RSLogi x5 00. The SST-IBS-SLC scanne r ha s an ID
Code of 13635. The settings in figures 5.19 and 5.20 are used by
the sample ladder logic program.
Figure 5.19 – Scanner I/O Configuration
5-16
Figure 5.20 – Scanner_G_Files
Interbus Communications Module
Table 5.5 – G File Data Information
Word
Value
(Decimal)
Value
(Hexadecimal)Description
082242020Fixed to 2020h by the SLC
140961000Enables the command in terface
between the SLC and the USC/4
200Use the CMD specified Bus Update
Time
300Use the CMD specified Bus Warning
Time
400Use the CMD specified Bus Timeout
500The number of words used at the
beginning of the M files for In puts
and Outputs
612880Maximum data size for commands
and replies sent between the SLC
and the scanner
Refer to the SST_IBS_SLC User’s Guide for more information.
Configuring the Interbus Scanner
5-17
5-18
Interbus Communications Module
C
HAPTER
6
Using I/O Messaging
Chapter 6 provides information and examples that explain how to
use I/O Messaging to control an SP600 drive.
ATTENTION:
intended so lely for purposes of example. There are
!
many variables and requirements with any
application. Rockwell Au t om atio n doe s not as su me
responsibility or liability (to include intellectual
property liability) for actual use of the examples
shown in this publication. Failure to observe this
precaution coul d result i n bodily injury or dam age to
equipment.
The examples in this publication are
6.1About I/O Messaging
I/O messaging is used to tr ansfe r the data which controls the SP600
drive and sets its Ref erence . I/ O can al so be use d to tran sf er data to
and from Datalinks in SP600 drives.
The Interbus m odu le provides opti ons for configuring and using I/O,
including the following:
The size of I/O can be configured by enabling or disabling the
•
Logic Command/Reference and Datalinks.
Chapter 4, Configuring the Interbus Module, and chapter 5,
Configuring the Interbus Scanner, discuss how to configure the
module and scann er on the netwo rk for these op tions . The Gl ossary
defines the different options. This chapter discusses how to use I/O
after you have configured the module and scanner.
6.2Understanding the I/O Image
The terms
view. Therefore, Output I/O is data that is output fr om the scanner
and consumed by the Interbus module. Input I/O is status data that
is produced by the module and consumed as input by the scanner.
Using I/O Messaging
input
and
are defined from scanner’s point of
output
6-1
The I/O image table will vary based on the following:
Size (either 16-bi t or 32-bit) of the Reference/Feedback word an d
•
Datalink words used by the drive.
Configuration of DPI I/O Config (8) in the module. If all I/O is not
•
enabled, the image table is truncated. The image table always
uses consecutive words starting at word 0.
Figure 6.1 illustrates an example of an I/O image with 16-bit words.
Controller
Scanner
Output
Image
(Write)
M0/M1
Files
Input
Image
(Read)
M0/M1
Files
Interbus
Module SP600 Drive
DPI
Word and I/O
0 Logic Command
1 Reference
2 Datalink In A1
3 Datalink In A2
4 Datalink In B1
5 Datalink In B2
6 Datalink In C1
7 Datalink In C2
8 Datalink In D1
PCP Communications
0 Logic Status
1 Feedback
2 Datalink Out A1
3 Datalink Out A2
4 Datalink Out B1
5 Datalink Out B2
6 Datalink Out C1
7 Datalink Out C2
8 Datalink Out D1
PCP
Communications
Logic Command
Reference
Data In A1
Data In A2
Data In B1
Data In B2
Data In C1
Data In C2
Data In D1
Message
Handler
Logic Status
Feedback
Data Out A1
Data Out A2
Data Out B1
Data Out B2
Data Out C1
Data Out C2
Data Out D1
Message
Handler
6-2
Figure 6.1 – Sample I/O Image with All I/O Enabled
Interbus Communications Module
An image that us es 32 -bi t words for R eference and Datalinks would
change the I/O image as follows:
Figure 6.2 illustrates an example of an I/O image that does not use
all of the I/O data. Only the Logic Command/Reference and
Datalink B are enabled. In this example, the Reference is a 32-bit
word, and Datalinks are 16-bit words.
Interbus
ControllerScannerModule SP600 Drive
Word and I/O
Output
Image
(Write)
Input
Image
(Read)
LSW = Least Significant Word (Bits 15 - 0)
MSW = Most Significant Word (Bits 31 - 16)
Reference
Data In A1
Data In A2
Data In B1
Data In B2
Data In C1
Data In C2
Data In D1
Logic Status
Feedback
Data Out A1
Data Out A2
Data Out B1
Data Out B2
Data Out C1
Data Out C2
Data Out D1
Figure 6.2 – Sample I/O Image with Only Logic/Reference and Datalink B
Using I/O Messaging
Enabled
6-3
6.3Using Logic Command/Status
When enabled, th e Logic Command/Stat us word is alw ays w ord 0 in
the I/O image. The
produced by the scanner and consumed by the module. The
is a 16-bit word of status produced by the module and
Status
consumed by the scanner.
This manual contains the bit definitions for compatible products
available at the time of publication in Appendix C, Logic Command/
Status Words. For other products, refer to their documentation.
Logic Command
is a 16-bit word of control
6.4Using Reference/Feedback
When enabled, Ref ere nce/Feedback always begi ns at wo rd 1 in the
I/O image. The
controller and consumed by the module. The
32 bits) is produced by the module and consumed by the con trol ler.
The size of the Reference/Feedback is determined by the product
and displayed in Re f/Fdbk Size (3) in the module.
SizeValid ValuesIn I/O ImageExample
16-bit-32768 to 32767Word 1Figure 6.1
32-bit-2147483648 to
Reference
2147483647
(16 bits or 32 bits) is produced by the
Feedback
Word 1 and
Word 2
Logic
(16 bits or
Figure 6.2
6.5Using Datalinks
A Datalink is a mechanism used by SP600 driv es to tr ansf e r data to
and from the controller. Datalinks allow a parameter value to be
changed without using an Explicit Message.
When enabled, each Datalink consumes either two 16-bit or 32-bit
words in both the input an d output image depen ding on its siz e. Th e
size of Datalinks (16-b it words or 32-bit wo rds) is det ermined b y the
drive and displayed in Datalink Size (4) in the module.
6.5.1 Rules for Using Datalinks
Each set of Datalink parameters in an SP600 drive can be used
•
by only one module. If more than one module is connected to a
single drive, multiple modules must not try to use the same
Datalink.
Parame ter settings in the drive determine the data pass ed
•
through the Datalink mechanism. Refer to the documentation for
your product.
6-4
Interbus Communications Module
When you use a Datalink to change a value, the value is not
•
written to the Non-Volatile Storage (NVS). The value is stored in
volatile memory and lost when the drive loses power.
6.5.2 32-Bit Parameters using 16-Bit Datalinks
To read (and/or write) a 32-bit parameter using 16-bit Datalinks,
typically both Datalinks (x1 and x2) are set to the 32-bit parameter.
For example, to read Elapsed MWh (9) in an SP600 drive, both
Datalink A1 and A2 are set to “9.” Datalink A1 will contain the least
significant word (LSW) and Datalink A2 the most significant word
(MSW). In this example, the parameter 9 value of 5.8 MWh is read
as a “58” in Datalink A1.
Datalink
Most/Least
Significant WordParamete r
Data
(decimal)
A1LSW958
A2MSW90
Regardless of the Datalink combination, x1 will always contain the
LSW and x2 will always contain the MSW. In the following
examples, Power Up Marker (242) contains a value of 88.4541
hours.
Datalink
Most/Least
Significant WordParameter
Data
(decimal)
A1LSW24232573
A2- Not Used -00
Datalink
Most/Least
Significant WordParameter
Data
(decimal)
A1- Not Used -00
A2MSW24213
Datalink
Most/Least
Significant WordParameter
Data
(decimal)
A2MSW24213
B1LSW24232573
32-bit data is stored in binary as follows:
MSW
LSW
Using I/O Messaging
31
through 2
2
15
through 2
2
16
0
6-5
Example:
Power Up Marker (242) = 88.4541 hours
MSW = 13
LSW = 32573
851968 + 32573 = 884541
decimal
= 1101
= 219 + 218 + 216 = 851968
binary
6.6Sample SLC Ladder Logic Program
The sample Interbus program uses an SLC processor with an SST
Interbus scanner (SST-IBS-SLC) in the first slot of the rack and
works with SP600 drives.
Function of the Sample Program
The program is written for (2) drives on the network and
demonstrates using:
Logic Command / Reference
•
Logic Status / Feedback
•
Datalinks
•
PCP Read / Write (See chapter 5.)
•
Module Settings
The RECOMM-IBUS node addresses are set via CMD software to:
“1.0” (CR=2) for Station 1
•
“2.0” (CR=3) for Station 2
•
6-6
See section 5.2, Configuring the Module for use with the Ladder
Examples.
SP600 Settings
See section 5.4, Configuring the SP600 Drive for use with the
Ladder Examples.
SST Scanner Settings
See section 5.5, Configuring the RSLogix 500 SST Interbus
Scanner.
Interbus Communications Module
SLC Data T ab le
Read Data
The scanner is configured for 18 bytes (9 words) of inputs for each
drive, the maximum amount allowed. Two drives require 36 bytes
(18 words) maximum.
These examples use the Logic Command word and Logic Status
word for SP600 drives. Refer to Appendix C, Logic Command/
Status Words to vie w these . The d efiniti on of t he bits in th ese w ords
may vary if you are using a different DPI product. Refer to the
documentation for your product.
Using I/O Messaging
6-7
6.6.1 Sample SLC Ladder Logic - Main Program
The following rung performs power-up initialization of the PCP Read and PCPWrite routines.
First Pass
0000
0001
0002
0003
0004
0005
S:1
15
Execute LAD 3 - Station 1.0 Drive Logic (Logic Command / Status, Reference / Feedback and Datalinks).
Execute LAD 4 - Station 2.0 Drive Logic (Logic Command / Status, Reference / Feedback and Datalinks).
Can onlyWrite OR Read at any one time. B3:47/10 will be turned off by the subroutine when the writing is complete and
signals that another write (or read) cycle can take place.
Execute
PCP Read
Subroutine
B3:47
B3:47
Execute
PCPWrite
Subroutine
B3:47
0
10
Execute
PCPWrite
Subroutine
B3:47
10
0
JSR
JSR
JumpTo Subroutine
SBR File NumberU:3
JSR
JSR
JumpTo Subroutine
SBR File NumberU:4
JSR
JSR
JumpTo Subroutine
SBR File NumberU:5
JSR
JSR
JumpTo Subroutine
SBR File NumberU:6
Execute
PCP Read
Subroutine
B3:47
U
0
PCP Read
Routine
1-shot
B3:47
U
1
PCP Read
Reply Msg
1-Shot
B3:47
U
2
Execute
PCPWrite
Subroutine
B3:47
U
10
PCPWrite
Routine
1-shot
B3:47
U
11
PCPWrite
Reply Msg
1-Shot
B3:47
U
12
END
6-8
Figure 6.3 – Sample SLC Ladder Logic - Main Program
Interbus Communications Module
Controlling the Logic Command to the drive at Station 1.0.
Station 1.0
Start
Command
0000
0001
0002
0003
0004
0005
0006
B3:20
1
Station 1.0
Stop
Command
B3:20
0
Station 1.0
Jog
Command
B3:20
2
Station 1.0
Clear Faults
Command
B3:20
3
Station 1.0
Reverse
Command
B3:20
4
Station 1.0
Reverse
Command
B3:20
4
Station 1.0 Speed Reference
SP600 Speed Ref A Sel (90) needs to be set to “Network”
PowerFlex70 Speed RefA Sel (Pr.90) needs to be set to 'DPIPort 5'
Station 1.0
Logic Command
START
Station 1.0
Logic Command
STOP
Station 1.0
Logic Command
JOG
Station 1.0
Logic Command
CLEAR FAULTS
Station 1.0
Logic Command
FORWARD
Station 1.0
Logic Command
REVERSE
Station 1.0
Speed Reference
MOV
MOV
Move
SourceN19:1
8192<DestO:1.18192<
O:1.0
OTHER
O:1.0
OTHER
O:1.0
OTHER
O:1.0
OTHER
O:1.0
OTHER
O:1.0
OTHER
1
0
2
3
4
5
Station 1.0 Datalink A1
Datalink A1 (Pr. 300) set to Acceleration Time 1 (Pr. 140)
0007
Figure 6.4 – Sample SLC Ladder Logic - Station 1 Program
Using I/O Messaging
Station 1.0
DatalinkA1
MOV
MOV
Move
SourceN19:250<DestO:1.250<
6-9
Station 1.0 Datalink A2
Datalink A2 (Pr. 301) set to Deceleration Time 1 (Pr. 142)
0008
Station 1.0 Datalink B1
Datalink B1 (Pr. 302) set to Jog Speed (Pr. 100)
0009
Station 1.0 Datalink B2
Datalink B2 (Pr. 303) set to Stop Mode A (Pr. 155)
0010
Station 1.0 Datalink C1
Datalink C1 (Pr. 304) set to Preset Speed 1 (Pr. 101)
0011
Station 1.0 Datalink C2
Datalink C2 (Pr. 305) set to Preset Speed 2 (Pr. 102)
0012
Station 1.0
Datalink A2
MOV
MOV
Move
SourceN19:3
50<
DestO:1.3
50<
Station 1.0
Datalink B1
MOV
MOV
Move
SourceN19:4
100<
DestO:1.4
100<
Station 1.0
Datalink B2
MOV
MOV
Move
SourceN19:5
1<
DestO:1.5
1<
Station 1.0
Datalink C1
MOV
MOV
Move
SourceN19:6
100<
DestO:1.6
100<
Station 1.0
Datalink C2
MOV
MOV
Move
SourceN19:7200<
DestO:1.7200<
Station 1.0 Datalink D1
Datalink D1 (Pr. 306) set to Preset Speed 3 (Pr. 103)
0013
0014
Station 1.0
Datalink D1
Figure 6.5 – Sample SLC Ladder Logic - Station 1 Program (Continued)
6-10
Interbus Communications Module
MOV
MOV
Move
SourceN19:8
300<
DestO:1.8
300<
END
6.6.2 Sample SLC Ladder Logic - Station 2 Program
Controlling the Logic Command to the drive at Station 2.0.
Station 2.0
Start
Command
0000
0001
0002
0003
0004
0005
0006
B3:21
1
Station 2.0
Stop
Command
B3:21
0
Station 2.0
Jog
Command
B3:21
2
Station 2.0
Clear Faults
Command
B3:21
3
Station 2.0
Reverse
Command
B3:21
4
Station 2.0
Reverse
Command
B3:21
4
Station 2.0 Speed Reference
SP600 Speed Ref A Sel (90) needs to be set to “Network”
PowerFlex70 Speed RefA Sel (Pr.90) needs to be set to 'DPIPort 5'
Station 2.0
Logic Command
START
Station 2.0
Logic Command
STOP
Station 2.0
Logic Command
JOG
Station 2.0
Logic Command
CLEAR FAULTS
Station 2.0
Logic Command
FORWARD
Station 2.0
Logic Command
REVERSE
Station 2.0
Speed Reference
MOV
MOV
Move
SourceN19:158192<DestO:1.108192<
O:1.9
1
OTHER
O:1.9
0
OTHER
O:1.9
2
OTHER
O:1.9
3
OTHER
O:1.9
4
OTHER
O:1.9
5
OTHER
Station 2.0 Datalink A1
DatalinkA1 (Pr. 300) set to Acceleration Time 1 (Pr. 140)
0007
Figure 6.6 – Sample SLC Ladder Logic - Station 2 Program
Using I/O Messaging
Station 2.0
Datalink A1
MOV
MOV
Move
SourceN19:1650<DestO:1.1150<
6-11
Station 2.0 Datalink A2
Datalink A2 (Pr. 301) set to Deceleration Time 1 (Pr. 142)
0008
Station 2.0 Datalink B1
Datalink B1 (Pr. 302) set to Jog Speed (Pr. 100)
0009
Station 2.0 Datalink B2
Datalink B2 (Pr. 303) set to Stop Mode A (Pr. 155)
0010
Station 2.0 Datalink C1
Datalink C1 (Pr. 304) set to Preset Speed 1 (Pr. 101)
0011
Station 2.0 Datalink C2
Datalink C2 (Pr. 305) set to Preset Speed 2 (Pr. 102)
0012
Station 2.0
Datalink A2
MOV
MOV
Move
SourceN19:17
50<
DestO:1.12
50<
Station 2.0
Datalink B1
MOV
MOV
Move
SourceN19:18
100<
DestO:1.13
100<
Station 2.0
Datalink B2
MOV
MOV
Move
SourceN19:19
1<
DestO:1.14
1<
Station 2.0
Datalink C1
MOV
MOV
Move
SourceN19:20
100<
DestO:1.15
100<
Station 2.0
Datalink C2
MOV
MOV
Move
SourceN19:21
200<
DestO:1.16
200<
Station 2.0 Datalink D1
Datalink D1 (Pr. 306) set to Preset Speed 3 (Pr. 103)
0013
0014
Figure 6.7 – Sample SLC Ladder Logic - Station 2 Program (Continued)
6-12
Interbus Communications Module
Station 2.0
Datalink D1
MOV
MOV
Move
SourceN19:22
300<
DestO:1.17
300<
END
C
HAPTER
7
Using Explicit Messaging
(PCP Communications)
Chapter 7 provides information and examples that explain how to
use Explicit Messaging to monitor and configure the module and
connected SP600 drive, as well as other peripherals.
ATTENTION:
intended solely for purposes of e x am ple. There are
!
many variables and requirements with any
application. Rockwell Automation does not assume
responsibility or liability (to include intellectual
property liability) for actual use of the examples
shown in this publication. Failure to observe this
precaution could resu lt in bodily injury or damage t o
equipment.
A TTENTION:
to write parameter data to Non-Volatile Storage
(NVS) frequently, the NVS will quickly exceed it s life
cycle and cause the drive to malfunction. Do not
create a program that frequently uses Explicit
Messages to write param eter data to NVS. Datalink s
do not write to NVS and shoul d be used for frequently
changed parameters. Failure to observe this
precaution could resu lt in dama ge to , or d estruction
of, equipment.
The examples in this publication are
If Explicit Messages are pr ogrammed
7.1About Explicit Messaging
Explicit Messaging (PCP Communications) is used to transfer data
that does not require continuous updates. With Explicit Messaging,
you can configure and monitor a slave device’s parameters on the
Interbus network.
To be able to use Explicit Messaging in the module, PCP Comm Act
(57) must be set to “Enabled”.
Using Explicit Messaging (PCP Communications)
7-1
7.2Running Explicit Messages
There are five basic events in the Explicit Messaging process as
shown in figure 7 .1. The details of each step will vary depend ing on
the controller. Refer to the documentation for your controller.
Important:
Complete Parameter
Message
Retrieve Parameter
Message Response
There must be a request message and a response
message for all Explicit Messages, whether you are
reading or writing data.
Set up and send
Parameter Message
Format the required data and set up the ladder
logic program to send an Explicit Message
request to the scanner module (download).
The scanner module transmits the Explicit
Message Request to the slave device over the
Interbus network.
The slave device transmits the Explicit Message
Response back to the master.
The contro ller retrieves the Explicit Message
Response.
The Explicit Message is complete.
Figure 7.1 – Explicit Message Process
7-2
Interbus Communications Module
7.3PCP Communications
Peripheral Communications Protocol (PCP) messages are used for
Explicit Messaging, which is not part of the nor mal Interbus
I/O data scan. The scanner takes care of all of the details of
establishing a connection for PCP communication services. PCP
communications can be used to:
Read or write DPI Host (SP600 drive, etc.) parameters
•
Read or write RECOMM-IBUS parameters
•
Read DPI Host (SP600 drive, etc.) faults
•
Read RECOMM-IBUS events
•
See table 7.1.
Table 7.1 – PCP Message Definition
PCP - Index V a lue
Name
HexDecimal
Host Parameters3001 to
(3001
+n)
Host F aul t Queue2FF9 to
RECOMM-IBUS
Parameters
RECOMM-IBUS
Event Queue
The Command Interf ace f or th e SST SLC Int erb us scann er mus t be
enabled for PCP Communi cations to take place:
Bit 12 of word 1 in the G File must be set
•
Word 5 in the G File must be set to the length of process data
•
required in the M Files. This value can range from 0 to 224.
Word 6 in the G File must be set to the maximum length of the
•
command buffer. This value can r ange fro m 0 to 128 and m ust be
non-zero to enable the buffer.
3000
2FB6 to
2FEE
2F AE t o
2FB5
Range
12289
to
(12289
+ n)
12281
to
12288
12214
to
12270
12206
to
12213
Access
RightsDescription
Host
Parameter
Dependent
Read OnlyHost fault
Parameter
Dependent
Read OnlyModule event
3001 (12289
Dec) =
Parameter 1 etc.
queue
containing up
to 8 faults
2FB6 (12214
Dec) =
Parameter 1 etc.
queue (8
events)
Using Explicit Messaging (PCP Communications)
7-3
O/I
O/I:0
Process Data
(I/O Messaging)
M0/M1
Figure 7.2 – Memory Map
M0/M1:0
M0/M1:(G:5-1)
M0/M1:(G:5)
M0/M1:(G:5+1)
M0/M1: (G:5+G:6-1)
Command/Status word
Command/Response Buffer
(Explicit Messaging)
The ladder example used in this manual uses Input (I:) and
Output (O:) files for I/O messaging (Logic Command/Status,
Reference/Feedback, and Datalinks) and M Files for PCP
messaging (See section 5.5, Configuring the RSLogix 500 SST
Interbus Scanner.)
The first word in the Command Interface memory area is the
Command (M0) or Status (M1) word. The remaining words form a
buffer to pass command data to and from the scanner. The M0 file
contains the buffer for the command written by the SLC and the M1
file contains the reply to the SLC written by the scanner.
The lower six bits in the Command word are command bits to the
scanner. Commands are initiated by setting bits in this Command
word. The scanner acknowledges the command by setting bits in
the Status word. The hi gh bit is eithe r the Message Ac kno wledge bit
(command word) or the Message Present bit (Status word).
The ladder example used in this manual performs PCP Reads and
PCP Writes.
Interbus Communications Module
7.3.1 PC P Read Message Format
PCP Reads require the following Command and Reply message
formats:
Command
Table 7.3 – Command Message Format
WordNameDescription
0CRThe Communication Reference (CR #)
to read from
1IndexThe index of the variable to read
2Sub IndexThe sub-index of the variable to read
Reply
Wor dNameDescription
0Command
Word Echo
1Message
Length
2CRThe Communication Reference (CR #)
3ResultResult Code:
4Data LengthThe # of bytes of data following (1, 2 or
5Data Word 1Contains 8-bit (1 byte) data reads
6Data Word 2Least significant word for 32-bit (4 byte)
(not used)
Table 7.4 – Reply Message Format
Echo of the Command Word (00 04h)
Number of words following
the Reply is from
0=Success
FFFFh = Timeout
FFFEh = Out of buffers to store the
reply
FFFDh = Invalid CR
FFFCh = Could not connect to device
with CR
FFFBh = Reply of Command bigger
than buffer
4 bytes)
(stored in the high byte), 16-bit (2 byte)
data reads, and the most significant
word for 32-bit (4 byte) data reads
data reads
Using Explicit Messaging (PCP Communications)
7-5
The sample ladder logic program simplifies addressing the various
PCP indexes. Before calling the PCP Read Subroutine (figure 7.9),
three registers are loaded to identify the variable to be read:
Table 7.5 – PCP Read Main Program Data
RegisterDescription
The Communication Reference (CR) to read from:
N22:0
Set to “2” to access Station 1.0 (CR=2)
Set to “3” to access Station 2.0 (CR=3)
The desired Parameter / Event / Fault area to be
accessed:
N22:1
Set to “0” to read SP600 parameters
Set to “1” to read RECOMM-IBUS parameters
Set to “2” to read SP600 Fault Queue
Set to “3” to read RECOMM-IBUS Event Queue
The actual Parameter number or Event / Fault
N22:2
Queue item number to read. Set to “1” to read
Parameter number 1 or Fault / Event Queue item
number 1....etc....
The PCP Read Subroutin e uses the data in table 7.5 to create the
following Command Message (table 7.6):
Table 7.6 – PCP Read Subroutine Command Message
RegisterDescription
N22:10The PCP Comman d wo rd (se t to “4 ” for PCP Read).
N22:11The Communication Reference (CR) to read from.
N22:12The PCP Index of the variable to read (“3001h”=
Host parameter 1, etc.).
N22:13Sub Index not used (set to “0”).
7-6
Table 7.7 – PCP Read Subroutine Reply Message
RegisterDescription
N22:20= PCP Status Word.
N22:21= Echo of the Command word (0004h).
N22:22= Num ber of words following.
N22:23= CR.
N22:24= Result (“0”=good).
N22:25= Number of bytes read (1-by te for 8-bit parameters,
2-bytes for 16-bit parameters, 4-bytes for 32-bit
parameters).
N22:26= Data Word #1 (1-byte & 2-byte reads, MSW of
4-byte read).
N22:27= Data Word #2 (LSW of 4-byte read).
Interbus Communications Module
7.3.2 Read Examples
Message
Command
Reply
N22:10
N22:11
N22:12
N22:13
N22:20
N22:21
N22:22
N22:23
N22:24
N22:25
N22:26
N22:27
SLC Address
12428
-32,764
Value (Hex)
Value (Dec)
4
4
2
0
4
4
2
0
2
50
0
Command word = 4 = PCP Read (bit 2 ON)
2
CR# = 2 (Station 1.0)
ndex = 3000h + 8Ch = Accel Time (140)
I
Index=3000h+8Ch = Parameter 140[AccelTime]
3001h is the start of SP600 parameters (1)
308C
3001h is the start of PowerFlex70parameters (Pr.1)
Figure 7.4 – Reading Fault 1 Time (244) from an SP600 Drive (DPI Host)
In the example ladder logic program, the user would load these
registers before calling the subroutine to perform the PCP Read:
7-8
Request
Message
N22:0
N22:1
N22:3
SLC Address
244
Value (Hex)
Value (Dec)
2
2
0
CR# =2 (Station 1.0)
0 = SP600 (DPI Host)
0
0 = SP600 (DPI Host)
0= PowerFlex70 (DPIHost)
0 = SP600 (DPI Host)
Par ameter # = 244 (Fault 1 Time)
Parameter # = 244[Fault 1 Time]
F4
Description
Interbus Communications Module
Message
Command
Reply
N22:10
N22:11
N22:12
N22:13
N22:20
N22:21
N22:22
N22:23
N22:24
N22:25
N22:26
N22:27
SLC Address
12234
-32,764
12186
0
Value (Hex)
Value (Dec)
4
4
2
0
4
4
2
0
2
Command word = 4 = PCP Read (bit 2 ON)
2
CR# = 2 (Station 1.0)
Index = 2FB5h + 15h = PIDD W0 Actual (21)
Index=2FB5h+15h = Parameter 21[PIDD W0Actual]
2FB6h is the start of
2FCA
2FB6h is the start of the 20-COMM-Iparameters (Pr.1)
15 hex = 21 dec = PIDD W0 Actual (21)
15 hex=21 dec = Parameter 21[PIDD W0Actual]
Sub Index not used
0
Statusword:
8004
"8000" (bit 15ON) indicates Reply message present
"0004" (bit 2ON) echo's the command (PCP Read)
4
Echo of the Command Word (PCP Read)
Number of words following= 4
4
CR# = 2 (Station 1.0)
2
0
Result = 0 (success)
Number of bytes read = 2
2
Data word 1 = 2F9A hex = Logic Status
2F9A
Data word 2 not used
0
Description
RECOMM-IBUS parameters
Figure 7.5 – Reading PIDD W0 Actual (21) from an RECOMM-IBUS
Interbus Module
In the sample ladder logic program, the user would load these
registers before calling the subroutine to perform the PCP read:
Message
Request
SLC Address
N22:0
N22:1
N22:3
21
Using Explicit Messaging (PCP Communications)
Value (Hex)
Value (Dec)
2
2
1
CR# = 2 (Station 1.0)
1
1= 20-COMM-I
1 = RECOMM-IBU S
15
Parameter # = 21 [PIDDW0 Actual]
Description
7-9
7.3.3 PCP Write Message Format
PCP Writes require the following Command and Reply message
formats:
Command
Table 7.8 – Command Message Format for PCP Writes
WordNameDescription
0CRThe Communication Reference (CR #) to
write to
1IndexThe index of the variable to write
2Sub IndexThe sub-index of the variable to write (not
3Data
Length
4Data
Word 1
5Data
Word 2
Reply
Table 7.9 – Reply Message Format for PCP Writes
used)
The # of bytes of data following (1, 2, or 4
bytes)
Contains 8-bit (1 b yte) write data (s tored in
the high byte), 16-bit, (2 byte) write data,
and the most significant word for 32-bit (4
byte) write data
Least significant word for 32-bit (4 byte)
write data
7-10
WordNameDescription
0Command
Word Echo
1Message
Length
2CRThe Communication Reference (CR #) the
3ResultResult Code:
Echo of the Command Word (0008h)
Number of wo rds following
Reply is from
0=Success
FFFFh = Timeout
FFFEh = Out of buffers to store the reply
FFFDh = Invalid CR
FFFCh = Could not connect to device with
CR
FFFBh = Reply of Command bigger than
buffer
Interbus Communications Module
The sample ladder logic program simplifies addressing the various
PCP index es. Be fore calling the PCP Write Subroutine (figure 7.13),
six registers are loaded to identify the variable to write:
Table 7.10 – PCP Write Main Program Data
RegisterDescription
The Communication Reference (CR) to write to:
N23:0
Set to “2” to access Station 1.0 (CR=2)
Set to “3” to access Station 2.0 (CR=3)
N23:1The desired p arameter area to be accessed:
Set to “0” for DPI Host parameters
Set to “1” for RECOMM-IBUS parameters
N23:2The actual parameter number to write to (1, 2, ....n).
N23:3The number of byte s of data to write:
Set to either “1” (1 byte), “2” (2 bytes) and “4” (4
bytes)
N23:4Data Word #1
(1 and 2-byte writes, MSW of 4 byte write).
N23:5 Data Word #2
(LSW of 4-byte write).
The PCP Write Subroutine uses the data in table 7.10 to create the
following Command Message:
Table 7.11 – PCP Write Subroutine Command Message
RegisterDescription
N23:10The PCP Command word (set to “8” for PCP Write).
N23:11The Comm and Reference (CR) to write to.
N23:12The PCP Index of the variable to write (“306Ah” =
Host parameter 106, etc.).
N23:13Sub Index not used.
N23:14The number of bytes of data to write (set to “1”, “2”
or “4”).
N23:15Data word 1.
N23:16Data word 2.
Using Explicit Messaging (PCP Communications)
7-11
Note that writing to parameters causes a n on-vola tile stor age (NVS)
write cycle and the ref o re m ust NO T be do ne frequen tly (can exceed
the maximum number of allowable write cycles and cause the
product to malfunction).
Table 7.12 – PCP Write Subroutine Reply Message
RegisterDescription
N23:20= PCP Status Word.
N23:21= Echo of the Command word (0008h).
N23:22= Number of words following.
N23:23= CR.
N23:24= Result (“0” = good).
Write Examples:
Message
Command
Reply
N23:10
N23:11
N23:12
N23:13
N23:14
N23:15
N23:16
N23:20
N23:21
N23:22
N23:23
N23:24
SLC Address
12394
123
-32,760
Value (Hex)
Value (Dec)
8
8
2
0
2
0
8
2
2
0
Command word = 8 = PCP Write (bit 3 ON)
2
CR# = 2 (Station 1.0)
Index = 3000h + 6Ah = Preset Speed 6 (106)
Index = 3000h+6Ah = Parameter 106[Preset Speed 6]
306A
3001h is the start of SP600 parameters (1)
3001h is the start of PowerFlex70parameters (Pr.1)
The PCP Read Subroutine is executed from the Main Program
(chapter 6) by turning on bit B3:47/0. Only one PCP Read or Write
can be performed at any one time. B3:47/0 will be turned off by the
subroutine when the reading is complete and signals that another
read (or write) cycle can take place.
N22:10 = PCP Command Word (Always set to "4" to cause a PCP Read: a "4" = bit 2 ON)
PCP Read
Routine
1-shot
0000
0001
B3:47
1
N22:11 = The Communication Reference (CR) to read from. There is a unique CR for eachStation.
"2" = CR 2 = Station 1.0
"3" = CR 3 = Station 2.0
PCP Read
Routine
1-shot
B3:47
1
Figure 7.9 – LAD5 - PCP Read Subroutine
PCP
Command
Word
MOV
MOV
Move
Source4
4<DestN22:10
4<
PCP Read
Command Msg
CR
MOV
MOV
Move
SourceN22:0
2<DestN22:11
2<
7-16
Interbus Communications Module
N22:12 = Index (the parameter number or fault/event queue item to be read)
N22:1 determines what area is to be read:
N22:1 determineswhat area is to be read:
0=SP600 (Host) parameter (N22: 2 + 12288 decimal (3000h) = mapped para meter address)
Copy the PCP Read Command message to the scanner for transmission on the network.
PCP Read
Routine
1-shot
0004
0005
0006
0007
0008
B3:47
1
The PCP Read Command 1-shot is used so the subroutine processes and sends the Command only once when called by the
MAIN PGM
When the scanner acknowledges the PCP Read command, turn the Command word PCP Read bit OFF(originally comes from
N22:10 which was COPied to M0: above).
Status
PCP Read
M1:1.0
2
When the scanner Status word indicates that a message is available, copy the message for processing and handshake with the
scanner by turning the Command word Message Acknowledge bit ON.
StatusMessage
Present
If the Reply contains only 1byte of data, then the high and low bytes need to be swapped (e.g. a value of "5" willbe stored as a
"0005" as opposed to "0500".
Status
Message
Present
M1:1.0
15
M1:1.0
15
PCP Read
Reply Msg
1-Shot
B3:47
2
PCP Read
Reply Msg
1-Shot
B3:47
2
PCP Read
Reply Msg
#Bytes of Data
EQU
EQU
Equal
Source AN22:252<Source B11<
Copy FileSource#N22:10Dest#M0:1.0Length4
PCP Read
Reply Msg
Status Word
COP
COP
Copy FileSource#M1:1.0Dest#N22:20Length8
PCP Read
Reply Msg
Data Word #1
Swap
Source#N22:26
Length1
COP
COP
Command
Message
Acknowledge
M0:1.0
SWP
SWP
L
15
PCP Read
Routine
1-shot
B3:47
L
1
Command
PCP Read
M0:1.0
U
2
0009
7-18
If the Reply does not contain 4bytes of data, then the parameter is not 32-bit and Data Word #2 needs to be zero'd (might
contain leftover data from a previous 4-byte PCP Read).
If the PCP Read Reply message indicates that the result was "not good" (N22:24 <> 0), then zero out the data area of the Reply
message (might contain leftover data from a previous successful PCP Read).
Status
Message
Present
0010
M1:1.0
15
PCP Read
Reply Msg
1-Shot
B3:47
PCP Read
Reply Msg
Result
NEQ
Not Equal
2
Source AN22:24
0<
Source B0
0<
PCP Read
Reply Msg
Data Word #1
MOV
MOV
Move
Source0
0<
DestN22:26325<
PCP Read
Reply Msg
Data Word #2
MOV
MOV
Move
Source0
0<
DestN22:27
0<
The PCP Read Reply 1-shot is used so the subroutine processes the Reply message only once.
Status
Message
Present
0011
0012
0013
M1:1.0
15
When the Command /Status Message handshake is complete, reset the 1-shot bits and exit the PCP Read routine by turning the
"Execute PCP Read" bit off (B3:47/0)
The PCP Write Subroutine is executed from the Main Program
(chapter 6) by turning on bit B3:4 7/10. O nly one PC P Read or Write
can be performed at any one time . B3:47/10 will be tu rned off by the
subroutine when the reading is complete and signals that another
read (or write) cycle can take place.
N23:10 = PCP Command Word (Set to "8" to cause a PCP Write: an "8" = bit 3 ON)
PCP Write
Routine
1-shot
0000
0001
0002
0003
B3:47
11
N23:11 = CR (The Communication Reference to write to. A unique CR is the established for each Station)
"2" = CR 2 = Station 1.0
"3" = CR 3 = Station 2.0
PCP Write
Routine
1-shot
B3:47
11
N23:12 = Index
N23:1 determines what area is to be written to:
N23:14 = Number of bytes to write ("1" for byte, "2" for 16-bit parameter and "4" for 32-bit parameter)
Data is contained in:
N23:15 = Data word #1 to write (8-bit & 16-bit parameters, MSW of 32-bit parameters)
N23:16 = Data word #2 to write (LSW of 32-bit parameters)
If only 1 byte is being written, it needs to be loaded into the high byte of Data word #1 (N23:15). The subroutine performs this
via the SWP instruction so the main program can work with a normal number (i.e. a "2" instead of a "0200" hex).
PCP Write
Routine
1-shot
0004
0005
0006
0007
0008
B3:47
11
PCP Write
Command Msg
# Bytes of Data
EQU
EQU
Equal
Source AN23:14
2<
Source B1
1<
Copy the PCP Write Command message to the scanner for transmission on the network.
PCP Write
Routine
1-shot
B3:47
11
The PCP Write Command 1-shot is used so the subroutine processes and sends the Command only once whencalled by the
MAIN PGM
When the scanner ackno wl edges the PCP Write command, turn the Command word PCP Write bit OFF (originally
When the scanner acknowledges the PCP Write command, turn the Command word PCP Write bit OFF (originallycomes from
comes from N23:10 which was copied to M0: above).
N23:10 which was COPied to M0: above).
Status
PCP Write
M1:1.0
3
When the scanner Status word indicates that a message is available, copy the message into anInterger file (N23:) for processing
and handshake with the scanner by turning the Command word Message Acknowledge bit ON.
Chapter 8 contains information for troubleshooting the Interbus
module and the network.
8.1Understanding the Status Indicators
The Interbus m od ule ha s f ive status indicators. They can be viewed
on the module or through the drive cover. See figure 8.1.
Number
Figure 8.1 – Status Indicators (Location on Drive May Vary)
1
The UL indicator cannot be seen when the drive cover is installed or
closed.
Troubleshooting the Interbus Module and Network
Status
IndicatorDescriptionSection
CCCable Check8.1.1
RDRemote Bus Disable8.1.2
TRTransmit/Receive8.1.3
BAB us Ac tive8.1.4
UL
1
Bus Voltage8.1.5
PWR
STS
CC
BA
8-1
Important:
Interbus compliance requires different LED functions
than what is normally displayed on the front of the
drive (Port, Mod, Net A and Net B LEDs). LED labels
are provided with the module for applicat ion to the
drive cover.
8.2Cable Check (CC) Status Indicator
Table 8.1 – Cable Check (CC) Status Indicator: State Definitions
StatusCauseCorrective Action
OffMaster is reset or no
Solid
Green
cable connection.
Cable connection
good.
Connect the module to the
•
network using an Interbus
cable.
Verify master not in reset.
•
No action required.
•
8.3Remote Bus Disable (RD) Sta tus
Indicator
Table 8.2 – Remote Bus Disable (RD) Status Indicator: State Definitions
StatusCauseCorrective Action
OffOutgoing remote bus
is not switched off.
Solid RedOutgoing remote bus
is switched off.
No action required.
•
Read configurat ion or start data
•
transmission. Master may have
to be reset first.
8.4Transmit/Receive (TR) Status
Indicator
Table 8.3 – Transmit/Receive (TR) Status Indicator: State Definitions
StatusCauseCorrective Actions
OffNo PCP connection is
carried out.
Solid
Green
A PCP connection is
being carried out.
Flashes when a new
PCP frame has been
received.
8-2
Verify that master is sending
•
PCP messages.
No action required.
•
Interbus Communications Module
8.5Bus Active (BA) Status Indicator
Table 8.4 – Bus Active (BA) Status Indicator: State Definitions
StatusCauseCorrective Actions
OffBus not active.
Solid
Green
Flash
Green
Bus active,
exchanging data.
Bus active, but no
data exchange.
Set master to start data
•
transmission.
No action required.
•
Set master to start data
•
transmission.
8.6Bus Voltage (UL) Status Indicator
Table 8.5 – Bus Voltage (UL) Status Indicator1: State Definitions
StatusCauseCorrective Actions
OffBus voltage is not OK.
Solid
Green
1
LED is visible only when the drive cover is open.
Bus active.
Securely connect the modul e to
•
the drive using the Internal
interface cable
Apply power to the drive.
•
No action required.
•
8.7Module Diagnostic Items
Module Diagnostic Items can be viewed using VS Utilities software
or an LCD OIM. Diagnostic items show current data being
transmitted and received by the Host device (e.g., drive), and other
diagnostic information regarding the RECOMM-IBUS module.
Table 8.6 – Module Diagnostic Items
No.EventDescription
1Common Logic
Cmd
2Prod Logic Cmd The current value of the Product-Specific Logic
3ReferenceThe current v alue ofthe Pro duct-Sp ecific Reference
4Common Logic
Sts
Troubleshooting the Interbus Module and Network
The current value of the Common Logic Command
being transmitted to the Host.
Command being transmitted to the Host.
being transmitted to the Host.
The current value of the Product-Specific Logic
Status being received from the Host.
8-3
Table 8.6 – Module Diagnostic Items (Continued)
No.EventDescription
5Prod Logic StsThe current value of the Product-Specific Status
being received from the Host.
6FeedbackThe current value of the Product-Specific Feedb ack
being received from the Host.
7Datalink A1 InThe current value of Datalink A1 being transmitted
to the Host. (Value of 0 if Datalink is not used).
8Datalink A2 InThe current value of Datalink A2 being transmitted
to the Host. (Value of 0 if Datalink is not used).
9Datalink B1 InThe current value of Datalink B1 being transmitted
to the Host. (Value of 0 if Datalink is not used).
10Datalink B2 InThe current value of Datalink B2 being transmitted
to the Host. (Value of 0 if Datalink is not used).
11Datalink C1 InThe current value of Datalink C1 being transmitted
to the Host. (Value of 0 if Datalink not used).
12Datalink C2 InThe current value of Datalink C2 being transmitted
to the Host. (Value of 0 if Datalink is not used).
13Datalink D1 InThe current value of Datalink D1 being transmitted
to the Host. (Value of 0 if Datalink is not used).
14Datalink D2 InThe current value of Datalink D2 being transmitted
to the Host. (Value of 0 if Datalink is not used).
15Datalink A1 Out The current value of Datalink A1 being received
from the Host.
16Datalink A2 Out The current value of Datalink A2 being received
from the Host.
17Datalink B1 Out The current value of Datalink B1 being received
from the Host.
18Datalink B2 Out The current value of Datalink B2 being received
from the Host.
19Datalink C1 Out The current value of Datalink C1 being received
from the Host.
20Datalink C2 Out The current value of Datalink C2 being received
from the Host.
21Datalink D1 Out The current value of Datalink D1 being received
from the Host.
22Datalink D2 Out The current value of Datalink D2 being received
from the Host.
23Field Flash Cntr The number of times this device has been flash
updated.
8-4
Interbus Communications Module
Table 8.6 – Module Diagnostic Items (Continued)
p
g
q
No.EventDescription
24DPI Rx Err Cntr The current value of the DPI CAN Receive error
counter.
25DPI Tx Err CntrThe current value of the DPI CAN Transmit error
counter.
26IbusImage SizAmount of process data bytes used on the Interbus
network by the module.
8.8Viewing and Clearing Events
The module maintains an event queue that reports the history of its
actions. You can view the event queue using an LCD OIM or
VS Utilities software.
To View and Clear Events Using an LCD OIM
Use the procedure shown in figure 8.2 to access the event queue
using the LCD OIM. Note that you must have the RECOMM-IBUS
module as the selected device to access the event queue.
>>
Stopped Auto
P5: RECOMM-IBUS
Main Menu
Diagnostics
Monitor
Highlight Diagnostics icon
Lan
Diagnostics:
View Event Queue
Device Version
OIM Version
Highlight item
1
EvtQ# : E#xxxxx
Online @ 500kb
Press F2 key to
clear event
s
Clrqu
ueue
Figure 8.2 – VIewing and Clearing Events Using an LCD OIM
Troubleshooting the Interbus Module and Network
8-5
Events
Many events in the event queue occur under normal operation. If
you encounter unexpected communications problems, the events
may help you or Reliance Electric personnel troubleshoot the
problem. Table 8.7 lists events that may appear in the event queue.
Table 8.7 – Event Codes and Descriptions
CodeEventDescription
1No EventEmpty event queue entry.
2DPI Bus Off Flt A bus-off condition was detected on DPI. This
eve nt may be caused by loose or broken c ab les o r
by noise.
3Ping Time FltA ping message was not received on DPI within
the specified time.
4Port ID FltThe module is not connected to a corre ct port on a
DPI product.
5Port Change
The DPI port changed.
Flt
6Host Sent
The DPI product issued this because it was reset.
Reset
7EEPROM Sum
The EEPROM in the module is corrupt.
Flt
8Online @
125kbps
9Online @
500kbps
The module and DPI product are communicating
at 125kbps.
The module and DPI product are communicating
at 500kbps.
10Bad Host FltThe module was connected to an incompatible
product.
11Dup. Port FltAnother peripheral with the same port number is
already in use.
12Type 0 LoginThe module has logged in for type 0 control.
13Type 0 Time Flt The module has not received a type 0 status
message within the specified time.
14DL LoginThe module has logged into a Datalink.
15DL Reject FltThe host rejected an attempt to log in to a Datalink
because the Datalink is not supported or is used
by another peripheral.
16DL Time FltThe module has not received a Datalink message
within the specified time.
17Control
Disabled
18Control
Enabled
The module has sent a “Soft Control Disable”
command to the DPI product.
The module has sent a “Soft Control Enable”
command to the DPI product.
8-6
Interbus Communications Module
Table 8.7 – Event Codes and Descriptions (Continued)
CodeEventDescription
19Message
Timeout
A Client-Server message sent by the peripheral
was not complete d.
20DPI Fault Msg The DPI Host has faulted.
21DPI Fault Clear The user cleared a fault in the module.
22Normal Startup Peripheral completes a normal startup.
23Net Comm FltThe module detected a fault condition on the
Interbus network.
24Faul t Cfg Error The peripheral detec ted a 32-bit f ault configur ation
Reference when the Host supports only a 16-bit
Reference, or vic e-versa.
25IB OnlineThe Interbus module has gone on-line the Interbus
network.
26IB OfflineThe Interbus module has gone off-line the Interbus
network.
27Lang CRC Bad Language file CRC is Bad
Troubleshooting the Interbus Module and Network
8-7
8-8
Interbus Communications Module
A
PPENDIX
Technical
Specifications
Communications
Network
Protocol
Data Rates
Drive
Protocol
Data Rates
Electrical
Consumption450 mA at 5 V supplied through the drive
Mechanical
Dimensions
Height
Length
Width
Interbus
500 K
DPI
125 K or 500 K
19 mm (0.75 in)
86 mm (3.33 in)
78.5 mm (3.09 in)
A
Weight65 g (2.3 oz)
Environmental
Temperature
Operating
Storage
Relative Humidity5 to 95% non-condensing
Regulatory Compliance
UL508C and CUL
CEEN50081-2 (1993) and EN61000-6-2 (1999)
Technical Specifications
-10 to +50°C (14 to 149°F)
-40 to +85°C (-40 to 185°F)
A-1
A-2
Interbus Communications Module
A
PPENDIX
B
Interbus Module
Parameters
The following information is provided for each Interbus module
parameter along with its description:
Parameter Number:Unique number assigned to each
Parameter Name:Unique name assigned to each
Range:Predefined parameter limits or
Default:Factory default setting.
Type:R ead Only or Read/Write
Reset Required:Module m ust b e res et before parameter
The parameters in the Interbus module are numbered sequentially.
However, depending on the configuration tool used, they may have
different numbers.
parameter.
parameter.
selections.
value is recognized.
Interbus Module Parameters
B-1
1DPI Port
Range:
Default:
Type:
Reset Required:
Port to which the module is connected. This will usually be port 5.
0 to 7
0
Read Only
N/A
2DPI Data Rate
Range:
Default:
Type:
Reset Required:
Data rate used b y th e driv e . Th is data rate is se t in the driv e a nd the
module detects it.
0 = 125 K
1 = 500 K
0 = 125 K
Read Only
N/A
3Ref/Fdbk Size
Range:
Default:
Type:
Reset Required:
0 = 16-bit
1 = 32-bit
0 = 16-bit
Read Only
N/A
Size of the Reference/Feedback. The drive determines the size of
the Reference/Feedback.
4Datalink Size
Range:
Default:
Type:
Reset Required:
Size of each Datalink word. The drive determines the size of
Datalinks.
B-2
0 = 16-bit
1 = 32-bit
0 = 16-bit
Read Only
N/A
Interbus Communications Module
5Reset Module
Range:
Default:
Type:
Reset Required:
No action if set to “Ready.” Resets the module if set to “Reset
Module.” Restores the module to factory default settings if set to
“Set Defaults.” This parameter is a command. It will be reset to
“0 = Ready” after the command has been perfor med.
0 = Ready (No action)
1 = Reset Modu le
2 = Set Defaults (Restores module to factory-default
settings)
0 = Ready
Read/Write
No
ATTENTION:
controls the drive , the drive may f ault when you reset
!
the module. Determine how y our driv e will res pond
before resetting a connected module. Failure to
observe this precaution c oul d res ult in bodily injury
or damage to equipment.
If the module is transmitting I/O that
6Comm Flt Action
Range:
Default:
Type:
Reset Required:
Action that the module and drive take if the module detects that
Interbus communications have been disrupted. This setting is
effective only if I/O that controls the drive is transmitted though the
module.
0 = Fault
1 = Stop
2 = Zero Data
3 = Hold Last
4 = Send Flt Cfg
0 = Fault
Read/Write
ATTENTION:
determine the action the module and connected
!
drive if communications are disrupted. By default,
this parameter faults the drive. You can set this
parameter so that the drive continues to run. Take
precautions to ensure that the setting of this
parameter does not create a hazard of injury or
equipment damage. Failure to observe this
precaution could result in bodily inj ury or damage to
equipment.
No
Comm Flt Action (6) lets you
Interbus Module Parameters
B-3
7Reserved
Range:
Default:
Type:
Reset Required:
N/A
N/A
N/A
N/A
8DPI I/O Config
Range:
Default:
Type:
Reset Required:
I/O that is transferred through the module.
See figure B.1.
See figure B.1.
Read/Write
N/A
Not Used
Not Used
Not Used
Figure B.1 – DPI I/O Config (8)
Datalink C
Datalink D
Datalink A
Datalink B
Cmd/Ref
00010xxx
01234567
1= I/O Enabled
0= I/O Disabled
x=Not Used
B-4
ATTENTION:
If the module is transmitting I/O that
controls the drive , the drive may f ault when you reset
!
the module. Determine how y our driv e will res pond
before resetting a connected module. Failure to
observe this precaution c oul d res ult in bodily injury
or damage to equipment.
Interbus Communications Module
9DPI I/O Active
Range:
Default:
Type:
Reset Required:
I/O that the module is actively transmitting. The value of this
parameter will usually be equal to the value of DPI I/O Config (8).