Fieldbus Interface Module for Ethernet REV C
Fieldbus Interface Module for Ethernet REV C
1 Introduction 3
1.1 How to Use This Document ................................................................................................ 3
1.2 Important User Information................................................................................................. 3
1.3 Conventions Used in this Document .................................................................................... 3
1.4 Terms.............................................................................................................................. 4
3 Data Exchange 9
3.1 Internal Memory Buffer Structure ......................................................................................... 9
3.2 I/O Data........................................................................................................................... 10
3.3 Memory Map.................................................................................................................... 10
5 Filesystem 14
5.1 FLASH Memory ................................................................................................................. 14
5.2 Security Framework........................................................................................................... 14
6 System Files 15
6.1 Configuration Files 'IP_accs.cfg' ......................................................................................... 15
6.2 Password Files 'sys_pswd.cfg' ........................................................................................... 15
7 FTP Server 17
8 Telnet Server 18
8.1 General Commands .......................................................................................................... 18
8.2 Diagnostic Commands ...................................................................................................... 18
8.3 File System Operations ...................................................................................................... 19
9 Ethernet/IP Configuration 21
10 Ethernet/IP 23
10.1 Implemented Objects......................................................................................................... 23
10.2 Identity Object, Class 01h .................................................................................................. 23
10.3 Message Router Object, Class 02h ..................................................................................... 24
10.4 Assembly Object,Class 04h ............................................................................................... 24
10.5 Diagnostic Object, Class AAh ............................................................................................. 25
10.6 TCP/IP Interface Object, Class F5h ...................................................................................... 25
10.7 Ethernet Link Object, Class F6h .......................................................................................... 27
1.4 Terms
FIM – Fieldbus Interface Module
Fieldbus – The network to which the FIM is connected
Fieldbus Control System – Fieldbus master
Fieldbus Interface Module for Ethernet About the Fieldbus Interface Module for Ethernet 5
2.3 Connectors and Key Components
For wiring and pin assignments, see Appendix Connector Pin Assignments.
1. Anybus Application Connector
This connector is used to provide the hardware interface to the XRTC.
2. Ethernet Connector
This connector is used to connect the FIM to Ethernet.
3. Configuration Switch
The switch values should all be set to the off state.
4. Anybus Watchdog
No user function.
5. Status Indicators
These LEDs indicate run time status and errors to the user, see below.
Figure 3 Connectors
6 About the Fieldbus Interface Module for Ethernet Fieldbus Interface Module for Ethernet
2.4 Status Indicators
Table 1- Status Indicator Table
# State Status
1- Link This LED indicates that the module is connected to an Ethernet network
by indicating solid green
2- Module status Steady off No power
Steady green Device operational
Flashing green Standby
Flashing red Minor fault
Steady red Major fault
Flashing green/red Self test
3- Network status Steady off No power or no IP address
Steady green Connected
Flashing green No connections
Flashing red Connection timeout
Steady red Duplicate IP detected
Flashing green/red Self-test
4- Activity This LED flashes green each time a packet is received or transmitted
2.5 Installation
1. Remove the Fieldbus Interface Access Cover from the XRTC by removing the 5 screws that retain the cover.
The FIM (or Anybus-S PCB) mounting will then be accessible.
2. Note the MAC address of the FIM located on a label on the bottom of the FIM.
3. Create a label indicating the same MAC address and mount the new lable on the outside of the access
cover.
4. Remove the screws mounted on the top of the 3 standoffs.
Note: if the 3 standoffs are not mounted, then retrofit kit, part number 66999559, should be used to install
them.
5. Being careful to properly align the connector at J25, press the FIM firmly into place.
6. Reinstall the 3 screws previously removed to secure the FIM into place.
7. Reinstall the Fieldbus Interface Access Cover.
Fieldbus Interface Module for Ethernet About the Fieldbus Interface Module for Ethernet 7
2.6 Electronic Data Sheet (.EDS file)
Each EtherNet/IP device is associated with an .EDS file, containing all necessary information about the device.
This file is used by the network configuration tool during configuration of the network. This file is included on
the documentation CD included in the equipment shipment.
8 About the Fieldbus Interface Module for Ethernet Fieldbus Interface Module for Ethernet
3 Data Exchange
All data from the fieldbus and the checkweigher is stored in an internal memory buffer. This is a very easy
method for data exchange where the fieldbus control system simply reads and writes data to pre-defined
memory locations, and the checkweigher also uses the same internal memory buffer to read and write data.
Fieldbus Interface Module for Ethernet Quick Start Guide - Adding to Your Network 11
4. Double click the line with the FIM network information. A dialog window will appear providing all the
current network settings.
5. Edit the IP settings on the page according to your network requirements. If you are not using DHCP,
remember to select the DHCP Off radio button.
6. Click the Set button to change the settings in the FIM.
The arp -s command will store the IP and MAC addresses in the PC’s ARP table. When the ping command is
executed, the PC sends this information to the module using the MAC address. The module detects that it was
addressed with the correct MAC address and adopts the IP address sent by the PC. (The arp -d command is
optional, but it removes the static route from the PC ARP table).
This method can be used to reconfigure modules that already have been configured, or even to reconfigure
modules outside the host’s subnet.
The MAC address is printed on a label on the bottom side of the module. The address should also be marked
on the XRTC Fieldbus Interface Access Cover.
As the Arp command automatically configures the subnet mask to 255.255.255.0, the first three bytes of the
IP address must be the same as for the PC executing the command.
Example:
PC- 10.10.12.67
Module- 10.10.12.x (Where x is a value between 1
and 254)
1. Find the current IP address of the FIM. If this is a new installation, then the FIM IP address should be set to
the default settings listed in the above table. If the IP address is unknown, the HMS AnyBus IPconfig tool
may be used to scan the network and reveal the address (See Scanning the Network for all Fieldbus
Interface Modules).
2. Set your PC to a static IP address within the range of the FIM subnet. A successful ping to the FIM IP
address from a Windows Command Prompt will confirm the subnet settings.
3. Open an internet browser on your PC and enter the HTTP address of the FIM.
Example: http://192.150.150.20
4. Login to the web server using the account user name and password. A Configuration web page should
appear that includes the current FIM IP settings.
5. Edit the IP settings on the page according to your network requirements. If you are not using DHCP,
remember to set the DHCP enabled checkbox to not checked.
6. Cause the settings to be written to the FIM by clicking the STORE CONFIGURATION button. A message will
indicate successful storage.
7. Power cycle the checkweigher to cause new settings to be loaded.
8. Set your PC network settings appropriately for your network.
12 Quick Start Guide - Adding to Your Network Fieldbus Interface Module for Ethernet
9. To confirm network settings use a ping from a Windows Command Prompt, and/or repeat Step 3 using the
new IP address.
Fieldbus Interface Module for Ethernet Quick Start Guide - Adding to Your Network 13
5 Filesystem
The filesystem is a fixed-size storage area with a hierarchical directory structure. Files can be grouped in direc-
tories for increased readability.
The filesystem features user password security. The filesystem can be accessed via FTP, Telnet and HTTP.
Case Sensitivity
The file system is case sensitive. This means that the filename ‘AnyBus.txt’ is not identical to the file
‘AnyBus.TXT’.
Filename/Pathname Length
Filenames can be a maximum of 48 characters long. Pathnames can be 256 characters in total, filename
included.
File Size
File size is not restricted. However, the size cannot exceed the space available in the file system.
Free space
Approximately 1.4MB
Under each header the allowed IP addresses are written. The wildcard ‘*’ can be used to allow series of IP
addresses. If a protocol header is not given, the system will use the configuration set below the header ‘All’. If
the ‘All’ header is not given, the protocol will not accept any connections.
Example:
[Web]
10.10.12.*
10.10.13.*
[FTP]
10.10.12.*
[Telnet]
10.10.12.*
[All]
*.*.*.*
The above example will allow all IP addresses beginning with 10.10.12 to access all protocols in the module.
Addresses beginning with 10.10.13 will be able to access the web server, but not the FTP and Telnet servers.
The Ethernet/IP server will accept connections from any IP address.
The contents of this file can be redirected by placing the line ‘[File path]’ on the first row, and a file path on the
second.
Example:
[File path]
\my_settings\ip_access_rights.cfg
In this example, the settings described above will be loaded from the file ‘\my_settings\ip_ access_rights.cfg’.
version
Syntax:
version
This command will display version information, serial number and MAC ID of the FIM.
exit
Syntax:
exit
Lists the contents of a directory. If no path is given, the contents of the current directory is listed.
md
Syntax:
md [[path][directory name]]
Creates a directory. If no path is given, the directory is created in the current directory.
rd
Syntax:
rd [[path][directory name]]
Deletes a file.
ren
Syntax:
ren [[path][old name]] [[path][new name]]
This command moves a file or directory from the source location to a specified destination.
copy
Syntax:
copy [[source path][source file]] [[destination path][destination file]]
[NOTE: Graphic from "How to configure an EtherNet/IP adapter module with RSLogix 5000, by HMS Industrial
Networks AB, SCM-7032-029 Rev 2.03]
In the next dialogue window, RSLogix will ask for information regarding the communication to the FIM-EIP. First
enter a symbolic name for the FIM-EIP. In the example below the name “HSChecwkweigher_FIM_EIP” is used.
Next step is to select the “Comm_Format”, which tells RSLogix the format of the data. In our example here, we
have selected Data-SINT, which will represent the data in the FIM-EIP as a field of 8-bit bytes.
I/O data is accessed in input instance 100 and output instance 150, so these values have to be entered as the
instance values for input and output. The size of the input connection and the output connection whould both
be set to 480 bytes.
The FIM-EIP does not support a configuration assembly, but RSLogix requires a value for this anyway. An
instance value of 0 is not a valid instance ID, but any non-zero value will work, here we have selected the
value 1. The data size of the configuration instance is then set to 0.
As a final step the IP address used for the FIM-EIP should be entered in RSLogix.
When finished, press next.
In the next dialogue window enter a value for the time between each scan of the module. In this example, we
are satisfied with the 10 ms, which is the default value. After this, press finish.
Now the FIM-EIP has been added to the configuration in RSLogix. Select Go Online in the communication
menu, and download the configuration. The configuration will now be downloaded to the PLC, and if no errors
are detected, the window shall look as below.
If there are any errors, a warning triangle will be present on the FIM-EIP in the I/ O configuration listing. Double
click the module to view any error that is reported.
Class Attributes
# Access Name Type Value Description
1 Get Revision UINT 0001h Revision 2
Instance Attributes
# Access Name Type Value Description
1 Get Vendor ID UINT Default: 005Ah HMS Industrial Networks
AB
2 Get Device Type UINT Default: 000Ch Communication adaptor
3 Get Product Code UNIT Default: 0133h Anybus-C EtherNet/IP
4 Get Revision Struct of:
USINT Major revision of
EtherNet/IP interface
USINT Minor revision of
EtherNet/IP interface
5 Get Status WORD Device status, see table
below
6 Get Serial Number UDINT Module serial Serial number of the
number module
7 Get Product Name SHORT_STRING Anybus-C Name of product
EtherNet/IP
Description
The Assembly Object binds all mapped I/O data. This data is used for I/O connections
Class Attributes
# Access Name Type Value Description
1 Get Revision UINT 0002h Revision 2
2 Get Max Instance UINT The highest
initiated instance
no.
Description
This vendor-specific object provides diagnostic information from the module.
Class Attributes
# Access Name Type Value Description
1 Get Revision UINT 0001h Revision 1
Instance Attributes -Instance 01h
# Access Name Type Description
01h Get Module and serial UDINT Serial number
number
03h Get Fieldbus type UINT Fieldbus type, in this
case TBD
04h Get Module software UINT Ethernet interface
version sofware version
0Fh Get Input I/O size UINT Size of I/O input area
(in bytes)
11h Get Input total size UINT TBD
12h Get Output I/O size UINT Size of I/O output
area (in bytes)
14h Get Output total size UINT Total number of
output bytes (I/O+
TBD)
1h118h Get MAC ID Array of USINT Ethernet MAC ID of
the module (6 bytes)
19h Get IP address UDINT Currently configured
IP address
1Ah Get Subnet mask UDINT Currently configured
subnet mask
1Bh Get Gateway address UDINT Currently configured
default gateway
address
1Ch Get SMTP server address UDINT SMTP server address
1Dh Get DHCP state UDINT 0=No DHCP,
1=DHCP available
1Eh Get Bootloader version UDINT Ethernet interface
Bootloader firmware
version
Description
This object provides a mechanism to configure the TCP/IP settings via EtherNet/IP.
Class Attributes
# Access Name Type Value Description
1 Get Revision UINT 0001h Revision
2 Get Max instance UINT 0001h 1 is the highest
instance number
3 Get No. of instances UINT 0001h 1 instance is
implemented
Instance Attributes
# Access Name Type Value Description
1 Get Status DWORD 00000001h 1= the interface
configuration
attribute contans a
valid configuration
2 Get Capability config- DWORD 000000014h Interface configu-
uration ration attribute is
settable. Capable
of obtaining
network configu-
ration via DHCP
3 Get/Set Configuration DWORD 0- configuration
control from non-volatile
memory
2- configuration
from DHCP
4 Get Port object Struct of: Physical linK - >
Ethernet object
Path size UINT 0002h 2 words
path Padded EPATH 20 F6 24 01h EtherNet class,
instance 1
5 Get/Set Interface configu- Struct of:
ration
IP address UDINT Currently used IP
address
Subnet mask UDINT Currently used
subnet mask
Gateway address UDINT Currently used
gateway address
Name server 1 UDINT Primary DNS
server
Description
This object maintains link-specific counters and status information for the Ethernet communication interface.
Class Attributes
# Access Name Type Value Description
1 Get Revision UINT 0001h Revision 2 TBD
2 Get Max instance UINT 0001h 1 is the highest
instance number
3 Get No. of instances UINT 0001h 1 instance is
implemented
Instance Attributes
# Access Name Type Value Description
1 Get Interface speed UDINT 10 or 100 The actual speed
(MBPS) of the module
2 Get Interface flags DWORD
3 Get Physical address Array of 6 USINTS MAC Address Ethernet MAC
address of the
module
6 Get/Set Interface control Struct of: Configured
Control bits- interface auto-
WORD negotiation,
duplex and
Forces speed-
speed
UNIT
Note: To be able to establish communication between two devices both devices must belong to the same
subnet. If not, the communication must be done through a gateway. It is therefore recommended to configure
the module to the same subnet as your PC.
Pin Signal
Housing Cable Shield
1 TD+
2 TD-
3 RD+
4 Termination
5 Termination
6 RD-
7 Termination
8 Termination
13.2 Electrical
Power Supply
Power: 24V ± 10%
Power Consumption
Maximum power consumption is 450 mA on 24V
13.3 Environment
Relative Humidity
The product is designed for a relative humidity of 0 to 95% non-condensing
Temperature
Immunity
According to EN 61000-6-2:1999
Mettler-Toledo Hi-Speed
1571 Northpointe Parkway
Lutz, FL 33558, USA
Tel. +1 813 889 9500
Fax +1 813 881 0840
www.mt.com/contact