Emulation - value behavior upon Reset

Emulation - value behavior upon Reset

sakamoto_ryosuke
Collaborator Collaborator
33 Views
6 Replies
Message 1 of 7

Emulation - value behavior upon Reset

sakamoto_ryosuke
Collaborator
Collaborator

[ FlexSim 23.0.11 ]

@Luciano Cavallero

I have a model connected with OPC UA Server. When I click Reset in FlexSim, the value on the simulation change to initial value, but the value doesn't change on OPC side.

I also notice that connection is disconnected upon reset.

So, does the disconnect occur before the value reset? or
disconnect occur after value reset?

0 Likes
34 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

Do you not find that when you run the connection is re-establish and the correct value read from the OPC-UA server? If so, why do you need it to match in the reset, non-running state?

0 Likes
Message 3 of 7

sakamoto_ryosuke
Collaborator
Collaborator
@Jason Lightfoot Thank you for your reply. It is not about reading value from OPC-UA server. When you click reset in FlexSim, the value change to its initial value (on FlexSim side), and the customer was wishing to apply that initial value to the OPC-UA. But currently it doesn't occur. So, we are guessing that upon reset, disconnect occur prior. If this is the case, it is fine for now. We just want to confirm if this behavior is the way it is designed.
0 Likes
Message 4 of 7

jason_lightfootVL7B4
Autodesk
Autodesk
It should be set when the model runs and the connection is re-established. Why do they want it reset when there is no connection?
0 Likes
Message 5 of 7

sakamoto_ryosuke
Collaborator
Collaborator
@Jason Lightfoot Thank you for your reply. So, your reply implies that when you click the reset button, how the FlexSim behaves is that first disconnection, then value reset. Correct?
0 Likes
Message 6 of 7

jason_lightfootVL7B4
Autodesk
Autodesk

Probably. We added a button to the PLC UI to set internal values back to those expected at reset. You could try setting the values as part of a Model Parameter OnSet to see if that registers before disconnection.

0 Likes
Message 7 of 7

sakamoto_ryosuke
Collaborator
Collaborator
@Jason Lightfoot Thank you!
0 Likes