Interbus
Interbus
Interbus
Communications Module
M/N RECOMM-IBUS
Throughout this manual, the following notes are used to alert you to safety
considerations:
! economic loss.
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.
Contents I
Chapter 6 Using I/O Messaging
6.1 About I/O Messaging ..................................................... 6-1
6.2 Understanding the I/O Image......................................... 6-1
6.3 Using Logic Command/Status ....................................... 6-4
6.4 Using Reference/Feedback ........................................... 6-4
6.5 Using Datalinks .............................................................. 6-4
6.5.1 Rules for Using Datalinks .................................... 6-4
6.5.2 32-Bit Parameters using 16-Bit Datalinks ............ 6-5
6.6 Sample SLC Ladder Logic Program .............................. 6-6
6.6.1 Sample SLC Ladder Logic - Main Program ......... 6-8
6.6.2 Sample SLC Ladder Logic - Station 2 Program. 6-11
Glossary ..................................................................................Glossary-1
Figure 4.1 – Accessing the Interbus Parameters using the LCD OIM ........ 4-2
Figure 4.2 – I/O Configuration Screen on an LCD OIM .............................. 4-2
Figure 4.3 – Fault Action Screen on an LCD OIM ...................................... 4-5
Figure 4.4 – Reset Module Screen on an LCD OIM ................................... 4-7
Figure 6.1 – Sample I/O Image with All I/O Enabled .................................. 6-2
Figure 6.2 – Sample I/O Image with Only Logic/Reference and
Datalink B Enabled ................................................................. 6-3
Figure 6.3 – Sample SLC Ladder Logic - Main Program ............................ 6-8
Figure 6.4 – Sample SLC Ladder Logic - Station 1 Program...................... 6-9
Figure 6.5 – Sample SLC Ladder Logic - Station 1 Program (Continued) 6-10
Figure 6.6 – Sample SLC Ladder Logic - Station 2 Program.................... 6-11
Figure 6.7 – Sample SLC Ladder Logic - Station 2 Program (Continued) 6-12
Contents V
Figure 7.1 – Explicit Message Process ....................................................... 7-2
Figure 7.2 – Memory Map ........................................................................... 7-4
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
Interbus Module ...................................................................... 7-9
Figure 7.6 – Writing Preset Speed 6 (106) to an SP600 Drive (DPI Host) 7-12
Figure 7.7 – Writing Comm Flt Action (6) to a RECOMM-IBUS
Interbus Module..................................................................... 7-13
Figure 7.8 – Writing Flt Cfg A1 (12) to an RECOMM-IBUS Interbus
Module .................................................................................. 7-14
Figure 7.9 – LAD5 - PCP Read Subroutine .............................................. 7-16
Figure 7.10 – LAD5 - PCP Read Subroutine (Continued)......................... 7-17
Figure 7.11 – LAD5 - PCP Read Subroutine (Continued)......................... 7-18
Figure 7.12 – LAD5 - PCP Read Subroutine (Continued)......................... 7-19
Figure 7.13 – LAD6 - PCP Write Subroutine............................................. 7-20
Figure 7.14 – LAD6 - PCP Write Subroutine (Continued)......................... 7-21
Figure 7.15 – LAD6 - PCP Write Subroutine (Continued)......................... 7-22
Table 3.1 – Bus In Connector (From Previous Node on the Network)........ 3-2
Table 3.2 – Bus Out Connector (To Next Node on the Network)................ 3-2
Table 5.1 – Module Parameter Settings for Ladder Example ................... 5-2
Table 5.2 – Scanner I/O Layout ................................................................ 5-10
Table 5.3 – SLC Addressing for Device 1.0.............................................. 5-10
Table 5.4 – SP600 Parameter Settings for Ladder Examples .................. 5-15
Table 5.5 – G File Data Information.......................................................... 5-17
Table 8.1 – Cable Check (CC) Status Indicator: State Definitions.............. 8-2
Table 8.2 – Remote Bus Disable (RD) Status Indicator: State Definitions . 8-2
Table 8.3 – Transmit/Receive (TR) Status Indicator: State Definitions....... 8-2
Table 8.4 – Bus Active (BA) Status Indicator: State Definitions.................. 8-3
Table 8.5 – Bus Voltage (UL) Status Indicator: State Definitions ............... 8-3
Table 8.6 – Module Diagnostic Items.......................................................... 8-3
Table 8.7 – Event Codes and Descriptions................................................. 8-6
Contents VII
VIII Interbus Communications Module
CHAPTER 1
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.
Introduction 1-1
1.2 Related Documentation
Refer to the following related publications as necessary for more
information. All of the publications are available from
http://www.theautomationbookstore.com.
• D2-3485 SP600 AC Drive User Manual
• D2-3488 VS Utilities Getting Results Manual
Online help installed with the software
• 1747-6.2 SLC 500 Modular Hardware Style Installation and
Operation Manual
• 1747-6.15 SLC 500 and MicroLogix 1000 Instruction Set
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)
Item Description
A small flathead 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)
Table 3.2 – Bus Out Connector (To Next Node on the Network)
Station 1
Bus Out (See Table 3.2)
/DO2 DO2 /DI2 DI2 GND RBST PE
1 2 3 4 5 6 1 2 3 4 5 6 7
Station 2 1 2 3 4 5 6 1 2 3 4 5 6 7
SP600 Drive
25-40 HP @ 460 VAC
# Description
15.24 cm (6 in) Internal Interface cable
DPI Connector
Interbus Connectors
2.54 cm (1 in) Internal Interface Cable
Figure 3.2 – DPI Ports and Internal Interface Cables
Drive
Module
Adapter
Step 1. Close the door or reinstall the cover on the drive. Key
status indicators can be viewed on the front of the drive
after power has been applied.
Important: 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.
Figure 4.1 – Accessing the Interbus Parameters using the LCD OIM
Input Output
Value Value Value Value
(Hex) (Dec) Selects (Hex) (Dec) Selects
2F9A 12186 Logic Status 2F98 12184 Logic
Command
2F9B 12187 Feedback 2F99 12185 Reference
2FA4 12196 Datalink A1 Out 2F9C 12188 Datalink A1 In
2FA5 12197 Datalink A2 Out 2F9D 12189 Datalink A2 In
2FA6 12198 Datalink B1 Out 2F9E 12190 Datalink B1 In
2FA7 12199 Datalink B2 Out 2F9F 12191 Datalink B2 In
2FA8 12200 Datalink C1 Out 2FA0 12192 Datalink C1 In
2FA9 12201 Datalink C2 Out 2FA1 12193 Datalink C2 In
2FAA 12202 Datalink D1 Out 2FA2 12194 Datalink D1 In
2FAB 12203 Datalink D2 Out 2FA3 12195 Datalink D2 In
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. Refer to chapter 5, Configuring the Interbus Scanner.
Port 5 Device
RECOMM-IBUS
Parameter #6:
Comm Flt Action
0
Fault
Interbus
REMOTE OUT
Config
RS232 Port
Interbus Scanner in
Multi-Module Controller
Value
Binary/
Parameter Name Decimal Hexadecimal Description
8 DPI I/O Config xxx1 1111 001F Enable Cmd/Ref,
Datalinks A-D
20 PIDD W0 Cfg 12186 2F9A Logic Status
22 PIDD W1 Cfg 12187 2F9B Feedback
24 PIDD W2 Cfg 12196 2FA4 Datalink A1 Out
26 PIDD W3 Cfg 12197 2FA5 Datalink A2 Out
Value
Binary/
Parameter Name Decimal Hexadecimal Description
28 PIDD W4 Cfg 12198 2FA6 Datalink B1 Out
30 PIDD W5 Cfg 12199 2FA7 Datalink B2 Out
32 PIDD W6 Cfg 12200 2FA8 Datalink C1 Out
34 PIDD W7 Cfg 12201 2FA9 Datalink C2 Out
36 PIDD W8 Cfg 12202 2FAA Datalink D1 Out
38 PODD W0 Cfg 12184 2F98 Logic Command
40 PODD W1 Cfg 12185 2F99 Reference
42 PODD W2 Cfg 12188 2F9C Datalink A1 In
44 PODD W3 Cfg 12189 2F9D Datalink A2 In
46 PODD W4 Cfg 12190 2F9E Datalink B1 In
48 PODD W5 Cfg 12191 2F9F Datalink B2 In
50 PODD W6 Cfg 12192 2FA0 Datalink C1 In
52 PODD W7 Cfg 12193 2FA1 Datalink C2 In
54 PODD W8 Cfg 12194 2FA2 Datalink D1 In
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.
Scanner Scanner
(USC/4) Output SLC (USC/4) Input SLC
SP600 Demo #1
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 complete.
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 Reference (CR) is 3. The CR needs to be
known when using PCP communication services (explicit
messaging). Click OK when complete.
Step 17. When complete, the representation area will look as
shown in figure 5.16.
SP600 Demo #2
SP600 Demo #1
SP600 Demo #2
Step 20. Click File/Save from the pull-down menu and save the
project.
The Interbus module provides options 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.
Interbus DPI
Controller Scanner Module SP600 Drive
Word and I/O
Output 0 Logic Command Logic Command
Image 1 Reference Reference
(Write) 2 Datalink In A1 Data In A1
3 Datalink In A2 Data In A2
4 Datalink In B1 Data In B1
5 Datalink In B2 Data In B2
6 Datalink In C1 Data In C1
7 Datalink In C2 Data In C2
8 Datalink In D1 Data In D1
M0/M1 Message
PCP
Handler
Files Communications
Word I/O
0 Logic Command/Status
1-2 Reference/Feedback
3-6 Datalink A1/A2
7 - 10 Datalink B1/B2
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 DPI
Controller Scanner Module SP600 Drive
Figure 6.2 – Sample I/O Image with Only Logic/Reference and Datalink B
Enabled
Most/Least Data
Datalink Significant Word Parameter (decimal)
A1 LSW 9 58
A2 MSW 9 0
Most/Least Data
Datalink Significant Word Parameter (decimal)
A1 LSW 242 32573
A2 - Not Used - 0 0
Most/Least Data
Datalink Significant Word Parameter (decimal)
A1 - Not Used - 0 0
A2 MSW 242 13
Most/Least Data
Datalink Significant Word Parameter (decimal)
A2 MSW 242 13
B1 LSW 242 32573
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
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.
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.
Station 1 Station 2
Address Address Function
I:1.0 I:1.9 Logic Status
I:1.1 I:1.10 Feedback
I:1.2 I:1.11 Datalink A1
I:1.3 I:1.12 Datalink A2
I:1.4 I:1.13 Datalink B1
I:1.5 I:1.14 Datalink B2
I:1.6 I:1.15 Datalink C1
I:1.7 I:1.16 Datalink C2
I:1.8 I:1.17 Datalink D1
Write Data
The scanner is configured for 18 bytes (9 words) of outputs for each
drive, the maximum amount allowed. Two drives require 36 bytes
(18 words).
Station 1 Station 2
Address Address Function
O:1.0 O:1.9 Logic Command
O:1.1 O:1.10 Reference
O:1.2 O:1.11 Datalink A1
O:1.3 O:1.12 Datalink A2
O:1.4 O:1.13 Datalink B1
O:1.5 O:1.14 Datalink B2
O:1.6 O:1.15 Datalink C1
O:1.7 O:1.16 Datalink C2
O:1.8 O:1.17 Datalink D1
These examples use the Logic Command word and Logic Status
word for SP600 drives. Refer to Appendix C, Logic Command/
Status Words to view these. The definition of the bits in these words
may vary if you are using a different DPI product. Refer to the
documentation for your product.
The following rung performs power-up initialization of the PCP Read and PCP Write routines.
Execute
PCP Read
First Pass Subroutine
S:1 B3:47
0000 U
15 0
PCP Read
Routine
1-shot
B3:47
U
1
PCP Read
Reply Msg
1-Shot
B3:47
U
2
Execute
PCP Write
Subroutine
B3:47
U
10
PCP Write
Routine
1-shot
B3:47
U
11
PCP Write
Reply Msg
1-Shot
B3:47
U
12
Execute LAD 3 - Station 1.0 Drive Logic (Logic Command / Status, Reference / Feedback and Datalinks).
JSR
0001 Jump To Subroutine
SBR File Number U:3
Execute LAD 4 - Station 2.0 Drive Logic (Logic Command / Status, Reference / Feedback and Datalinks).
JSR
0002 Jump To Subroutine
SBR File Number U:4
0005 END
0014 END
0014 END
Set up and send
Parameter Message
Complete Parameter
Message
Retrieve Parameter
Message Response
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 controller retrieves the Explicit Message
Response.
The Explicit Message is complete.
The Command Interface for the SST SLC Interbus scanner must be
enabled for PCP Communications 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 range from 0 to 128 and must be
non-zero to enable the buffer.
M0/M1:0
M0/M1
M0/M1:(G:5-1)
M0/M1: (G:5+G:6-1)
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 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 high bit is either the Message Acknowledge bit
(command word) or the Message Present bit (Status word).
Table 7.2 – Command Word Bit Descriptions
Bit Description
0 PCP Start
1 PCP Stop
2 PCP Read
3 PCP Write
4 PCP Command
5 IBS Command
15 Message acknowledge (Command) / Message present
(Status)
The ladder example used in this manual performs PCP Reads and
PCP Writes.
Command
Table 7.3 – Command Message Format
Reply
Table 7.4 – Reply Message Format
Register Description
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 Subroutine uses the data in table 7.5 to create the
following Command Message (table 7.6):
Table 7.6 – PCP Read Subroutine Command Message
Register Description
N22:10 The PCP Command word (set to “4” for PCP Read).
N22:11 The Communication Reference (CR) to read from.
N22:12 The PCP Index of the variable to read (“3001h”=
Host parameter 1, etc.).
N22:13 Sub Index not used (set to “0”).
Register Description
N22:20 = PCP Status Word.
N22:21 = Echo of the Command word (0004h).
N22:22 = Number of words following.
N22:23 = CR.
N22:24 = Result (“0”=good).
N22:25 = Number of bytes read (1-byte 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).
tion
ress
x)
c)
e
(He
sag
(De
crip
Add
e
Mes
Des
Valu
SLC
Valu
Command N22:10 4 4 Command word = 4 = PCP Read (bit 2 ON)
N22:11 2 2 CR# = 2 (Station 1.0)
IIndex
ndex=3000h+8Ch
= 3000h + =8Ch = Accel
Parameter 140Time
[Accel(140)
Time]
N22:12 12428 308C 3001h
3001h isisthethe start
start of SP600
of PowerFlex 70parameters (1)
parameters (Pr.1)
8C hex==140
8C hex 140
decdec = Accel 140
= Parameter Time (140)
[Accel Time]
Figure 7.3 – Reading Accel Time 1 (140) from an SP600 Drive (DPI Host)
In the sample ladder logic program, the user would load these
registers before calling the subroutine to perform the PCP Read:
on
ress
x)
)
age
(He
ti
(De
crip
Add
s
e
Mes
Des
Valu
SLC
Valu
x)
c)
e
(He
sag
(De
crip
Add
e
Mes
Des
Valu
SLC
Valu
Command N22:10 4 4 Command word = 4 = PCP Read (bit 2 ON)
N22:11 2 2 CR# = 2 (Station 1.0)
Index = 3000h + F4h = Fault 1 Time (244)
Index =3000h+F4h = Parameter 244 [Fault 1 Time]
N22:12 12532 30F4 3001h is the start of SP600 parameters (1)
3001h is the start of PowerFlex 70 parameters (Pr.1)
F4 hex ==244
F4 hex 244dec
dec= Parameter
= Fault 1 Time (244)
244 [Fault 1Time]
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:
tion
ss
x)
)
e
(He
ddre
sag
(De
crip
A
e
Mes
Des
Valu
SLC
Valu
x)
)
e
(He
re
sag
(De
crip
Add
e
Mes
Des
Valu
SLC
Valu
Command N22:10 4 4 Command word = 4 = PCP Read (bit 2 ON)
N22:11 2 2 CR# = 2 (Station 1.0)
Index =2FB5h+15h
Index = 2FB5h + 15h = PIDD W021Actual
= Parameter [PIDD(21)
W0 Actual]
N22:12 12234 2FCA 2FB6h
2FB6h isisthe
thestart
startofofthe 20-COMM-I parameters
RECOMM-IBUS parameters(Pr.1)
1515hex
hex==2121dec
dec==Parameter 21 [PIDD
PIDD W0 Actual (21)W0 Actual]
In the sample ladder logic program, the user would load these
registers before calling the subroutine to perform the PCP read:
tion
ress
)
c)
Hex
age
(De
crip
Add
e(
s
Mes
Des
Valu
SLC
Valu
Command
Table 7.8 – Command Message Format for PCP Writes
Reply
Table 7.9 – Reply Message Format for PCP Writes
Register Description
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:1 The desired parameter area to be accessed:
Set to “0” for DPI Host parameters
Set to “1” for RECOMM-IBUS parameters
N23:2 The actual parameter number to write to (1, 2, ....n).
N23:3 The number of bytes of data to write:
Set to either “1” (1 byte), “2” (2 bytes) and “4” (4
bytes)
N23:4 Data 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:
Register Description
N23:10 The PCP Command word (set to “8” for PCP Write).
N23:11 The Command Reference (CR) to write to.
N23:12 The PCP Index of the variable to write (“306Ah” =
Host parameter 106, etc.).
N23:13 Sub Index not used.
N23:14 The number of bytes of data to write (set to “1”, “2”
or “4”).
N23:15 Data word 1.
N23:16 Data word 2.
Register Description
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:
on
ss
x)
)
e
(He
ddre
ripti
sag
(De
A
c
e
Mes
Des
Valu
SLC
Valu
Figure 7.6 – Writing Preset Speed 6 (106) to an SP600 Drive (DPI Host)
tion
ress
x)
)
e
(He
sag
(De
crip
Add
e
Mes
Des
Valu
SLC
Valu
Request N23:0 2 2 CR# =2 (Station 1.0)
N23:1 0 0 00== PowerFlex 70 (DPI
SP600 drive (DPI Host)
Host)
N23:2 106 6A Parameter # = 106
N23:3 2 2 2 byte data write
N23:4 123 7B Data Word 1 = 123 = 12.3 Hz
N23:5 0 0 Data Word 2 not used
on
ress
x)
c)
e
(He
ripti
sag
(De
Add
c
e
Mes
Des
Valu
SLC
Valu
tion
ress
x)
c)
e
(He
sag
(De
crip
Add
e
Mes
Des
Valu
SLC
Valu
Request N23:0 2 2 CR# = 2 (Station 1.0)
N23:1 1 1 1 ==20-COMM-I
1= RECOMM-IBUS
RECOMM-IBUS
N23:2 6 6 Parameter # = 6
N23:3 1 1 1 byte data write
N23:4 2 2 Data Word 1 = 2 (Zero Data)
N23:5 0 0 Data Word 2 not used
on
ss
x)
)
e
(He
re
ripti
sag
(De
Add
c
e
Mes
Des
Valu
SLC
Valu
tion
ress
x)
c)
e
(He
sag
(De
crip
Add
e
Mes
Des
Valu
SLC
Valu
Request N23:0 2 2 CR# = 2 (Station 1.0)
N23:1 1 1 1=
1 = 20-COMM-I
RECOMM-IBUS
N23:2 12 12 Parameter # = 12
N23:3 4 4 4 byte data write
N23:4 0 0 Data Word 1 = 0
N23:5 2048 800 Data Word 2 = 2048
N22:10 = PCP Command Word (Always set to "4" to cause a PCP Read: a "4" = bit 2 ON)
PCP Read PCP
Routine Command
1-shot Word
B3:47 MOV
0000 Move
1 Source 4
4<
Dest N22:10
4<
N22:11 = The Communication Reference (CR) to read from. There is a unique CR for each Station.
"2" = CR 2 = Station 1.0
"3" = CR 3 = Station 2.0
PCP Read PCP Read
Routine Command Msg
1-shot CR
B3:47 MOV
0001 Move
1 Source N22:0
2<
Dest N22:11
2<
The PCP Read Command 1-shot is used so the subroutine processes and sends the Command only once when called by the
MAIN PGM
PCP Read
Routine
1-shot
B3:47
0005 L
1
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 Command
PCP Read PCP Read
M1:1.0 M0:1.0
0006 U
2 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.
Status PCP Read PCP Read
Message Reply Msg Reply Msg
Present 1-Shot Status Word
M1:1.0 B3:47 COP
0007 Copy File
15 2 Source #M1:1.0
Dest #N22:20
Length 8
Command
Message
Acknowledge
M0:1.0
L
15
If the Reply contains only 1 byte of data, then the high and low bytes need to be swapped (e.g. a value of "5" will be stored as a
"0005" as opposed to "0500".
Status PCP Read PCP Read PCP Read
Message Reply Msg Reply Msg Reply Msg
Present 1-Shot # Bytes of Data Data Word #1
M1:1.0 B3:47 EQU SWP
0008 Equal Swap
15 2 Source A N22:25 Source #N22:26
2< Length 1
Source B 1
1<
If the Reply does not contain 4 bytes 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).
Status PCP Read PCP Read PCP Read
Message Reply Msg Reply Msg Reply Msg
Present 1-Shot # Bytes of Data Data Word #2
M1:1.0 B3:47 NEQ MOV
0009 Not Equal Move
15 2 Source A N22:25 Source 0
2< 0<
Source B 4 Dest N22:27
4< 0<
PCP Read
Reply Msg
Data Word #2
MOV
Move
Source 0
0<
Dest N22:27
0<
The PCP Read Reply 1-shot is used so the subroutine processes the Reply message only once.
Status PCP Read
Message Reply Msg
Present 1-Shot
M1:1.0 B3:47
0011 L
15 2
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)
Command Status Execute
Message Message PCP Read
Acknowledge Present Subroutine
M0:1.0 M1:1.0 B3:47
0012 U
15 15 0
PCP Read
Routine
1-shot
B3:47
U
1
PCP Read
Reply Msg
1-Shot
B3:47
U
2
Command
Message
Acknowledge
M0:1.0
U
15
0013 END
N23:10 = PCP Command Word (Set to "8" to cause a PCP Write: an "8" = bit 3 ON)
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 PCP Write
Routine Command Msg
1-shot CR
B3:47 MOV
0001 Move
11 Source N23:0
2<
Dest N23:11
2<
N23:12 = Index
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 PCP Write
Routine Command Msg
1-shot # Bytes of Data
B3:47 COP
0004 Copy File
11 Source #N23:3
Dest #N23:14
Length 3
PCP Write
Command Msg
# Bytes of Data
EQU SWP
Equal Swap
Source A N23:14 Source #N23:15
2< Length 1
Source B 1
1<
Copy the PCP Write Command message to the scanner for transmission on the network.
PCP Write
Routine
1-shot
B3:47 COP
0005 Copy File
11 Source #N23:10
Dest #M0:1.0
Length 7
The PCP Write Command 1-shot is used so the subroutine processes and sends the Command only once when called by the
MAIN PGM
PCP Write
Routine
1-shot
B3:47
0006 L
11
When
When thethe scanner
scanner acknowledges
acknowledges theWrite
the PCP PCPcommand,
Write command, turn the Command
turn the Command wordbitPCP
word PCP Write OFF Write bit OFF
(originally comes(originally
from
comeswhich
N23:10 fromwas
N23:10 which
COPied was
to M0: copied to M0: above).
above).
Status Command
PCP Write PCP Write
M1:1.0 M0:1.0
0007 U
3 3
When the scanner Status word indicates that a message is available, copy the message into an Interger file (N23:) for processing
and handshake with the scanner by turning the Command word Message Acknowledge bit ON.
Status PCP Write PCP Write
Message Reply Msg Reply Msg
Present 1-Shot Status Word
M1:1.0 B3:47 COP
0008 Copy File
15 12 Source #M1:1.0
Dest #N23:20
Length 5
Command
Message
Acknowledge
M0:1.0
L
15
When the Command / Status Message handshake is complete, reset the 1-shot bits and exit the PCP Write routine by turning the
"Execute PCP Write" bit off (B3:47/10)
Command Status Execute
Message Message PCP Write
Acknowledge Present Subroutine
M0:1.0 M1:1.0 B3:47
0010 U
15 15 10
PCP Write
Routine
1-shot
B3:47
U
11
PCP Write
Reply Msg
1-Shot
B3:47
U
12
Command
Message
Acknowledge
M0:1.0
U
15
0011 END
PWR
STS
CC
RD
TR
BA
Status
Number Indicator Description Section
CC Cable Check 8.1.1
RD Remote Bus Disable 8.1.2
TR Transmit/Receive 8.1.3
BA Bus Active 8.1.4
UL 1 Bus Voltage 8.1.5
Monitor Lang
Highlight item Press F2 key to
clear event queue
Highlight Diagnostics icon
Communications
Network
Protocol Interbus
Data Rates 500 K
Drive
Protocol DPI
Data Rates 125 K or 500 K
Electrical
Consumption 450 mA at 5 V supplied through the drive
Mechanical
Dimensions
Height 19 mm (0.75 in)
Length 86 mm (3.33 in)
Width 78.5 mm (3.09 in)
Environmental
Temperature
Operating -10 to +50°C (14 to 149°F)
Storage -40 to +85°C (-40 to 185°F)
Regulatory Compliance
UL 508C and CUL
3 Ref/Fdbk Size
Range: 0 = 16-bit
1 = 32-bit
Default: 0 = 16-bit
Type: Read Only
Reset Required: N/A
Size of the Reference/Feedback. The drive determines the size of
the Reference/Feedback.
4 Datalink Size
Range: 0 = 16-bit
1 = 32-bit
Default: 0 = 16-bit
Type: Read Only
Reset Required: N/A
Size of each Datalink word. The drive determines the size of
Datalinks.
Cm link A
Da link B
No Used
Da sed
No Used
ef
Da alink
Da link
d/R
1 = I/O Enabled
tU
ta
ta
t
t
t
0 = I/O Disabled
No
x x x 0 0 0 0 1 x =Not Used
7 6 5 4 3 2 1 0
tali C
D
Cm link A
Da k B
No Used
Da sed
No Used
ef
Da alink
Da link
d/R
1 = I/O Enabled
tU
ta
ta
t
t
t
0 = I/O Disabled
No
x x x 0 0 0 0 1 x =Not Used
7 6 5 4 3 2 1 0
The bit definitions will depend on the product to which the module is
connected.
Sets the Reference data that is sent to the drive if any of the
following is true:
• Comm Flt Action (6) is set to Send Flt Cfg and communications
are disrupted.
• Idle Flt Action (7) is set to Send Flt Cfg and the scanner is put into
Program mode.
Important: If the drive uses a 16-bit Reference, the most significant
word of this value must be set to zero (0) or a fault will
occur.
12 Flt Cfg A1
13 Flt Cfg A2
14 Flt Cfg B1
15 Flt Cfg B2
16 Flt Cfg C1
17 Flt Cfg C2
18 Flt Cfg D1
19 Flt Cfg D2
Range: 0 to 4294967295
Default: 0
Type: Read/Write
Reset Required: No
Sets the data that is sent to the Datalink in the drive if any of the
following is true:
• Comm Flt Action (6) is set to Send Flt Cfg and communications
are disrupted.
• Idle Flt Action (7) is set to Send Flt Cfg and the scanner is put into
Program mode.
21 PIDD W0 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
22 PIDD W1 Cfg
Range: See table B.1
Default: 0x2F9B (Feedback)
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
23 PIDD W1 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
25 PIDD W2 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
26 PIDD W3 Cfg
Range: See table B.1
Default: 0
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
27 PIDD W3 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
29 PIDD W4 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
30 PIDD W5 Cfg
Range: See table B.1
Default: 0
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
31 PIDD W5 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
33 PIDD W6 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
34 PIDD W7 Cfg
Range: See table B.1
Default: 0
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
35 PIDD W7 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
37 PIDD W8 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
38 PODD W0 Cfg
Range: See table B.1
Default: 0X2F98
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
39 PODD W0 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
41 PODD W1 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
42 PODD W2 Cfg
Range: See table B.1
Default: 0
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
43 PODD W2 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
45 PODD W3 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
46 PODD W4 Cfg
Range: See table B.1
Default: 0
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
47 PODD W4 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
49 PODD W5 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
50 PODD W6 Cfg
Range: See table B.1
Default: 0
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
51 PODD W6 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
53 PODD W7 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
54 PODD W8 Cfg
Range: See table B.1
Default: 0
Type: Read/Write
Reset Required: No (becomes active when Interbus network is
restarted)
55 PODD W8 Actual
Range: See table B.1
Default: N/A
Type: Read Only
Reset Required: N/A
Input Output
Value Value Value Value
(Hex) (Dec) Selects (Hex) (Dec) Selects
2F9A 12186 Logic Status 2F98 12184 Logic
Command
2F9B 12187 Feedback 2F99 12185 Reference
2FA4 12196 Datalink A1 Out 2F9C 12188 Datalink A1 In
2FA5 12197 Datalink A2 Out 2F9D 12189 Datalink A2 In
2FA6 12198 Datalink B1 Out 2F9E 12190 Datalink B1 In
2FA7 12199 Datalink B2 Out 2F9F 12191 Datalink B2 In
2FA8 12200 Datalink C1 Out 2FA0 12192 Datalink C1 In
2FA9 12201 Datalink C2 Out 2FA1 12193 Datalink C2 In
2FAA 12202 Datalink D1 Out 2FA2 12194 Datalink D1 In
2FAB 12203 Datalink D2 Out 2FA3 12195 Datalink D2 In
Logic Bits
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Command Description
x Stop 0 = Not Stop
1 = Stop
x Start 1 0 = Not Start
1 = Start
x Jog 0 = Not Jog
1 = Jog
x Clear Faults 0 = Not Clear Faults
1 = Clear Faults
x x Direction 00 = No Command
01 = Forward Command
10 = Reverse Command
11 = Hold Direction Control
x Local Control 0 = No Local Control
1 = Local Control
x MOP 0 = Not Increment
Increment 1 = Increment
x x Accel Rate 00 = No Command
01 = Accel Rate 1 Command
10 = Accel Rate 2 Command
11 = Hold Accel Rate
x x Decel Rate 00 = No Command
01 = Decel Rate 1 Command
10 = Decel Rate 2 Command
11 = Hold Decel Rate
Logic Bits
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Status Description
x Ready 0 = Not Ready
1 = Ready
x Active 0 = Not Active
1 = Active
x Command 0 = Reverse
Direction 1 = Forward
x Actual 0 = Reverse
Direction 1 = Forward
x Accel 0 = Not Accelerating
1 = Accelerating
x Decel 0 = Not Decelerating
1 = Decelerating
x Alarm 0 = No Alarm
1 = Alarm
x Fault 0 = No Fault
1 = Fault
x At Speed 0 = Not At Reference
1 = At Reference
x x x Local 000 = Port 0 (TB)
Control 001 = Port 1
010 = Port 2
011 = Port 3
100 = Port 4
101 = Port 5 “Network”
110 = Port 6
111 = No Local
data rate - The data rate is the speed at which data is transferred
on the Interbus network (fixed at 500 K).
Glossary Glossary-1
DPI product - A device that uses the DPI communications interface
to communicate with one or more peripheral devices. For example,
a motor drive such as an SP600 drive is a DPI product. In this
manual, a DPI product is also referred to as “product” or “host.”
status indicators - LEDs that are used to report the status of the
module, network, and drive. They are on the module and can be
viewed on the front cover of the drive when the drive is powered.
Glossary Glossary-3
Glossary-4 Interbus Communications Module
INDEX
A events
codes and descriptions, 8-6
assistance, technical, 1-2 viewing and clearing, 8-5
examples
datalinks, 6-6
B PCP message read, 7-7
BA status indicator, 8-3 PCP write messages, 7-12
bus active (BA) status indicator, 8-3 SLC ladder for PCP, 7-16
bus in Interbus connector SLC ladder logic program, 6-6
location of, 2-1 Explicit Messaging, using, 7-1
terminals, 3-2
bus out Interbus connector F
location of, 2-1
terminals, 3-2 fault action, setting, 4-5
bus voltage (UL) status indicator, 8-3 fault configuration parameters,
setting, 4-6
Flt Cfg A1 (12), B-6
C Flt Cfg A2 (13), B-6
cable check (CC) status indicator, 8-2 Flt Cfg B1 (14), B-6
cables, Internal Interface, 3-4 Flt Cfg B2 (15), B-6
CC status indicator, 8-2 Flt Cfg C1 (16), B-6
CMD software, 5-1 Flt Cfg C2 (17), B-6
Comm Flt Action (6), B-3 Flt Cfg D1 (18), B-6
communications specifications, A-1 Flt Cfg D2 (19), B-6
configuration tools, 4-1 Flt Cfg Logic (10), B-5
connector Flt Cfg Ref (11), B-6
bus in Interbus, 2-1
bus out Interbus, 2-1 G
DPI, 2-1
grounding the module, 3-5
D
I
Datalink Size (4), B-2
Datalinks, using, 6-4 I/O configuration, 4-2
dimensions, module, A-1 I/O messaging, using, 6-1 to 6-12
DPI connector, 2-1 installation checklist, 2-3
DPI Data Rate (2), B-2 Internal Interface cable, 3-4
DPI I/O Active (9), B-5
DPI I/O Config (8), B-4
DPI Port (1), B-2
L
LCD OIM see OIM
E Logic Command/Status words, C-1 to
C-3
equipment required for installation, 2-2 Logic Command/Status, using, 6-4
Index Index-1
M PIDD W4 Cfg (28), B-9
PIDD W5 Actual (31), B-9
mechanical specifications, A-1 PIDD W5 Cfg (30), B-9
module PIDD W6 Actual (33), B-10
components, 2-1 PIDD W6 Cfg (32), B-10
configuration, viewing, 4-8 PIDD W7 Actual (35), B-10
configuring, 4-1 to 4-9 PIDD W7 Cfg (34), B-10
connecting to drive, 3-4 PIDD W8 Actual (37), B-11
connecting to network, 3-1 PIDD W8 Cfg (36), B-11
diagnostics items, 8-3 PODD W0 Actual (39), B-11
dimensions, A-1 PODD W0 Cfg (38), B-11
features, 1-1 PODD W1 Actual (41), B-12
grounding, 3-5 PODD W1 Cfg (40), B-12
installing, 3-1 to 3-6 PODD W2 Actual (43), B-12
mounting, 3-5 PODD W2 Cfg (42), B-12
parameters, B-1 to B-16, ?? to PODD W3 Actual (45), B-13
B-16 PODD W3 Cfg (44), B-13
resetting, 4-7 PODD W4 Actual (47), B-13
specifications, A-1 PODD W4 Cfg (46), B-13
troubleshooting, 8-1 to 8-7 PODD W5 Actual (49), B-14
mounting the module, 3-5 PODD W5 Cfg (48), B-14
PODD W6 Actual (51), B-14
PODD W6 Cfg (50), B-14
N PODD W7 Actual (53), B-15
network PODD W7 Cfg (52), B-15
configuring using CMD PODD W8 Actual (55), B-15
software, 5-1, 5-3 PODD W8 Cfg (54), B-15
sample wiring, 3-3 power consumption, A-1
protocol, A-1
publications, related, 1-2
O
OIM (Operator Interface Module) R
configuring the module with, 4-2
RD status indicator, 8-2
Ref/Fdbk Size (3), B-2
P Reference/Feedback, using, 6-4
parameters, Interbus module, B-1 to regulatory compliance, A-1
Reliance Electric, getting assistance
B-16, ?? to B-16
from, 1-2
PCP Comm Act (57), B-16
Remote bus disable (RD) status
PCP Comm Cfg (56), B-16
indicator, 8-2
PCP communications, 7-3
Reset Module (5), B-3
PIDD / PODD Indexes, B-16
PIDD W0 Actual (21), B-7
PIDD W0 Cfg (20), B-7 S
PIDD W1 Actual (23), B-7
PIDD W1 Cfg (22), B-7 scanner
PIDD W2 Actual (25), B-8 configuring, 5-16
PIDD W2 Cfg (24), B-8 I/O layout, 5-10
PIDD W3 Actual (27), B-8 scanner mapping / SLC addressing, 5-9
PIDD W3 Cfg (26), B-8 specifications, A-1
PIDD W4 Actual (29), B-9 status indicators, 8-1
Index Index-3
Index-4 Interbus Communications Module
U.S. Drives Technical Support
Tel: (1) 262.512.8176, Fax: (1) 262.512.2222, Email: [email protected], Online: www.ab.com/support/abdrives
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Publication D2-3480-1 - February 2002 Copyright © 2002 Rockwell Automation, Inc. All Rights Reserved. Printed in USA.