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.

RefriAméricas 2026 will focus its Academic Congress on efficiency, decarbonization and technological transformation in HVAC/R

RefriAméricas 2026 will focus its Academic Congress on efficiency, decarbonization and technological transformation in HVAC/R

United States. The RefriAméricas 2026 Academic Congress will have as its thematic axis the "Efficiency, decarbonization and technological transformation in HVAC/R", a proposal that seeks to respond...

Johnson Controls highlights the impact of energy efficiency in critical industries in its 2026 Sustainability Report

Johnson Controls highlights the impact of energy efficiency in critical industries in its 2026 Sustainability Report

International. The company presented its 2026 Sustainability Report, in which it outlines advances in decarbonization, energy efficiency, and performance in critical environments such as hospitals,...

Jeff Littleton Announces Retirement as Executive Vice President

Jeff Littleton Announces Retirement as Executive Vice President

United States. The organization announced the retirement of Jeff Littleton as executive vice president of the organization, a position he will leave at the beginning of 2027, after more than two...

AHR Expo Mexico 2025 was recognized as the Best Event of the Year at EVENTUS 29

AHR Expo Mexico 2025 was recognized as the Best Event of the Year at EVENTUS 29

Mexico. During the EVENTUS 29 gala, held as part of Cintermex's 35th anniversary, the 2025 edition of AHR Expo Mexico 2025 received recognition as the "Best Event of the Year", a distinction awarded...

Refrigerated transport opens up opportunities to reduce water consumption in the cold chain

Refrigerated transport opens up opportunities to reduce water consumption in the cold chain

Mexico. Cold chain logistics faces new challenges in the face of the growing need to make more efficient use of natural resources. Beyond ensuring operational efficiency, refrigerated cargo...

Technical Training Drives Strengthening HVAC Talent

Technical Training Drives Strengthening HVAC Talent

Costa Rica. Samsung and the Costa Rican company Total Air held the series of talks "Technical Training in Samsung – Total Air DVM S2 Systems", an initiative aimed at strengthening technical...

ASHRAE Highlights Industry Priorities in Technical Program for its 2026 Annual Conference

ASHRAE Highlights Industry Priorities in Technical Program for its 2026 Annual Conference

United States. ASHRAE unveiled the technical program for its 2026 Annual Conference, which will be held June 27-July 1 in Austin and will bring together professionals from the HVAC&R industry to...

The KNX standard is consolidated in Chile: experts demystify building automation with a view to a sustainable future

The KNX standard is consolidated in Chile: experts demystify building automation with a view to a sustainable future

Santiago, Chile. The smart construction sector in Chile took a relevant step with the holding of the Building Automation Days by KNX LATAM Virtual, Chile 2026, an informative and educational space...

The Invisible Power of Cold: Thermal Efficiency for Data Centers in the Age of Artificial Intelligence

The Invisible Power of Cold: Thermal Efficiency for Data Centers in the Age of Artificial Intelligence

International. Behind the digital cloud and artificial intelligence there is a complex, dense and constantly operating physical infrastructure. In this environment, the cold becomes an invisible...

Expo Frío Calor Chile 2026 successfully closes and consolidates its position in the HVAC/R industry

Expo Frío Calor Chile 2026 successfully closes and consolidates its position in the HVAC/R industry

Chile. With an agenda focused on innovation, sustainability and professional development, Expo Frío Calor Chile 2026 ended after three intense days held at Centro Parque, consolidating itself as the...

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