In processor while working with trigger on state change i am not getting the option to write on global table which is there for other options like On Entry or On Exit
In processor while working with trigger on state change i am not getting the option to write on global table which is there for other options like On Entry or On Exit
Hi @AMIT KUMAR, was one of Jason Lightfoot's or Joerg Vogel's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.
If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.
Then you can try to copy the template source code from a trigger that supports this picklist item.
How should we do that? I want all the options which are available for On Entry trigger or specific one like add row column and add data to global table
Thanks
Use a code snippet and refer to the methods and examples of the Table class - it's much simpler than you might think.
How to reference tables and write to their cells. The syntax is :
Table(<tablename>)[<row>][<col>]=<value> //example: Table("MyGlobalTable")[1][4]=10; //writes the value 10 into row 1 column 4 of the global table "MyGlobalTable"
Be careful with onStateChange as you may get many different values being written at the same time. If you're overwriting a cell each time then it should not matter.
I want to write down every time a processor goes into breakdown or blocked mode also want to capture the start time & end time of that state for the machine in a global table
e.g
machin name col1.
state col2
start time col3
end time col4
and number of rows will be added every time the machine goes to blocked or breakdown row is added to global table
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