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-24-2009
Robert Liu Robert Liu is offline
Flexsim User
 
Join Date: Oct 2009
Posts: 24
Downloads: 70
Uploads: 0
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 129
Robert Liu is on a distinguished road
Default a simple model and the questions.

This is my model with Flexsim3. I want to simulate two types of buckets are measured and transited by processor and conveyors. Each bucket has different color and dimension and is transited through different conveyor in the form of lie down (such as on the processor in my model). But there many problems:
1. When the items leave the processor they are not lie down but stand. In Source1\SourceTriggers\OnCreation, I write codes:


fsnode* item1 = parnode(1);



double curxsize = 0.5;


double curysize = 0.5;


double curzsize = 2;


setsize(item1, curxsize, curysize, curzsize);




double curxrot = 0;


double curyrot = 90;


double curzrot = 0;


setrot(item1, curxrot, curyrot, curzrot);



//Set the location of


double curxloc = 0;


double curyloc = 0;


double curzloc = 10;


//setloc(involved1, curxloc, curyloc, curzloc);


setloc(item1, curxloc, curyloc, curzloc);




//Set the color of


double redcolor = 255;


double greencolor = 0;


double bluecolor = 0;


setcolor(item1, redcolor, greencolor,bluecolor );



char* labelname = "cube1" ;


//double newvalue = duniform(1,3);

setlabelnum(item1, labelname, 1);
Then the bucket has its size, color and lie down. But why it’s not lie down when it leave the processor and display on the conveyor although I write cods at Processor_dimensioncheck\ProcessorTriggers\OnExsit :

fsnode* item1 = parnode(1);


double curxrot = 90;


double curyrot = 0;


double curzrot = 0;


setrot(item1, curxrot, curyrot, curzrot);
2. How can I realize that different bucket is transited by different conveyor?
3. If one source can create two types of buckets and how to track the buckets all the process?
Attached Files
File Type: zip Twotypeflowitems.zip (19.8 KB, 187 views)
  #2  
Old 10-26-2009
Robert Liu Robert Liu is offline
Flexsim User
 
Join Date: Oct 2009
Posts: 24
Downloads: 70
Uploads: 0
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 129
Robert Liu is on a distinguished road
Default

If my question is too easy?
I only want to know how to rotate a cylinder on conveyer. Who will kindly tell me?
Thanks a lot!
  #3  
Old 10-26-2009
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

Change the Orient Z and Orient Y values in the conveyor's parameters to rotate the flowitems that are on it.
Attached Thumbnails
Click image for larger version
Name:	conveyor_orient.jpg
Views:	209
Size:	75.2 KB
ID:	837  
The Following User Says Thank You to Phil BoBo For This Useful Post:
Robert Liu (10-27-2009)
  #4  
Old 10-27-2009
Robert Liu Robert Liu is offline
Flexsim User
 
Join Date: Oct 2009
Posts: 24
Downloads: 70
Uploads: 0
Thanks: 13
Thanked 0 Times in 0 Posts
Rep Power: 129
Robert Liu is on a distinguished road
Default

I'm a beginner of Flexsim, thank everyone who give me helps and suggestions!
Thanks a lot! Phil BoBo.


Thread Thread Starter Forum Replies Last Post
Two questions that are raised David Chan Container Terminal (CT) Library 6 01-22-2010 09:23 AM
Simple emergency room model Francisco J. Ramis Q&A 4 04-22-2009 03:36 PM
Questions of TrafficControl ? Li Chin Q&A 0 01-15-2009 07:32 AM
questions about installation in vista Ning Wang Installation 14 10-24-2008 01:08 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.