229
Prerequisite: Thedisplayofsignalstatesandprocessvariablesisenabledunder Tools
Simulation.
Thecoloredindicationletsyouidentifythe"1"or"0"statusofaconnectingline.Defaultcolorof
connectinglinescarryinga"1"signalisred.Defaultcolorofconnectinglinescarryinga"0"signalisblue.
6.9BasicOperation
ThischapterwilltellyouhowtowritelogicfunctiongraphProgramwithxLogicsoft,howtosimulatethe
ProgramyouwritewithxLogicsoft,howtocommunicatebetweenPCandxLogicwithxLogicsoft,howto
copysystemdocumentofxLogicwithxLogicsoft,andhowtocompletetheupdateofapplicationand
systemProgramcode.IfyouwanttowriteafunctiongraphProgram,firstofall,it’snecessarytostartan
emptydocument,andthenputthefunctionblockintoeditingbox.Firstsetthepropertyofeveryfunction
block,thenlinkeveryfunctionblockaccordingtologiccontrollingrelation,therebycompletethe
protractingofalogicfunctiongraph.Inaddition,inordertohelptheusersconfirmifthefunctiongraph
accordwiththeprospectivecontrollingresult,xLogicsoftalsoprovidesmostintuitionistfunctionof
simulation.Youcangetthemovingresultoftheprogramthroughsimulationofthefunctiongraph.
6.9.1OpenFile
6.9.1.1OpenNewFile
Operationmethod:
Toopenanewfile,click ‘New’ optionofmenu ‘File’,clickoncewithleftbuttonofmouse.Asshowninthe
followingfig.