Jump to content
OMRON Forums

Define Globals from C app?


KEJR

Recommended Posts

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

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Guest
This topic is now closed to further replies.

×
×
  • Create New...