HMS AnyBus-X AB7607 User Manual

HMS AnyBus-X AB7607 User Manual

Ethernet to devicenet gateway
Hide thumbs Also See for AnyBus-X AB7607:
Table of Contents

Advertisement

Quick Links

AnyBus-X
Ethernet to DeviceNet Gateway

User Manual

Part No. AB7607
Rev 1.11
HMS Industrial Networks
Pilefeltsgatan 93-95
SE-302 50 Halmstad
Sweden
Phone +46 (0) 35 17 29 00
Web www.anybus.com
AB7607 User manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AnyBus-X AB7607 and is the answer not in the manual?

Questions and answers

Summary of Contents for HMS AnyBus-X AB7607

  • Page 1: User Manual

    AnyBus-X Ethernet to DeviceNet Gateway User Manual Part No. AB7607 Rev 1.11 HMS Industrial Networks Pilefeltsgatan 93-95 SE-302 50 Halmstad Sweden Phone +46 (0) 35 17 29 00 Web www.anybus.com AB7607 User manual...
  • Page 2: Table Of Contents

    Quick Start ............... 4-1 DeviceNet Network Configuration ......4-1 DeviceNet I/O Configuration........4-9 Ethernet Network Configuration ....... 4-12 Using the Ethernet File System ........ 4-14 DeviceNet Interface..........5-1 Network Communications........... 5-1 Configuration .............. 5-1 © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 3 Security............... 8-2 Structure ..............8-4 Default Files..............8-5 Virtual File System............8-6 System Files ............... 8-6 Configuration Files............8-7 Password Files ............8-11 Other Files ..............8-13 Anybus-X Web Page Files........8-17 © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 4 Connectors .............. 12-1 Power ............... 12-1 DeviceNet ..............12-2 Ethernet RJ45............12-3 Auxiliary RS-232 9 Pin D-Subminiature....12-4 Warranty ..............13-1 Support ..............14-1 Technical Product Assistance ........14-1 Contact Information ..........14-1 © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 5: Preface

    The illustrations and samples in this guide are intended solely for the purpose of example. HMS Industrial Networks does not assume responsibility or liability for actual use based upon the examples shown in this publication.
  • Page 6: Related Documentation

    Preface v Related Documentation Document Name Author Web Page DeviceNet Specification ODVA www.odva.org EtherNet/IP Specification ControlNet www.odva.org International LTD. Modbus/TCP Schneider www.modicon.com/openbus/index.html Automation Table 2-1 Related Documentation © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 7: Anybus-X Module Description

    DeviceNet. • Anybus-X can provide an internal web server to allow remote viewing of data via a web browser and can offer email and file transfer capabilities to enhance your application. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 8: Theory Of Operation

    No special, or extended, protocol features are required of the devices on either network to read or write the data flowing through the Passage- Way; all cross-network activity is transparent to the devices on either network. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 9: Devicenet Features

    Supports the Modbus/TCP protocol with up to 8 simultaneous connec- tions. Conforms to the Modbus/TCP specification 1.0. • Features UDP and TCP/IP protocol stack. • Supports DHCP/Bootp and ARP for IP Address configuration. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 10: It-Features

    PC to execute DeviceNet Configuration Software. The DeviceNet slave devices the Anybus-X communicates with are specified using a DeviceNet Configuration Software Tool such as RSNetWorx for DeviceNet from Rockwell Software or HMS AnyBus Net Tool-DN. • 24 VDC power to the Anybus-X module. (DeviceNet power may be used.)
  • Page 11 DeviceNet configuration software such as RSNetWorx for DeviceNet to configure DeviceNet devices and Anybus-X’s DeviceNet operation. RSLinx version 2.31 or later is required. Optional Software • Anybus-X Configuration Tool Software to update Anybus-X’s firmware. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 12: Hardware Description

    Ethernet interface. See “Anybus-X LEDs” on page 10-1 for details on how the LEDs are used. The back of the module has a DIN rail mount to allow the module to be mounted on a DIN rail. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 13: Installation

    •Terminal tightening torque must be between 5-7 lbs-in (0.5-0.8 Nm). •For use in Class 2 circuits only. •Suitable for surrounding temperature of 65 degrees C maximum. •Use 60/75 C copper wire only. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 14: Power And Network Connections

    The power and network connections to the Anybus-X are made on the end of the module. Figure 2-1 indicates the location of each connector. DeviceNet Power Aux RS-232 Ethernet Ethernet IP Address Figure 2-1 Anybus-X Power and Network Connections © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 15: Connecting Power

    24VDC Common 24 VDC + Figure 2-2 Power Connection The Anybus-X requires 24 volts DC power. The module will start immediately when power is applied (There is no On/Off switch on the module). © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 16: Connecting Devicenet

    The Ethernet connection uses a standard RJ45 connector (not provided). This is plugged into the socket on the end of the module. For information on setting the Ethernet IP configuration (IP address, DHCP, etc.), see “Starting the Tool” on page 3-2. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 17: Configuration

    Null-Modem (pins 2 and 3 swapped) serial cable between the PC serial port and the 9-pin D-Sub connector on the module. It does not matter which PC serial port you use, BWConfig will scan each available port and detect the connection auto- matically. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 18 Make sure that the mod- ule is powered and the connection is made, then press the Refresh button on the BWConfig tool bar; this will cause the tool to rescan the serial ports for a module. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 19 Configuration 3-3 Configuration Tool User Interface The Anybus-X Configuration Tool’s user interface is shown in Figure 3-1. Figure 3-1 Configuration Tool User Interface © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 20 Send the configuration shown on the tool’s user interface to the Anybus-X module. Offline Configuration Offline configuration will allow a configura- tion to be created and saved without being connected to a module. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 21 Configuration 3-5 Flash Update Perform a field upgrade of the Anybus-X module’s firmware. Note: Care should be taken when upgrading firmware, an incomplete update could cause irreparable harm to the module. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 22: Ethernet Network Configuration

    The speed that the module will communicate 10, 100, or at on the Ethernet network. Auto If the network speed is set to Auto, the module will auto-negotiate network speed. Table 3-1 Ethernet Network Configuration Parameters © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 23 Web Browser such as Microsoft’s Internet Explorer can be used to access the Anybus-X’s web page which allows changing the IP Address, Subnet mask, and GateWay address settings. Note: A non-zero DIP switch setting will override any other Ethernet configura- tion that is done. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 24 Subnet mask, and Gateway address is automatically configured by the DHCP/BootP server. It can be enabled using the Anybus-X’s Settings web page. Note: The use of DHCP is the default configuration for the Anybus-X as shipped. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 25 Switch all 8 switches of the IP Configuration DIP switch to the OFF position to disable the feature. This method can be used to reconfigure a module that has been previously config- ured, or even to reconfigure modules outside the host’s subnet. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 26 Configuration 3-10 Arp/Ping Example: The following commands will set the IP address of a Anybus-X with MAC address 00-30-11-02-00-5E to 65.106.34.252. arp -s 65.106.34.252 00-30-11-02-00-5e ping 65.106.34.252 arp -d 65.106.34.252 © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 27 The ethernet addresses can also be configured using the Status and Settings web page resident on the Anybus-X. The Status and Settings web page appears as shown below. Figure 3-3 Status and Settings Web Page © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 28 On Internet Explorer this is done in the Temporary Internet Files Settings dialog by selecting the “Every Visit” option for when the browser should check for page changes. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 29 Received? IP = 192.168.1.n IP = 192.168.1.255 Sub = 255.255.255.0 Sub = 255.255.255.0 No Gateway No Gateway Valid Use configuration Configuration from file File? Remain offline Figure 3-4 IP Configuration Initialization Sequence © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 30: Devicenet Network Configuration

    Do not enable byte swapping if EtherNet/IP is used on the Ethernet side of the gateway. Table 3-2 DeviceNet Network Configuration Parameters Note: The Anybus-X will automatically reset after the DeviceNet configuration is downloaded from BWConfig. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 31 RSNetWorx or NetTool-DN, during configuration of the net- work. The laster version of the EDS file for the Anybus-X can be downloaded from HMS’s web site, or received by contacting HMS. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 32: Devicenet I/O Configuration

    The next chapter provides an example application, and covers the use of Rockwell Software’s RSNetWorx for DeviceNet and HMS’ NetTool-DN. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 33: Quick Start

    Requirements: An Ethernet network and a PC connected to that network, running Windows™ 98/ME/2000/XP, Microsoft Internet Explorer 5.5 or higher, a DeviceNet configuration tool such as Rockwell Software’s RSNetWorx for DeviceNet or HMS Net Tool-DN. RSLinx version 2.31 or later is required when using RSNetworx. DeviceNet Network Configuration The configuration of the DeviceNet network interface involves using a DeviceNet node commissioning tool to set the Anybus-X’s MAC ID and baud rate.
  • Page 34 Step 3: Register the Anybus-X EDS file in RSNetWorx. RSNetWorx requires an electronic data sheet (EDS) to recognize a device and its capabilities. An EDS file is available on the HMS Industrial Networks web site. The EDS file must be registered with RSNetWorx before configuration can con- tinue.
  • Page 35 Anybus-X must be power cycled before the new baud rate will take effect. Note: When the MAC ID is changed, the Anybus-X’s I/O configuration is cleared. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 36 Note: If the Anybus-X is the only master on the DeviceNet network, DO NOT enable autobaud. Automatic baud detection requires there to be traffic on the net- work, there is typically no traffic until the master establishes connections. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 37 A message should appear in the Data received from device box saying the execution was completed. Note: Changes to the byte swapping option do not take effect until the module has been power cycled. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 38 Step 3: Register the Anybus-X EDS file with NetTool-DN NetTool-DN requires an electronic data sheet (EDS) to recognize a device and its capabilities. An EDS file is available on the HMS Industrial Networks web site. © 2005 HMS Industrial Networks...
  • Page 39 Select or enter the desired MAC ID and click Ok. Note: The Anybus-X will automatically reset if a new MAC ID is entered. Note: When the MAC ID is changed, the Anybus-X’s I/O configuration is cleared. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 40 Note: If the Anybus-X is the only master on the DeviceNet network, DO NOT enable autobaud. Automatic baud detection requires there to be traffic on the net- work, there is typically no traffic until the master establishes connections. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 41: Devicenet I/O Configuration

    This shows the format of the Input table of the Anybus-X. This is the format of the input data that will be sent to the EtherNet/IP scanner. See “I/O Mapping” on page 3-10. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 42 I/O data in other ways; this can be done using the Advanced data table editor in the Input and Output tabs. See the RSNetWorx man- ual for complete details. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 43 Note: Automap is used in this example to for simplicity. In some cases, the user may wish to organize the I/O data in other ways. See the NetTool-DN manual for complete details on how to accomplish this. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 44: Ethernet Network Configuration

    (Don’t include the “<“or “>” characters.) Note: The Anybus-X’s subnet mask and gateway address cannot be changed using this method. Example: arp -s 65.106.34.252 00-30-11-02-00-5e • Type ‘ping <IP address>’ Example: ping 65.106.34.252 © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 45 The Anybus-X module will now adopt the IP address that was specified in the ‘arp -s’ command. • Set all 8 switches on the IP Address Configuration DIP switch to the OFF position. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 46: Using The Ethernet File System

    Let’s put something in it. • Type ‘append myfile “Easy file handling!”’. You have now added the line ‘Easy file handling!’ to your new file. • View the files contents by typing ‘type myfile’ © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 47 Note: This example requires Windows™ Internet Explorer 5.5 or higher, but it is possible to use any FTP client. However, the procedure may not be similar to this example. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 48 IP address you are using for the module). Don’t include the “<“or “>” characters. • The web page that you downloaded in the previous step should be dis- played in the browser. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 49: Devicenet Interface

    If the autobaud option is enabled, the module will detect the current network baud rate and set its baud rate accordingly before joining the network. If the option is disabled, the module will join the network with the configured baud rate. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 50: Slave Device Communication

    The Anybus-X also supports a background polling mechanism. A foreground to background polling ratio can be specified to allow polling of devices at certain scan cycle intervals. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 51: I/O Message Types

    Predefined Master/Slave Connection Set. Group 3 explicit messages destined for a group 2 only device that is configured as a slave to the Anybus-X will be intercepted and relayed to the slave. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 52: Run/Idle Mode

    DeviceNet messaging tool and send the following message: Service: Set_Attribute_Single Class: Instance: Attribute: 103 (67h) Request Data: 00 for Idle, 01 for Run Note: When the Anybus-X is reset or powered up, it begins operation in Idle mode. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 53: Automatic Device Recovery (Adr)

    Address Recovery is completed, Configura- tion Recovery will configure the new device. 2. Configuration Recovery guarantees that the slave devices will always run the same configuration. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 54: Interaction With I/O Tables

    When input data is received on a slave’s I/O connection, it is copied to the Input table. This data is available to be read by the Ethernet interface and sent to the EtherNet/IP scanner on the next data exchange. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 55: Ethernet/Ip Interface

    Services and data variables called Attributes. If more than one copy of an object is needed each copy is called an Instance. We have implemented the same objects as other modules that are based on the CIP protocol. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 56: Cip Messaging

    The Logical Segment is most often used. It describes the Class, Instance, and Attribute of the data. The Path may also include a Port Segment. The Port segment describes a path or way © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 57 Output Table (OUT) and sent to the DeviceNet slaves which consumes it. EtherNet/IP Scanner EtherNet/IP EtherNet/IP EtherNet/IP Input I/O Output I/O Anybus-X Output Input DeviceNet DeviceNet DeviceNet DeviceNet DeviceNet Slave Slave Slave Slave Figure 6-1 Anybus-X I/O Transfer © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 58: Assembly Objects And Connections

    I/O assemblies. (see the assembly for- mats below) If a connection is created with a size larger than that configured in the DeviceNet scanner, the extra data will be filled with 0. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 59 At least 1 DeviceNet slave is an incorrect device type. DeviceNet network interface is bus-off. Duplicate MAC ID error. No DeviceNet power. 8-31 Not used. Table 6-4 Input Status Register Bit Definitions © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 60 Idle mode. Fault. Sets a fault condition in the Anybus-X. Disable DeviceNet network. Not used. Reset the Anybus-X module. 5-31 Not used. Table 6-6 Output Command Register Bit Definitions © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 61: Status Assembly

    Active Node Indicates which DeviceNet nodes are string Table configured in the Anybus-X’s scan list. Each bit represents the status of the slave at the corresponding MAC Table 6-7 Status Assembly Format © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 62 The Anybus-X scanner status appears at the entry associated with the Any- bus-X MAC ID. See Table 10-6, “Node Status Codes,” on page 10-5 for a list of status codes. Table 6-7 Status Assembly Format (Continued) © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 63: Notes About Using Controllogix I/O Connections

    Run/Idle header that is automatically added by the controller. The maximum connection size that ControlLogix allows is 500 bytes. Hence the total 508 bytes of the input and output areas cannot be accessed when using Con- trolLogix. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 64: Cip Bridging

    Anybus-X will correctly route the message to the next bridge using an Uncon- nected Send service over DeviceNet. Note: The Anybus-X does not support message routing from DeviceNet to Ether- Net/IP. Port Addresses Port Network Address EtherNet/IP DeviceNet Table 6-8 Port Addresses © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 65: Modbus/Tcp Interface

    Read Multiple Registers IN/OUT Word Read Input Registers IN/OUT Word Write Coil Write Single Register Word Force Multiple Coils Force Multiple Registers Word Mask Write Registers Read/Write Registers IN/OUT Table 7-1 Modbus Commands © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 66: Supported Exception Codes

    Illegal Data The data address received in the query is out- address side the initialized memory area Illegal Data The data in the request is illegal Value Table 7-2 Exception Codes © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 67: Modbus/Tcp Addressing

    1001h 1002h 1003h 1004h 1005h 1006h 100Eh 100Fh 101h 1010h 1111h 1012h 1013h 1014h 1015h 1016h 101Eh 101Fh 13Fh 13F0h 13F1h 13F2h 13F3h 13F4h 13F5h 13F6h 13FEh 13FFh Table 7-5 Status Addressing © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 68: I/O Data Content

    The content of the input data is the same as the content of that in EtherNet/IP (See section “Input Assembly” on page 6-5) Status Data The content of the status data is the same as the content of that in EtherNet/IP (See section “Status Assembly” on page 6-7.) © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 69 Anybus-X. Both bits must be set for the Anybus-X to be in Run mode; oth- erwise the module will be in Idle mode. 1-31 Not used. Table 7-7 Output Run/Idle Register Bit Definitions © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 70 Run mode; otherwise the module will be in Idle mode. Fault. Sets a fault condition in the . Disable DeviceNet network. Not used. Reset the module. 5-31 Not used. Table 7-8 Output Command Register Bit Definitions © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 71: I/O Data Format

    The I/O Byte Swap option will aid this issue by swapping the bytes on 16-bit boundaries. However, the user is still responsible for knowing where in the I/O tables DeviceNet data has been mapped. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 72: File System

    File Size The file size is not restricted. Naturally, a file cannot be larger than the available space, see below. Free space There is approximately 1.4MB available for user files. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 73: Security

    A default “sys_pswd.cfg” file is provided. The default file provides a guest user access to FTP and Telnet. This user has username “guest” and password “guest”. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 74 Administration mode. The user has full access to the file system via FTP or Telnet. No login is needed for Telnet, and the FTP server accepts any username/password combination. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 75: Structure

    (files used in web pages) email_1.cfg email_2.cfg ad_pswd.cfg (Admin password file) (User defined email files) email_10.cfg email email_1.cfg email_2.cfg (Admin defined email files) email_10.cfg Figure 8-1 File System Directory Structure © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 76: Default Files

    The following files are also on the Anybus-X; \pswd\ad_pswd.cfg, \telwel.cfg, \ethcfg.cfg, \index.htm \user\pswd\sys_pswd.cfg. These files can be edited as needed. Each file is discussed below. The Anybus-X power must be recycled for any changes to take effect. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 77: Virtual File System

    ASCII files and can be edited with any text editor. Depending on security settings, the files may be inaccessible for normal users. Note: These files shall not be used to store any user or application data. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 78: Configuration Files

    ‘10’ Forces the module at 10mbits [Duplex] Duplex ‘Auto’ Autonegotiation will be used Auto ’Full’ Forces the module to operate only at full duplex. ’Half’ Forces the module to operate only at half duplex. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 79 IP addresses. If a protocol header is not given, the system will use the configuration set under the header ‘All’. If the ‘All’ header is not given, the protocol will not accept any connections. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 80 In this example, the settings described above will be loaded from the file ‘\my_settings\ip_access_rights.cfg’. Note: The module has to be restarted in order for any changes in this file to have affect. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 81 In this example, the settings described above will be loaded from the file ‘\my_settings\on-off-line_configuration.cfg’. Note: The module has to be restarted in order for any changes in this file to have affect. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 82: Password Files

    In this example, the username is ‘JohnQ’, and the password is ‘Password’. If no ‘:’ is present, the password will be equal to the username. Example: BillH In this example, both username and password will be ‘BillH’. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 83 In this example, the accepted user/passwords will be loaded from the files ‘\user\pswd\my_passwords\web_pswd.cfg’ and ‘\user\pswd\my_passwords\more_pswd.cfg’ If any errors in the format of these files is detected the user/password protection will be ignored. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 84: Other Files

    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\telnet_welcome_message.txt In this example, the welcome message will be loaded from the file ‘\my_settings\telnet_welcome_message.txt’. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 85 The file must have the following format. [Register] Area, Offset, Type [Register Match] Match Value, Mask, Match Operand [To] Recipient(s) [From] Sender [Subject] Subject Line [Headers] Extra Headers [Message] Message Body © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 86 Sender text Sender email address Subject email subject text (only 1 line) Extra Head- text Optional. It may be useful to send HTML email Message text Message Body Table 8-1 Email Parameters © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 87 A byte is read from the Input area at location 3. [Register match] 0x20, 0x7F, > Mask Input byte with 0x7F, if result greater than 0x20 send email. [To] support@your_company.com [From] YourDevice@your_network.com [Subject] Status [Message] Data out of range © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 88: Anybus-X Web Page Files

    63 DeviceNet nodes with an indication of whether the node is con- figured in the Anybus-X’s scanlist (Active). Nodes in the scanlist will have the word “Active” next to it. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 89 Click on the “Faulted Nodes” link to display a web page providing a status table of the possible 63 DeviceNet nodes with additional status information for each node in the Anybus-X’s scanlist. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 90: It Functionality

    This can be done by changing the username or password. The Administrator can access the Password files to add or remove users or change passwords. (See files “‘sys_pswd.cfg & ad_pswd.cfg’” on page 8-11). © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 91: The Ftp Server

    ‘admin’ in order to get admin permission. The admin user has full access to the file system. The root directory will be “\” and no files or folders will be hidden. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 92 - Exit station program Also try ‘help general|diagnostic|filesystem’ version Usage: version This command will display version information, serial number and MAC Address of the module. exit Usage: exit This command closes the Telnet session. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 93 The following commands can be viewed by the command ‘help diagnostic’ arps Usage: arps Display ARP stats and table iface Usage: iface Display net interface stats sockets Usage: sockets Display socket list routes Usage: routes Display IP route table © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 94 Creates a directory. If no path is given, the directory is created in the current direc- tory. Usage: rd [[path][directory name]] Removes a directory. The directory can only be removed if it is empty. Usage: cd [path] Changes current directory. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 95 This command moves a file or directory from the source location to a specified destination. copy Usage: copy [[source path][source file]] [[destination path]] This command creates a copy of the source file at a specified location. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 96 Usage: type [[path][filename]] Types the contents of a file. mkfile Usage: mkfile [[path][filename]] Creates an empty file. append Usage: append [[path][filename]] [“The line to append”] Appends a line to a file. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 97: Http Server

    - Shows the contents of config.htm config.htm - Configuration frame page configform.htm - Configuration form page store.htm - Configuration store page logo.gif - Logo configuration.gif - Configuration picture boarder_bg.gif - Picture boarder_m_bg.gif - Picture © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 98: Ssi Functionality

    (see “SSI Includes in emails” on page 9-23). The following are available SSI functions. Ethernet Address Display Functions DisplayIP This function returns the currently used IP address. Syntax: <?--#exec cmd_argument=’DisplayIP’--> DisplaySubnet This function returns the currently used Subnet mask. Syntax: <?--#exec cmd:argument=’DisplaySubnet’--> © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 99 <?--#exec cmd_argument=’DisplayGateway’--> DisplayDhcpState This function returns whether DHCP/BootP is enabled or disabled. Syntax: <?--#exec cmd_argument=’DisplayDhcpState( “Output when ON”, “Output when OFF”)’--> DisplayEmailServer This function returns the current SMTP server address. Syntax: <?--#exec cmd_argument=’DisplayEmailServer’--> © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 100 Invalid Email Server IP address! Configuration stored correctly. Invalid DHCP state! Failed to store the configuration! For information about how to change the SSI output, please see “Changing SSI Output” on page 9-21. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 101 Each conversion specification begins with the character “%” and ends with a conversion character. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 102 L A length modifier. “L” or “l” indicates that the argument is along or unsigned long. Table 9-1 printf Modifiers © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 103 “%e” or “%E” is used if the exponent is less than -4 or greater than or equal to the precision; other- wise “%f” is used. Trailing zeroes and trailing decimal point are not printed. Print a “%” Table 9-2 printf Conversion Characters © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 104 Reads a string (char*) byte from position offset in the OUT area OutReadFloat(offset) Reads a floating point (float) value from position offset in the OUT area Table 9-3 SSI Functions to Read Data © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 105 DeviceNet nodes, to be stored as little endian. The web server operates in a big endian environment. Some data may have to be manipulated to account for byte ordering when displaying it on a web page. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 106 “\0” that will be added. e, f, g Floating-point number with optional sign, optional decimal point and optional exponent; float Literal “%”; no assignment is made. Table 9-4 scanf Formats © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 107 DeviceNet nodes, to be stored as little endian. The web server operates in a big endian environment. Some data may have to be manipulated to account for byte ordering when writing it from a web page. © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 108 “ObjName”, OutWriteString (offset), n)’--> offset specifies the offset from the beginning of the OUT area. n (optional) specifies maximum number of characters to read Default output: Success - Write succeeded Failure - Write failed © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 109 The contents can either be Appended to the file or overwrite the current content of the file. Syntax: <?--#exec cmd_argument=’SaveToFile( “File name”, “Separator”, [Append|Overwrite])’--> Default output: Success - Form saved to file Failure - Failed to save form © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 110 Invalid DHCP state: “String to use when the DHCP state is invalid” [scanf] Success: “String to use on success” Failure: “String to use on failure” [IncludeFile] Failure: “String to use when failure” To include filename “%s” can be included to the string once © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 111 ‘\ssi_str.cfg’. The maximum size of a string is 128 bytes. Syntax: <?--#exec cmd_argument=’SsiOutput( “Success string”, “Failure string”)’--> Example: This example shows how to change the output strings for a scanf SSI call. <?--#exec cmd_argument=’SsiOutput (“Parameter1 updated”, “Error”)’--> <?--#exec cmd_argument=”scanf(“Parameter1”, “%d”, OutWriteByte(0))’--> © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 112: Email Client

    For predefined emails it possible to include data. This is performed in the same way data is added to web pages using SSI functions. The supported SSI functions for emails include: • DisplayIP • DisplaySubnet • DisplayGateway • DisplayEmailServer • printf • IncludeFile • SsiOutput © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 113: Displaying I/O Data On A Web Page

    IN able and the third byte of data of the OUT table using the SSI “printf” command. <html> <head> <title>Ethernet to DeviceNet Anybus-X</title> </head> <body> <center> </h1> <?--#exec cmd_argument='printf(“IN 2 = 0x%2X”,InReadUByte(2))'--> <?--#exec cmd_argument='printf(“OUT 3 = 0x%2X”,OutReadUByte(3))'--> </body> </html> © 2005 HMS Industrial Networks. AB7607 User manual...
  • Page 114: Status And Diagnostics

    Major unrecoverable faults are indicated by a series of green and red flashes. If the Anybus-X Status LED is flashing red and green for an extended period of time, count the number of red and green flashes and call technical support. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 115 Anybus-X reset has been detected. This will typically be a con- figuration error. Red,Green Self Test A self test of the module is in progress. Alternate Flashing Table 10-3 DeviceNet Module Status LED States © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 116 A fault that can be corrected and does fault. not require a Anybus-X reset has been detected. Red,Green Self Test A self test of the module is in progress. Alternate Flashing Table 10-4 Ethernet Module Status LED States © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 117: Diagnostic Web Pages

    If a node is Idle, the page will display “Idle” next to the node’s MAC ID. Note that only nodes which are configured as slaves to the Anybus-X and the Anybus-X itself are updated on this page. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 118 The following table describes the meaning of each status value. Status Code Description Duplicate MAC ID test in progress. Duplicate MAC ID failure. Scanner configuration error. Communications failed with the device. Incorrect device type. Table 10-6 Node Status Codes © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 119 ADR keeper error. CAN network disabled. CAN bus-off. No DeviceNet power. Flash update in progress. CAN port is in Test mode. Device halted. Firmware failure. System failure. Table 10-6 Node Status Codes (Continued) © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 120: Status Assembly

    Net/IP both explicitly and using an I/O connection. The status assembly contains current status and diagnostic information pertaining to the Anybus-X’s DeviceNet interface. See “Status Assembly” on page 6-7 for complete details of the format and content of the assembly. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 121: Specifications

    EN50082-2-EMC Generic Immunity Standard, Part 2 - Industrial Envi- ronment This product is intended for use in an industrial environment. Electrical Specifications DC Power Operating voltage: 7-32v DC. Current Requirements: 130-140 mA at 24 VDC. © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 122: Mechanical Specifications

    Specifications 11-2 Mechanical Specifications Mechanical Rating IP20/NEMA 1 Dimensions Figure 11-1 Anybus-X Mechanical Dimensions I/O Data Sizes Input Maximum 508 bytes Input Output Maximum 504 bytes Output Status 128 bytes of Status data © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 123: Connectors

    Chapter 12 Connectors 12-1 Connectors Power Figure 12-1 Power Connector Connection 24 VDC + 24 VDC Common Table 12-1 Power Connector Pin Definitions MSTB 2,5/2-ST-5,08 ABGY Use Phoenix connector part number © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 124: Devicenet

    Connectors 12-2 DeviceNet Signal CAN_L Shield CAN_H Table 12-2 DeviceNet Pinout Use Phoenix connector part number MSTB 2,5/5-ST-5,08-ABGYAU © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 125: Ethernet Rj45

    Connectors 12-3 Ethernet RJ45 Signal Termination Termination Termination Termination Table 12-3 RJ45 Pinout © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 126: Auxiliary Rs-232 9 Pin D-Subminiature

    Connectors 12-4 Auxiliary RS-232 9 Pin D-Subminiature Signal Receive Transmit Table 12-4 RS232 9 Pin © 2005 HMS Industrial Networks AB7607 User manual...
  • Page 127: Warranty

    Warranty 13-1 Warranty HMS Industrial Networks warrants all new products to be free of defects in material and workmanship when applied in the manner for which they were intended and according to HMS Industrial Networks’ published information on proper installation. The Warranty period is one year from the date of shipment.
  • Page 128: Support

    Chapter 14 Support 14-1 Support Technical Product Assistance If you need to contact HMS Industrial Networks for technical assistance, ask for Anybus-X technical support at: +46 (0) 35 17 29 00. You can obtain technical assistance by email at: support@anybus.com...

Table of Contents