question

Meng,Li avatar image
0 Likes"
Meng,Li asked Ryan Clark commented

Problem with KINEMATIC_ROTATE

As you can see in the model attached here, the scissors stopped at about time 9s and kept still to the end. I'm wondering why should this situation happen? Shouldn't the scissors keep rotating till the end?

scissors.fsm

FlexSim 21.2.1
kinematics
scissors.fsm (27.6 KiB)
· 1
5 |100000

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

Ryan Clark avatar image Ryan Clark commented ·

Hi @meng L, were CSN's answer and/or Felix's comments helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
CSN avatar image
0 Likes"
CSN answered Meng,Li commented

The angle at which the scissors rotate is determined by the degree_rot value in your model. The value of your degree_rot is 11.24, so the scissors will only rotate to this angle and stop.

· 5
5 |100000

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

Meng,Li avatar image Meng,Li commented ·
The return value of the addkinematic() func is 8.2s, then why would the whole rotation process stop earlier?
0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Meng,Li commented ·

addkinematic() returns the model time at which the kinematic will finish, not the duration.

1 Like 1 ·
Meng,Li avatar image Meng,Li Felix Möhlmann commented ·
Oh, right!

Then i wonder why the model still running as the kinematic already finished?

I set a breakpoint at BasicTE1's "On Finish Offset" trigger, and found that the breakpoint was triggered at the ending time 11.62s. This means the Offset is not sync with kinemaitc?

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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