Home > Back-end >  C builder how to establish communication with manipulator, what kind of known conditions?
C builder how to establish communication with manipulator, what kind of known conditions?

Time:09-17

The younger brother has recently been learning computer programming, want to consult everybody a great god, and how to use clientsocket controls and manipulator communications? How to send the can let robot action of instructions? (instruction) known what controls and how to receive feedback information?




Void __fastcall TForm2: : Button1Click (TObject * Sender)
{

ClientSocket1 - & gt; Address=Edit1 - & gt; The Text;//receive input server IP
ClientSocket1 - & gt; Port=StrToInt (Edit6 - & gt; The Text);//receive input port
ClientSocket1 - & gt; Active=true;//connect


}
//-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Void __fastcall TForm2: : Button2Click (TObject * Sender)
{
ClientSocket1 - & gt; Active=false;
}

CodePudding user response:

No document, the SDK, demo these?

CodePudding user response:

reference 1st floor ooolinux response:
no document, SDK, demo these?

Hello, I now or a beginner, just today simulation to create the client first, you said the document, the demo exactly what?

CodePudding user response:

refer to the second floor m0_37582316 response:
Quote: refer to 1st floor ooolinux response:

No document, the SDK, demo these?

Hello, I now or a beginner, just today simulation to create the client first, you said the document, the demo exactly what?


The manipulator,

CodePudding user response:

reference ooolinux reply: 3/f
Quote: refer to the second floor m0_37582316 response:

Quote: refer to 1st floor ooolinux response:

No document, the SDK, demo these?

Hello, I now or a beginner, just today simulation to create the client first, you said the document, the demo exactly what?


Manipulator,

Manipulator is YAMAHA YAMAHA CX340, I now can only do analog front-end ports communication, simulate a local server, with ready BCB procedures can send and receive data, robots instruction set and the English specification, and also in the study,

CodePudding user response:

Robot support socket, simulator is normal, you can to the robot debugging,

CodePudding user response:

refer to fifth floor I don't understand the computer replies:
support socket, robot simulator is normal, you can to the robot debugging,

Is still in debugging assistant was used as the server, so use this server to the client is a manual return data, so I ask, what method or function can detect PC connected to the robot's state, break line reconnection should how to write? Is used only in ClientSocket1 - & gt; Active=true; To false when joining a judgment and the false to true can reconnection?

CodePudding user response:

Suggested to write their own a TCP or UDP communication class, which is good, this kind of c + + class, a lot of online, can look for
  • Related