SimulFlag

More
6 days 16 hours ago #160 by jds
SimulFlag was created by jds
Hello,
I thought I had it working in the past but: can the simuflag be active at one op station and disabled at another? I've now configured it like discribed but nog I've got a mixture of some graphs showing the simulation button and other won't. This in the main and the siumualtion station. The reason for the question is to have an instructor simulate faults and operators train them (not to have the operators make there own faults :-) )

Please Log in or Create an account to join the conversation.

More
5 days 17 hours ago #161 by claes
Replied by claes on topic SimulFlag
Hi jds,

The filter function for the simulation button only looks at the local SimulFlag on the node where xtt is executing, not at the SimulFlag for the node of the actual object, that would be more correct.

/Claes

Please Log in or Create an account to join the conversation.

More
4 days 23 hours ago #162 by jds
Replied by jds on topic SimulFlag
Claes,
that was what was in my mind and I could remember using it as so. But I 've got a mixture from both xtt's. In my main pc (plc process and instructors hmi) simulflag set, in the op station simulflag at 0.

case 1: only running the main machine: all graph's show correctly there simulation button.
case 2: first starting the PLC process, afterwards starting the op station -> every graph on the op station shows the simu button.
case 3: first starting the op station, afterwards the main station:
      step1 -> when opening the graphs at the op station the first time everything looks OK no simu buttons.
      step 2 -> But when openeing the graphs on the main pc some graphs had simu buttons, some don't (even with the same class).
      step 3 -> The most strange behaivior -> when a graph is now opened at the main station and show a simu button, opening the same graph at the op station will now also show the simu button, even when it did not showed before (in step 1 of this case).

To be complete: I use the simuflag in some classes for ex. to bypass the communication error on a freq drive. In my opstation I have 2 class dummy's to transfer the correct pwg's (tip from the past). The plant hierarchy is mounted in the opstation, the node hierarchy isn't.

Please Log in or Create an account to join the conversation.

More
4 days 12 hours ago #163 by claes
Replied by claes on topic SimulFlag
Hi jds,

The methods mask, that describes wether a methods button should be displayed or not, is only calculated once when the it's first needed. It is then stored in the XttMethodsMask attribute in the object. This means that it's SimulFlag on the node where the object is first viewed that will decide wether the simulate button is displayed or not. XttMethodsMask.Flags.IsConfigured can be reset to recalculate the mask.

/Claes

Please Log in or Create an account to join the conversation.

Time to create page: 0.577 seconds
Powered by Kunena Forum