What happened to the serial port on my laptop? Indeed it seems that our PCs are upgrading faster than the industrial devices we still use. Being an Industrial IT company, on a daily basis we still have to use HyperTerminal and other serial based software to configure devices and get information out of systems such as belt scales and gateways.
So what if I need to get a device that speaks serial onto an industrial Ethernet based protocol such as PROFINET, MODBUS TCP, EtherCat or Ethernet/IP? Well for that we can use the Anybus Communicator, which we have spoken about before. That is a protocol converter. Incidentally, this device is easily configured using a serial port, but for that I need to have a serial port on my PC. (The new generations of these gateways are moving to USB, but what about all those thousands that are in the field already?)
One solution is too buy a USB to Serial Converter, but anyone that has used one of these will most likely agree that they can be quite troublesome. So what’s my other option? My other option is to get an Serial to Ethernet converter such as the Anybus Serial Server. It can convert RS 232 to Ethernet or RS 485 to Ethernet. It’s also so easy to use:
Step 1) Power it up with 24V and connect it to your LAN or to your Ethernet port
Step 2) Install and run the free AnybusIP config tool. It scans by MAC address so you can use this to discover what the IP address of your serial server is. Here you can change the IP address and open up its web interface from your browser.
Step 3) Click on "Configuration" and configure the ports you are going to use. I used port 2000 for the RS-232 port, and port 2001 for the RS-485 port. The server is now ready to use.
Step 4) Now we have to tell our computer where these virtual com ports are. Install and run the Serial/IP driver. You can find it in the Control Panel.
Step 5) Choose your COM port and fill in its IP address and port number.
Here’s a tip: Choose port numbers that are less than 10!
Now I’m ready to use my COM ports. In the below example I am now able to program my Anybus Communicator through a LAN with either COM7 or COM8. Since COM 8 is actually an RS485 port, I won’t be able to use that to program my Anybus communicator, but it is useful for other applications. In our Anybus Communicator and Modbus training, we use it to run a slave simulator through this port.
Making Serial COM ports available through a LAN, means that you are able to program devices that are located long distances away. We used the Serial Server to program an Anybus Communicator which was located on a distant conveyor belt, from the comfort of an air conditioned control room.
Popular posts from this blog
The Netbiter® device along with its ArgosTM web service technology is becoming increasingly popular in South Africa. Already it has been implemented at numerous sites for monitoring water treatment rigs, heavy machinery and other metering equipment. Very quickly the user is able to connect some IO or MODBUS devices to the Netbiter® and view and control these values through a web-based graphical dashboard. The user is able to see the current state of their system, view historical data and even receive alarms from their system. No programming required! This is all done through the secure Netbiter ArgosTM Web Interface. It is a very powerful way to monitor a MODBUS device over the Internet and by using the IO Extender cards, the user is able to switch relays and monitor additional digital and analogue IO though a web browser. Netbiter® is truly a complete package that provides one of the most flexible solutions to monitor control devices over The Internet. Furthermore, as of Marc
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