Displaying run time on a C-More

J_Simmons

Member
Join Date
Feb 2011
Location
Columbus Oh
Posts
5
I am trying to display the total run time for a piece of equipment. I have the program side done, but I can't figure out how to display it on the screen. Here is
my code for timing the operation.

// Rung 1
// Address 0
STR X0
STRN X1
AND T0
TMRA T0 K600

// Rung 2
// Address 6
STR T0
STRN X1
AND CT0
CNT CT0 K60

// Rung 3
// Address 12
STR CT0
STR C1777
CNT CT2 K9999

// Rung 4
// Address 17
NOP


#BEGIN ELEMENT_DOC
"X0","Running","","Machine Running"
"X1","Stopped","","Machined Stopped"
"C1777","AFI","","Always False Instruction"
"T0","Sec","Seconds by tenth",""
"CT0","Mins","Minute Count",""
"CT2","Hrs","","Hour Count"
"SP0","_FirstScan","",""

#END
 
Thanks bce123, but let me ask this...Is it possible to display it all without separate box's? I thought I had seen it somewhere online but have not been able to find it again. Again thanks.

James
 
You can remove the boarders and shrink the size of the boxes so they are side by side. They will still be two boxes, but will appear as though they were one when viewed on the Cmore. A little creativeness can make it very fluid. Instead of using the labels, you can put the "Hours" and "Minutes" in the Suffix spot and make it appear as "XX Hours XX Minutes".
 

Similar Topics

Hi Guys! What are the possible causes of Multistate Indicators displaying 'error' messages when test-running application in Factory Talk View ME
Replies
3
Views
1,983
Hey everyone and anyone that can lend a helping hand. I have a project that I am being asked to add some animations of Solidworks or "3D" models...
Replies
9
Views
348
Using FTview ME to create an HMI screen. Simplest task is giving me trouble. How do I create an HMI tag that will allow the name of the current...
Replies
3
Views
136
Hello Folks, plc : micrologix 1500 The analog output from the loadcell is given to the plc. Using the SCP function I have scaled it into an...
Replies
3
Views
769
Hi Everyone, I am hoping a Red Lion Expert can point me in the right direction. I am experimenting with data logging on a CR3000 10" screen...
Replies
4
Views
610
Back
Top Bottom