How do I access lane conveyors from merge controller

How do I access lane conveyors from merge controller

joe_hugan
Not applicable
110 Views
4 Replies
Message 1 of 5

How do I access lane conveyors from merge controller

joe_hugan
Not applicable

[ FlexSim 16.0.1 ]

How do I reference the individual conveyor lanes that are being controlled by a merge controller so I can set different release criteria for each lane that changes as the model runs?

Accepted solutions (1)
111 Views
4 Replies
Replies (4)
Message 2 of 5

anthony_johnsonT83CM
Autodesk
Autodesk
Accepted solution

Looks like that was an oversight.

Instead of accessing the conveyor objects, you could try storing relevant data on the merge controller itself, through something like a label table.

If you absolutely have to have access to the conveyor, you can get it with the command:

ownerobject(tonode(getnodenum(rank(getvarnode(merge, "slugBuildLanes"), laneNum))))

Although I'm always hesitant to suggest digging into tree internals because it can cause compatibility issues if/when we change those tree internals. So, use at your own risk.

Message 3 of 5

joe_hugan
Not applicable

Thank you Anthony

0 Likes
Message 3 of 5

joe_hugan
Not applicable

Thank you Anthony

0 Likes
Message 5 of 5

anthony_johnsonT83CM
Autodesk
Autodesk

Hey Joe,

This forum works a little different than our other user forum in that each "Answer" is meant to be an actual answer to the question, not a reply to a previous post. Post-reply conversations are meant to be done in the comments of each answer. This makes answer finding easier for people who are skimming. So I've converted your answer into a comment.

0 Likes