Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to open PlcControl type function object graph

How to open PlcControl type function object graph 12 years 2 months ago #3266

  • silvaphoenix
  • silvaphoenix's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 97
  • Thank you received: 5
  • Karma: 4
Hi,
I am trying to use a command button in a process graph to open the object graph for a function object class I have created.
I have followed the command syntax for opening the Mode graph from a pid graphic symbol. In my case
Command.Command open graph/class/instance=Z1-Plc-W-TTCFo0
This does not work and I get the error message "No classgraph found". Where should the graph be placed? Is anything needed in the C code?
Any help would be appreciated
Stephen
The administrator has disabled public write access.

Re: How to open PlcControl type function object graph 12 years 2 months ago #3267

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
Hi Stephen,

If the class name is TTCFo you create a classgraph named ttcfo. This is stored on $pwrp_pop with the name ttcfo.pwg. rt_xtt reads graphs from $pwrp_exe so you have to copy it there.

/Claes
The administrator has disabled public write access.

Re: How to open PlcControl type function object graph 12 years 2 months ago #3268

  • silvaphoenix
  • silvaphoenix's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 97
  • Thank you received: 5
  • Karma: 4
Thank you Claes,
I had named the file pwr_c_ttcfo.pwg but with rename all is working.
Regards,
Stephen
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 8.978 seconds