ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 11-18-2008
qin tian qin tian is offline
Flexsim User
 
Join Date: Dec 2007
Location: Shanghai, China
Posts: 137
Downloads: 115
Uploads: 0
Thanks: 59
Thanked 3 Times in 3 Posts
Rep Power: 161
qin tian is on a distinguished road
Default when the port is closed?

In the manual about fixedresource, it says:
When the flowitem is released, the FixedResource calls the Sendto function. Like the Pull from Port function, this function returns a port number. The FixedResource then opens that port. If the port number is 0, then it will open all of its output ports. Once the ports are opened, the FixedResource waits until a downstream object becomes ready to receive the flowitem.

Then, the flowitem will go into the downstream object.

what I want to know is will the state of the port be changed automaticly? For example, will the outport be closed when the flowitem have exited?
  #2  
Old 11-18-2008
Steven Hamoen's Avatar
Steven Hamoen Steven Hamoen is offline
Talumis, Flexsim Distributor, The Netherlands
 
Join Date: Aug 2007
Location: Soest, NL
Posts: 854
Downloads: 43
Uploads: 0
Thanks: 391
Thanked 661 Times in 379 Posts
Rep Power: 684
Steven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond reputeSteven Hamoen has a reputation beyond repute
Default

The answer is yes, but it depends on how the fixed resource is programmed. On a processor it is closed, on the queue it will stay open if there products in the queue that can go out.

If you switch "Show Connections" on you will see either red or green boxes at the end of the connections. Red means closed and green means open.

Steven
The Following User Says Thank You to Steven Hamoen For This Useful Post:
qin tian (11-18-2008)


Thread Thread Starter Forum Replies Last Post
is there a command which will return the port no. of a connected object? KelvinHo Q&A 6 04-22-2010 02:13 AM
problem about "send to port " Vic Li Q&A 2 10-04-2008 12:42 AM
Close A Specific Port Joe Allen Q&A 2 09-11-2008 06:30 PM
set the location of flowitem from 2nd input port in a combiner KelvinHo Q&A 4 04-11-2008 11:34 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.