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, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
Replies
1
Views
100
Hi folks, in the alarm manager of Rslogix 5000, the tag-based alarm has been created. But when I tried to change the condition, it was found the...
Replies
2
Views
202
I am completely stuck on building a ladder program that requires a start button to be pressed 3 times to turn on motor 1. Then motor 2 starts...
Replies
20
Views
646
First off, I'm a hobbyist-level programmer, and this program isn't controlling anything anything that could even remotely be considered "life...
Replies
18
Views
584
Back
Top Bottom