Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!

0
Under review

S7 interface plc input write error CPU : Function not available

JO SG 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 6

Helo. Im trying to connect s7-1200 with game4automation. I saw the tutorial video and the https://game4automation.com/documentation/current/s7tcpip.html.

I followed all the process but still not working with this signs keep cycling.

Image 278

Image 277

I successfully checked the connection and added sdf file as well.

S7 interface plc input write error CPU : Function not available

I don't know how to solve this problem. Thank you.

Answer
Support 5 years ago

Hi, sorry for my late response. We needed first to support the open issues of our professional customers.

I checked your project but it seems that I don't have all data to be able to reproduce your problem. I would need your full S7 project. And you need to tell me which scene to open and what else to do to get the same problems as you do. Thanks.

0
Answered

OPCUA Data cannot be updated

liubaoyue 5 years ago updated by Support 5 years ago 5

Image 275

Answer
Support 5 years ago

Sorry we can't tell you what is wrong based on this rough information. It could be your Unity Configuration or the OPC Server configuration .....

To be able to check it we would need an example based on an OPCServer we can test with.

Please try to rebuild your problem based on UaCPP C++ Demo server (will send you a download link for this test server in a private message later).

Please upload your project where you can reproduce your problem based on UaCPP Demo server here:  https://game4automation.com/send 

0
Under review

Error opening game4automation project in a different PC

looi 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 5

I've started a project with the game4automation asset. I have a robot connected with the roboDK interface. When I try to open the project with another PC, It appears this error:

ArgumentNullException: Value cannot be null.
Parameter name: String
System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Number.ParseInt32 (System.String s, System.Globalization.NumberStyles style, System.Globalization.NumberFormatInfo info) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Int32.Parse (System.String s) (at <9577ac7a62ef43179789031239ba8798>:0)
game4automation.PLCOutputInt.SetValue (System.String value) (at [old PC Path]/PLCOutputInt.cs:58)
game4automation.RoboDKInterface.UpdateSignals () (at [old PC Path]/RoboDK/RoboDKInterface.cs:320)
game4automation.RoboDKInterface.CommunicationThreadUpdate () (at [old PC Path]/RoboDK/RoboDKInterface.cs:537)
game4automation.InterfaceThreadedBaseClass.CommunicationThread () (at [old PC Path]/InterfaceThreadedBaseClass.cs:50)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Threading.ThreadHelper.ThreadStart () (at <9577ac7a62ef43179789031239ba8798>:0)
UnityEngine.<>c:b__0_0(Object, UnhandledExceptionEventArgs)

It seems like some paths from the old PC are still remembered by the asset. I have changed the RoboDK Application path and the RoboDK file path, but the error stays. Reinstalling the asset just works, but it is uncomfortable to do it every time I switch to another PC.

Answer
Support 5 years ago

If you changed the RoboDK pathes I don't know why it not opens. The code is always just using this path. Is your path somehow uncommon with special characters or empty spaces?

You might need to set some breakpoints in RoboDKInterface.cs and check what is going wrong. If you don't find the issue we should do a Zoom Session and I will check on your computer.

0
Not a bug

Cadlink building problem

zhou zhou 5 years ago in CADLink updated by Support 5 years ago 1

Hi,

 Game4automation  2019.08,Unity 2019.4.12f1  . Some cadlink errors when building .

Image 271


Image 273

 

Answer
Support 5 years ago

First picture shows that your project was still importing something and not ready to build. 

I am able to build this scene based on the current release.

You need to make sure that cadimport is not part of your build because it is an editor only function and uses editor classes.

Usually it is done by excluding cadimport in the dll settings. This should be the case in your project. Maybe you referenced cadimport.dll somewhere in your scripts and this is why the build is not running. Please check what you added or changed in difference to the current release.

0
Answered

Grip scripts teleports mu to a different location

Matteo 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 1

Hi I'm having an issue with the grip script which I placed on a rotary arm on the automatic machine I'm designing, when the PLCOutputBool I use to pick the designated mu goes to true the MU that should be picked up and placed immediately teleports to a different location. My grip works just fine, but the mu will be moved on the location where it was teleported instead of attached to the gripper. I will include some pictures to better explain the issue.
In the first picture the green arrow points to the gripper and the red one to the mu.
In the second one, you can see how the mu (red arrow) is teleported to a different location immediately just as the signal linked to "Signal Pick" is true.

The pivots of the sensor linked to "part to grip", of the gripper and the pivot of the rotary arm correctly set. The Pivot of the game object representing all the automatic machine (highest in the hierarchy) is located also on the red arrow in the secon picture.

How do I fix this issue?

Thanks

Image 266

Image 267




Answer
Support 5 years ago

Sorry for my late response.

Grip should work. Please check how we did it in our dem model.

You can upload  your model via https://game4automation.com/send and I will check what is missing in your project.

0
Answered

Why my g4a project everytime I enter play mode stops working?

Matteo 5 years ago in General Questions updated 5 years ago 6

H, I'm currently working on my first project. I have added some drive scripts and some Mu and source, it is small at the moment and without any physics, but every time I press the play button to see my scripts in action, unity stops working and it took approx 3 mins to start or close the play mode and all the changes I made will disappear even though I saved them, I am talking about the bottom entity inside the game4automation gameobject. I tried to uninstall unity a couple of times, and this issue is still here only for my projects with the g4a asset on it, all my other unity projects ( even bigger one) will run without any problem. I should also mention that my pc is new and powerful. How can I fix this? I need to work on my final dissertation and like this is impossible.
Thanks

Answer
Support 5 years ago

Based on your description it is hard to say where your problem is. Did you followed these steps?

https://forum.game4automation.com/knowledge-bases/2/articles/193-step-by-step-guide-if-you-have-problems

If these steps don't help please export us your project and we will look into it.

0
Answered

multiple PLC's

Willem Van Der Gaag 5 years ago updated by Support 5 years ago 2

Is it possible to use multiple PLC's that are connected to a singel switch. For example by adding multiple s7 interfaces?

Answer
Support 5 years ago

yes for sure. Each PLC must have a different IP address. Numbers of interfaces in one scene is not limited.

0
Answered

Help!

ttalboys 5 years ago in CADLink updated by Support 5 years ago 21

No matter what I do I can't get materials from Solidworks into Unity through this tool. What am I doing wrong? I am saving the files with materials checked. This tool is seriously compromised without being able to import with materials. Thank You.

Answer
Support 5 years ago

Mai is info@game4automation.com

0
Answered

Colider Box , vertical movment on chan element

murdemon 5 years ago in General Questions updated by Дмитрий Мурашов 5 years ago 13

I add chain with chain element, and make chain element as transfer surface. But when cans comes to chain element it is holding only in vertical moving , but not for horizontal, there is video, what i miss?

Youtube video
Answer
Support 5 years ago

OK we found a solution. Thanks for sharing your information.


Here is a video about it, will be in the release next week. If you need the changed scripts earlier please send me a message.

Transportsurface.mp4

0
Answered

Changing local zero point for mesh

murdemon 5 years ago in General Questions updated by Support 5 years ago 1

How can i change local zero point of mesh from parts4cad? i want add drive (rotation), but zero point of rotation is wrong. 

Answer
Support 5 years ago

For changing the local 0 point you could embed it into an empty game object manually or use the Kinematic script for doing that on startup or you can change the zero point on the CAD side.