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 10-05-2011
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default set / get spatials from item

Hi all,

I try in vain to set "spatialy" of an Item in the OnEntry Trigger of Conveyor/ Basic Conveyor.
Found out till now that it´s not possible to change the value in tree. And similar what value is written "getnodenum(node(">spatial/spatialy",item));" it allways returns 0.

What I want to do is to set position of item (not only Shape offset) from center to one of the borders of Conveyor.
With Basic Conveyor I realized, by using kinematics, that items run to border while conveying. In tree "spatialy" of Item changes to 0. But it seems impossible to give this data to next Conveyor / Basic Conveyor!?

Attached a small Example model.
Can anybody give me a hint, how to solve this?

Greetings
Attached Files
File Type: fsm Spatial_Change_SH.fsm (44.8 KB, 144 views)
__________________
Hemmi
  #2  
Old 10-05-2011
RalfGruber's Avatar
RalfGruber RalfGruber is offline
FlexSim Software Products
 
Join Date: Jul 2007
Location: Orem, UT, USA
Posts: 195
Downloads: 37
Uploads: 0
Thanks: 518
Thanked 294 Times in 124 Posts
Rep Power: 345
RalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to behold
Default

Sebastian,

I would store the data you need on the next conveyor in labels on the item itself and set its position on the downstream conveyer according to these labels.
Be aware that this is only working for Basic Conveyors...the standard conveyor is too intelligent to allow you changing item positions while being on the conveyor.

Goos luck!

Ralf
Flexsim USA
Flexsim Germany
  #3  
Old 10-06-2011
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Hi Ralf,

thanks for your reply. Think storing data in a label isn´t the issue.
Just got problems with setting or getting the value on "spatialy" of Item.
It looks as if "setnodenum()" and "getnodenum()" doesn´t work in this case. Even "setloc()" doesn´t work. Similar for Conveyor and for Basic Conveyor. And I can´t find out why.
__________________
Hemmi
  #4  
Old 10-09-2011
RalfGruber's Avatar
RalfGruber RalfGruber is offline
FlexSim Software Products
 
Join Date: Jul 2007
Location: Orem, UT, USA
Posts: 195
Downloads: 37
Uploads: 0
Thanks: 518
Thanked 294 Times in 124 Posts
Rep Power: 345
RalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to beholdRalfGruber is a splendid one to behold
Default

Sebastian,

once you added a kinematic to an item, you can't change its position manually anymore. You would need to make the position change in y-direction on the conveyor part of the kinematics (on the basic conveyor only. For the standard conveyor you just can't affect it).

Good Luck

Ralf
Flexsim USA
Flexsim Germany

Tags
basic conveyor, conveyor, spatial


Thread Thread Starter Forum Replies Last Post
each item has it's given location,and item's code correspond to storage location Robert Liu Q&A 3 03-28-2011 08:46 PM


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.