question

Chiu avatar image
0 Likes"
Chiu asked mary commented

How to dynamically change the rotation of the processor

I want my processor to change rotation as items move in and out. When an item is entering the processor, it should turn to the Input port, and when the item is exiting, it should turn to the Output port. How can I implement this functionality? Thank you for your assistance。

1739780038668.png

test.fsm


FlexSim 24.2.0
rotationset rotation
1739780038668.png (66.6 KiB)
test.fsm (40.9 KiB)
5 |100000

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

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered mary commented
· 9
5 |100000

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

Chiu avatar image Chiu commented ·


Hi @Felix Möhlmann
Thank you for your reply. This method is useful, but I found that there is a box flying around the periphery. How can I solve it? Thank you!!!

ict.fsm

1739795418994.png



0 Likes 0 ·
1739795418994.png (60.3 KiB)
ict.fsm (52.2 KiB)
Felix Möhlmann avatar image Felix Möhlmann Chiu commented ·

The "Change Visual" activity sets the location of the item (relative to the processor) to that location. Maybe the model you copied this from was set to use inches as length unit.

The logic also implements other functions that clash with the default behaviour of the processor (releasing the item as soon as the kinematic finishes).

If you want to keep using a processor instead of a BasicFR, then remove the "On Listener Initialized" code from both Wait for Event activities.

1739797166528.png

And the input needs to be closed until it has rotated back.

ict_1.fsm

0 Likes 0 ·
1739797166528.png (3.6 KiB)
ict-1.fsm (51.8 KiB)
Chiu avatar image Chiu Felix Möhlmann commented ·

@Felix Möhlmann Thank you for your suggestions. I have one final question. Regarding my processor which functions as a rotating disk, I'm noticing that some boxes pass directly over it (I would like them to be processed for 10 seconds before leaving). Could you please advise me on how to resolve this issue?


1739798232362.png


0 Likes 0 ·
1739798232362.png (77.0 KiB)
Show more comments