You cannot close an output port number!
There exists a command, BUT it is not allowed to use it for this purpose.
You may consider other solutions.
A. You can add queues as interfaces between PM_3 and PM_3_1 and Layout_Control. Each Queue has got a capacity of one. These additional queues can set to close there input, which resolves in, that PM_3 is sending no more products to them.
B. You can adjust a source source code in Send To function of PM_3. If you open the source code editor of this function in processor, then you find in it for the picklist option “first available“ a code line
- return 0;
You can rework it so, that this return command evaluates a label at your processor. This label can you set to different values which explicitly change the output port behavior.
You add a number label at your processor. You call it as you like, for example “rule”. You set label by picklist option or by command in a function of your Processor.
- setlablenum(current,”rule”,2);
The return line looks like
- return getlabelnum(current,”rule”);
12 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved