Home > Back-end >  Delphi control PLC directly
Delphi control PLC directly

Time:11-16

Can be directly controlled by Delphi PLC input/output? I clicked on Delphi interface of a button, for example, some channels through direct control of PLC, the premise is not to write any program in the PLC, hope to people,

CodePudding user response:

PLC is a Siemens s7-200

CodePudding user response:

Must have a program to the communication control, can through the Ethernet, serial and USB communication control, you don't write any program in PLC is put forward by the Delphi and you don't write any program implementation as absurd as illusions of control,

CodePudding user response:

Using MODBUS or OPC, this is the official method, in fact, there are other ways, ha ha

CodePudding user response:

I will use a serial port

CodePudding user response:

Not to write program of PLC, can through the PC to send commands to PLC,

CodePudding user response:

Delphi can invoke the Siemens OPC client DLL file for OPC data to monitor, if you have the copyright control, best can be directly connected to the PLC, specific what is the name is not urgent, you can search on the net,

CodePudding user response:

Through PCAccess as OPC server, can and S7-200 communications, Delphi writing OPC client program to access OPC server,

Delphi garden, "" Siemens S7-200 PLC communication control,

CodePudding user response:

Can not write a PLC control program, but at least written communication program

CodePudding user response:

Can be directly controlled by Delphi PLC input/output? I clicked on Delphi interface of a button, for example, some channels through direct control of PLC, the premise is not to write any program in the PLC, hope to people,

The building Lord, you have solved? I also encountered such a problem, if the solution to show just a little,
QQ: 494810576,
How much is your QQ?

CodePudding user response:

So many people, see the Delphi is still thriving,

CodePudding user response:

PPI communication ah, S7-200 is not a communication protocol,

CodePudding user response:

With the third party controls Iocomp Components

CodePudding user response:

Should be mainly mechanical support, DELPHI control example of COM cannot lack

CodePudding user response:

Can through the serial port, OPC, industrial automation control and PLC communication,

However, don't write to the PLC program seems to be no good,,,

There is no agreement, only channel, PLC is an idiot, can't do anything,,,

CodePudding user response:

More convenient method:
1. PLC programming, support the MODBUS - RTU, serial communication, PLC program configuration set each register
2. DELPHI. Write a serial port communication program, using MSCOMM or SPCOMM serial components, send in hexadecimal way MODBUS register written instructions

CodePudding user response:

Official has COM components and dotnet assemblies, is in the form of DLL, support double integer data, floating point data, etc., it says here and the source code download:
http://blog.sina.com.cn/s/blog_16d7d3ecb0102x1z5.html

CodePudding user response:



I think what you want is something like that...

CodePudding user response:

PLC S7 is Smart, 200

CodePudding user response:

CodePudding user response:

If there were no program for PLC internal, some PLC can, some not,
However, if the PLC internal procedures have write output point, written communication will be covered,

CodePudding user response:

Can look at this article:
http://blog.sina.com.cn/s/blog_16d7d3ecb0102x1z5.html

CodePudding user response:

CodePudding user response:

1, general is to have a PLC, because generally start-stop a device should have some must be logical, second generally what to have local control push button switch, all these need the program, then PC and PLC communication, PC software can be written in Delphi, the communication method has a lot of, can use opc, in accordance with the agreement to write your own (this should be the most troublesome, general need not), can use a third party, you can also consider using a third-party hardware gateway,

2, PLC can not program, through the upper machine directly modify PLC output points, of course, the traffic must also want to have, but can have no PLC,

CodePudding user response:

A lot of information online, is less accumulation, to complete,

CodePudding user response:

Yes, first to explain their agreement
  • Related