Home > Net >  C # development of PC and PLC Ethernet communication
C # development of PC and PLC Ethernet communication

Time:11-16

is there a warrior to guide the VS using c # development of PC and PLC Ethernet communication how to do, what instructions to need?
Novice, directions.in

CodePudding user response:

Communication, there must be some agreement, understand first selection is a serial port protocol or so, and then work on the basis of the agreement

CodePudding user response:

Don't ask us, let the man and your butt, oneself use Rj45 (so) way with his own tools debug through,

Ask him in the tool, then use that agreement,

Because you don't know their works, although all Rj45, but there are a lot of curved

Direct rtu modbus, (rj45) of rs232 serial port server, useful standard modubs, useful also that completely irresponsible to let you direct text instructions issued

CodePudding user response:

Which must be clear is the equipment, and now the official documents and instructions will have different development language,

CodePudding user response:

If you can communicate with over there, it is recommended that the modbus modbus, you could walk can go go binary binary

To make into MC asc communication protocol, STH over and over again

CodePudding user response:

Nuget HslCommunication try

CodePudding user response:

reference 1st floor JHDXHJ response:
communication of words, there must be some agreement, understand first selection is a serial port protocol or so, and then on the basis of the agreement work
so the TCP/IP,

CodePudding user response:

reference 3 floor mouse cried dead cat replies:
which must be clear is equipment, is now the official will have different development language documents and instructions,
omron officials didn't develop type of hand, need to write your own code

CodePudding user response:

refer to 7th floor Chang Xiao response:
Quote: refer to 3rd floor mouse cried dead cat replies:

Which must be clear is the equipment, and now the official will have different development language documents and instructions,
omron officials didn't develop type of hand, need to write your own code


Which front and said, don't tangle is PLC, you are the first step is to co-ordinate with your hardware, what kind of protocol communications, such as modbus rtu or mobus asc or MC bin or MC asc

CodePudding user response:

Don't know how much you can understand, so can't answer, you still write specific problem,

CodePudding user response:

refer to the eighth floor wanghui0380 response:
Quote: refer to 7th floor Chang Xiao response:

Quote: refer to the third floor mouse cried dead cat replies:

Which must be clear is the equipment, and now the official will have different development language documents and instructions,
omron officials didn't develop type of hand, need to write your own code


Which front and said, don't tangle is PLC, you are the first step is to co-ordinate with your hardware, what kind of protocol communications, such as modbus rtu or mobus asc or MC bin or MC asc
UDP/IP

CodePudding user response:

references 9/f, interacting with professional developers response:
don't know how much you can understand, so can't answer, you still write specific problems,
I seems to see if there is the omron reference controls

CodePudding user response:

You need to know the omron communication protocol, and then on the upper machine the main communication program of omron,
If you even the omron communication protocols are not clear, there is no way to begin!

CodePudding user response:

1, omron FinsTcp communication,
https://blog.csdn.net/sgmcumt/article/details/87435778

Omron (Omron) 2, c #, speaking, reading and writing of PLC, using c # Fins - TCP protocol to read and write data at https://blog.csdn.net/yue1453544229/article/details/85338402? Utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu _weight & amp; Depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu _weight

CodePudding user response:

The
reference 13 floor ba_wang_mao reply:
1, omron FinsTcp communication explanation
https://blog.csdn.net/sgmcumt/article/details/87435778

Omron (Omron) 2, c #, speaking, reading and writing of PLC, using c # Fins - TCP protocol to read and write data at https://blog.csdn.net/yue1453544229/article/details/85338402? Utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu _weight & amp; Depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.edu _weight
ok, thank you

CodePudding user response:

PC program and omron PLC Hoslink communications source code (c #)
https://download.csdn.net/download/u012289639/8416055? Utm_medium=distribute.pc_relevant.none-task-download-BlogCommendFromMachineLearnPai2-5.edu _weight & amp; Depth_1-utm_source=distribute.pc_relevant.none-task-download-BlogCommendFromMachineLearnPai2-5.edu _weight

CodePudding user response:

I do this have no matter what kind of other products, I generally is to know, what do you use the interface communication protocol is what? Generally not TCP is RS232 (15 pin RS232, this couple of days and the line sequence is different), then data protocol is what? Then decide method laid hands on him

CodePudding user response:

Omron has its own communication protocol, FINS - UDP/TCP, you search has
  •  Tags:  
  • C#
  • Related