You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old April 12th, 2007, 11:02 AM   #1
vislab
Member
United States

vislab is offline
 
vislab's Avatar
 
Join Date: Feb 2005
Posts: 20
Question OMRON CPM2A PLC and RS-232C to the PC

Hello,

I hope someone can help to resolve the current issue that I have now. I am using OMRON CPM2A PLC connected to the desktop PC so that it is able to communicate through the RS-232C COM port.
And I wrote a simple PLC code which uses 2 PLC outputs to operate a simple pneumatic solenoid valves so it just works fine.
Here I also wrote a simple VB code to send "OK" signal to the PLC through the RS-232C COM port so the PLC routine is supposed to run only if it receives "OK" signal from the PC through the RS-232C COM port. I used of course RXD PLC function in the PLC code. So right now there is only one direction communication from the PC to the PLC.

But the problem I saw is this everytime after I shutdown the desktop PC and reboot it, the PLC would not run anymore it means when it receives "OK" signal it did not do anything so no output LEDs lit on. And also when the PC shuts down if I look at the PLC panel there was a COMM LED blinking once.

But if I unplug the power to the PLC and plug it back then it runs OK again. So far I don't know what is wrong and what I can do to fix this problem but it is weird everytime when I just reboot not shutdown then it still works fine.
Anyway this is the problem I see now and I really appreciate if somebody can give me solution or comment.
Then thanks for your taking your time to read this and I am looking forward to hearing from you soon.

Regards,

Sonny
sunlee.sti@gmail.com

Last edited by vislab; April 12th, 2007 at 11:04 AM.
  Reply With Quote
 
Jump to Live PLC Question and Answer Forum


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Allen Bradley Guard PLC and RS Logix 5000 Redland Brick LIVE PLC Questions And Answers 2 May 9th, 2006 07:00 PM
Omron CPM2a communication serial vs USB mordred LIVE PLC Questions And Answers 4 April 5th, 2005 08:15 AM
Omron RS 232 Ports guest LIVE PLC Questions And Answers 1 October 20th, 2004 10:19 PM
cable between old PLC console and pc VPSYSTEMS LIVE PLC Questions And Answers 0 July 17th, 2003 07:09 AM
Interfaceing PC to PLC UK Homer LIVE PLC Questions And Answers 12 April 25th, 2003 07:31 AM


All times are GMT -4. The time now is 08:34 PM.


.