Hello, I would like to change a label of AGV when it enters a point. How could I write this in way point windows?
Hello, I would like to change a label of AGV when it enters a point. How could I write this in way point windows?
'agv' is a agv-class variable that only offers the respective properties/methods. To read labels on the task executer, either first get a reference to the object that represents the agv with '.object' or use the task executer variable 'te' that is also defined in the event logic.
@Felix Möhlmann Thank you for your reply. I still have some problems.
From your screenshot, what is " /*Accessors: te, agv, currentCP*/ " means?
Second line means create an AGV object called 'agv', and it has the value AGV(te).
The 'te' in bracket comes from 1st line, but how does "param(1)" come from in first line?
Also, how to know "param(2)" value is a controlpoint been put in way point member pane?
-----------------------------------------------------
In addition, could you help me figure out the difference between AGV and TE? According to my understanding, TE is any of the material handling system from library?
AGV is a kind of taskexecuter connected to AGV Network?
Thank you!
The first three lines of the code you see in the lower part of the picture are pre-set by FlexSim. So unless the developers made a mistake, the passed in parameters (param(1) and param(2) in this case) fit the variable they are assigned to.
The 'Accessors' comment in the code snippet let's you know which variables are available to use in the code without having to open the code window.
Yes, all of the objects in that category are Task Executers (TE) which share certain properties (such as speed) and commands. Some of them work differently as others though such as the crane.
When you connect a task executer to an agv network, it becomes an AGV Traveler with additional properties (like battery charge), while other properties such as maximum speed are now handled through its 'AGV Type' rather than per object. Most values that deal with agv travel are accessed through the AGV Class, not directly through the object. 'AGV(te)' creates that AGV class object from an object/te reference.
14 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved