3/8/2019 11:52 AM | |
Posts: 51 Rating: (0) |
Hi Is there a way to store a value every 8 hours and log it in the HMI? Please see attached screenshot and program within .zip Attachmentstore value.zip (234 Downloads) |
3/8/2019 12:02 PM | |
Posts: 51 Rating: (0) |
How would i link it so it stores every 8 hours though? The HMI that i use is KTP400 Basic PN |
3/8/2019 1:49 PM | |
Joined: 12/18/2014 Last visit: 11/3/2024 Posts: 34132 Rating: (4250)
|
In attachment an simple example.
AttachmentStore_in_Data_Log_0BA8.Standard.zip (286 Downloads) |
3/8/2019 3:13 PM | |
Joined: 2/22/2008 Last visit: 8/6/2024 Posts: 2698 Rating: (208) |
Another way is to build a chain with last values. You can expand the chain depend on free blocks. See the principle in the attached program. There a 2 chains, one for a fault number, but you can use any analog value and the second for a self created timer. You can delete the timer and the second chain, if you don't need or create e.g. a counter number, because you have a sheduler with fixed times. You can map all blocks in the VM mapping to get access with the display. If it is possible for the display to use AM1, AM2, AM3 ... directly, then forget the mapping. Try it out, perhaps it is useful for you. Regards, Scorp P.S. I have seen, the KTP400 has an Alarm buffer for 256 alarms. Maybe the alarm buffer is usable to store the actual value with date and time depend of the impulse of the week timer. AttachmentValue logging1.zip (302 Downloads) |
Last edited by: Scorp at: 3/8/2019 3:30:04 PMLast edited by: Scorp at: 3/8/2019 7:52:40 PM |
|
Follow us on