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 June 6th, 2008, 04:35 AM   #1
oldnewbee
Member
Netherlands

oldnewbee is offline
 
Join Date: Jun 2008
Location: europe
Posts: 8
Howto control tag consume interval on 1756-L61?

Hi all,
I'm new to both Rockwell/AB and to my company. I find a quite complex CLX-5561 software here that needs some debugging / improvement. My problem is:

- I have a CLX based machine with ethernet interface to a PC.
- At PC side, some tags are consumed - but I don't see how frequently.
- I'd like to set an "update interval" of -say- 5 secs. Means: I'd like the CLX to update the data the PC is consuming every 5 secs.

Now the question is: Where would I have to look for parameters controlling this - at CLX side, or rather at PC side? And what symbol names should I look for?

Is there any documentation explaining how to deal with it? I searched through this website and found some hints like "goto AB website and look for 'common procedures'" - but what I found there did not clarify it to me.
Any help appreciated. Thanks.
  Reply With Quote
Old June 6th, 2008, 06:37 AM   #2
rdrast
Lifetime Supporting Member
United States

rdrast is offline
 
rdrast's Avatar
 
Join Date: Apr 2003
Location: South Carolina Lowcountry
Posts: 3,638
PC? As in to an HMI? That would be controlled by the I/O scan settings on the OPC server, not the PLC.

PLC "Produced/Consumed" tags aren't on any interval delay, and are most commonly used for inter-PLC communications.
  Reply With Quote
Old June 6th, 2008, 07:11 AM   #3
oldnewbee
Member
Netherlands

oldnewbee is offline
 
Join Date: Jun 2008
Location: europe
Posts: 8
Hi rdrast,
yes, PC as HMI (mostly). Yes, it's clear that Produced/Consumed Tags are not primarily designed for this - but currently I have to live with it :-)
I will check your hint to OPC server settings.
Thanks very much for the quick reply.
  Reply With Quote
Old June 6th, 2008, 12:11 PM   #4
daba
Lifetime Supporting Member + Moderator
United Kingdom

daba is offline
 
daba's Avatar
 
Join Date: Jul 2004
Location: uk
Posts: 2,143
Quote:
Originally Posted by rdrast
PLC "Produced/Consumed" tags aren't on any interval delay, and are most commonly used for inter-PLC communications.
Actually they are.... the configuration for a Consumed tag includes an RPI (Requested Packet Interval) setting (2.0 to 750.0 mS), which specifies how often the tag data is refreshed. Presumably this would work the same if the producer were an HMI on an OPC server, and presumably again the OPC server would specify RPI for data Produced by the controller for an HMI.
  Reply With Quote
Old June 6th, 2008, 12:34 PM   #5
curlyandshemp
Lifetime Supporting Member
Canada

curlyandshemp is offline
 
curlyandshemp's Avatar
 
Join Date: Jul 2005
Location: Toronto
Posts: 1,611
Quote:
Originally Posted by oldnewbee
Hi all,
I'm new to both Rockwell/AB and to my company. I find a quite complex CLX-5561 software here that needs some debugging / improvement. My problem is:

- I have a CLX based machine with ethernet interface to a PC.
- At PC side, some tags are consumed - but I don't see how frequently.
- I'd like to set an "update interval" of -say- 5 secs. Means: I'd like the CLX to update the data the PC is consuming every 5 secs.

Now the question is: Where would I have to look for parameters controlling this - at CLX side, or rather at PC side? And what symbol names should I look for?

Is there any documentation explaining how to deal with it? I searched through this website and found some hints like "goto AB website and look for 'common procedures'" - but what I found there did not clarify it to me.
Any help appreciated. Thanks.
Consumed tags properties, connections


__________________
Work to Ride,
Then Ride to Work
  Reply With Quote
Old June 9th, 2008, 09:05 AM   #6
oldnewbee
Member
Netherlands

oldnewbee is offline
 
Join Date: Jun 2008
Location: europe
Posts: 8
Hi all,
thanks for your replies.

@curlyandshemp:
yes, this is the way to configure it if you are communicating between PLCs. But I have a PC (Windows) Program being the consuming side. And - as I have learned today - not using OPC but CIP protocol. They have implemented it in C++, and when looking for "RPI" in the source code, I finally found it.
Now I begin to understand how it's working :-)
Thanks very much for your help!
Regards,
oldnewbee
  Reply With Quote
Old June 9th, 2008, 12:12 PM   #7
Eddie Willers
Member
United States

Eddie Willers is offline
 
Eddie Willers's Avatar
 
Join Date: May 2002
Location: Grand Central Station
Posts: 505
I am very surprised to hear that your PC application is genuinely using Produced/Consumed Tags. I have never seen that implementation used on an HMI or database connectivity application. Even RA uses ordinary explicit messaging for their FactoryTalk data server.

Can you tell us what company wrote the PC side ? Are they an ODVA member ?
  Reply With Quote
Old June 10th, 2008, 01:18 AM   #8
oldnewbee
Member
Netherlands

oldnewbee is offline
 
Join Date: Jun 2008
Location: europe
Posts: 8
Hi Eddie,

Quote:
Can you tell us what company wrote the PC side ? Are they an ODVA member ?
well, it's my employer (i.e., colleagues of mine that have been working here before I started my job here). I don't think we are ODVA member. And this software is not intended to be sold as something like a "general purpose library".
Excuse me please, I cannot go into details too deep, but as far as I understand / guess it up to now, this software has grown more or less like this:
- 15 years ago there was need to have a PLC controlling a certain type of process-oriented machines.
- They choosed Rockwell (or AB, at those times?) - for whatever reason.
- Very early it was desirable to have a PC based HMI visualizing process data over time.
- Since I find some basic concepts of CLX software (devices, subscriptions, ...) also in the HMI software, it seems to me that the HMI was originally designed more or less to fit the software / process / communication structure given by Rockwell / AB resp.
- May be this all started at times when there were no external products available solving the needs.
- So, yes, we have this kind of application that surprised you. But since I'm new to CLX programming, I don't know which alternatives are available today, i.e. how / with what means one would implement an HMI for CLX today.
Btw, I actually don't know what "ordinary explicit messaging" means in detail, so I cannot judge the differences :-)
(Up to now I have mainly done C and C++ programming.)

Hope this gives you a clue about my situation.

Regards,
oldnewbee
  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
How Do I get Control Logix Consumed Tag Status sikoraj LIVE PLC Questions And Answers 3 January 8th, 2008 05:45 PM
Retain Controller Data in an HMI tag (Allen-Bradley) Money4Nothing LIVE PLC Questions And Answers 16 July 19th, 2007 07:38 AM


All times are GMT -5. The time now is 07:02 PM.


.