資源描述:
《013 Visualization BASIC》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、VisualizationBasicVisualizationBasicThistrainingshowsyouhowtousesimplevisualizationelementsinCODESYS.CODESYS?atrademarkof3S-SmartSoftwareSolutionsGmbHVisualizationBasicIntroductionAfterthismoduleyouwillbeableto?configuresimplevisualizationelements?usestaticproperties?us
2、edynamicproperties?displaytexts?displayvalues?configurevaluechanges?displaypictures?configurethis:DocumentsSolution.avi2?3S-SmartSoftwareSolutionsGmbH1?3S-SmartSoftwareSolutionsGmbHVisualizationBasicVisualizationBasicBasicsStaticproperties3?3S-SmartSoftwareSolutionsGmb
3、HVisualizationBasicBasicsDynamicproperties(ToggleColor)Expressionisfalseorempty:Normalstatecolorsareshown.Expressionistrue:Alarmstatecolorsareshown.4?3S-SmartSoftwareSolutionsGmbH2?3S-SmartSoftwareSolutionsGmbHVisualizationBasicVisualizationBasicDosomepracticeExercise1?
4、UsetheprojectSimpleElements_All_Exercise.project.?Createanobject(rectangle)onthevisualizationscreen.?ConfigurecolourtogglingdependingonthebooleanvariablePLC_PRG.xblink5?3S-SmartSoftwareSolutionsGmbHVisualizationBasicBasicsDynamicproperties-movementsX+Y+‘Absolutemovement
5、‘moves,rotatesandscalesthewholeobject.6?3S-SmartSoftwareSolutionsGmbH3?3S-SmartSoftwareSolutionsGmbHVisualizationBasicVisualizationBasicBasicsDynamicproperties-movementsMostobjectshavetheproperty‘Rotation‘.Theobject‘spositioncanrotatearoundadefinedcenterpoint.Thecenteri
6、stheblackdotwiththewhitecrossinside.7?3S-SmartSoftwareSolutionsGmbHVisualizationBasicBasicsDynamicproperties-movementsObjects(polygonandpolyline)withtheproperty‘Interiorrotation‘canrotatearoundtheircentersmarkedbytheblackdot.8?3S-SmartSoftwareSolutionsGmbH4?3S-SmartSoft
7、wareSolutionsGmbHVisualizationBasicVisualizationBasicDosomepracticeExercise2?UsetheresultprojectfromExercise1.?HavetherectanglemoveinXandYdirectionbyusingthevariables:PLC_PRG.rXPOSandPLC_PRG.rYPOS?CreateanotherrectangleandusePLC_PRG.iRotationtorotateitaroundacenterpoint
8、outsidetheobject?CreateatriangleandrotateitbyusingthevariablePLC_PRG.iRotation?Trydifferentpositionsofthecente