PF模块入门 ProcessFlow模块是Flexsim软件里面一个独立的板块,它是自成一体的二维仿真建模界面,可以与三维界面共享工具,可以与三维模型联动,作为全部或部分运行逻辑。3D部分经常是用于触发和执行板块,PF部分就是内部逻辑跳转。 TheProcessFlowmoduleisanindependentpartoftheFlexsimsoftware。Itisaselfcontainedtwodimensionalsimulationmodelinginterface,whichcansharetoolswiththethreedimensionalinterface,andcanbelinkedwiththethreedimensionalmodelasallorpartoftheoperatinglogic。The3Dpartisoftenusedtotriggerandexecutetheboard,andthePFpartistheinternallogicjump。 当然PF板块也是有优缺点的,它的优点就是,逻辑流程清晰直观可阅读性强;自定义精细流程,修改方便;无需深入学习代码;更适合于抽象和宏观系统。 Ofcourse,thePFboardalsohasitsadvantagesanddisadvantages。Itsadvantagesarethatthelogicalflowisclear,intuitiveandeasytoread;itiseasytocustomizeandmodifytherefinedflow;itdoesnotneedtolearnthecodeindepth;itismoresuitableforabstractandmacroscopicsystems。 那么它的缺点就是无法处理运动学也就是无法使用动画;不利于了解FlexSim运作机制‘简单逻辑比传统模式更复杂;仍需编写部分代码。也就是说简单的逻辑使用传统的模式,复杂的逻辑可以选用PF模块更容易操作。 Thenitsdisadvantageisthatitcannothandlekinematics,thatis,itcannotuseanimation;itisnotconducivetounderstandingtheoperationmechanismofFlexSim。‘Simplelogicismorecomplicatedthantraditionalmode;partofthecodestillneedstobewritten。Thatistosay,simplelogicusesthetraditionalmode,andcomplexlogiccanbeeasiertooperatewiththePFmodule。 首先为大家介绍一下如何打开这个模块,有两种方法,第一种就是直接从上方快捷处找到工艺流程板块直接打开,其中包含很多种类,有常规工艺流程、固定资源类、任务执行类、子流程工艺流程四种,大部分情况下我们一般需要观测全局状况的话就可以选择常规类型的。 Firstofall,letmeintroducehowtoopenthismodule。Therearetwoways。Thefirstistofindtheprocessflowsectiondirectlyfromthetopandopenitdirectly。Itcontainsmanytypes,includingconventionalprocessflow,fixedresourcetype,taskexecutiontype,andsubTherearefourtypesofprocesses。Inmostcases,wecanchoosetheconventionaltypeifwegenerallyneedtoobservetheoverallsituation。 第二种方法就是通过工具栏添加,跟添加全局表类似,选择自己需要的具体工艺流程创建就好了。 Thesecondmethodistoaddthroughthetoolbar,whichissimilartoaddingaglobaltable,justselectthespecificprocessflowyouneedtocreate。 创建完成之后,就可以进行相关操作了,跟模型一样,将左边的实体库里面的直接拖出来就好了。活动分为很多不同的类型,有传统活动、共享物资、展示类的东西,展示类的主要是用于外观,对逻辑没有任何的影响。 Afterthecreationiscomplete,youcanperformrelatedoperations,justlikethemodel,justdragouttheentitylibraryontheleft。Activitiesarepidedintomanydifferenttypes,includingtraditionalactivities,sharedmaterials,anddisplayitems。Thedisplaytypeismainlyusedforappearanceandhasnoimpactonlogic。 关于它的组合和连线与平时模型中的不一样,我们只需要将它们凑在一起就好了,他们会自动吸附在一起。 Regardingitscombinationandconnectionaredifferentfromthoseintheusualmodel,weonlyneedtoputthemtogether,andtheywillbeautomaticallyadsorbedtogether。 当需要拆开的时候就直接点击中间出现的小剪刀就可以完成了。但是需要注意的就是活动类的可以任意吸附,但是共享类的无法进行吸附,是单独存在的。当然也可以利用连线工具进行连线,主要用于有多个输出的时候使用。 Whenyouneedtoopenit,justclickonthesmallscissorsthatappearsinthemiddletocompleteit。Butitshouldbenotedthattheactivetypecanbeadsorbedarbitrarily,butthesharedtypecannotbeadsorbedandexistsalone。Ofcourse,youcanalsousetheconnectiontooltoconnect,whichismainlyusedwhentherearemultipleoutputs。 但是需要注意的是,区块内无论连线是从哪儿出来的,都属于最后一个活动的连线输出。而且还存在一定的连线顺序,还可以修改线的颜色等。 Butitshouldbenotedthatnomatterwheretheconnectioncomesfromintheblock,itbelongstothelastactiveconnectionoutput。Moreover,thereisacertainconnectionsequence,andthecolorofthelinecanalsobemodified。 当然还可以修改整个模块的颜色主体什么的,主要可以在右侧的主体板块进行修改。 Ofcourse,youcanalsomodifythecolorbodyoftheentiremodule,mainlyinthemainpanelontheright。 那么今天关于PF模块的介绍就到这里了,希望对大家有一定的帮助。 Sotoday’sintroductiontothePFmoduleishere,Ihopeitwillbeofsomehelptoeveryone。 参考资料:腾讯课堂《从小白到大神》 英文翻译:Google翻译 本文由LearningYard原创,若有侵权请联系删除。