RSLogix 5000 - Capturing a value in a relative time and moving into a placeholder tag

DenZ_P

Member
Join Date
Jun 2016
Location
SomeWhere
Posts
64
Hello PLC Experts,

I want to do a logic where in an analog value will be captured per second or in any time possible and move that value into a placeholder tag when an enabled bit is energized. Its like getting sample value.

Example: You have a variable flowrate/Level. Then you have an enable bit that when it is energized it will get the flowrate/level at that moment and then move it into a place holder tag.

What instruction should i use? how do i do this? thanks! ;)
 
What is your goal for doing so ? It won't be an average or filtered value, just an instantaneous capture of the value reported at the moment in time when the trigger is examined.

It's pretty straightforward: you need a triggering bit, and a One-Shot (ONS) instruction, and a MOV or COP instruction

Analog_Snapshot.PNG
 
What is your goal for doing so ? It won't be an average or filtered value, just an instantaneous capture of the value reported at the moment in time when the trigger is examined.

It's pretty straightforward: you need a triggering bit, and a One-Shot (ONS) instruction, and a MOV or COP instruction

Hello Ken Roach thank you for your quick response! So the scenario is that we have a continuous liquid production machine. This gives out totalized value continuously.

At a certain step it will go to drain for draining of the product. At this moment totalized value is still continuous. So i have Total Value incrementing. The goal is during the step that it is draining, i want to capture that value and then start counting totalizer at that certain step. Does this make sense??
 

Similar Topics

Hello all, I have a question in regards to RSlogix 5000. I am having issues with the program force closing when I try to make online edits. We...
Replies
0
Views
95
Greetings ... someone sent me a request for some student handsouts that I developed ... turns out that I had this hosted on my business website...
Replies
0
Views
109
Thank you for any and all responses/help. I have an RSLogix 5000 v20 and a Cognex In-Sight v5.9 spreadsheet (8502P). I can not figure out how to...
Replies
0
Views
101
Hi All, I've been pulling my hair out trying to fix this for a few days and need some advice. I have V19.01, v20.05, V21, V24, V30, V31, V32...
Replies
5
Views
348
Hello Friends I have a installation with v16, v17, v18, v19, v20. When I tried to open a v20 file, the enable source protection was not enabled...
Replies
1
Views
214
Back
Top Bottom