Cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with project

Pioneer
Pioneer

Hello

I have a problem with my project.

I have to design a simulation of making steel plate with taking into account cooperation with external data files.

The model assumes that there is a storage of steel plates form which robot passes them to the cutter.  After cutting , the final product  is sent to quality check and in the meantime the rest of the steel plates go back to the storage( if there is more than 50% material left) or to the recycle bin(if there is less than 50% left). After passing quality inspection , final product is sent with the others to the container or not if it fails.

I would like that whole assembly line was operated with a crane.

Thank you very much for your help.

28 REPLIES

Re: Problem with project

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

And what exactly is your question?

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Problem with project

Pioneer
Pioneer

I would like to know what I did wrong with my Method to FlowControl1, which is supposed to spilt steel plates based on their Attribute into two groups >50 and <=50.

 

Second thing is how to connect .txt file with the Order table, so it will be loading .txt file automatically when starting simulation. I have connected FileInterface with Init and I have no idea what to do next.

model3.png

Re: Problem with project

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

first: your ordertable is wrong. the fifth column need to have the data type table. Insert in this column only e.g. "x", then double click in this cell --> a subtable is open

 

deliveryTable.png

 

in this subtable you enter the attribute name in the first column and in the column with the right data type insert the value for the attribute.

AttributeWachable is a method...

 

To read your data from txt-file you can use the method readLn and splitString --> see help

for setting the attributes in your order-table you need the method createNestedList --> see help

 

The name you set here, you need to use in the control of the FlowControl.

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Problem with project

Pioneer
Pioneer

Thank you very much for your help.


I would like to ask, because Attributes in Table Order is the percentage wear steel sheat.

I would like to split steel sheat into two parts. (e.g. 60% garbage/or rest of sheat and 40% some manufactured parts). How can I do it?

 

Re: Problem with project

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

for the cutting process you can use a DismanteStation --> create a new part (see help)

 

FileInterface: you need to close the file, then it should work permanently

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Problem with project

Pioneer
Pioneer

Thank you for your help.

I have a question. What should look like the method for crane, when I have DismantleStation. I need that the first element has been moved to SingleProc and the second by FlowControl to one of the drain.model.png

Re: Problem with project

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

let the parts exit to two different buffers. Then you find some examples how to program the crane in the examples collection of Plant Simulation.

 

crane.png

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Problem with project

Pioneer
Pioneer

Thank you very much for help, Your adviced helped me a lot.

I have only one problem, when I have the type of sheet (e.g. Blachy_Rodzaj1) and when the sheet enters to DismantleStation I woud like divide it into two parts (elements and waste).
But it is always a constant value and I cant divide percentatge:
for example:
model5.png

How can I do that?

Re: Problem with project

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

result is in each case 2 MUs (DismantleStation).

 

To what attribute is the persentage related to? Length, Width or Length*Width

 

You can set this attributes for the waste according to your needs (e.g. in the entrance control of the waste buffer).

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net