question

Hamza avatar image
0 Likes"
Hamza asked Hamza commented

How can I change the configuration of a machine during simulation?

FlexSim 22.2.0
reconfiguration
· 2
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

What aspects of the machine do you class as 'configuration', and what is/are the counterpart object(s) you are using in FlexSim?

You can access the properties of an object through setProperty(). You can write expressions in the fields of the object's properties panel that alter timings based on the items being processed.

You need to tell us more about what specifically you're trying to do.

1 Like 1 ·
Hamza avatar image Hamza Jason Lightfoot ♦♦ commented ·

I want to reconfigure machines by changing modules like the attached picture.microsoftteams-image.png

0 Likes 0 ·
Clair A avatar image
0 Likes"
Clair A answered Hamza commented

If you only want to change visual, you could use a Processor object and edit its animations to add your modules as components:

1672134350944.png

Then each configuration could be defined in a global table, where you save whether you want to show/hide this module for that specific configuration, and the module xyz coordinates.

1672134572450.png

In the attached model 2022-12-27 Reconfigurable Machine Tool.fsm, I change the processor's visual configuration on setup finish, based on the table above and the product type:

gif1.gif


· 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.

Hamza avatar image Hamza commented ·
Thank you very much Clair, this is exactly what I wanted.
0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Hamza commented
  • Process Time:

In statistical distribution you replace values by labels or parameters. You can change values during simulation.

  • Output Ports:
    Send to Port you do the same
  • Change rank of connection port numbers

drag or delete connections by command. You must open input port for this kind of connection by command.

  • execute strings containing commands
  • change predefined different behaviors in switch by case structures
· 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.

Hamza avatar image Hamza commented ·

I want to reconfigure machines by changing modules like the attached picture.

microsoftteams-image.png

0 Likes 0 ·