I have some code that uses the obsolete PV data type constants from sys_lib.var (constants like PB_DT_STRUCT, PB_DT_BOOL etc.). I see that the same file defines analogous constants like SYSLIB_IEC_TYPE_BOOL etc. which aren’t marked obsolete and should probably be used instead.
Question: Where is documentation for this transition, so far I couldn’t find any in the online help.
For context: This issue popped up when I tried to compile the code in Automation Studio 6 where the obsolete constants apparently are not defined anymore in sys_lib.
Some function blocks of library sys_lib has been discotinued for AS 6. The reason of it is that those function blocks were used only in SG3 target systems, which has been also discontinued for AS 6. Some others, just has been replaced by other function blocks.
I fail to find it as well, but this might be due to the fact that the transition away has been a while in the making.
The first marking of them as being “obsolete” happened in AS 4.9 (AR 4.90) and the accompanying Library