MikeSparks

MrPLC Member
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

0 Neutral

About MikeSparks

  • Rank
    Newbie

Contact Methods

  • Website URL http://
  • ICQ 0

Profile Information

  • Location Ohio
  • Country United States
  1. ---------- Thank you for your reply Sparky, I'll try that...
  2. ------------ Hello finfin: Specifically, I'm tying to come up with a percentage of downtime. I have uptime and downtime coming into the HMI, from the PLC, broken down into HH (hours) as one tag, MM (minutes) as another tag and SS (seconds) as the final tag to display HH:MM:SS respectively. I thought it would be easier to do the conversion to all minutes in the HMI as memory elements. My strategy then was to do the math in the HMI and have that result placed in a memory tag called, for example, "hourstominutes conversion" and do this sort of logic for the SS (Note I don't have to convert the MM obviously). Then all I have to do is work with 3 tags for downtime and 3 tags for uptime to come up with total time. Then I simply perform the division using downtime and total time. My question then goes back to performing the conversion from hours to minutes and placing that value in a memory tag. I hope that makes some sense.......
  3. Hello All - I'm somewhat new to programming with FactoryTalk View ME, although I have taken a Rockwell (basic) seminar on it. My question is in the area of using mathematical expressions. Specifically how do I add two tag values and then place that result into another memory tag? I suspect I'm having a formatting problem, although ME tells me the format is "valid". If anyone can help with this question specifically I would appreciate it or if anyone could point me to some online help/resource using mathematical expression in ME I would also be greatful. Regards, Mike
  4. Yes, that will get me started. Thanks for your help Alaric. Have a good one, Mike
  5. Hello All - First time posting here, please allow some leniency if I'm not posting correctly... It's been many years since I've programmed so I'm a bit rusty. I have a SLC500 and use RSLogix500 to program the ladder logic. I have a FactoryTalk View ME application were I'm using the ActiveX MEDataStorePlus control to capture process data from my SLC500. My goal is to send process data from the SLC500 to a .csv file at certain times (before the end of a shift), using FactoryTalk. The problem is the MEDataStorePlus control uses a trigger to activate the data collection. What I believe I need to do is write some code in the ladder logic to look at the real-time clock in the PLC. Once the PLC real-time clock equals 6:45 am, 2:45 pm and 10:45 pm respectively, I will set a bit in the PLC that is picked up through my FactoryTalk View ME application and thus sets the trigger for the MEDataStorePlus, collecting my process data. Quite frankly I'm a bit rusty at programming and the scenario I explained is a bit over my head. Does anyone have any suggestions to get me going or perhaps were I could view sample code using the SLC500 real-time clock in a ladder program? It appears the system or status bits I would be looking at our S40 (HH) and S41 (MM). Best Regards, Mike