Pyramid Solutions AB7603 User Manual

Pyramid Solutions AB7603 User Manual

Bridgeway ethernet to devicenet gateway
Table of Contents

Advertisement

Quick Links

BridgeWay
Ethernet to DeviceNet Gateway

User Manual

Part No. AB7603
Pyramid Solutions
1850 Research Drive, Suite 300
Troy, Michigan 48083
Phone 248-524-3890
Web www.pyramid-solutions.com
Publication PUB-AB7603-008

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AB7603 and is the answer not in the manual?

Questions and answers

Summary of Contents for Pyramid Solutions AB7603

  • Page 1: User Manual

    BridgeWay Ethernet to DeviceNet Gateway User Manual Part No. AB7603 Pyramid Solutions 1850 Research Drive, Suite 300 Troy, Michigan 48083 Phone 248-524-3890 Web www.pyramid-solutions.com Publication PUB-AB7603-008...
  • Page 2: Table Of Contents

    DeviceNet Network Configuration ......4-1 DeviceNet I/O Configuration........4-8 Ethernet Network Configuration ....... 4-11 Using the Ethernet File System ........ 4-13 DeviceNet Interface..........5-1 Network Communications........... 5-1 Configuration .............. 5-1 Automatic Baud Rate Detection ......... 5-1 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 3 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 BridgeWay Web Page Files........8-17 IT Functionality ............9-1 Default User Accounts..........9-1 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 4 I/O Data Sizes ............11-2 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 5: Preface

    The illustrations and samples in this guide are intended solely for the purpose of example. Pyramid Solutions 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 7: Bridgeway Module Description

    IP to DeviceNet. • BridgeWay 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 10: It-Features

    BridgeWay 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 BridgeWay module. (DeviceNet power may be used.) © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 11 DeviceNet configuration software such as RSNetWorx for DeviceNet to configure DeviceNet devices and BridgeWay’s DeviceNet operation. RSLinx version 2.31 or later is required. Optional Software • BridgeWay Configuration Tool Software to update BridgeWay’s firm- ware. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 12: Hardware Description

    Ethernet interface. See “BridgeWay 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 13: Installation

    •Terminal tightening torque must be between 5-7 lbs-in (0.5-0.8 Nm). •For use in Class 2 curcuits only. •Suitable for surrounding temperature of 65 degrees C maximum. •Use 60/75 C copper wire only. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 14: Power And Network Connections

    The power and network connections to the BridgeWay 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 BridgeWay Power and Network Connections © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 15: Connecting Power

    24VDC Common 24 VDC + Figure 2-2 Power Connection The BridgeWay requires 24 volts DC power. The module will start immediately when power is applied (There is no On/Off switch on the module). © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • 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 “Ethernet Network Configuration” on page 3-1. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 17: Configuration

    This is a private address and can only be used on a local intranet. In such a case a Web Browser such as Microsoft’s Internet Explorer can be used to access the BridgeWay’s web page which allows changing the IP Address, Subnet mask, and GateWay address settings. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 18 Subnet mask, and Gateway address is automatically configured by the DHCP/BootP server. It can be enabled using the BridgeWay’s Settings web page. Note: The use of DHCP is the default configuration for the BridgeWay as shipped. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 19 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 20 Configuration 3-4 Arp/Ping Example: The following commands will set the IP address of a BridgeWay 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 21 The ethernet addresses can also be configured using the Status and Settings web page resident on the BridgeWay. The Status and Settings web page appears as shown below. Figure 3-2 Status and Settings Web Page © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 22 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 23 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-3 IP Configuration Initialization Sequence © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 24: Devicenet Network Configuration

    RSNetworx, or through the parameter editor in NetTool-DN. See “DeviceNet Network Configuration” on page 4-1 for details on setting this option using these tools. Note: When the autobaud option is enabled, the baud rate attribute cannot be changed. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 25 RSNetWorx or NetTool-DN, during configuration of the net- work. The laster version of the EDS file for the BridgeWay can be downloaded from Pyramid Solution’s web site, or received by contacting Pyramid Solutions. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 26: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 27: Quick Start

    Make sure a PC running RSNetWorx for DeviceNet is connected to the DeviceNet network. • With the BridgeWay un-powered, connect the DeviceNet network cable to the DeviceNet connector of the module. (See “Connecting DeviceNet” on page 2-4) • Power up the BridgeWay. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 28 Step 3: Register the BridgeWay 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 Pyramid Solutions web site. The EDS file must be registered with RSNetWorx before configuration can continue.
  • Page 29 BridgeWay must be power cycled before the new baud rate will take effect. Note: When the MAC ID is changed, the BridgeWay’s I/O configuration is cleared. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 30 Note: If the BridgeWay 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 31 DeviceNet network. If this is the first time that Net- Tool-DN has been used with a BridgeWay, the BridgeWay’s icon will indicate “No EDS file registers for this device”. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 32 Step 3: Register the BridgeWay 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 Pyramid Solutions web site. The EDS file must be registered with NetTool-DN before configuration can continue.
  • Page 33 Note: If the BridgeWay 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 34: Devicenet I/O Configuration

    This shows the format of the Input table of the BridgeWay. This is the format of the input data that will be sent to the EtherNet/IP scanner. See “I/O Mapping” on page 3-4. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 35 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 36 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 37: Ethernet Network Configuration

    (Don’t include the “<“or “>” characters.) Note: The BridgeWay’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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 38 The BridgeWay 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 39: 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’ © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 40 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 41 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 42: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 43: Slave Device Communication

    The BridgeWay 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 44: 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 BridgeWay will be intercepted and relayed to the slave. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 45: 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 BridgeWay is reset or powered up, it begins operation in Idle mode. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 46: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 47: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 48: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 49: Cip Messaging

    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 to another network. There are two ports on the BridgeWay, one for EtherNet/IP and one for DeviceNet. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 50 BridgeWay’s Output Table (OUT) and sent to the DeviceNet slaves which con- sumes it. EtherNet/IP Scanner EtherNet/IP EtherNet/IP EtherNet/IP Input I/O Output I/O BridgeWay Output Input DeviceNet DeviceNet DeviceNet DeviceNet DeviceNet Slave Slave Slave Slave Figure 6-1 BridgeWay I/O Transfer © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 51: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 52 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 53 BridgeWay. Both bits must be set for the BridgeWay to be in Run mode; otherwise the module will be in Idle mode. 1-31 Not used. Table 6-6 Output Run/Idle Register Bit Definitions © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 54 Idle mode. Fault. Sets a fault condition in the BridgeWay. Disable DeviceNet network. Not used. Reset the BridgeWay module. 5-31 Not used. Table 6-7 Output Command Register Bit Definitions © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 55 64-bit Bit- Active Node Indicates which DeviceNet nodes are string Table configured in the BridgeWay’s scan list. Each bit represents the status of the slave at the corresponding MAC Table 6-8 Status Assembly Format © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 56 The BridgeWay scanner status appears at the entry associated with the BridgeWay MAC ID. See Table 10-6, “Node Status Codes,” on page 10-5 for a list of status codes. Table 6-8 Status Assembly Format (Continued) © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 57: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 58: Cip Bridging

    BridgeWay will correctly route the message to the next bridge using an Unconnected Send service over DeviceNet. Note: The BridgeWay does not support message routing from DeviceNet to Eth- erNet/IP. Port Addresses Port Network Address EtherNet/IP DeviceNet Table 6-9 Port Addresses © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 59: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 60: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 61: Modbus/Tcp Addressing

    1000h 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 62: I/O Data Content

    The content of the input and output data is the same as the content of the I/O assemblies used in EtherNet/IP (See section “Input Assembly” on page 6-5, sec- tion “Output Assembly” on page 6-6, and section “Status Assembly” on page 6- © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 63: I/O Data Format

    Care should be taken to make sure that the Modbus/TCP master handles input data and transmits output data in a format acceptable to the target DeviceNet devices (least significant byte first). © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 64: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 65: 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”. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 66 If no admin password file (see “Password Files” on page 8-11) is found the mod- ule operates in 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 67: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 68: Default Files

    The following files are also on the BridgeWay; \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 BridgeWay power must be recycled for any changes to take effect. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 69: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 70: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 71 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 72 \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’. Note: The module has to be restarted in order for any changes in this file to have affect. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 73 \my_settings\on-off-line_configuration.cfg 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 74: 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’. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 75 \user\pswd\my_passwords\more_pswd.cfg 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 76: 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’. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 77 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 78 Sender text Sender email address Subject text (only 1 email subject line) Extra Head- text Optional. It may be useful to send HTML email Message text Message Body Table 8-1 Email Parameters © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 79 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 80: Bridgeway Web Page Files

    63 DeviceNet nodes with an indication of whether the node is con- figured in the BridgeWay’s scanlist (Active). Nodes in the scanlist will have the word “Active” next to it. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 81 ‘\web\BW_NodeStatus.htm’ (Node Status) 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 BridgeWay’s scanlist. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 82: 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). © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 83: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 84 - 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 85 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 86 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 87 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 88 IT Functionality 9-7 type 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 89: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 90: 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’--> © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 91 <?--#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’--> © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 92 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 93 Each conversion specification begins with the character “%” and ends with a conversion character. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 94 L A length modifier. “L” or “l” indicates that the argument is along or unsigned long. Table 9-1 printf Modifiers © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 95 “%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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 96 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 97 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 98 “\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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 99 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 100 “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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 101 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 102 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 103 ‘\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))’--> © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 104: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 105: 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 BridgeWay</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> © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 106: Status And Diagnostics

    Major unrecoverable faults are indicated by a series of green and red flashes. If the BridgeWay 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 107 BridgeWay 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 108 A fault that can be corrected and does fault. not require a BridgeWay 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 109: 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 BridgeWay and the BridgeWay itself are updated on this page. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 110 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 111 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) © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 112: Status Assembly

    Net/IP both explicitly and using an I/O connection. The status assembly contains current status and diagnostic information pertaining to the BridgeWay’s DeviceNet interface. See “Status Assembly” on page 6-8 for complete details of the format and content of the assembly. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 113: 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. © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 114: Mechanical Specifications

    Specifications 11-2 Mechanical Specifications Mechanical Rating IP20/NEMA 1 Dimensions Figure 11-1 BridgeWay Mechanical Dimensions I/O Data Sizes Input Maximum 508 bytes Input Output Maximum 508 bytes Output Status 128 bytes of Status data © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 115: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 116: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 117: Ethernet Rj45

    Connectors 12-3 Ethernet RJ45 Signal Termination Termination Termination Termination Table 12-3 RJ45 Pinout © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 118: 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 © 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008...
  • Page 119: Warranty

    Warranty 13-1 Warranty Pyramid Solutions warrants all new products to be free of defects in material and work- manship when applied in the manner for which they were intended and according to Pyra- mid Solutions’ published information on proper installation. The Warranty period is one year from the date of shipment.
  • Page 120: Support

    Chapter 14 Support 14-1 Support Technical Product Assistance If you need to contact Pyramid Solutions for technical assistance, ask for BridgeWay technical support at: 1-248-524-3890. You can obtain technical assistance by email at: ProductSupport@pyramid-solutions.com. You can also obtain technical assistance and download documentation and firm- ware updates online at: http:/www.pyramid-solutions.com/Expertise_DataCom_Support.htm.

Table of Contents