communication between PLC and computer

swapnil

Member
Join Date
Jul 2003
Location
india
Posts
33
can somebody please tell me WHICH STEPS ONE SHOULD FOLLOW TO COMMUNICATE PLC WITH COMPUTER.how to start with?how to proceed and all?

does anyone there can tell me how to send hex data out from com1 port of computer using HYPER TERMINAL?is there any provision for the same?
 
Most PLCs use a special protocol for communications, and most manufacturers have their own proprietary protocol. Many also support public domain or published protocols such as Modbus.

To communicate with a PLC you need to send a serial string that includes the address you are working with and a command code that, for example, identifies if the communications is reading or writing data, and in some cases if the data is to be sent as bits or a decimal value, and so on. The communications string also includes a header character, the address of the PLC itself, an end of transmission character, and a checksum or other error checking system.

You need to identify the PLC brand and model, the communications protocol being used, the communications parameters (baud rate etc.) the serial communications type (RS232, RS485, etc.) and a lot of other data.

Hyperterminal is a very inadequate way to do this, because the entire string must be created, and then the response must be decoded. There are often timeout limitations in the PLC communications port, and some protocols are four pass - you send the request from the master, the slave acknowledges the request, the master asks for the data, and the slave sends the data. In this case, it is difficult to get the second command out fast enough from hyperterminal.
 
With OPC is easier

Hello
l have been in your quiz when l started to go around plcs; my conclusions now is that l don see by no means a necesity to comunicate at an ascii level with your plc from a PC ; most of the OPC you can download from the web may fit to your necesity , typically linking to Excel ; other technologies like Activex objects also make things very easy (for example for the Simatic S7200 you can use MicroComputing)
 

Similar Topics

i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
112
I'm trying to write a data in Arduino using MODWR function block .I used the code I got from online for both PLC and Arduino. I made the wiring...
Replies
4
Views
115
Communication between devices will stop working for a certain period of time. I caught the error message using WireShark. I cannot identify the...
Replies
0
Views
101
I am trying to establish communication between Siemens PLC 1500 and Matlab. I followed a tutorial on youtube at this link: But when I got to the...
Replies
0
Views
352
Hi all, I don't have experience PLC programming so it might be a stupid question. I made a socket request to PLC and there is no problem to read...
Replies
5
Views
867
Back
Top Bottom