Preface................. iv About This Manual ..........iv Important User Information ........iv Related Documentation........... v Document Revision..........v Anybus-X Module Description ....... 1-1 Overview ..............1-1 Theory of Operation ........... 1-2 J1939 Features ............1-3 Ethernet Features ............1-3 System Requirements ..........1-4 Hardware Description..........
Page 3
Ethernet Network Configuration ......... 7-7 J1939 Network Configuration ........7-7 J1939 I/O Configuration ..........7-8 Status and Diagnostics..........8-1 Anybus-X LEDs ............8-1 J1939 Status Codes ........... 8-4 Diagnostic Web Pages ..........8-5 Status Assembly ............8-5 Specifications ............9-1 Environmental Specifications ........
Preface iv Preface About This Manual This manual discusses the use of the Anybus-X Ethernet to J1939 Gateway. It describes how to install, configure, and operate the module. Important User Information The data and illustrations found in this document are not binding. We reserve the right to modify our products in line with our policy of product development.
Anybus-X Module Description Overview The Anybus-X Ethernet to J1939 Gateway allows you to monitor and control data on a J1939 heavy duty vehicle network from an Ethernet device. Data from J1939 messages are mapped to I/O table locations, making them accessible to the Ether- net network.
Table Figure 1-1 Anybus-X PassageWay Operation The Anybus-X appears as a single device on either network using standard proto- col mechanisms. No special, or extended, protocol features are required of the devices on either network to read and write the data flowing through the Passage- Way;...
See “Ethernet Network Configuration” Page 3-6 for more details on con- figuring the IP address using the switches. On the front of the Anybus-X module are 6 LEDs that are used for status indica- tion. These LEDs provide visual status for the overall module, the J1939 interface, and the Ethernet interface.
The J1939 network connection is a 5-pin terminal block located next to the power connection on the end of the module. The female terminal block connector is pro- vided with the Anybus-X. Connections to be made are illustrated in Figure 2-3. 24VDC +...
(3) Transmit Data Figure 2-4 Configuration Port Connector The Anybus-X is connected to a PC for configuration using a null-modem cable. A null-modem cable has pins 2 and 3 swapped so that the PC’s Transmit line is connected to the Anybus-X’s Receive line, and the PC’s Receive line is connected to the Anybus-X’s Transmit line.
Chapter 3 Configuration 3-1 Configuration This chapter describes how the Anybus-X Ethernet to J1939 Gateway is config- ured using the Anybus-X Configuration Tool (BWConfig). Detailed descriptions of each configurable parameter in the gateway are provided as well as how they are set in the tool.
Page 18
Launch BWConfig from the Anybus-X Configuration folder in the Windows Start Menu. When BWConfig is started, it will attempt to locate a Anybus-X module on one of the PC serial ports. If a module is found, the status area of the tool will be updated to show the module type and status of the module that was located.
Page 20
Configuration of the content and layout of the I/O tables. Tool Operations The following operations are available through the BWConfig menus and tool bar. New File Create a new Anybus-X configuration for the selected type of module. Open File Open a previously saved Anybus-X configura- tion.
Page 21
Remove I/O Point Delete the selected input or output data point from the J1939 I/O configuration. 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.
Configuration 3-8 J1939 Network Configuration The J1939 network configuration contains the parameters used by the Anybus-X for J1939 address management and other network interface options. The parame- ters are described in Table 3-2 below. Refer to Figure 3-1 to see how each param- eter is displayed on the user interface.
Page 31
Configuration 3-15 J1939 Diagnostic Tables The Anybus-X has the ability to monitor the commonly used diagnostic messages on J1939. The Active Diagnostics (DM1) and Previously Active Diagnostics (DM2) can be monitored by the Anybus-X. Configuring diagnostic tables is done through the input data points in much the same manner as data PGN configura- tion.
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 Anybus-X’s web page which allows changing the IP Address, Subnet mask, and GateWay address settings.
Page 36
The IP address, subnet mask, and default gateway address are displayed in the edit boxes on the web page. Changing any values and clicking the Submit Values but- ton will set the addresses in the Anybus-X. Note that a power cycle or module reset is required for the changes to take effect.
Page 37
Configuration 3-21 IP Address Initialization The following flowchart describes how the IP configuration is determined when the Anybus-X is powered up. Start Valid Configuration DIP Switch = 0 File? Request config from DHCP/ DHCP BOOTP Server. Enabled? Timeout 30 secs...
As an I/O Server it can respond to requests for I/O messages but it does not gener- ate such requests. A Scanner device would generate these requests. The Anybus-X supports Message Server functionality. This means it can act as a target message requests.
EtherNet/IP 4-2 I/O Messaging The Anybus-X allows an EtherNet/IP Scanner access to the I/O data tables. The data received from the J1939 network is collected in the Input Table (IN) of the Anybus-X and becomes the EtherNet/IP Input data to the EtherNet/IP scanner.
Page 41
0. The status register is a bit string with the following bit definitions. Description Anybus-X is in Run mode. (Cleared if in Idle mode.) Anybus-X is online on the J1939 network. J1939 network interface fault. 3-31 Not used.
Page 42
System Run Mode. Used in conjunction with the Local Run Mode bit in the Command register to determine the run mode of the 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.
Page 43
Run Mode bit in the Command register to deter- mine the run mode of the Anybus-X. Both bits must be set for the Anybus-X to be in Run mode; otherwise the module will be in Idle mode. Reset Faults. Resets the J1939 network interface faults.
Page 44
EtherNet/IP 4-7 Status Assembly The status assembly is a collection of status and diagnostic information for the Anybus-X J1939 interface. The information in the assembly is updated once a second. Byte Size Data Type Name Description Offset in Bytes UINT...
Using ControlLogix with the Gateway When configuring I/O connections between a Rockwell Automation Control- Logix EtherNet/IP scanner and the Anybus-X, the Generic EtherNet/IP device type should be used. Figure 4-2 shows an example RSLogix configuration for an Ethernet to J1939 Gateway module. Note that the sizes for Input and Output should be set based on the bytes allocated in the I/O tables in the J1939 I/O con- figuration done with BWConfig.
Chapter 5 Modbus/TCP 5-1 Modbus/TCP Interface The Anybus-X supports Modbus/TCP commands. The implementation of the Modbus/TCP server is done according to the Modbus/TCP specification 1.0. All commands according to class 0 and class 1 are implemented and a subset of the class 2 commands.
Modbus/TCP 5-2 Supported Exception Codes An exception code is returned in the response when the Anybus-X is unable to service the Modbus request that was received. The following exception codes will be used by the Anybus-X. Exception Name Description Code...
Modbus/TCP 5-3 Modbus/TCP Addressing The Anybus-X’s Input (IN) and Output (OUT) areas are set to a maximum size of 508 bytes each. The Status assembly area is 10 bytes. When accessing these areas, with Modbus commands, the addressing is done according to the following tables.
Modbus/TCP 5-5 I/O Data Format The Anybus-X transfers I/O data between Modbus/TCP and J1939 without regard to data content or format. Due to this, the user is responsible for making sure that the devices on either network understand the format of the data.
Using BWConfig, the user is able to configure an active or previously active diag- nostic table (or both) for a given J1939 device. The Anybus-X will update the tables based on the contents of DM1 or DM2 messages produced on J1939 by the device, and provide read access to the tables on Ethernet.
Page 67
The output data points determine what PGNs are going to be produced by the Anybus-X on J1939, and what the content of those PGN messages is going to be. Since the example application only needs to produce 16 bits of data in a single PGN message, the resulting configuration is quite simple.
Page 72
The output data points determine what PGNs are going to be produced by the Anybus-X on J1939, and what the content of those PGN messages is going to be. Since the example application only needs to produce 16 bits of data in a single PGN message, the resulting configuration is quite simple.
Status and Diagnostics Anybus-X LEDs There is a group of LED indicators on the front of the Anybus-X that is used to annunciate the current status of the module and the network interfaces. The layout of the LEDs is shown in Figure 8-1.
Page 75
Correct the problem and reset the Anybus-X. Flashing Red Recoverable 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...
Status and Diagnostics 8-4 J1939 Status Codes The status codes for the J1939 interface are displayed by the Anybus-X Configu- ration Tool in the network configuration pane associated with the J1939 network. There are 2 status codes: a general status, and an error status. The general status is displayed as a textual status.
Diagnostic Web Pages Status and Settings Web Page The Status and Settings page displays the Anybus-X identification information, current status, and IP configuration. The IP configuration can be changed from this page. The module status is updated approximately every 2.5 seconds.
Warranty 11-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.
Chapter 12 Support 12-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...
Need help?
Do you have a question about the Anybus-X and is the answer not in the manual?
Questions and answers