×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

PLC-5 CH-0 serial communication

PLC-5 CH-0 serial communication

PLC-5 CH-0 serial communication

(OP)
I would like to directly connect from my computer's com port to the PLC-5/15 channel-0.
I think this can be done but can't figure out the correct cable or parameters.
Is it a null modem cable, straight-thru or something else?

Also what is the default settings, I'm using 9600,parity-none, stop-1, error checking-CRC, full duplex and RSLinks still can't see the PLC.  That's RSLink DF1-COM1 if your curious.
Any wisdom much appreciated.
And yes, I understand DH+ AND ethernet is much faster but this specific application I'm stuck with RS232 for now.

RE: PLC-5 CH-0 serial communication

Their has been other threads on this topic, check them out also.

Remember its pins 2 and 3 on the db9 connector for rs232 comms, no flow control.  Have a connector to null modem the cable just in case.

Figure out what your comm port for this cable is on your laptop.  Typically its com1,  device manager will tell you this under my computer.

Under Rslinx, yes its the RS232 DF1 driver
Com Port = what is it on your laptop?
Device = PLC-CH0
station number = 0 (this might be a problem, change if auto config, does not work for straight and null modem first)
Leave all other settings like they are
Push the "Auto-Config" button

If this does not work after it cycles through all the settings, then swap 2 and 3, or null modem

Push the "Auto-Config" button

You should of connected?!!!

If not then change the station number =0 to some other number >2 and <60

Push the "Auto-Config" button

You should of connected?!!!

If your not then either the com port on your laptop is not working or the plc com port is not working, or the cable is no good.

RE: PLC-5 CH-0 serial communication

A PLC-5/15 has a 9 pin D shell connector but it is not Rs-232.  It is DH+ protocol.  You would need a 1784-PCMK to communicate with these "Classic" PLC5s

----------------------------------
TW Controls - http://www.twcontrols.com

RE: PLC-5 CH-0 serial communication

djs, as much as I would love to get sspence's hopes also I'm afraid classic processors do not have a serial port.  His 5/15 is a classic processor

In fact to quote the following technote
http://rockwellautomation.custhelp.com/cgi-bin/rockwellautomation.cfg/php/enduser/std_adp.php?p_faqid=20001&p_created=995382948&p_sid=4AQP*ZDi&p_accessibility=0&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PWRmbHQ6MSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MTksMTkmcF9wcm9kcz01MCwzNzgmcF9jYXRzPTAmcF9wdj0yLjM3OCZwX2N2PSZwX3NlYXJjaF90eXBlPWFuc3dlcnMuc2VhcmNoX25sJnBfcGFnZT0xJnBfc2VhcmNoX3RleHQ9Y2xhc3NpYw**&p_li=&p_topview=1

Quote:

    Classic processors do NOT have a Serial Port.
    All Enhanced processors have a Serial Port.

----------------------------------
TW Controls - http://www.twcontrols.com

RE: PLC-5 CH-0 serial communication

I'm sorry, the link in my previous post appears to have overflowed and I can't seem to edit it

djs, as much as I would love to get sspence's hopes also I'm afraid classic processors do not have a serial port.  His 5/15 is a classic processor

In fact to quote technote 20001 of
http://www.rockwellautomation.com/knowledgebase/

Quote:

    Classic processors do NOT have a Serial Port.
    All Enhanced processors have a Serial Port.

----------------------------------
TW Controls - http://www.twcontrols.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources