Cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Machine Set-Up Time and Processing Time into a station from a sub list

Valued Contributor
Valued Contributor

Hello, dear Community,

thank you very much for the great help so far.
In the final stage, I have to set up the time values according to given data.

I have the "Rüstzeit" (machine set-up time) and the "Bearbeitungszeit" (processing time) for each MU and their 
user-defined attribute, type integer in the MU class object, "PlatzImArbeitsplan" (work process stage), also as a string in a subtable in "Arbeitsplan " (top-level table in root network).

I cannot access these time values from the stations, getting error messages.
Do you have a hint for me what I am doing wrong here?
It seems that the machine does not "see" that the subtable is a table;
giving out the error warning "a table is required" and then after pressing "ok"
deleting the rest of the address I put in.
The full reference path I used so far is called:
.LO.N.Groblayout.Arbeitsplan.[1,@.name]["Bearbeitungszeit",@.PositionImArbeitsplan]
and
.LO.N.Groblayout.Arbeitsplan.[1,@.name]["Rüstzeit",@.PositionImArbeitsplan]

Groblayout being my root network, and Arbeitsplan the top layer table inside.

MaybeIi am missing a dot between the 2 [].[] ?
Also, the "PositionImArbeitsplatz" is only a string in the table, but I have it as user-defined attribute integer
in my MUs, might this be a source of trouble?

Thank you very much in advance.
1.PNG

 

above: the station/times tab, where I want to enter the time values.

2.PNG
this is the error warning showing that I have used the wrong address here.
Below: the user-defined attributes that are set up and used by the exit strategies
in my production line, using the "PositionImArbeitsprozess" to distribute MUs to the next station.

4.PNG

This is the top level table containing the MU specific sub-tables.

5.PNG

this is the sub level table with the time values I want to access, in columns 3 and 4.6.PNG3.PNG

this is the remaining address after the error warning occurred.

5 REPLIES

Re: Reading Machine Set-Up Time and Processing Time into a station from a sub list

Phenom
Phenom
A picture says more than thousand words.

A model file more than thousand pictures.

To simplify - could you just send the fraction of your model, which is creating

the error.

Re: Reading Machine Set-Up Time and Processing Time into a station from a sub list

Valued Contributor
Valued Contributor

well, its plant sim version 11, so I am not sure if it helps. but I can, yes.
it's basically "only" about the correct naming of these references to the time values.

 

Betreff: Reading Machine Set-Up Time and Processing Time into a station from a sub list

Valued Contributor
Valued Contributor
Hello Hannes821, Unfortunately I cannot open the model file since it is created with a Non Commercial License. But, looking at the codes, Could it be that the "dot" after .LO.N.Groblayout.Arbeitsplan be the problem? The correct one being, .LO.N.Groblayout.Arbeitsplan[1,@.name]["Bearbeitungszeit",@.PositionImArbeitsplan] I am not really sure. But maybe it helps.

Re: Reading Machine Set-Up Time and Processing Time into a station from a sub list

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the setting of ProcTime need to be Formula (Formel), not list

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

Betreff: Reading Machine Set-Up Time and Processing Time into a station from a sub list

Phenom
Phenom

Looking at your model, I've noticed 2 issues

 

1. you are using absolute paths for referencing tables from the subframes

 

in the root frame.

 

Instead of drag&dropping / using  .LO.N.Groblayout.Arbeitsplan

 

use root.Arbeitsplan.

 

Then you do not have to care about renaming the reference paths when renaming the root frame.

 

2.

 

the Processing / set up time table, you are referencing, is a sub table (wrapped in a table).

 

To use it as process table , I guess, it shouldn't be a sub table but a standalone table with this format

 

 

Unbenannt.PNG