外部ActiveX控件添加与使用.pptxVIP

  • 1
  • 0
  • 约1.8千字
  • 约 8页
  • 2026-03-10 发布于北京
  • 举报

Module7–ExternalActiveXControls

IncludingActiveXControlsintheProjectExternalActiveXcontrolsavailablewillvarybetweensystemsTheymustbeaddedtoyourprojectbeforetheycanbeusedSelectPreferences/ActiveXControls(1)andbrowseyourPCforinstalledControls(2)Selectdesiredcontrolandclickontherightarrowtoincludethecontrol(3)Theselectedcontrolsmustalsobepresentonthetargetsystem213

AddingtheControlstotheMimicToaddtheexternalcontroltothemimic,selecttheiconshown(1)Pickthecontrolfromthelistdisplayed(2)andclickontheOKbutton21

MicroSoft’sSliderControlMaybeusedtosentasetpointtothePLCTheControlappearancemaybealteredbutmaylookasshown(1)Doubleclickingonthecontrolexposesit’sDrawingproperties(2)Min/MaxvaluesandChangevaluesaresethereVBAcodingisrequiredtolinktheSlider’svaluetoatagandwillbecoveredinthenextmodule21

TimerControlComeswithVijeoLookandtimersymbolappearsonthescreen(1)Timersareinvisibleatrun-timebutthetimer’seventrunsscriptwhenthetimer’sIntervalexpiresTimermustbeenabled(2),Intervalspecified(2)isinmillisecondsStartnewprojectswithlongtimeintervals21

OptionButtonsAllowyoutoselectasingleOptionButtonfromagroupofoptionbuttonsVBScriptiswrittenbasedontheselectionmadeCaptionsmaybeaddedinthepropertieslist(1)Controlautomaticallyallowsyoutoonlyselectonechoice(2)21

ComboBoxControlUsedtopresentalistofchoicestoanoperatorCreatesanattractivedropdownlist(1)whenrunningNomeaningfulconfigurationisdonefromthemimiclevelRequiresVBAcodingtomakeitworkMaybeusedtonavigatebetweenmimics1

Exercise7Completeexercise7locatedattherearofthismanual.

文档评论(0)

1亿VIP精品文档

相关文档