Previous in Forum: RTD or Thermocouple?   Next in Forum: Low Cost Air Quality Monitor
Close
Close
Close
14 comments
Rate Comments: Nested
Member

Join Date: Feb 2012
Posts: 5

Getting Data from a PLC Automatically

02/20/2012 5:53 AM

Hi,

I am trying to collect information from a PLC for a college project. This Omron PLC is connected to 6 stations on an assembly line. I am trying to collect information like times for when the pallet enters station A and exits station A and so on.

I have currently identified the addresses needed for each station. For example when using time chart monitoring on the sysWin software I can see when address 001.00 goes high when enters station A and goes low when exits station A.

How would I go about timing this interval when the pallet is in the station automatically? Would it be possible to program in a timer into the ladder logic which could send the output time into a text file maybe?

All help will be greatly appreciated,
Thanks
Kevin

Register to Reply
Pathfinder Tags: data Omron. sysWIN. PLC
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#1

Re: Getting Data from a PLC Automatically

02/20/2012 9:26 AM

What does Omron say about this?

Register to Reply
Guru
Hobbies - DIY Welding - Don't Know What Made The Old Title Attractive... Popular Science - Weaponology - New Member United States - US - Statue of Liberty - 60 Year Member

Join Date: Apr 2009
Location: Yellowstone Valley, in Big Sky Country
Posts: 7425
Good Answers: 295
#2

Re: Getting Data from a PLC Automatically

02/20/2012 10:07 AM

Isn't the function of the PLC to control "... like times for when the pallet enters station A and exits station A and so on."?

It seems a little awkward to use a PLC to collect this information. Would you use sensors alone to control the logic of the process?

__________________
Semper Ubi Sub Ubi
Register to Reply
Guru

Join Date: Oct 2008
Posts: 42355
Good Answers: 1693
#3
In reply to #2

Re: Getting Data from a PLC Automatically

02/20/2012 10:45 AM

Yep. That would be SCADA.

Register to Reply
Member

Join Date: Feb 2012
Posts: 5
#14
In reply to #3

Re: Getting Data from a PLC Automatically

02/22/2012 4:43 AM

There is a SCADA Sysmac-scs and CX-server installed on the PC. I am having trouble communicating with the Omron CQM1 PLC though. Would you have any experience of this or what connection you need to communicate?

Register to Reply
Power-User

Join Date: Aug 2007
Location: San Francisco Bay Area
Posts: 266
Good Answers: 21
#4

Re: Getting Data from a PLC Automatically

02/20/2012 11:34 AM

Based on what you've initially posted it seems the best approach to this portion of your project would be to go at it like you would an HMI (man machine interface).
It's usually easier to deal with integer registers than it is ascii or text. Data collection and the use of real data from PLCs and export in various formats is done all the time.

Yes... if you want to capture the interval you had better make yourself a stopwatch. If you want to get fancy then you'll time stamp on entry and exit. If you want to get fancier then set some bells and whistles that get attention because your pallet of widgets is jammed up against some poor operators head and hasn't exited in a timely fashion.

__________________
Speed doesn't kill. Sudden stops, brick walls, and old ladies in Buicks do.
Register to Reply Score 1 for Good Answer
Member

Join Date: Feb 2012
Posts: 5
#8
In reply to #4

Re: Getting Data from a PLC Automatically

02/21/2012 10:17 AM

Hi Switchman,

Thanks for the help. How would you go about doing time stamp on entry and exit?

Regards,

Kevin

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#5

Re: Getting Data from a PLC Automatically

02/20/2012 12:00 PM

Unless you want to get inside the PLC and start adding timers all over the place (which is ok if you've well up on PLC programming) - then access via comms, I'd say the easiest way would be to connect a multi-channel data logger to the outputs of interest.

This could be done pretty easily with a digital input card in a PC, or one of the external type input devices which connect to a PC via USB.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply Score 1 for Good Answer
Member

Join Date: Feb 2012
Posts: 5
#9
In reply to #5

Re: Getting Data from a PLC Automatically

02/21/2012 10:20 AM

When you are talking about a multi-channel data logger are you talking about something like LabVIEW?

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#11
In reply to #9

Re: Getting Data from a PLC Automatically

02/21/2012 2:14 PM

Yes - that or something similar (which I'm sure can be bought more cheaply).

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#12
In reply to #11

Re: Getting Data from a PLC Automatically

02/21/2012 5:53 PM

For example, check out Labjack (click) - USB pluggable. You'd have to do some work (a few resistors here and there), as the basic version only takes up to +5V, but it's cheap'n'chearful, and it works (I have one).

Usual disclaimers apply.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
2
Commentator
India - Member - Naveen Menon Engineering Fields - Instrumentation Engineering - Naveen Menon

Join Date: Oct 2007
Location: India
Posts: 92
Good Answers: 2
#6

Re: Getting Data from a PLC Automatically

02/20/2012 11:58 PM

If you are using OMRON CX-Programmer, there is a DDE manager under the CX-server -

Start -> Programs -> Omron -> CX-Server -> DDE manager (The path may be different depend on your installation directory).

Explore the DDE manager, you can export data to excel using that option. I have not used it for any specific applications.

Try out this quickstart on CX Server DDE Manager:

CX Server DDE Manager Quickstart

Register to Reply Good Answer (Score 2)
Guru

Join Date: Feb 2012
Posts: 595
#7
In reply to #6

Re: Getting Data from a PLC Automatically

02/21/2012 8:22 AM

• i used to do small scale repairs to industry data collection systems years ago
• never used standalone PLC-s however
• the next bolded stuff rises questions

*** 02/20/2012 8:53 AM <QUOTE>
For example when using time chart monitoring on the sysWin(1) software
</QUOTE>

*** 02/20/2012 3:00 PM <QUOTE>
I'd say the easiest way would be to connect a multi-channel data logger(2) to the outputs of interest.
</QUOTE> <QUOTE>
devices which connect to a PC via USB(3).
</QUOTE>

*** 02/21/2012 2:58 AM <QUOTE>
export data to excel(1) using that option
</QUOTE>

(1) -- windows reliability in proccess control

(2) -- each Xtra otp. makes sys. more complic. + fault-likely + expensive (service/cost)

(3) -- USB delimits cable lengths (i speculate) + it's a specialist task 2 invent/prog. OR expensive (to buy) a retail industry std. comm.protocol

Hi, Bye!

__________________
ci139
Register to Reply
Member

Join Date: Feb 2012
Posts: 5
#10
In reply to #6

Re: Getting Data from a PLC Automatically

02/21/2012 10:31 AM

DDE manager is installed on the PC but it will not open for me for some reason.

That link does not work, do you have another one?

Register to Reply
Commentator
India - Member - Naveen Menon Engineering Fields - Instrumentation Engineering - Naveen Menon

Join Date: Oct 2007
Location: India
Posts: 92
Good Answers: 2
#13
In reply to #10

Re: Getting Data from a PLC Automatically

02/21/2012 11:18 PM
Register to Reply
Register to Reply 14 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

ci139 (1); Doorman (1); doyleke3 (4); JohnDG (3); lyn (2); naveen_menon (2); Switchman (1)

Previous in Forum: RTD or Thermocouple?   Next in Forum: Low Cost Air Quality Monitor

Advertisement