Store value

Circiter

Member
Join Date
Oct 2023
Location
Belgium
Posts
23
Hi y'all

I have a KTP400 connected to a s7-1200.

Now i have on my screen the encoder value which comes from my SEW movitrac.

under there I have placed a button "Save" , this to save the actual value so that the motor can get back to it's original begin position after the cycle.

Can anyone give me a quick example how to store thise value in a DB?
 
As Puddle stated, quite simple

A Save_Button MOVE Source, Destination

i.e.
HMI Save Button
-----| |-----------[MOV DB20.DBW10, DB21.DBW1]
It will depend on the tag type i.e. is it in a FW or double Flagword is it an integer or long integer.
 

Similar Topics

Hi all, I am working with an IO link sensor (measuring current across motor)and need to read in and store the sensor values for 5 seconds, then...
Replies
13
Views
1,218
Hello, I have a variable that contains the velocity value. I have to store the velocity value in each PLC cycle and have to do further...
Replies
16
Views
5,139
Hello Everyone, This might be a very stupid question but I need help to store the accumulator value before it resets. So I am doing time study...
Replies
11
Views
3,351
I am currently working on a project Motor test bench for PLC Control.. I am trying to measure current using Hall effect sensor. As I want to store...
Replies
18
Views
5,564
Back
Top Bottom