Communicating in RS232 or 485 with S7

Johnny T

Member
Join Date
Jul 2003
Location
Fife, Scotland
Posts
642
Hi

I have to control some servo motors via an S7 PLC. The servo motors need to be given various control 'words' via an RS232 or RS485 serial interface.

Does anyone know how I go about this with an S7 300 series PLC. Do I need a special serial comms card or can I talk to them from the MPI port? If its possible via the MPI port, do I need some sort of MPI to serial interface??

Also, does anyone know if I need to include some special function blocks in the software to achieve this?

In fact.. any information at all that anyone has on setting something like this up would be very much appreciated.

Thanks for any help you can give me

JT :)
 
Hi JT,

Have a look at "communication processor" CP340/341 both support (depending on which model!) RS232/485. There are canned Function blocks available for use with these modules:

FB2 P_RCV - RECIEVE DATA AND STORE IN DB
FB3 P_SEND - SEND ALL/PART OF A DB

hope this helps to get you started mate

Steve.
 
Stevo is right. And I believe the 340 card is much cheaper (double-check me on that though) and will be fine unless really high speeds are necessary.

I've done a ton of comm stuff with the 340/341s, and can give you help once you get started.
 
Stevo, thanks for the link, downloaded the manual now.

S7Guy, many thanks for the offer of help. I'll be ordering the 340 card tomorrow and then cracking on with the software on Monday. I can say categorically now that I will definitely be taking you up on your offer of help (y)

Brilliant!

Thanks again

JT
 

Similar Topics

Hi there, I am trying to get my CS1G plc to talk with an animatics smart motor. What I am trying to achieve is to send the letter 'G' to the smart...
Replies
2
Views
2,209
Dear all i mon site and i am facing problem that my RSLINX is not communicating with the RS232 port it is giving error actually this processor was...
Replies
18
Views
6,424
Hi Folks, I want to communicate S7200 via RS232 from my pc's serial port. If anybody knows about RS232 to PPI adapter pls reply me.
Replies
1
Views
4,163
Dear All Please help me about Below picture problem.PLC not communicating proper.
Replies
4
Views
174
I need to recommend a PC to replace a customer's old Windows 7 computer. The only thing I need to think through is the serial com port to...
Replies
21
Views
680
Back
Top Bottom