Home > Software engineering >  MFC which god made about the modbus TCP?
MFC which god made about the modbus TCP?

Time:10-09

I was a little white, want to know the Modbus TCP applications in c + + hope to experience a great god can give me a detailed explanation,
I appreciate the first here,

CodePudding user response:

http://wenku.baidu.com/link? Url=exTf30Vuo7D1s5f8VyBFym2KaLoLyustfKnxx4aJy2NvU6-8 dke_jasmzohpzati7cvwig5dvfycl7dpxqk6raimlkho2 - M - J91KCRSL0uu

CodePudding user response:

http://transcoder.baidu.com/from=1086k/bd_page_type=1/ssid=0/uid=0/pu=usm%400%2Csz%40320_1002%2Cta%40iphone_2_5.1_2_7.0/baiduid=D5D2789B1B7DAB81A9EFDC52EB4BD6BF/w=0_10_/t=iphone/l=3/tc? Ref=www_iphone & amp; Lid=2272737066591724710 & amp; The order=2 & amp; FM=alop& Tj=www_normal_2_0_10_title & amp; Vit=osres& M=8 & amp; SRD=1 & amp; CLTJ=cloud_title & amp; Asres=1 & amp; Title=VC%2B%2B%E4%B8%B2%E5%8F%A3%E9%80%9A%E4%BF%A1modbus%E5%8D%8F%E8%AE%AE%E6%BA%90%E4%BB%A3%E7%A0%81-%E4%B8%8B%E8%BD%BD%E9%A2%91%E9%81%93-CSDN.NET & amp; Dict=32 & amp; W_qd=IlPT2AEptyoA_yisI5OfDjBswgDY & amp; The SEC=16069 & amp; Di=4 db9bc58395b9ada & amp; Bdenc=1 & amp; TCH=124.322.256.349.1.240 & amp; nsrc=https://bbs.csdn.net/topics/IlPT2AEptyoA_yixCFOxXnANedT62v3IIhmGKyJL1zr5nlqzhLrlJMIfEFXrL7yMH5bswCPQpsFMhT8yQT1o8x2OrxpitG9e78Xe&eqid=1f8a625212102500100000025808c0a5&wd=

CodePudding user response:

reference 1st floor zgl7903 response:
http://wenku.baidu.com/link? Url=8 dke_jasmzohpzati7cvwig5dvfycl7dpxqk6raimlkho2 exTf30Vuo7D1s5f8VyBFym2KaLoLyustfKnxx4aJy2NvU6 - - M - J91KCRSL0uu

You send this I saw I mainly vs the MFC connection part of the head also didn't understand can you speak more detailed point

CodePudding user response:

Create the winsock, connected to the corresponding IP and port
According to the modbus protocol for sending data to create
Will send the data to the winsock send
Waiting for the number of milliseconds (sleep)
Receive winsock data
Interpret data
  • Related