Gateway Prolink
Gateway Prolink
Gateway Prolink
ProLinx Gateway
EtherNet/IP Explicit Messaging
Client/Server
PROTOCOL MANUAL
Your Feedback Please
We always want you to feel that you made the right decision to use our products. If you have suggestions, comments,
compliments or complaints about our products, documentation, or support, please write or call us.
How to Contact Us
ProSoft Technology
5201 Truxtun Ave., 3rd Floor
Bakersfield, CA 93309
+1 (661) 716-5100
+1 (661) 716-5101 (Fax)
www.prosoft-technology.com
[email protected]
® ® ® ® ®
ProSoft Technology , ProLinx , inRAx , ProTalk , and RadioLinx are Registered Trademarks of ProSoft
Technology, Inc. All other brand or product names are or may be trademarks of, and are used to identify products
and services of, their respective owners.
Contents
Your Feedback Please ........................................................................................................................ 2
How to Contact Us .............................................................................................................................. 2
®
ProSoft Technology Product Documentation .................................................................................... 2
Important Installation Instructions ....................................................................................................... 3
®
ProLinx Products Warnings ............................................................................................................... 3
ProLinx Gateways with Ethernet Ports ............................................................................................... 3
To upgrade a previously purchased Series C model: .................................................................... 3
1 Start Here 9
1.1 System Requirements ............................................................................................. 10
1.2 Package Contents ................................................................................................... 11
1.3 Mounting the Module on the DIN-rail ...................................................................... 12
1.4 Connecting Power to the Unit ................................................................................. 13
1.5 Installing ProSoft Configuration Builder Software ................................................... 14
1.5.1 Using the Online Help ............................................................................................. 14
2 Functional Overview 15
2.1 EtherNet/IP (Explicit Messaging) Compatible Devices ........................................... 16
2.2 EtherNet/IP (DFNT) Port ......................................................................................... 17
2.2.1 ProLinx DFNT Client Counts ................................................................................... 18
2.2.2 Module Internal Database ....................................................................................... 19
2.2.3 DFNT EtherNet/IP Client Access to Database ........................................................ 19
2.3 DFNT Server Access to Database .......................................................................... 20
2.3.1 EtherNet/IP Explicit Messaging Server Command Support .................................... 22
2.3.2 Basic Command Set Functions ............................................................................... 22
2.3.3 PLC-5 Command Set Functions ............................................................................. 22
2.3.4 SLC-500 Command Set Functions ......................................................................... 22
2.4 Other Ethernet Services (HTTP/FTP) ..................................................................... 23
2.5 Installing the .EDS file with RSLinx ......................................................................... 24
2.6 Browsing the module using RSLinx ........................................................................ 28
5 Reference 69
5.1 Command Function Codes ..................................................................................... 70
5.2 General Command Structure .................................................................................. 71
5.2.1 Function Code #1 - Protected Write (Basic Command Set) ................................... 72
5.2.2 Function Code #2 - Unprotected Read (Basic Command Set) .............................. 72
5.2.3 Function Code #3 - Protected Bit Write (Basic Command Set) .............................. 73
5.2.4 Function Code #4 - Unprotected Bit Write (Basic Command Set) ......................... 73
5.2.5 Function Code #5 - Unprotected Write (Basic Command Set) ............................... 74
5.2.6 Function Code #100 - Word Range Write (PLC-5 Command) (Binary Address) ... 75
5.2.7 Function Code #101 - Word Range Read (PLC-5 Command) (Binary Address) ... 76
5.2.8 Function Code #102 - Read-Modify-Write (PLC-5 Command) (Binary Address) ... 77
5.2.9 Function Code #150 - Word Range Write (PLC-5 Command) (ASCII Address) .... 78
5.2.10 Function Code #151 - Word Range Read (PLC-5 Command) (ASCII Address) .... 78
5.2.11 Function Code #152 - Read-Modify-Write (PLC-5 Command) (ASCII Address) .... 79
5.2.12 Function Code #501 - Protected Typed Logical Read (Two Address Fields) ......... 80
5.2.13 Function Code #502 - Protected Typed Logical Read (Three Address Fields) ...... 81
5.2.14 Function Code #509 - Protected Typed Logical Write (Two Address Fields) ......... 82
5.2.15 Function Code #510 - Protected Typed Logical Write (Three Address Fields) ...... 83
5.2.16 Function Code #511 - Protected Typed Logical Write with Mask (Three Address
Fields) 84
5.3 PLC-5 Processor Specifics...................................................................................... 85
5.3.1 PLC-5 Sub-Element Codes ..................................................................................... 85
5.4 SLC Processor Specifics ......................................................................................... 87
5.4.1 SLC File Types ........................................................................................................ 87
5.5 MicroLogix Processor Specifics .............................................................................. 88
5.5.1 SLC File Types ........................................................................................................ 88
5.6 ControlLogix Processor Specifics ........................................................................... 89
5.7 RSLinx Software ...................................................................................................... 90
5.7.1 DDE Connection ...................................................................................................... 93
5.7.2 OPC Connection ..................................................................................................... 97
5.8 RSView Software .................................................................................................. 100
5.9 ControlLogix (CLX) Processor .............................................................................. 103
5.9.1 Encapsulated PCCC Messages ............................................................................ 103
5.9.2 CIP Data Table Operations ................................................................................... 107
5.10 PLC5 Processor .................................................................................................... 111
5.10.1 PLC5 Write Commands......................................................................................... 111
5.10.2 PLC5 Read Commands ........................................................................................ 112
5.11 SLC 5/05 Processor .............................................................................................. 114
5.11.1 SLC5/05 Write Commands.................................................................................... 114
5.11.2 SLC5/05 Read Commands ................................................................................... 115
5.12 DFNT Command Entry Form ................................................................................ 117
Index 123
1 Start Here
In This Chapter
System Requirements ........................................................................... 10
Package Contents ................................................................................. 11
Mounting the Module on the DIN-rail ..................................................... 12
Connecting Power to the Unit ................................................................ 13
Installing ProSoft Configuration Builder Software .................................. 14
Important: Before beginning the installation, please verify that all of the following items are
present.
WARNING: Ensure that you do not reverse polarity when applying power to the module. This will
cause damage to the module’s power supply.
Note: Many of the configuration and maintenance procedures use files and other utilities on the
CD-ROM. You may wish to copy the files from the Utilities folder on the CD-ROM to a convenient
location on your hard drive.
2 Functional Overview
In This Chapter
EtherNet/IP (Explicit Messaging) Compatible Devices .......................... 16
EtherNet/IP (DFNT) Port ....................................................................... 17
DFNT Server Access to Database ........................................................ 20
Other Ethernet Services (HTTP/FTP) .................................................... 23
Installing the .EDS file with RSLinx ....................................................... 24
Browsing the module using RSLinx ....................................................... 28
The ProLinx EtherNet/IP (DFNT) driver can be used to interface many different
protocols into the Rockwell Automation family of processors as well as other
software-based solutions. The DFNT driver supports Client connections as well
as Server connections. With the addition of the WEB hardware option, the
module also provides HTTP, FTP and Email capability.
The Ethernet driver interfaces with a common internal database in the module.
This permits the sharing of data across many different networks. Rockwell
Automation processors supported on the TCP/IP network include ControlLogix,
PLC5 Ethernet and SLC 5/05.
The module also supports unconnected client through the UClient section.
Unconnected messaging is a type of Ethernet/IP explicit message that uses
TCP/IP implementation. Certain devices, such as the AB Power Monitor 3000
series B, support unconnected messaging. Check your device documentation for
further information about its Ethernet/IP implementation.
The following illustration shows the functionality of the DFNT driver.
Server functionality places all data transfer operations outside the module. There
is no configuration required in the module other than setting up the network and
database parameters in the configuration file. Ladder logic in attached
processors use MSG instructions to perform read and write operations on the
module’s internal database.
When RSLinx links a user application to the module, the module’s server
functionality must be used. RSLinx exists on an Ethernet network only as a client
application. It cannot act as a server. User applications can use the DDE/OPC
capabilities built into RSLinx to interface with the data in the DFNT module.
RSView can link directly to the module using drivers supplied by RSLinx.
The internal database of the DFNT module is used as the source (read requests)
and destination (write requests) for requests from remote clients. Access to the
database depends on the MSG command type executed to interface with the
database. The following table defines the relationship of the module’s internal
database to the addresses required in the MSG instructions:
Data Type Tag Name Length of Each Element in Array Range for 4000
CIP message Element Database
BOOL BOOLData[ ] 1 0 to 63999
Bit Array BITAData[ ] 4 0 to 1999
SINT SINTData[ ] 1 0 to 7999
INT INT_Data[ ] 2 0 to 3999
DINT DINTData[ ] 4 0 to 1999
REAL REALData[ ] 4 0 to 1999
Before attempting to use the module on a network, verify that the DFNT module
is correctly configured and connected to the network. A network program such as
PING can be utilized to make certain the module can be seen on the network.
Use ProSoft Configuration Builder to verify correct operation, and to transfer
configuration files to and from the module.
Important: The WEB option is an additional hardware component that is installed on the module
during manufacturing. If the WEB option is not installed, the following features are not enabled.
The module contains an HTTP server to serve Web pages containing database
data and error/status values present in the module’s internal database to a Web
browser. The pages presented can be those built into the module or custom
designed by the user. Additionally, Web pages can be constructed to alter (write)
the values contained in the module’s database.
An FTP server is present to handle file operations controlled from a remote
computer on the network.
The following table describes the capabilities of the WEB option.
Type Specifications
HTML Server (See Key features of the HTML server include:
note below) Max HTML page size: 1MB
Max File Storage: 32MB
Supported context types: jpeg, bmp, css
Supported data types: bit, ASCII, integer, float
Sockets: Up to ten connections. Note that this limits the number of
simultaneous graphic file and frame references per HTML page
FTP Server Permits remote HTML file transfer between the module and remote host.
Capabilities of the FTP Server include:
Single socket connection
Non-passive transfers only
WS_FTP or Command Line FTP recommended
CuteFTP, Internet Explorer, Netscape, or NCFTP all support multiple socket
connections and therefore will not support the ProLinx module
For detailed information on these services, refer to the WEB Driver Manual.
3 Select Single File and Browse the .EDS file in your computer. Make sure that
the same folder contains the .ICO file (ProLinx ICON). Click on the Next
button.
4 Select the file once it was evaluated for errors and click the Next button.
5 This window displays how the module will be displayed. Click on the Next
button
5 Configure the IP addresses for any other EtherNet/IP devices on the network.
2 On the shortcut menu, choose CHOOSE MODULE TYPE. This action opens the
Choose Module Type dialog box.
3 In the Product Line Filter area of the dialog box, select the appropriate
product type radio button.
4 In the STEP 1: Select Module Type dropdown list, select the model number
that matches your module, and then click OK to save your settings and return
to the PCB Main window.
At this time, you may wish to rename the Default Project and Default Location
folders in the tree view.
1 Select the object, and then click the right mouse button to open a shortcut
menu. From the shortcut menu, choose RENAME.
2 Type the name to assign to the object.
3 Click away from the object to save the new name.
If the module is configured for the serial DF1 half-duplex protocol, the module
can act as a master device routing messages between attached slave devices.
This peer-to-peer communication is defined in the DF1 protocol specification.
The master polls each DF1 slave device until no more data is available from the
device. Response messages from the slaves that have a destination address that
do not match the module are routed with a request message header back out
onto the network. This facility offers communication between the slave devices
for control and data monitoring. This feature is not available if the module is
configured for DF1 full-duplex mode (point-to-point).
The module supports numerous commands. This permits the module to interface
with a wide variety of DF1 protocol devices. This includes PLC2, PLC5, SLC-500
series, MicroLogix and ControlLogix processors. Additionally, other devices
supplied by Rockwell Automation that use the DF1 protocol are supported.
The format of each command in the list depends on the function being executed.
To simplify command construction, the module uses its own set of function codes
to associate a command with a DF1 command/function type. The tables below
list the functions supported by the module:
Each command list record has the same general format. The first part of the
record contains the information relating to the communication module and the
second part contains information required to interface to the DF1 or EtherNet/IP
slave device.
The first part of the record is the Module Information, which relates to the
module. The second part contains information required to interface to the Server
device. An example of a command list section of the configuration file is shown in
the following illustration.
3.6.3 To Address
0 to 3999
This parameter specifies the beginning destination register address for the copy
operation. This address must always be within the User Data registers area.
Take care to specify a destination address that will not overwrite data that has
been stored in memory by one of the communication protocols running on the
gateway.
You may need to swap the order of the bytes in the registers during the copy
process in order to change the alignment of bytes between dissimilar protocols.
This parameter is helpful when dealing with floating-point or other multi-register
values, as there is no standard method of storage of these data types in slave
devices.
The following table defines the values and their associated operations:
3.8 Downloading the Project to the Module Using a Serial COM port
For the module to use the settings you configured, you must download (copy) the
updated Project file from your PC to the module.
1 In the tree view in ProSoft Configuration Builder, click once to select the
module.
2 Open the Project menu, and then choose MODULE/DOWNLOAD. The program
will scan your PC for a valid com port (this may take a few seconds). When
PCB has found a valid COM port, the Download dialog box will open.
3 Choose the COM port to use from the dropdown list, and then click the
DOWNLOAD button.
The module will perform a platform check to read and load its new settings.
When the platform check is complete, the status bar in the Download dialog
box will display the message Module Running.
In This Chapter
Using ProSoft Configuration Builder (PCB) for Diagnostics................... 52
Base Module LEDs ................................................................................ 56
Client Error/Status Data......................................................................... 57
EtherNet/IP Client Command List Error Data ........................................ 61
Error Codes ........................................................................................... 62
TCP/IP Interface Errors ......................................................................... 66
1 Click to configure the connection. On the Connection Setup dialog box, select
a valid com port or other connection type supported by the module.
2 Verify that the null modem cable is connected properly between your
computer’s serial port and the module. A regular serial cable will not work.
3 On computers with more than one serial port, verify that your communication
program is connected to the same port that is connected to the module.
If you are still not able to establish a connection, contact ProSoft Technology for
assistance.
4.1.3 Navigation
All of the submenus for this module contain commands to redisplay the menu or
return to the previous menu. You can always return from a submenu to the next
higher menu by pressing [M] on your keyboard.
The organization of the menu structure is represented in simplified form in the
following illustration:
The remainder of this section shows the menus available for this module, and
briefly discusses the commands available to you.
Keystrokes
The keyboard commands on these menus are usually not case sensitive. You
can enter most commands in lowercase or uppercase letters.
The menus use a few special characters (?, -, +, @) that must be entered exactly
as shown. Some of these characters will require you to use the SHIFT, CTRL, or
ALT keys to enter them correctly. For example, on US English keyboards, enter
the ? command as SHIFT and /.
Also, take care to distinguish the different uses for uppercase letter "eye" (I),
lowercase letter "el" (L), and the number one (1). Likewise, uppercase letter "oh"
(O) and the number zero (0) are not interchangeable. Although these characters
look alike on the screen, they perform different actions on the module and may
not be used interchangeably.
Note: The ProLinx Reference Guide contains detailed information on accessing the contents of the
following registers.
The following table defines the values represented in the Connection State
parameter:
State Definition
0 No session exists on socket
1 Session established but no connections
2 Session established and connected
Refer to Error Codes to interpret the status/error codes present in the data area.
Note that the values in the Command List Error Status tables are initialized to
zero(0) at power-up, cold boot and during warm boot. Refer to the following topic
containing Error Codes to interpret the status/error codes present in the data
area.
Note: The Module Specific error codes (not DF1 compliant) are returned from within the module
and never returned from an attached DF1 slave device. These are error codes that are part of the
DF1 protocol or are extended codes unique to this module. The standard DF1 error codes can be
found in the DF1 Protocol and Command Set Reference Manual (Publication 1770-6.5.16) from
Rockwell Automation. The most common errors for the DF1 protocol are shown in the following
tables:
Note: When the client gets error -47 or -48, it uses the adjustable ARP Timeout parameter in the
configuration file to set an amount of time to wait before trying again to connect to this non-existent
server. This feature allows the client to continue sending commands and polling other existing
servers, while waiting for the non-existent server to appear on the network.
5 Reference
In This Chapter
Command Function Codes .................................................................... 70
General Command Structure................................................................. 71
PLC-5 Processor Specifics .................................................................... 85
SLC Processor Specifics ....................................................................... 87
MicroLogix Processor Specifics ............................................................. 88
ControlLogix Processor Specifics .......................................................... 89
RSLinx Software .................................................................................... 90
RSView Software ................................................................................ 100
ControlLogix (CLX) Processor ............................................................. 103
PLC5 Processor .................................................................................. 111
SLC 5/05 Processor ............................................................................ 114
DFNT Command Entry Form............................................................... 117
This function writes one or more words of data into a limited area of the slave
device. This function should work on the following devices: 1774-PLC, PLC-2,
PLC-3, PLC-5 and PLC-5/250.
This function reads one or more words of data from the PLC memory. This
function should work on the following devices: 1774-PLC, PLC-2, PLC-3, PLC-5,
SLC 500, SLC 5/03, SLC 5/04 and MicroLogix 1000.
This function sets or resets individual bits within a limited area of the PLC data
table. This function should work on the following devices: 1774-PLC, PLC-2,
PLC-3 and PLC-5.
This function writes one or more words of data to the PLC memory. This function
should work on the following devices: 1774-PLC, PLC-2, PLC-3, PLC-5, SLC
500, SLC 5/03, SLC 5/04 and MicroLogix 1000.
This function writes one or more words of data to a PLC data table. This function
should work on the following devices: PLC-5.
This function reads one or more words of data from a PLC data table. This
function should work on the following devices: PLC-5.
This function writes one or more words of data to a PLC data table. This function
should work on the following devices: PLC-5. The command constructed
contains an AND mask and an OR mask. Values in the AND mask have the
following definitions: 0=Reset and 1=Leave the Same. Values in the OR mask
have the following definitions: 0=Leave the Same and 1=Set. The module is
responsible for setting the mask values to correctly construct the message from
the virtual database values.
This function writes one or more words of data to a PLC data table. This function
should work on the following devices: PLC-5.
5 Swap Type Code Swap type code for command: Always zero (0).
6 Node Address Address of unit to reach on the data highway.
This function writes one or more words of data to a PLC data table. This function
should work on the following devices: PLC-5. The command constructed
contains an AND mask and an OR mask. Values in the AND mask have the
following definitions: 0=Reset and 1=Leave the Same. Values in the OR mask
have the following definitions: 0=Leave the Same and 1=Set. The module is
responsible for setting the mask values to correctly construct the message from
the virtual database values.
This function reads one or more words of data from a PLC data table.
This function reads one or more words of data from a PLC data table. This
function should work on the following devices: SLC 500, SLC 5/03 and SLC 5/04.
This function writes one or more words of data to a PLC data table.
This function writes one or more words of data to a PLC data table. This function
should work on the following devices: SLC 500, SLC 5/03 and SLC 5/04.
5.2.16 Function Code #511 - Protected Typed Logical Write with Mask
(Three Address Fields)
Column Parameter Description Parameter
1 Enable/Type Word 0=Disabled, 1=Continuous and 2=Conditional.
2 Virtual Database Address This parameter defines the database address of the
data to be associated with the command. The first
word of data contains the bit mask and the second
word contains the data.
3 Poll Interval Minimum time in tenths of a second to wait before
polling with this command.
4 Count Number of data word values to be considered by the
function.
5 Swap Type Code Swap type code for command: Always zero (0).
6 Node Address Address of unit to reach on the data highway.
7 Slot Number Processor slot number in Control/CompactLogix rack.
Use -1 for PLC5 & SLC processors.
8 Function Code = 511 Logical Write with mask
9 File Type SLC file type letter as used in file name string. Valid P1
values for the system are N, S, F, A, ….
10 File Number SLC file number to be associated with the command. P2
11 Element Number The parameter defines the element in the file where P3
write operation will start.
12 Sub-Element Number This parameter defines the sub-element for the P4
command. Refer to the AB documentation for a list of
valid sub-element codes.
This function writes one or more words of data from a PLC data table controlling
individual bits in the table. The bit mask used for the command is 0xFFFF. This
provides direct manipulation of the data in the device with the internal data of the
module. The function requires that all data associated with the command use the
same mask.
Timer / Counter
Code Description
0 Control
1 Preset
2 Accumulated
Control
Code Description
0 Control
1 Length
2 Position
PD*
Code Description
0 Control
2 SP
4 Kp
6 Ki
8 Kd
26 PV
*All PD values are floating point values, so they are two words long.
BT
Code Description
0 Control
1 RLEN
2 DLEN
3 Data file #
4 Element #
5 Rack/Grp/Slot
MG
Code Description
0 Control
1 Error
2 RLEN
3 DLEN
The File Type Command Code is the ASCII character code value of the File Type
letter. This is the value to enter into the "File Type" parameter of the DF1
Command configurations in the data tables in the ladder logic.
Additionally, the SLC specific functions (502, 510 and 511) support a sub-
element field. This field selects a sub-element field in a complex data table. For
example, to obtain the current accumulated value for a counter or timer, the sub-
element field should be set to 2.
The File Type Command Code is the ASCII character code value of the File Type
letter. This is the value to enter into the "File Type" parameter of the DF1
Command configurations in the data tables in the ladder logic.
Additionally, the SLC specific functions (502, 510 and 511) support a sub-
element field. This field selects a sub-element field in a complex data table. For
example, to obtain the current accumulated value for a counter or timer, the sub-
element field should be set to 2.
3 Click the arrow to the right of the Available Driver Types field, and then select
ETHERNET/IP DRIVER from the dropdown list.
4 Click the ADD/NEW button, and then click OK in the ADD NEW RSLINX DRIVER
dialog box.
5 In the CONFIGURE DRIVER dialog box, make sure the Browse Local Subnet
item is selected.
6 Make sure the BROWSE LOCAL SUBNET item is selected. RSLinx software will
browse your local subnet and retrieve the IP address.
7 Click OK to save your settings and dismiss the CONFIGURE DRIVER dialog
box. The new driver will appear in the list of configured drivers.
1 The DDE Client application specifies the DDE link by specifying the
APPLICATION, TOPIC, and ITEM elements. For example, in Excel, enter
=RSLINX|CIP_Sample! 'ReadData[0]' into a cell.
2 RSLinx is the DDE Server: APPLICATION = RSLINX.
And
RSLinx defines the TOPIC.
This is the communication link to the DFNT module. In this example, a DDE
TOPIC is called "CIP_Sample" for the communication link to the DFNT
module.
3 The DFNT module is used to serve data to RSLinx using the EtherNet/IP
driver with explicit messaging. Database is accessed using tag names (e.g.
ReadData[0]).
As discussed in the previous section, RSLinx must be used to define the Topic
element for the DDE link definition. This is accomplished using the following
procedure. It is assumed that the module can be seen in the RSLinx software.
Refer to the RSLinx section of this manual to set up this connection. To define a
new Topic, select the TOPIC CONFIGURATION option on the DDE/OPC menu from
the RSLinx Main Menu. This causes the following dialog box to appear:
Click the NEW button to add a new Topic to the TOPIC LIST. This displays a
default name. Edit the Topic name for the link to be formed. This name should
reflect the unit or location to which the connection is being made. Do not press
the Enter key. Instead, double-click the mouse on the DFNT device you want to
connect to the entered Topic name. The dialog should now appear as follows:
Now select the DATA COLLECTION tab on the dialog box. Fill in the form to define
the characteristics of the DDE link. The following screen shows an example:
You must set the PROCESSOR TYPE to Logix5000. Refer to the RSLinx on-line
help for a discussion of each of the parameters on the form. Next select the
ADVANCED COMMUNICATION tab on the dialog box. The following is displayed
after selecting the tab.
The COMMUNICATION DRIVER should be set to the ETHIP driver. Make sure the
LOCAL option is selected in the LOCAL OR REMOTE ADDRESSING section of the
dialog box. You should not have to alter any data on this tab, as RSLinx knows
the communication path. Now click the APPLY button to implement the options
and to establish the topic.
You are now ready to use the DDE link in a DDE client application. The following
example shows how to define a DDE link in an Excel Spreadsheet. It is also
possible to define a DDE link in a Visual Basic program. Any other Windows DDE
client application could be used including SoftLogix and RSSql.
This causes the current value at the database double-word offset 500 (starting at
word address 1000) in the DFNT module to be displayed in the cell as a floating-
point value. This value updates at the frequency defined in the Topic
configuration in RSLinx. You can now place any database point in the DFNT
module using the same procedure in your work sheet. Note that the tag array
name is used for the item property and must be enclosed within the quote marks.
This is because the tag array name item reference looks like an Excel work sheet
reference. If you do not include the quotes, a formula error occurs. You can
select any of the defined tag array names defined in the module on your
spreadsheet.
When the items are used for the topic, RSLinx displays the following after
selecting the Active Topic/Items command on the DDE/OPC menu option:
Any DDE compliant program can be used in the same manner. For maximum
utility Visual Basic applications can be used to interface with module’s database
using DDE connectivity.
Next, add items to the client. The following shows an example dialog used to add
a floating-point data item:
It is important to set the Access Path value to the Topic name assigned in
RSLinx and to set the Item Name to a valid controller tag in the DFNT module.
The Datatype parameter must be set to match that of the controller tag. In the
example shown, the VT_R4 data type is selected for the floating-point tag. The
Validate button can be used to verify that the point is valid in the OPC server.
After configuring the new data item, click OK to add the point. The following
illustration shows the new item and event windows.
You have now connected an OPC client to data in the DFNT module. In order to
change the value for the item, select the Sync Write option from the Item menu
and enter a new value as shown in the following dialog box:
Click OK to transfer the new value to the module. The following illustration shows
the updated item data window.
Select the NETWORK TYPE and PRIMARY COMMUNICATION DRIVER for the channel
to be associated with the DFNT module. The NETWORK TYPE should be TCP/IP
and the PRIMARY COMMUNICATION DRIVER name should match that set up in
RSLinx. Click OK to save the information.
Next select the NODE option from the EDIT MODE tab. After selecting the option,
the following dialog box is displayed:
Enter a record in the dialog box for the DFNT module to be addressed. The
NAME field identifies the module to the RSView system. The CHANNEL parameter
should be that defined in the channel set up defined above. The STATION
parameter should be set to the IP address of the DFNT module. Select the
CLOSE button after completing the node entry. If your version of the RSView
supports ControlLogix controller tag read and write operations, select the device
type consistent with the ControlLogix processor. This will permit direct access to
the controller tags simulated in the module. Use of controller tags simplifies
handling of the data in RSView as the data will be passing in the correct data
format (that is, bit, word, float).
Next select the TAG DATABASE option from the EDIT MODE tab. After selecting the
option, the following dialog box is displayed:
Set up tags for each element to be transferred between RSView and the DFNT
module. In the example above, DATA1 is associated with the first element in the
DFNT module’s database (N10:0). A tag should be setup for each register in the
module’s database to be interfaced. If RSView is set in run mode, values for the
tags should match those in the module’s database. Use the module controller tag
names if using CIP data table read and write operations.
Refer to the RSView documentation for a full discussion of database tags and
reading and writing data between RSView and a processor.
The MESSAGE CONFIGURATION dialog box must be completed to define the data
set to be transferred from the processor to the module. An example of the dialog
box follows:
Complete the dialog box for the data area to be transferred. For PLC5 and SLC
messages, the DESTINATION ELEMENT should be an element in a data file (such
as, N10:0). For the PLC2 Unprotected Write message, the DESTINATION ELEMENT
is the address in the module’s internal database and cannot be set to a value
less than ten. This is not a limitation of the module but of the RSLogix software.
For a PLC2 unprotected write or read function, the database address should be
entered in octal format. Additionally, the COMMUNICATION information must also
be configured. The following is an example of the dialog box.
Verify that the CIP radio-button is selected as the COMMUNICATION METHOD. The
PATH specifies the message route from the ControlLogix processor to the DFNT
module. Path elements are separated by commas. In the example path shown,
the first element is "Enet", which is the user-defined name given to the 1756-
ENET module in the chassis (you could substitute the slot number of the ENET
module for the name), the second element, "2", represents the Ethernet port on
the 1756-ENET module, and the last element of the path, "192.168.0.75", is the
IP address of the DFNT module, the target for the message.
More complex paths are possible if routing to other networks using multiple 1756-
ENET modules and racks. Refer to the Rockwell Automation Support
Knowledgebase for more information on Ethernet routing and path definitions.
The MESSAGE CONFIGURATION dialog box must be completed to define the data
set to transfer to the processor from the module. An example of the dialog box
follows:
Complete the dialog box for the data area to be transferred. For PLC5 and SLC
messages, the SOURCE ELEMENT should be an element in a data file (such as,
N10:0). For the PLC2 Unprotected Read message, the SOURCE ELEMENT is the
address in the module’s internal database and cannot be set to value less than
ten. This is not a limitation of the module but of the RSLogix software.
Additionally, the COMMUNICATION information must also be configured. An
example of the dialog box follows:
Verify that the CIP radio-button is selected as the COMMUNICATION METHOD. The
PATH specifies the message route from the ControlLogix processor to the DFNT
module. Path elements are separated by commas. In the example path shown,
the first element is "Enet", which is the user-defined name given to the 1756-
ENET module in the chassis (you could substitute the slot number of the ENET
module for the name), the second element, "2", represents the Ethernet port on
the 1756-ENET module, and the last element of the path, "192.168.0.75", is the
IP address of the DFNT module, the target for the message.
More complex paths are possible if routing to other networks using multiple 1756-
ENET modules and racks. Refer to the Rockwell Automation Support
Knowledgebase for more information on Ethernet routing and path definitions.
The MESSAGE CONFIGURATION dialog box must be completed to define the data
set to be transferred from the processor to the module. An example of the dialog
box follows:
Complete the dialog box for the data area to be transferred. CIP Data Table
messages require a tag database element for both the source and destination.
The SOURCE TAG is a tag defined in the ControlLogix Tag database. The
DESTINATION ELEMENT is the tag element in the DFNT module.
The module simulates a tag database as an array of elements defined by the
maximum register size for the module (user configuration parameter "Maximum
Register" in the [Module] section) with the tag name INT_DATA.
In the previous example, the first element in the database is the starting location
for the write operation of ten elements. Additionally, the COMMUNICATION
information must also be configured. An example of the dialog box follows:
Verify that the CIP radio-button is selected as the COMMUNICATION METHOD. The
PATH specifies the message route from the ControlLogix processor to the DFNT
module. Path elements are separated by commas. In the example path shown,
the first element is "Enet", which is the user-defined name given to the 1756-
ENET module in the chassis (you could substitute the slot number of the ENET
module for the name), the second element, "2", represents the Ethernet port on
the 1756-ENET module, and the last element of the path, "192.168.0.75", is the
IP address of the DFNT module, the target for the message.
More complex paths are possible if routing to other networks using multiple 1756-
ENET modules and racks. Refer to the Rockwell Automation Support
Knowledgebase for more information on Ethernet routing and path definitions.
The MESSAGE CONFIGURATION dialog box must be completed to define the data
set to transfer to the processor from the module. An example of the dialog box
follows:
Complete the dialog box for the data area to be transferred. CIP Data Table
messages require a tag database element for both the source and destination.
The DESTINATION TAG is a tag defined in the ControlLogix Tag database. The
SOURCE ELEMENT is the tag element in the DFNT module. The module simulates
a tag database as an array of elements defined by the maximum register size for
the module (user configuration parameter "Maximum Register" in the [Module]
section) with the tag name INT_DATA. In the example above, the first element in
the database is the starting location for the read operation of ten elements.
Additionally, the COMMUNICATION information must also be configured. An
example of the dialog box follows:
Verify that the CIP radio-button is selected as the COMMUNICATION METHOD. The
PATH specifies the message route from the ControlLogix processor to the DFNT
module. Path elements are separated by commas. In the example path shown,
the first element is "Enet", which is the user-defined name given to the 1756-
ENET module in the chassis (you could substitute the slot number of the ENET
module for the name), the second element, "2", represents the Ethernet port on
the 1756-ENET module, and the last element of the path, "192.168.0.75", is the
IP address of the DFNT module, the target for the message.
More complex paths are possible if routing to other networks using multiple 1756-
ENET modules and racks. Refer to the Rockwell Automation Support
Knowledgebase for more information on Ethernet routing and path definitions.
In order to complete the configuration of the MSG instruction, select the SETUP
SCREEN area of the MSG object. This displays the following dialog box.
The MULTIHOP option must be set to YES. The MULTIHOP tab portion of the dialog
box must be completed as shown in the following window:
Set the IP address value to the module’s Ethernet IP address. You must press
the "Insert" key to add the second line for ControlLogix Backplane and set the
slot number to zero.
In order to complete the configuration of the MSG instruction, select the SETUP
SCREEN area of the MSG object. This displays the following dialog box.
The TARGET DEVICE DATA TABLE ADDRESS must be set to a valid file element
(such as, N11:0) for SLC and PLC5 messages. For the PLC2 Unprotected Read
message, set the address to the database index (such as, 1000) to consider with
the command.
The MULTIHOP option must be set to YES. The MULTIHOP tab portion of the dialog
box must be completed as shown in the following window:
Set the IP address value to the module’s Ethernet IP address. You must press
the "Insert" key to add the second line for ControlLogix Backplane and set the
slot number to zero.
Set the READ/WRITE parameter to WRITE. The module supports a TARGET DEVICE
parameter value of 500CPU or PLC5. In order to complete the configuration of
the MSG instruction, select the SETUP SCREEN area of the MSG object. This
displays the following dialog box.
The TARGET DEVICE DATA TABLE ADDRESS must be set to a valid file element
(such as, N11:0) for SLC and PLC5 messages. The MULTIHOP option must be
set to YES. The MULTIHOP tab portion of the dialog box must be completed as
displayed in the following window:
Set the IP address value to the module’s Ethernet IP address. You must press
the "Insert" key to add the second line for ControlLogix Backplane and set the
slot number to zero.
Set the READ/WRITE parameter to READ. The module supports a TARGET DEVICE
parameter value of 500CPU or PLC5. In order to complete the configuration of
the MSG instruction, select the SETUP SCREEN area of the MSG object. This
displays the following dialog box.
The TARGET DEVICE DATA TABLE ADDRESS must be set to a valid file element
(such as, N11:0) for SLC and PLC5 messages. The MULTIHOP option must be
set to YES.
Fill in the MULTIHOP tab portion of the dialog box as shown in the following
illustration.
Set the IP address value to the module’s Ethernet IP address. You must press
the "Insert" key to add the second line for ControlLogix Backplane and set the
slot number to zero.
In This Chapter
Contacting Technical Support ............................................................. 119
Return Material Authorization (RMA) Policies and Conditions ............. 120
Note: For technical support calls within the United States, an after-hours answering system allows
24-hour/7-days-a-week pager access to one of our qualified Technical and/or Application Support
Engineers.
L Swap Code • 45
System Requirements • 10
Local STS Error Codes • 62
T
M
TCP/IP Interface Errors • 66
MG • 86 Timeout Errors • 66
MicroLogix Processor Specifics • 88 Timer / Counter • 85
Minimum Command Delay • 34, 42 To Address • 45
Module Internal Database • 19 To upgrade a previously purchased Series C model: •
Module Specific Error (not DFNT Compliant) • 65 3
Mounting the Module on the DIN-rail • 12
Moving Data • 45 U
N Unconnected Msg DFNT Client 0 Status • 58
Using ProSoft Configuration Builder • 31
Navigation • 54 Using ProSoft Configuration Builder (PCB) for
Diagnostics • 52
O Using the CommonNet Data Map • 44
OPC Connection • 97 Using the Diagnostic Window in ProSoft Configuration
Other Ethernet Services (HTTP/FTP) • 23 Builder • 52
Using the Online Help • 14
P
W
Package Contents • 11
PCCC Response Errors • 67 Warranty Information • 120
PD* • 85
Pinouts • 3
Y
PLC-5 Command Set Functions • 22, 36 Your Feedback Please • 2
PLC5 Processor • 111
PLC-5 Processor Specifics • 85
PLC5 Read Commands • 112
PLC-5 Sub-Element Codes • 85
PLC5 Write Commands • 111
Printing a Configuration File • 33
ProLinx Gateways with Ethernet Ports • 3
ProLinx® Products Warnings • 3
ProSoft Technology® Product Documentation • 2
R
Reference • 69
Register Count • 45
Register Session Response Errors • 66
Remote STS Error Codes • 63
Renaming PCB Objects • 33
Required Hardware • 52
Response Timeout • 34, 42
Retry Count • 34, 42
RSLinx Software • 90
RSView Software • 100
S
Setting Up the Project • 31
SLC 5/05 Processor • 114
SLC File Types • 87, 88
SLC Processor Specifics • 87
SLC5/05 Read Commands • 115
SLC5/05 Write Commands • 114
SLC-500 Command Set Functions • 22, 37
Start Here • 9
Support, Service & Warranty • 119