Hi,
I have a question regarding the logic procedure.
I want to control a 3D simulator witch is developing in Unity game engine from WinCC OA.
Kind of pushbuttons in Wincc OA panel that control the movement of an object in Unity (How to send signals to extern environement)
Thank you
Help in communication with external environement
- anes47
- Posts:10
- Joined: Mon Apr 08, 2019 10:58 am
Help in communication with external environement
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Help in communication with external environement
You have to look which protocols the external application supports. Probably you will then find out how to communicate with WinCC OA.
Best Regards
Leopold Knipp
Senior Support Specialist
Best Regards
Leopold Knipp
Senior Support Specialist
- anes47
- Posts:10
- Joined: Mon Apr 08, 2019 10:58 am
Re: Help in communication with external environement
Thank you for your answer
I need to communicate via JSON file, kind my external application listen to JSON file and WinCC OA write into it.
Best Regards
Anes
I need to communicate via JSON file, kind my external application listen to JSON file and WinCC OA write into it.
Best Regards
Anes
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Help in communication with external environement
Probably I do not understand the answer.
What is "communication via JSON file"?
What does "listen to JSON file" mean in detail?
Is it meant that some writes the JSON file and the application reads it then (by a trigger)?
Best Regards
Leopold Knipp
Senior Support Specialist
What is "communication via JSON file"?
What does "listen to JSON file" mean in detail?
Is it meant that some writes the JSON file and the application reads it then (by a trigger)?
Best Regards
Leopold Knipp
Senior Support Specialist
- anes47
- Posts:10
- Joined: Mon Apr 08, 2019 10:58 am
Re: Help in communication with external environement
I have a 3d simulator in Unity and I need to control it from WinCC OA (Because I found difficulties to integrate it directly to WinCC OA as an EWO), So I want to create for example a "PushButton" in WinCC and when I click to this last one it will send a message to Unity via JSON to do something, it is possible ?
thank you a lot
thank you a lot
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Help in communication with external environement
JSON is not a protocol, it is just a type of formatting data.
Which protocols does the 3rd party application support?
Best Regards
Leopold Knipp
Senior Support Specialist
Which protocols does the 3rd party application support?
Best Regards
Leopold Knipp
Senior Support Specialist
- anes47
- Posts:10
- Joined: Mon Apr 08, 2019 10:58 am
Re: Help in communication with external environement
Unity can use TCP socket connection as protocol
Best Regards
Anes
Best Regards
Anes
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: Help in communication with external environement
If the 3rd party application has TCP server socket you can use the tcp* CTRL functions to send data to this socket.
Best Regards
Leopold Knipp
Senior Support Specialist
Best Regards
Leopold Knipp
Senior Support Specialist