Page 6 - Demo
P. 6


                                    Interface to Maple%uf09f%uf09fRCPConsult2020-2025Page 6Note:Procedure and argument (vector)names are arbitrary.The other kind of a script file may contain any set of commands in notation of Maplelanguage but musthave a statement defining variable %u2019res%u2019as a final return value.res:=PAR1*Pi/4*Strength*Diameter^2-PAR2*Load;orres:=v_XP_[4]*Pi/4*v_XP_[2]*v_XP_[3]^2-v_XP_[5]*v_XP_[1];The creation of an interface script in correct notation is not trivial. To make it easier a template with some helpful data can be generated for a new script referenced in the simplifiedform of aninterface function. After definition of required Symbolic Expressions and parsing a name of script will be shown in Reliability Job tree. Blue color meansthat this script file is not yet saved. Otherwise thecolour of script name is red. For this state you can use right mouse click to activate a popup menu and select a script fileof interest as shown below. The Script Editorwill be activated with a corresponding template content. Then you can modify text of script as you like. Use the Evaluation button in Script Editor toolbar to controlsyntax and numericof yourscript.7.Maple expressionThe expression defined intheSymbolic Editor for the Mapleinterface can contain a single statement\PAR2*Load\or multiple statements separated by semicolon. In this case one statement musthave an assignment to predefined variable %u2019res%u2019\-PAR2*Load+A\Usually, this statement is thelast one. It is also possible to use a global vector in expression\_XP_[4]*Pi/4*v_XP_[2]*v_XP_[3]^2v_XP_[5]*v_XP_[1]\
                                
   1   2   3   4   5   6   7   8   9   10