KEJR Posted September 23, 2011 Share Posted September 23, 2011 Hello, I'd like to have my system library code define globals like you can do in the *.pmh files, but from C code. The reason is that I have several system variables I want mapped to fixed P vars, but still use the symbolic string based reads through gpascii from my HMI program. Otherwise I have to have my HMI programs cross reference the P vars with duplicated definitions across different project environments (which is what I do now, but gets into version nightmares if I remap the system vars). The reason I can't do it in the project *.pmh files is that this is my system library that gets included across multiple projects. Is this possible/practical to do? Thanks, KEJR Link to comment Share on other sites More sharing options...
Recommended Posts