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 January 10th, 2019, 12:05 PM   #1
Karinrinkashi
Member
United States

Karinrinkashi is offline
 
Join Date: Nov 2017
Location: Atlanta, GA
Posts: 26
PanleBuilder 32 numeric value display question

Hello everyone,

I have a rather simple question that i cannot seem to figure out the solution to. I have a counter in my program that accumulates after certain conditions are met. I have setup a DINT numeric display in a Panelbuilder screen with a tag which references to that counter's accumulation value. Something like C5:21.ACC but panelbuilder keeps giving me an error saying that i am using an invalid counter/control reference.

Can anyone help me out with this and tell me a way to use a counter's accumulation value, so it can be displayed in a numeric display in a panelview?

Thank you for any and all the help!
  Reply With Quote
Old January 10th, 2019, 01:16 PM   #2
iggy
Lifetime Supporting Member
United States

iggy is offline
 
iggy's Avatar
 
Join Date: May 2007
Location: FLORIDA
Posts: 182
It has been a long time since I have used that software, did you trying moving the .acc to an int and using that tag instead of the .acc tag.
__________________
I was doing some PLC Programming on my laptop while waiting on my grandmother to get ready to go out to lunch. She says she is ready, I tell her to hold on a sec I have to find a couple of bits, she reaches into her purse and pulls out a quarter for me.
  Reply With Quote
Old January 10th, 2019, 01:32 PM   #3
Mickey
Lifetime Supporting Member
United States

Mickey is online now
 
Mickey's Avatar
 
Join Date: May 2003
Location: Palmdale,Ca
Posts: 10,222
You might try changing the data type to a signed integer. As the counter (C5:21.ACC) is a signed integer data type not a double integer.

I am also not sure (can't remember) if PanelBuilder32 can address the counter ACC directly. So iggy's advice
may apply.
__________________
Mickey

If you want happiness for an hour-take a nap. If you want happiness for a day-go fishing. If you want happiness for a month-getmarried. If you want happiness for a year-inherit a fortune. If you want happiness for a lifetime-help someone else.
----- Chinese Proverb
  Reply With Quote
Old January 10th, 2019, 07:04 PM   #4
Geospark
Lifetime Supporting Member
Ireland

Geospark is offline
 
Geospark's Avatar
 
Join Date: Feb 2012
Location: Kildare
Posts: 2,606
57007 - PanelBuilder32: Error 9027 Unsupported file type specified for alarm
Access Level: Everyone

Yes. References to members of structured data types, such as Timers and Counters will throw the above error when validating the application. Copy to a suitable and supported data type, such as integer and reference as iggy advises. Remember also for accurate representation on the PanelView terminal, if the integer is being conditionally copied to, to reset the integer value if or when the referenced instruction's accumulated value is reset. Else unconditionally copying should always display the realtime value.

Where there are lots of Timers and/or Counters that need referencing, you can create a dedicated integer Data File. Blocks of 3 consecutive words may be used to represent the structured data for say each Counter. For cases where the HMI needs to both write to a .PRE and read an .ACC, you can assign Word 0 as the .PRE register and Word 1 as the .ACC register. Word 2 may then represent the bit members such as .EN, .DN, etc. Words 3, 4, 5 representing the next Counter, and so on. This can give you some user-defined structure to your indirect referencing.

Regards,
George
__________________
"A little nonsense now and then is relished by the wisest men".
  Reply With Quote
Old January 11th, 2019, 09:47 AM   #5
Karinrinkashi
Member
United States

Karinrinkashi is offline
 
Join Date: Nov 2017
Location: Atlanta, GA
Posts: 26
Thank you everyone for their input. I will follow the advice and then get back with the results. I am currently correcting the graphics and need to download them.

It just made intuitive sense to put the ACC in their but it seems that i was wrong.
  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
add one numeric display at FTV ME from another PLC mike3475 LIVE PLC Questions And Answers 2 January 3rd, 2019 12:33 PM
Panelview 800 Numeric Display Electrorecycler LIVE PLC Questions And Answers 7 October 31st, 2018 05:22 AM
FTView SE Datalog Model to Numeric Display junior LIVE PLC Questions And Answers 5 September 16th, 2017 12:48 PM
Data Display Software Question markzb LIVE PLC Questions And Answers 3 March 15th, 2006 04:41 AM
Easy Panelbuilder 32 Question russrmartin LIVE PLC Questions And Answers 1 July 30th, 2004 02:38 AM


All times are GMT -5. The time now is 09:41 PM.


.