I don't think what you are asking is possible. There may be a way to turn scan on/off via a VB script, but it takes around 180 seconds for a tag to be placed in the que, and sent to the server. With hard drive space so cheap these days, why not log all the time. It's what we do.
If you have your tag configuration set correctly it will not collect data very often if the tag value does not change.