Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Example 84 of Plant Simulation Book doesnt Work

Creator
Creator

Hi,


I´m trying to do the example 84, page 176, of the book "Manufacturing Simulation with Plant Simulation and SimTalk".


When I run the simulation, the transporter doesnot behave like the book describe it. It unloads the MU into the machines and never come back to unload the MUs to the Drain (out).


I already double checked what I did and I was unable to figure out what is wrong with my model.


My model is atached. I used the Plant Simulation 12.0.3, 32bits version. There is any idea what is wrong with it?


Best Regards,

BS8.

5 REPLIES 5

Re: Example 84 of Plant Simulation Book doesnt Work

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

in the drive_control line 24 a @ is missing.

 

@.stopped:=true

 

Than it works.

 

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

Re: Example 84 of Plant Simulation Book doesnt Work

Creator
Creator

Hello Steffen Bangsow,

 

Thanks for the answer. It worket perfectly.

 

On the book is:

stopped:=true;

 

The right way is:

@.stoped:true;

 

It is missing the @.

 

Best regards,

BS8

Re: Example 84 of Plant Simulation Book doesnt Work

Creator
Creator

Hi everybody,


I created the example 84 on thePlant Simulation 12.0 (student version) and it worked very well.


Then, Siemens delivered my Plant Simulation 12.2 comercial licence. I imported the original file, and it worked ok yet.


Then, I just created the same example, with the same codes and, it is not working. The Methods are not working because syntax problems, according to the message when I click "Apply Changes".


For example, the method "load" shows the error message "Syntax error near line 1 at 'object' ". It looks that the model uses SimTalk 1.0 and my Plant Simulation 12.2 uses only SimTalk 2.0.

 

Is that true? If yes, is it possible to convert or translate the methods from SimTalk 1.0 to SimTalk 2.0?

 

The model working and the model not working are attached on the message.

 

When you open the NOT WORKING model, it will appear a dialog box with the message "Incorrect Methods".

 

Best Regards,
BS8

Re: Example 84 of Plant Simulation Book doesnt Work

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
You need to switch off SimTalk 2.0 (New Syntax) in Tab Tools, than Edit - Apply Changes
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Example 84 of Plant Simulation Book doesnt Work

Creator
Creator

Hi Steffen,

 

Thanks, it worked like a charm.

 

Best Regards,

BS8