
Visit our shop for nerds in control lifestyle products.
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
of sociopathic tendencies.
-- Zoso
www.control.com/rss
Assuming you are running on a MS Windows box it is not really possible, without creating a low level driver, but no worry, you do not need to handle the framing.
This is a master slave connection. For transmitting, send your query and wait for the response.
For receiving you can determine the response length by the query you transmitted. Continue to receive characters until you reach the predetermined count and then handle the message.
HTH,
Mark
http://www.hmisys.com
Thanks for replying. I have developed a c++ program for carrying out data acquisition using Modbus protocol. I am trying to send and receive data from COM PORT 1 using outportb and inportb respectively in combination with userport.exe (which enables port access). This is meant to work on MS windows XP. I have the complete data which is to be sent along with the 2 byte crc. Do you think it will work out?
Reply to me at
prashob.n @ rediffmail. com
Many programs exist, including ours, which communicate via a serial connection to devices using MODBUS RTU protocol.
So, I know it is possible.
If the question is will your program work, I do not know.
Good luck,
Mark
www.hmisys.com
- Integrating PLM, ERP, MES behind the scenes
- Enterprise data historian supports management of power distribution
- Digital factory interface: XML control logic standard accepted by AutomationML
- Wonderware names InSource “Wonderware Southeast” partner
- Researcher wins grant for holographic instrument panel controls
- Agreement makes laptops more secure
- New product: CP6608 control panels emphasize compact design
- SCADA upgrade: PID, supervisory control and data acquisition
- See inside: Software maps, monitors, troubleshoots Ethernet networks
- Cyber security: U.S. Homeland Security offers new Web courses
Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.
Patronize our advertisers!


