Save to SQL server every 3min

Save to SQL server every 3min

Hello everyone!
I am wondering if it is possible to save the data to SQL server every 3 minutes or so. I do not want to increase the update time on S7 TCP-IP driver though. I tried increasing the time on SQL Driver, but it keeps sending the data at the same time interval as before, only that it doesnt refresh that often.
The other thing I want to do is save the data only when variable "cycle" equals "1". Is this possible?
Thanks for all the help.

This is a migrated post! Originally posted on 22.09.2015 by user jst123. Please be aware that information can be outdated.