However, any instances that already existed will not be updated. Any new instances of that AOI you create after you adjust that preset will be created with the same timer preset as your definition. then the preset you specified is the default for that AOI. Set a preset in that TON/TOF/RTO instruction Assign "My_AOI_Timer" to that TON/TOF/RTO Within the AOI, put a TON/TOF/RTO on a rung Have a local AOI parameter called "My_AOI_Timer" I just tried an offline edit to one of the previous existing timer presets but the instances don't show the change, although a logical edit is reflected in all instances.įor a timer, the default value is the value set in the definition. As the local tags show the correct (non zero) value for all timer presets in the offline version, I'd interpret those values as being the defaults. If you perform the test above, that should confirm things one way or the other.įor what it's worth, I've never seen a download cause any such symptoms, but I've been caught out by the "copy default values" trick a few times!ĪSF, I did see the copy all default values option but it remains greyed-out and unchecked when the timer presets are altered. So if your issue is as you described it, this may be unrelated - but it's plausible that you edited an AOI and downloaded it, then noticed the issue, and mistakenly thought the issue occurred when you downloaded, not when you made the edit. This would occur not when you downloaded, but when you clicked "OK" on the AOI definition editor. If the timer preset in your AOI instance has a default value of zero, and you updated the AOI with this option selected, all instances would be set to zero. When you update an AOI for which there are existing instances, there is an option to "copy all default values of parameters and local tags whose values were modified to all tags of this instruction type". If you change the timer preset of one of your instances online, save the program, and download again, does it retain its preset?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |