Hopefully this post will help you if you are having trouble finding the IP address of your Anybus X gateway. The MODBUS TCP Client Range of these gateways enable you to control a MODBUS TCP server and port that information to a whole host of different protocols such as PROFINET, PROFIBUS, DeviceNet, etc.
When you get one of these units out of the box, you shouldn't have any problems searching for and configuring the gateway on your Ethernet network, but sometimes you are given a configuration that has been used in the plant already and now you need to make some changes.
So what is your first step? Install and run the Anybus IPconfig tool (available on the Anybus website or on the the CD that comes with your unit). Assuming your physical Ethernet connection is intact, you should be able to scan the network for any HMS devices that are connected to the network.
Tip: I would connect and Ethernet cable directly to the Gateway from the PC and disable the wireless card to avoid confusion later.
If you detect the device, you will be able to change the IP address from this tool, but I have some tips for you if don't detect anything:
Click on the "Settings" button and make sure that you're not broadcasting from a specific Network interface controller - in fact, disable this tick box just to be safe. Click OK and try run the scan again. If you still don't detect anything, go to the next tip.
Click on the "Settings" button and attempt to scan for your device by enabling the internal DHCP server tick box. If you pick up a device now, my suggestion is to disable DHCP either through the IPconfig tool or though the web browser if your network does not require it.
Note! make sure that your IPV4 LAN settings are in the same range as the gateway before attempting to browse to it.
Sometimes you'll find that you still cannot see the device. This might be because someone has disabled the Anybus IPconfig (HICP) scan in the web interface and this can be tricky to fix.
The problem is of course if you don't know the IP address and can't use the scan tool that you can't access the web interface to re-enable this setting. This is what I did to get around this:
With only my Ethernet cable connected between the gateway and my PC, I ran a tool called Wireshark to monitor the traffic on my Ethernet interface card. Basically, I'm looking for any packets of information that look like that they can be coming for a gateway and in particular traffic that is coming from a device with a MAC address starting with 00:30:11. This is the reserved MAC address range for HMS Industrial Networks. You could use other similar software to achieve the same thing. I was lucky- this message stood our right away because the gateway was sending out a broadcast ARP message:
Looking at the Sender IP I could work out where the message was coming from. I changed my LAN settings to be in the same range, connected via the web browser and re-enabled the scan via the Anybus IPconfig.
If you still don't come right, we can send a backup file that you can load onto an SD card. You insert the SD card into the unit and power up. This will reset your device to our default configuration and you will lose your mapping settings, but at least you will be able to scan for your device again.
Popular posts from this blog
Last week IDX were called to site at a large commercial residence building in Pretoria, South Africa. Where our client was implementing an IoT solution for remote monitoring and control of various HVAC and power systems in the building. The control system the SI chose in this case was a Modbus enabled Industrial Micro PC called the Revolution PI. The client had Modbus sensors connected to boilers, air conditioning systems, ventilation systems and power meters. The Modbus communications between the controller and the sensors were intermittently failing due to various installation and implementation faults: 1. Earthing and Shielding Within any fieldbus communication installation, one of the requirements to ensure uninterrupted operation is to implement adequate grounding and shielding techniques. Effective grounding and Shielding help to prevent electrostatic and electromagnetic pickup, which can lead to failed communications. Some of the shielding and grounding req
In this blog, I will discuss the steps involved in getting the Netbiter to record and display values coming out of the ComAp Generator Panel, so that one can do remote monitoring and control of the generator. The Netbiter Model used in this case is the EC220 and the panel used is the InteliLite AMF 26 P. The steps followed here can be applied to any MODBUS device due to the generic nature of the Netbiter. S tep 1 - Physical Connection Check that the Control Panel has a communication module attached to the back of it. You will need to establish the medium (RS458/RS232) and the protocol spoken (MODBUS RTU/ASCII) - all of this information will come from the user manual of the generator. Finally confirm the communication settings (baud rate, parity, stop bits, etc) - these can sometimes be changed so check what they are on the actual panel. In this case, we have the following settings: MOUBUS RTU over RS232 (you'll need an external converter to convert the RS232 to RS
Time to dust off the cobwebs and do some "legacy" development! In this blog, I'm going to show you how to get to a point where you can start writing Java code on the HMS Anybus Communicator. I find that it doesn't matter what language you code in, the tricky bit is getting to the point where you can simply create and run the time-honoured "Hello World!" program. Using new editors, sorting out dependencies, making physical hardware connections can take up a big chunk of your time. First, some information on the hardware platform: The Anybus brand from HMS contains hundreds of gateways (or protocol converters) that can be used to convert between common industrial communications protocols such as PROFIBUS, MODBUS, Ethernet/IP, ControlNet, DeviceNet, PROFINET, CANOpen, J1939, etc. Check out anybus.com for a full list of protocols supported out of the box. Using these gateways you can for instance read registers from a MODBUS device and make them available