Kinematic error reporting

Kinematic error reporting

supportPHJ4A
Observer Observer
15 Views
10 Replies
Message 1 of 11

Kinematic error reporting

supportPHJ4A
Observer
Observer

[ FlexSim 22.2.2 ]

Hello, everyone, I encountered a BUG 20.2 in version 2022.2. According to the previous reply, the development team should have fixed this BUG. Specifically, the problem is that the kinematics module cannot be executed and an error was reported. Do you have this problem in version 2022.2, or is it due to personal computers?多线叠盘NG.fsm

0 Likes
Accepted solutions (1)
16 Views
10 Replies
Replies (10)
Message 2 of 11

supportPHJ4A
Observer
Observer

I seem to have found the problem, which is caused by the use of the Chinese version. Just like the other model I uploaded, there is also a problem with the moving tray. I know that English modeling can be used to solve this problem, but I still want to consult the development team. It is caused by some wrong operation we did in the process of Chinese translation. Since the customer needs to use the Chinese version, we hope to get a solution, thank you very much!多线叠盘NG_中文版.fsm

0 Likes
Message 3 of 11

jason_lightfootVL7B4
Autodesk
Autodesk

I'm not sure if you already have a workaround for this - if not, destroy the kinematic node after it is finished:

token.labels["kinematics"].destroy()
0 Likes
Message 4 of 11

supportPHJ4A
Observer
Observer

This is effective and can be a good solution to the situation of pallets flying around. But the first error when executing kinematics is still there, I know it may be caused by the Chinese version of the software, do you have any other ideas to solve it?

0 Likes
Message 5 of 11

jason_lightfootVL7B4
Autodesk
Autodesk
I've sent in the report to the developers in the hope they will have a solution/workaround.
0 Likes
Message 6 of 11

philboboADSK
Autodesk
Autodesk
Accepted solution

The kinematics activities listen to an object's On Pre Draw trigger in order to automatically update the kinematics as the 3D view is drawn.

In order to do that, they first try to listen to the object specified in the Object field on the Create Kinematics activity. If that object doesn't have an On Pre Draw trigger (e.g., flowitems), then it traverses that object's parents until it finds one it can listen to (for the common flowitem case, that's whatever object the flowitem is currently in).

In your process flow, because you are moving the item into the model before creating the kinematics, it can't find an object to listen to. Hence the error message:

time: 118.892403 exception: Error: Unable to listen to On Pre Draw of object /托盘 at apply kinematics activity "应用运动学" in process flow "工艺流程

Instead of moving the item into the model, move it into an object that has an On Pre Draw trigger, such as a Visual Plane or a Queue. Then it will be able to find an object to listen to.

This issue is the same whether you are using the English version of the software or Chinese.



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 7 of 11

philboboADSK
Autodesk
Autodesk

Additionally, if you look at the code in the Movement > Translate Item pick options on various conveyor objects, such as a Decision Point's On Arrival trigger, you can see an example of how you can use the kinematics commands to directly affect items being controlled by the conveyor system itself. You can use that same code wherever you want to apply kinematic movement to items while they are on a conveyor.

1673893917040.png



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 8 of 11

supportPHJ4A
Observer
Observer

I will try to move the item into a queue or a plane, and I will also learn the code in "Translate Item", thank you very much.

0 Likes
Message 9 of 11

supportPHJ4A
Observer
Observer

中文版-多线叠盘NG.fsm

I have tried to move the item into the model,and the pallet location is dislocated.

Please help to have a look.Thanks!

1675230761282.png



0 Likes
Message 10 of 11

jason_lightfootVL7B4
Autodesk
Autodesk

You need to destroy the kinematic node as previously indicated. In this version of the model I've added an autosizing pallet to handle easy stacking of loaded pallets.

StackedPalletKinematics_ng_jl.fsm

0 Likes
Message 11 of 11

supportPHJ4A
Observer
Observer
  • Thank you. It worked out perfectly.

0 Likes