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.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


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

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old February 28th, 2011, 04:29 AM   #1
teknok
Member
Turkey

teknok is offline
 
Join Date: Feb 2011
Location: İzmir
Posts: 2
CP1H - Sending data from plc to computer

Hello everyone,

I have Omron CP1H plc and I have ethernet communication with a computer. I'm using CP1W-CIF41 ethernet communication board. I can send FINS commands to PLC and I can upload my PLC program through CX-Programmer. My problem begins with when I want to send data from plc to the computer. I can't find a proper solution. I need this because I want to know if something occurs in plc. So plc can send data to my computer and I can take proper action. It is approprite for me to listen a port from computer (UDP port or TCP port) and take data from plc with it.

Firstly have read the W342-E1-14 manual (communicatons reference) and there is someting like " When the Ethernet option board (CP1W-CIF41) is used, a FINS command
issued from a PLC or computer on the network can be received via the Ethernet option board, but cannot be issued via the Ethernet option board.". I understand from that I can't send fins command from plc through my CP1W-CIF41. So I can' t use SEND(090) command.

I want sending any data from plc to the computer. It doesn't have to be FINS command. I tried OMRON Function Block "UPD Open: ETN_011". But I can't open UDP port. The block's busy flag becomes 1 and then 0. Error flag doesn't become 1 and OK flag doesn't become 1. I wonder if I am making mistake with the Function Block's paremeters or it arises from the fact that we can't send fins commands from plc to computer with CP1W-CIF41. Coud anyone can advice me some solution?

Thanks in advance..
  Reply With Quote
Old February 28th, 2011, 12:39 PM   #2
Homer_BL
Member
Bosnia and Herzegovina

Homer_BL is offline
 
Join Date: Feb 2003
Posts: 252
Have you tried with DataMonitor Control in MS Excel macro?
  Reply With Quote
Old February 28th, 2011, 12:44 PM   #3
lostcontrol
Member
New Zealand

lostcontrol is offline
 
lostcontrol's Avatar
 
Join Date: May 2009
Location: NeverSayNever
Posts: 767
Common (& could be said as normal) practice is to have the computer poll the PC for the data.
There are many methods of doing this, you could buy something that is already configured to do this, or create you own. There are plenty of examples & utlities available to do this.
  Reply With Quote
Old March 1st, 2011, 01:31 AM   #4
teknok
Member
Turkey

teknok is offline
 
Join Date: Feb 2011
Location: İzmir
Posts: 2
Thanks for replies.

I haven't tried excel macro or computer polling. But I need sending data from plc. Ofcourse, repeatly reading a memory block from plc is a option. But this makes load on server computer, so what I need is sending data from plc only something occurs. For example, the host computer can wait for connection request (listen UDP or TCP port) and the connection establishes when plc sends message. Host computer must only wait for plc message.

Is there any solution to achieve this?

Thanks.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


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
Data Transfer from CSV File To S7-300 PLC via Ethernet Rusty_K LIVE PLC Questions And Answers 6 August 25th, 2008 06:39 AM
MPI comunication Manuel Raposo LIVE PLC Questions And Answers 22 July 16th, 2007 06:24 AM
SLC 5/04 communication over DH+ plcnovel LIVE PLC Questions And Answers 41 March 7th, 2006 06:12 AM
Sending ascii string from Omron Serial Port to Channel 0 of PLC 5/40 Holmzy LIVE PLC Questions And Answers 13 February 7th, 2006 03:59 PM
Data Acquisition from PLC PLC Gremlin LIVE PLC Questions And Answers 6 February 28th, 2005 10:07 PM


All times are GMT -5. The time now is 01:42 AM.


.