Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8416307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T01:42:48+00:00 2026-06-10T01:42:48+00:00

I wrote program in Visual C++ 2008 for communication trough RS-232 between computer and

  • 0

I wrote program in Visual C++ 2008 for communication trough RS-232 between computer and industrial machine. Program works fine when computer and machine are connected directly trough RS-232 cable.

Now I want to communicate through modems.

I have two 56K modems (TDW-33). First modem is connected through RS-232 cable to PC. Second modem is connected to the machine (trough RS-232) that receive commands from computer and answer on this commands. The modems are connected through telephone line.

How to configure two modems to work correctly? Do I need to change my C++ code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T01:42:50+00:00Added an answer on June 10, 2026 at 1:42 am

    You are really bringing back memories…

    You control modems by writing character sequences to the RS-232 serial port. The exact commands depend on your particular modem. Almost all modems at least understand a common subset of commands known as the Hayes Commands. Wikipedia provides a good overview of the commands along with some history:

    http://en.wikipedia.org/wiki/Hayes_command_set

    For example, to dial the number 2345678 you would send the command

    ATDT2345678

    You would configure the receiving modem to answer an incoming call with the command

    ATA

    or you could configure the receiving modem to always answer after, say, 3 rings with

    ATS0=3

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A while back I wrote a little program in Microsoft Visual C# 2008 Express
In Visual C++ i wrote the following sample in a C++ program: float f1
I wrote a program about 10 years ago in Visual Basic 6 which was
I've wrote program, and compiled it for x64 and x86 platform in Visual Studio
I'm able to debug a C program in Visual Studio 2008 and build it.
I'm writing a small proof-of-concept console program with Visual Studio 2008 and I wanted
I want to write program using C in Visual studio 2008. But I have
I'm currently converting a program I wrote in Visual Basic .NET (the 2005 variety)
I've build C++ program using Visual Studio 2008. Both release and debug version are
I wrote an app in C# for speech recognition using System.Speech which works fine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.