Select your language

Simulate Modbus

Written by David Posted on 10 April, 2011 at 13:29

Well, first of all I wanted to apologize for leaving the blog standing still. Lately I have gotten into too many messes and I walk with the right time, justito.

Recently, I found myself in the need to develop a web application, to supervise an installation with a telemecanique automaton. As a communications protocol I preferred to use Modbus rtu. But I had to finish the project at home, and I didn't feel like setting up an automaton with the fuss of cables and so on, to do the tests. So I looked for a way to be able to simulate the operation and, luckily, I soon found the solution.

I used a free modbus simulator called Modbus_RcSim, the next thing was to find a way to communicate it with my application, for this I used VSPE, Virtual Serial Port Emulator. This interesting program allows us to do some interesting things with the series ports. In this case, I used it to create two virtual serial ports connected to each other. This way I could establish communication with RcSim and my app.

The rest of the work was to launch an application in Vb.net, which was able to read modbus and serve the data to php to make the web application. To be able to read modbus use a free modbus library called NModbus.

Bookmark on DeliciousDigg this postRecommend on Facebookshare via RedditShare with StumblersTweet about itSubscribe to the comments on this post
- Publicidad -

Authors: David

See original.

KNX Latin America Building Automation Days: a key event to boost your business in automation and home automation

KNX Latin America Building Automation Days: a key event to boost your business in automation and home automation

Chile. On May 15, Santiago de Chile will be the meeting point for automation and intelligent technology professionals, with the holding of the Building Automation Days by KNX LATAM – Chile Edition.

Europe accelerates the transition to natural refrigerants in the rail sector

Europe accelerates the transition to natural refrigerants in the rail sector

International. BITZER presents efficient and sustainable solutions for HVAC systems in trains. European regulation accelerates the transition to natural refrigerants in mobile applications, boosting...

Webinar: Design and Best Practices in Heat Exchangers for HVAC Systems

Webinar: Design and Best Practices in Heat Exchangers for HVAC Systems

International. Heat exchangers are essential components in HVAC systems and represent a key element in the energy performance of buildings.

Giovanni Barletta is re-elected as president of ACAIRE for the ninth consecutive year

Giovanni Barletta is re-elected as president of ACAIRE for the ninth consecutive year

Colombia. With the support of more than 86% of the board of directors, Giovanni Barletta was re-elected as president of the Colombian Association of Air Conditioning and Refrigeration (ACAIRE) for...

Weston opens the first store with waterloop technology in Mexico in Jalisco

Weston opens the first store with waterloop technology in Mexico in Jalisco

Mexico. In an important step towards sustainability in the retail sector, Weston announced the opening of the first store in Mexico equipped with an eco-friendly waterloop refrigeration system.

Taco celebrates 50 years of the 007 circulator, an icon of efficiency in hydronic systems

Taco celebrates 50 years of the 007 circulator, an icon of efficiency in hydronic systems

United States. Taco marks this year the 50th anniversary of its renowned 007 circulator, a key component in residential and commercial hydronic systems in North America.

Atacama Oasis, Latin America's largest solar and energy storage project, advances

Atacama Oasis, Latin America's largest solar and energy storage project, advances

Chile. The first two phases of Oasis de Atacama, the largest solar energy and storage project in Latin America, have already entered operation in the Antofagasta Region of Chile.

Danfoss brings together global leaders to drive sustainable heating and cooling

Danfoss brings together global leaders to drive sustainable heating and cooling

International. Danfoss held Sustainable Heating and Cooling Week at its Nordborg headquarters, an event that brought together experts from around the world to strengthen collaboration between...

Webinar: Heat Exchangers: Design Ideas and Best Practices to Optimize Results

Webinar: Heat Exchangers: Design Ideas and Best Practices to Optimize Results

Topic: Heat Exchangers: Design Ideas and Best Practices to Optimize Results. By: Rafael Behar, Regional Sales Enablement Manager, Latin America - Armstrong Fluid TechnologiesDate: Tuesday, May 6,...

The HVAC/R sector will meet in Panama with ACR Latin America

The HVAC/R sector will meet in Panama with ACR Latin America

Panama. ACR Latin America invites the Panamanian community in the air conditioning and refrigeration sector to an integration night that will take place on April 24 at the Hotel Riu Plaza.

Free Subscription
Remember Me
SUBSCRIBE TO OUR NEWSLETTER
DO YOU NEED A SERVICE OR PRODUCT QUOTE?
LASTEST INTERVIEWS
SITE SPONSORS










LASTEST NEWSLETTER
Ultimo Info-Boletin