Jump to content
OMRON Forums

Any Idea how to... determine if var is M or P type ?


Recommended Posts

Here is interesting question from end user:


For Example I would like to do something like what is below


If (MyVar == Pvaraible) { stuff } // checking if MyVar is a P variable

if (MyVar == Mvarialbe) {different stuff} //Checking if MyVar is a M Variable




*** Ideas on how to determine in logic a given variable is type M,Q,P ?


- perhaps in CfromScript sub-routine to do a query and read back the echo text to see the letter M or P ?


- In var Name append a letter at end _M _P then have a sub-routine return if text matches M or P ?


Thanks for looking...

Link to comment
Share on other sites

  • 1 month later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

This topic is now closed to further replies.

  • Create New...