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

TOPIC: Trend.Attribute1 settable in PLC?

Trend.Attribute1 settable in PLC? 3 years 6 months ago #10764

  • Bruce@Spang
  • Bruce@Spang's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 41
  • Karma: 0
I would like users to be able to select from a set of choices (option menu) the data source for Trend's two traces (Trend.Attribute1 and Trend.Attribute2).
It seems like CStoAttrRefP may be able to do this?

I have not been able to figure out the syntax needed to refer to and change these two attributes. I would appreciate some example guidance!
The administrator has disabled public write access.

Trend.Attribute1 settable in PLC? 3 years 6 months ago #10767

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

The objects for the Ge dynamics are not stored in the database and can't be modified from the plc. They are stored in the pwg-file for the graph and can normally not be changed in runtime.

Another way to achieve this could be to use a Folder (or Window object with the command 'set subwindow'). In this case you need to create a number of graphs with a Trend and with the different attributes.

/Claes
Last Edit: 3 years 6 months ago by claes.
The administrator has disabled public write access.
The following user(s) said Thank You: Bruce@Spang

Trend.Attribute1 settable in PLC? 3 years 6 months ago #10770

  • Bruce@Spang
  • Bruce@Spang's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 41
  • Karma: 0
Is it possible to issue an Xtt command from PLC? (Directed at a Graph)

I would like to issue a 'set subwind' Xtt command based on some logic.
The administrator has disabled public write access.

Trend.Attribute1 settable in PLC? 3 years 6 months ago #10771

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3177
  • Thank you received: 502
  • Karma: 133
You can trigger the execution of an xtt command from the plc with the dynamic DigCommand.

/Claes
The administrator has disabled public write access.
The following user(s) said Thank You: Bruce@Spang
  • Page:
  • 1
Time to create page: 7.834 seconds