460EAV Gateway User Guide

460EAV Gateway
User Guide
Trademarks
CompactLogix, ControlLogix, & PLC-5 are registered trademarks of Rockwell Automation, Inc.
EtherNet/IP is a trademark of the Open DeviceNet Vendors Association (ODVA).
MicroLogix, RSLogix 500, and SLC are trademarks of Rockwell Automation, Inc.
Microsoft, Windows, and Internet Explorer are registered trademarks of Microsoft Corporation.
All other trademarks and registered trademarks are the property of their holders.
Limited Warranty
Real Time Automation, Inc. warrants that this product is free from defects and functions properly.
EXCEPT AS SPECIFICALLY SET FORTH ABOVE, REAL TIME AUTOMATION, INC. DISCLAIMS ALL OTHER WARRANTIES, BOTH EXPRESSED AND IMPLIED, INCLUDING BUT
NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
PARTICULAR APPLICATION. THIS LIMITED WARRANTY GIVES YOU SPECIFIC LEGAL
RIGHTS. YOU MAY ALSO HAVE OTHER RIGHTS, WHICH VARY FROM STATE TO STATE.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the
many variables and requirements associated with any particular application, Real Time Automation,
Inc. cannot assume responsibility or liability for actual use based on the examples and diagrams. Except as specifically set forth above, Real Time Automation and its distributors and dealers will in no
event be liable for any damages whatsoever, either direct or indirect, including but not limited to loss
of business profits, income, or use of data. Some states do not allow exclusion or limitation of incidental or consequential damages; therefore, the limitations set forth in this agreement may not apply to
you.
No patent liability is assumed by Real Time Automation with respect to use of information, circuits,
equipment, or software described in this manual.
Government End-Users
If this software is acquired by or on behalf of a unit or agency of the United States Government, this
provision applies: The software (a) was developed at private expense, is existing computer software,
and was not developed with government funds; (b) is a trade secret of Real Time Automation, Inc. for
all purposes of the Freedom of Information Act; (c) is “restricted computer software” submitted with
restricted rights in accordance with subparagraphs (a) through (d) of the Commercial “Computer Software-Restricted Rights” clause at 52.227-19 and its successors; (d) in all respects is proprietary data
belonging solely to Real Time Automation, Inc.; (e) is unpublished and all rights are reserved under
copyright laws of the United States. For units of the Department of Defense (DoD), this software is
licensed only with “Restricted Rights”: as that term is defined in the DoD Supplement of the Federal
Acquisition Regulation 52.227-7013 (c) (1) (ii), rights in Technical Data and Computer Software and
its successors, and: Use, duplication, or disclosures is subject to restrictions as set forth in subdivision
(c) (1) (ii) of the Rights in Technical Data and Computer Software clause at 52.227-7013. If this software was acquired under GSA schedule, the U.S. Government has agreed to refrain from changing or
removing any insignia or lettering from the Software or documentation that is provided or from producing copies of the manual or media. Real Time Automation, Inc., 150 S. Sunnyslope Rd. Suite 130,
Brookfield, WI 53005.
© 2008 Real Time Automation, Inc. All rights reserved.
460 Gateway Device Line
460EAV
Overview
The 460EAV Gateway device seamlessly connects up to ten Altivar Drives to an EtherNet/IP client such as
a ControlLogix® PLC. By following this guide, you will be able to configure the 460EAV Gateway for
basic operation. You will set the device’s network settings and parameters to the proper configuration for
initial operation and physically place the device in the network.
For further customization and advanced use feel free to consult the provided 460 User Manual. In
addition, Real Time Automation would be happy to provide support to help you utilize the device.
Real Time Automation, Inc.
1
1-800-249-1612
460 Gateway Device Line
460EAV
Required Tools and Data
You will need the following tools:
♦
The 460EAV Gateway ♦
The provided CD‐ROM ♦
A Working PC (Windows based) ♦
The Supplied Ethernet Crossover Cable ♦
A 7‐30 VDC power source (T‐strip) You will also need to verify the following Modbus RTU Slave Settings:
♦
Connector Type ♦
Mode (RS485 or RS422) ♦
Baud Rate ♦
Parity ♦
Data Bits ♦
Stop Bits ♦
Stop Bits 2
Real Time Automation, Inc.
2
1-800-249-1612
460 Gateway Device Line
460EAV
Port Connections
The factory default port settings on the 460EAV gateway are for Port 0 (T-strip) to be set to RS485 and
Power while Port 1 (DB-9) is set to RS232 by default.
If these default port settings are incompatible with your equipment they can be configured differently. For
assistance changing port configurations contact our customer support department. For specific jumper and
pin settings refer to the end of this manual, appendix A.
Real Time Automation, Inc.
3
1-800-249-1612
460 Gateway Device Line
460EAV
Accessing the Main Page
The network settings must be configured to access the gateway’s Main Page. The Main Page allows the
user to edit the parameters which are required to connect the desired devices. The following steps will
connect the gateway to the network properly.
1) Connect the 7-30 VDC power source to the device via the T-strip.
2) Using the crossover cable connect the device to the PC. (If you are connecting through a hub or
switch use a standard Ethernet cable.)
3) Insert the provided CD-ROM.
4) Run the IPSetup program from the CD-ROM.
5) Configure the IP Address of the unit for your
subnet. (Ex: If your workstation IP address is
192.168.0.1 an acceptable IP Address for the
gateway would be 192.168.0.100.)
NOTE
Browser configuration is only Internet
Explorer compatible. The use of
FireFox is not supported.
Default IP address is 192.168.0.100
6) Click Set.
Real Time Automation, Inc.
4
1-800-249-1612
460 Gateway Device Line
460EAV
Error: Main Page Does Not Launch
If the main page does not launch the IP Address is most likely incorrect. Correct the IP Address and try
again. If you do not know the IP address use the following procedure:
1) Open an MS-DOS Command Prompt.
2) Type ipconfig and press enter.
3) Note the IP Address. (The previous example was 192.168.0.1)
4) To test the communication between the PC and the uni, type ping (###.###.#.###) in the prompt
and press enter. The (###.###.#.###) is a placeholder for the IP Address you used in step 5 of
network configuration which was192.168.0.100. If the device is connected to the network the ping
will show a response. If you get no response check the crossover cable and any other network
devices.
5
Real Time Automation, Inc.
5
1-800-249-1612
460 Gateway Device Line
460EAV
Modbus RTU Master Settings
Now that the device is on the network you will configure the device settings. As a reminder you will need
to know the connector type, mode, baud rate, parity, data bits and stop bit settings of your Modbus RTU
slave device in order to complete device configuration.
1) If you would like to change the device description, click Edit in the Description row on the main
page. Otherwise, skip to step 4.
2) Type the desired description into the text box.
3) Click Save.
4) In the Selected Communication Modules row, click Edit.
5) In the Modbus RTU Master row, click Edit.
6) Verify that the Enabled box is checked.
Real Time Automation, Inc.
6
1-800-249-1612
460 Gateway Device Line
460EAV
7) The Response Timeout and Delay Between Polls default to 500 and 50 milliseconds respectively. To
customize the values enter the new time in milliseconds.
8) Select the appropriate settings in the Connector, Mode, Baud, Parity, Data and Stop fields. The
settings should match your Modbus RTU slave device.
9) Click Save to save your configuration.
10) Click Return to Main Page.
If your data is not flowing correctly after installing the device on the
network, check that the settings selected match the settings of your Modbus
Slave device. Incorrect settings will skew operation.
Real Time Automation, Inc.
7
1-800-249-1612
460 Gateway Device Line
460EAV
Modbus TCP Server and Ethernet/IP Server Settings
The Modbus TCP Server and Ethernet/IP Server have no configurable settings.
Real Time Automation, Inc.
8
1-800-249-1612
460 Gateway Device Line
460EAV
Application Parameters
1) On the Main Page in the RTA 460EAV Application Parameters row select Edit.
2) Altivar Pass-through is enabled by default.
3) Select the method you will be using with the Altivar Pass-through.
You must use either Modbus TCP Server or Ethernet/IP Server but not both.
Real Time Automation, Inc.
9
1-800-249-1612
460 Gateway Device Line
460EAV
Adding a Custom Altivar Device
1) From the main page, in the Client Module Configuration row, click Edit.
2) Click Add Altivar 31.
3) After the page refreshes a preconfigured device module will be displayed below. These options can
be configured if needed. To do so click on the Edit button on the far left.
4) Enter a unique name for the device in the Device Label field to help distinguish it on the network.
(Continued on page 11)
Real Time Automation, Inc.
10
1-800-249-1612
460 Gateway Device Line
460EAV
5) In the Slave Address enter the Modbus unit ID that corresponds to your Modbus Slave Device.
6) If you need to change the word order for values that are 4 bytes check the box labeled Swap
Words.
The maximum length of registers per single read/write request is 16 registers. You cannot configure more than 160 registers across all devices for
Data In. The same limit applies to Data Out.
7) For Data In select the type of data to read. (Coil Status, Input Status, Input Register, or Holding Register). The Point Type/Data Type values will match the data types of the Modbus RTU slave device.
Swap Words Example:
With the value 302.25 mapped as a floating value.
When Swap Words is enabled:
When Swap Words is not enabled:
1st reg. = 0x2000
1st reg. = 0x4397
2nd reg. = 0x4397
2nd reg. = 0x2000
(Continued on page 12)
Real Time Automation, Inc.
11
1-800-249-1612
460 Gateway Device Line
460EAV
8) Enter the starting address of the read beneath the “Addr” column. Enter the Length of the read message beneath the “Len” column. (Length is the number of selected data types to be read/written. It is
not the number of registers.)
9) For Data Out select the type of data to write. (Coil Status or Holding Register)
10) Enter the starting address of the write and the length of the write message.
11) When all required parameters are entered click Save.
To delete the entire slave device click Clear.
To return to the Main page and abandon all changes click Cancel.
12) You will need to Reboot and Refresh the unit after each modification.
Real Time Automation, Inc.
12
1-800-249-1612
460 Gateway Device Line
460EAV
Setting up the PLC
Before the 460EAV Gateway can communicate with a Programmable Logix Controller (PLC) you must
configure the PLC settings to expect to read and/or write data from the gateway. Use the following
information to configure the PLC.
♦
The new module type should be a Generic Ethernet module. ♦
We recommend a Requested Packet Interval (RPI) of 100.0 ms. Real Time Automation, Inc.
13
1-800-249-1612
460 Gateway Device Line
460EAV
For more specific information on configuring the PLC, contact Real Time Automation, Inc.
at (800) 249-1612 or (262) 439-4999.
Real Time Automation, Inc.
14
1-800-249-1612
460 Gateway Device Line
460EAV
Confirming Data Transmission
To check the status of the devices and to see the data that has been transmitted use the following steps:
1) On the Main Page click on the Status and Summary button located on the left hand side of the
screen.
2) The 460EAV Device Summary and Status page will be shown.
3) The device drop down menu allows you to switch between the different devices and to display
statuses.
4) Under Show you can choose to view only values that are greater than zero by checking the Only
Non-Zero Values checkbox.
5) The Device Status section displays whether or not the device is connected and enabled.
Real Time Automation, Inc.
15
1-800-249-1612
460 Gateway Device Line
460EAV
Verifying Gateway Communication
If the device is not physically connected correctly or if the device parameters are incorrect the Device
Status will display Enabled NOT Connected. If you receive this error verify that the devices are
connected properly.
If your Modbus Master settings do not match the slave settings the TimeoutMsgCount value will increase
each time the status page is refreshed.
If there are errors they will be displayed in the ErrorMSGCount field.
Real Time Automation, Inc.
16
1-800-249-1612
460 Gateway Device Line
460EAV
Verifying PLC Communication
To check the status of the Modbus RTU devices from the Ethernet/IP Client side use the following steps:
1) From the PLC program select the option to view Controller Tags.
2) Scroll down to tag 198 for the RTA_460EAV:I.DATA.
3) To check the status of each of the 12 devices on the network look at the last two words (198 and
199) of the Input Assembly Area. Each of the 12 devices is represented by a bit. If that device’s bit
is 1 then the status of that device is fine. If the device’s bit is 0 either an error or a timeout has
occurred, or the unit is not configured correctly.
Device 1 Status=Bit 0 in Register 199 … Device 32 Status=Bit 15 in
Register 198
Real Time Automation, Inc.
17
1-800-249-1612
460 Gateway Device Line
460EAV
Device Data Mapping
To communicate between Altivar drives and an EtherNet/IP scanner the 460EAV uses two data buffers. The
input assembly 100 buffer contains input data transferred from an Altivar drive to an EtherNet/IP scanner.
The output assembly 112 contains output data transferred from an EtherNet/IP scanner to an Altivar drive.
Bytes 0 through 319 are set aside for the Altivar device data, which is defined in the web server. You
configure the register list which is read from and written to each device. The data is then mapped to the
input and output device buffers of the 460EAV where it is exchanged with the EtherNet/IP scanner.
Bytes 320 through 395 are used for pass-through messaging (PTM). PTM is a feature that allows you to
send any Modbus command from an EtherNet/IP scanner to an Altivar. Any message sent from the Altivar
network is routed to the EtherNet/IP scanner in the output buffer. The 460EAV performs no validation or
inspection on the pass-through message or the response message. (See Example Pg. 21)
Bytes 396 through 399 of the input buffer provide status data for each Altivar device.
Output Assembly 112
Input Assembly 100
Byte
Word
0
0
0
-
-
-
-
Input
Device Data
-
0
Output
-
Device Data
-
-
Buffers
Buffers
-
-
-
-
319
159
319
159
320
160
320
160
-
-
-
-
-
-
-
Pass-through
Data Buffers
Pass-through
Data Buffers
-
-
-
395
197
395
197
396
198
396
198
-
-
199
399
-
-
Status Data Buffers
399
Real Time Automation, Inc.
Reserved Buffers
-
199
18
1-800-249-1612
460 Gateway Device Line
460EAV
Default Altivar I/O Ethernet IP Server Representation
This table shows the preconfigured Ethernet IP settings for the Altivar drives.
Device
Default Altivar Inputs/Outputs
Byte
Words
Altivar
Predefined Altivar 1 I/O
0..3
0..1
#1
Additional User Defined Altivar 1 I/O
4..31
2..15
Altivar
Predefined Altivar 2 I/O
32..35
16..17
#2
Additional User Defined Altivar 2 I/O
36..63
18..31
Altivar
Predefined Altivar 3 I/O
64..67
32..33
#3
Additional User Defined Altivar 3 I/O
68..95
34..47
Altivar
Predefined Altivar 4 I/O
96..99
48..49
#4
Additional User Defined Altivar 4 I/O
100..127
50..63
Altivar
Predefined Altivar 5 I/O
128..131
64..65
#5
Additional User Defined Altivar 5 I/O
132..159
66..79
Altivar
Predefined Altivar 6 I/O
160..163
80..81
#6
Additional User Defined Altivar 6 I/O
164..191
82..95
Altivar
Predefined Altivar 7 I/O
192..195
96..97
#7
Additional User Defined Altivar 7 I/O
196..223
98..111
Altivar
Predefined Altivar 8 I/O
224..227
112..113
#8
Additional User Defined Altivar 8 I/O
228..255
114..127
Predefined Altivar 9 I/O
256..259
128..129
Additional User Defined Altivar 9 I/O
260..287
130..143
Predefined Altivar 10 I/O
288..291
144..145
Additional User Defined Altivar 10 I/O
292..319
146..159
Altivar
Altivar
10
#9
#
Real Time Automation, Inc.
19
1-800-249-1612
460 Gateway Device Line
460EAV
Device Data Buffer Example
This figure shows the data read from Altivar drives 1 and 2. The data bytes are routed through the 460EAV
and sent to the Ethernet IP Scanner. Bytes 4 through 31 are reserved for additional user defined scan lines.
Data Read from Altivars
Altivar 1
55
21
7
Altivar 2
15
1
17
6
EtherNet/IP Input
Data Buffer
Byte
Word
0-1
55
21
0
2-3
7
6
1
.
.
.
.
.
.
32 - 33
15
34 - 35
17
EtherNet/IP
Input I/O
Message
.
.
.
1
16
17
Altivar to E/IP Scanner
This figure shows the data read from the 460EAV Ethernet IP output data buffer. The data bytes are then
sent to the Altivar drives. The data in the Ethernet IP output buffer only fills 2 bytes (bytes 0-1 and word
0). Bytes 4 through 31 are still reserved for additional user defined scan lines.
Byte
0-1
EtherNet/IP Output
Data Buffer
9
.
.
.
23
Word
0
.
.
.
32 - 33
33
34 - 35
2
.
.
.
13
Data Written to Altivars
16
EtherNet/IP
Output I/O
Message
33
9
23
Altivar 1
13
2
Altivar 2
17
E/IP Scanner to Altivar
Real Time Automation, Inc.
20
1-800-249-1612
460 Gateway Device Line
460EAV
Pass-through Data Buffer Example
Modbus Slave Device ID = 5
Function Code = 3 (Read Holding Registers)
Starting Address = 500
Number of Registers = 1
Data = 55
Byte
P/T
Request
Word
Length
320 - 321
6
160
Sequence
322 - 323
1
161
324
5
162 (Hi Byte)
325
3
162 (Low Byte)
326 - 327
500
163
328 - 329
1
164
Modbus
Message
-
-
-
-
395
197
Pass-through Request
Byte
P/T
Response
Word
Length
320 - 321
5
160
Sequence
322 - 323
1
161
324
5
162 (High Byte)
325
3
162 (Low Byte)
326
2
163 (High Byte)
327 - 328
55
Modbus
Message
163 (Low Byte)
164 (High Byte)
-
-
-
-
395
197
Pass-through Response
Real Time Automation, Inc.
21
1-800-249-1612
460 Gateway Device Line
460EAV
Status Data Buffers
The last two registers of the Ethernet/IP input buffer (198 and 199) are reserved for Device Status Data.
Users can look at the data in these registers to monitor the status of all 10 Altivar devices. For this example
Altivar devices 4 and 7 may be mapped but are shown as not connected.
EtherNet/IP Input
Buffers
Byte
Words
(Input Assembly
100)
0
0
-
-
-
-
395
197
396
0000111011011110
198
398
0000000000000000
199
N/A
Altivar Status Bits
E/IP
Status
Modbus
TCP
Status
0000
1110110111
1
0
E/IP Status Example
Real Time Automation, Inc.
22
1-800-249-1612
460 Gateway Device Line
460EAV
Configuring Multiple Devices
If you are configuring multiple devices the same way, you can repeat the configuration by saving your
work into a file. To do so, follow these steps.
1) From the main page, click the Utilities button.
2) Click Save Configuration to File.
3) Click Save.
4) Browse to the location you want to save the file.
5) Click OK.
6) Remove the first device.
7) Repeat the network configuration section to connect the next device.
8) Once you launch the webpage, click the Utilities button.
9) Click Browse… and browse to the file you previously saved.
10) Click Open.
11) Click Restore from File.
12) The unit will reboot automatically and load with the new configuration.
23
Real Time Automation, Inc.
23
1-800-249-1612
460 Gateway Device Line
460EAV
Completing the Installation
Now that the 460EAV gateway is configured properly you must place the device in the network. The
following instructions will tell you how to take the device from the configuration area to the shop floor or
other operating environment.
1) Disconnect the crossover cable and power supply from the device.
2) Move the device to its intended location.
3) Connect an Ethernet cable from the network port on the 460EAV Gateway either directly to the
Ethernet/IP Client or to a hub/switch that is on the same network as the Ethernet/IP Client.
4) Attach the Modbus connection from the Modbus RTU Slave to the port specified in the 460EAV
setup.
5) Connect the 7-30 VDC power source to the device via the T-strip.
Real Time Automation, Inc.
24
1-800-249-1612
460 Gateway Device Line
460EAV
Appendix A: Jumper Configurations
1) To change port settings on the 460EDX Gateway use the following steps:
2) No cables should be connected to the Gateway unit. If this unit has been in use and you are making a
change, disconnect the power cable and any communications cables from the Gateway unit.
3) Remove the two small Phillips-head screws from each long side of the Gateway unit.
4) Remove the green T-Strip connector. Slide the cover off towards the ports. The jumpers are just behind
the ports.
5) Move the jumper shunts to reflect the desired settings.
6) Replace the Gateway unit’s cover. Replace the four screws. Replace the green T-Strip connector.
Only one RS232, RS422, RS485, or CAN port setting can be active at a time
for each unit. For example, a unit cannot have two ports set for RS232 or two
ports set for CAN.
NC= No connection
Port 0 (T-Strip) RS485 & PWR 1
2
3
4
5
Pin Setting
GND
TX-
TX+
NC
PWR
Port 1 (DB-9) RS232
1
2
3
4
5
6
7
8
9
Pin Setting
NC
RX
TX
NC
GND
NC
NC
NC
NC
Real Time Automation, Inc.
A
1-800-249-1612
460 Gateway Device Line
460EAV
NC= No connection
Port 0 (T-Strip) CAN
1
2
3
4
5
Pin Setting
GND
CANL SHIELD
CANH PWR
Port 1 (DB-9) RS485
1
2
3
4
5
6
7
8
9
Pin Setting
NC
TX-
NC
NC
GND
NC
TX+
NC
NC
NC= No connection
Port 0 (T-Strip) CAN
1
2
3
Pin Setting
GND
CANL
SHIELD CANH PWR
Port 1 (DB-9) RS232
1
2
3
4
5
6
7
8
9
Pin Setting
NC
RX
TX
NC
GND
NC
NC
NC
NC
Real Time Automation, Inc.
4
5
A
1-800-249-1612
Real Time Automation, Inc.
150 South Sunny Slope Road Suite 130
Brookfield, WI 53005
Local (262) 439-4999
Toll free 1-800-249-1612
www.rtaautomation.com
support@rtaautomation.com