question

Sharan Nitin avatar image
0 Likes"
Sharan Nitin asked Julie Weller commented

OPC UA Emulation - Problem with writing data on PLC

We followed the same procedure for writing the data on PLC using OPC UA connection but it seems like its not working and i am not to validate it in KepServer QC Client..! In the write action we tried to change the value but it didn't work out. Could you please suggest something in this direction?

FlexSim Tutorial:https://docs.flexsim.com/en/23.1/Reference/Tools/Emulation/ConnectingToOpcUA/ConnectingToOpcUA.html

FlexSim 22.2.0
plc emulationopc ua
· 10
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeanette F avatar image Jeanette F ♦♦ commented ·

@Luciano Cavallero, @Tancredi Canonico, @Fiorenzo A, can you please take a look at this emulation-related question?

0 Likes 0 ·
Luciano Cavallero avatar image Luciano Cavallero commented ·

You question is a bit general.
Could you share the configuration you setup in FlexSim in order to better understand it?

0 Likes 0 ·
Sharan Nitin avatar image Sharan Nitin Luciano Cavallero commented ·

This is the kepserver end pint configuration definition, we have used the same port number and id for data reading and it has worked properly.

screenshot-2023-05-29-153603.png

The same end point URL is used for connecting flexsim to plc via kepserver

screenshot-2023-05-29-153647.png


we have placed a Photoeye PE1. On the on cover trigger we planned to update the PLC tag data to 3.1 unfortunately under Quick Client we are not able to see the updated values. Please nor we are using sensor variable to OPC UA sensor variable to write the data on PLC.

screenshot-2023-05-29-154057.png

hopefully this is enough for you to provide the necessary action!!

0 Likes 0 ·
Luciano Cavallero avatar image Luciano Cavallero Sharan Nitin commented ·

Ok, clear, seem that everything is correct.

I see that you are writing a real number (3.10): is the OPC UA tag of the same data type?


0 Likes 0 ·
Show more comments
Julie Weller avatar image Julie Weller commented ·

Hi @Sharan Nitin,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

0 Answers