RE abt seraial communication

kevalvakani

Member
Join Date
Oct 2009
Location
surat
Posts
15
hello all

i m a student from INDIA


i want to do data exchenge between two serial ports using PLC SOFTWARE(SIMULATOR) by using com port RS-232 in that one com port is of PC in which software of any plc is installed and in the other comm port is of an embeeded pc


shall i able to do this

or else if you can give me idea based on that case



plz reply fast as i have only few days left for deciding the project

waiting for reply
 
Communications is more complicated than connecting a properly wired cable between two ports.

The dreaded OSI model shows the various layers needed in communications:

29o0gtu.gif


Not all layers are needed for all applications, but I know of no application that succeeds with only the lowest red frame, the physical link, which is what RS-232 ports are.

This example from Novell shows what goes on in each layer for a networked message transfer (colors don't match and the layers are inverted):
9id1xz.jpg


The point being, while you might have sufficient access on the side with the software to point to a port and let the software handle some comm, it isn't clear if you have access to the embedded device to effect or realize successful communications.

The fact that two devices each have a serial RS-232 port does not mean that the port is accessible or that there is an upper layer application that handle and interpret the data.

Making it all come together could certainly be a project, but do you get credit for a project in which the end result is failure, but you learned a lesson?
 
No, ethernet ports are just another form of serial ports. They're just ports.

The key to data communication is not ports, the key is sofware/firmware.

You want to do "data exchange". Doing so requires software/firmware that can monitor a port, handle the data, and do something useful with it.

What software/firmware is now or can be put on both ends (PC and embedded device) that is client/server or master/slave or whatever protocol that can monitor the port you designate and handle both incoming and outgoin data and perform the appropriate "data exchange" task with it?

How will you access the embedded device to install software/firmware to accomplish this?

The software/firmware determines which ports it can use.

You're starting at the wrong end of data communications. You need to figure out the software/firmware end first.
 
abt serial communication

dear sir
sorry for troubling you as i m new in this

but i just want to know that is it possible to send data to my com port using any PLC SOFTWARE(SIMULATOR) without using any hardware
is it available?
thanks sir for your keen interest
 
I can't answer your question. I'm not familiar with PLC Software (simulator). I just know about digital communications in general.
 

Similar Topics

If I Have a computer running Hyperterminal, and it's connected to the controller using serial commport-1. How can I use hyperterminal to test and...
Replies
2
Views
1,647
can anybody tell me how to read data from PLC using hyperterminal and which type of data i will get i m a beginner for plc so please help me
Replies
6
Views
2,329
Hi, im using the built in high speed counter of omron cj1m cpu22. I will be connecting a rotary encoder to the high speed counter. The rotary...
Replies
1
Views
2,490
sir,im going to do project in plc based bottle filling module that fills 5 bottles automatically.can u plz give the tips to construct ladder...
Replies
2
Views
1,743
Good Afternoon, I Am Parag From Mumbai, Like This Plc Site , Is There Any Site For Dcs Is Available. Thanks In Advance. Best Regards...
Replies
0
Views
1,693
Back
Top Bottom