Sie sind auf Seite 1von 10

KingSCADAQuickStartManualHowtocreateanewproject

KingSCADAHardwareRequirements(recommended): ProcessorPentiumIVandabove CPUspeed2GHzandabove 32bitCPU 2GBRAMandabove 20GHDDandabove

KingSCADASystemRequirements: Downloadtheinstallationpackagefromwww.icpdasusa.comorinstalltheproductfromCDROM. SupportforWindows32bitoperationsystem(English,Chinese,Japanese,Koreanand Chinesetraditionalcharacters) Windows2000,SP4 WindowsXP,SP3 Vista Windows2003Server,SP2(orR2) Windows2008Server Window7(ProfessionalandUltimate)

SetupKingSCADAmainprogramfordataacquisitionanddisplay

Fig.1InstallationSelections

1/10

ClickBasicInformation,toseetheInstallationStatementtoshowhowtoinstallthesoftware. ClickInstallKingSCADA,andfollowtheinstallationsetupstepstosetupthemainprogram. ClickInstallKingSCADADriverstoinstalltheI/OdriversonyourPC. ClickInstallKeyDrivertoinstallthehardwarekeydriver,ifyouhaveone. ClickInstallKingSCADAOPCServertoallowKingSCADAtobeaccessedby3rdpartyapplications throughOPC.

AfterinstallingKingSCADA,youcanfinditintheStartMenuonyoursystem.

Fig.2FindKingSCADAinStartMenu

CreateanewprojectusingKingSCADA
Step1:OpentheinterfaceofKMaker ClickAllPrograms>KingSCADA>KMakerthroughthe StartmenuinFig.2. Note:Ifalicenseisnotavailable,clickYestoenterthe demomodewhichoffers2hoursfordevelopmentand runtimeenvironment.
Fig.3StartKMakerwithoutlicense

2/10

KSMakeristhedevelopmentenvironmentforKingSCADA,interfaceasbelow:

Fig.4KingSCADAdevelopmentenvironmentinterface

Step2:Createanewsolution CreatenewsolutionornewprojectthroughmenuFile>NewSolutionasFig.5shown,orthroughthetool barbuttonNewasFig.6shown.

ConfigurenewprojectsettingasFig.7shown.

Fig.5NewSolutionusingFile>NewSolution Fig.6NewSolutionusingquickbutton

EnteraprojectnameofMyFirstKSProjectand clickOK. Anewprojectiscreatedandanew folderwiththeprojectnameiscreatedatthe locationpath.


Fig.7Createanewproject

3/10

Note: Ifyourinputnameisinvalid,afterclickingOK,you willgetanalertwindowtotellyouthereasonshownasFig4. Step3:CreateatagunderTagDictionary


Fig.8Alertmessagewindow

Tagsintheprojectscanbeusedtogetvaluesfromhardwaredevices. Theyalsocanbeinternalvariables usedinmakingthepicture. Tocreateanewtaginsidetheproject,expandDatabase,andselecttheTag Dictionary. UsetheNewbuttonatthetopleftoftheContentDisplayArea,orrightclickanytagin thelisttocreatenewtag.SeeFig.9andFig.10.

Severalsettingsareneededtodefineatag:(SeeFig.11) 1. 2. 3. Tagname: Avalidnameisneeded; Choosethedatatypefromthedropdownlist; Chooseatagtype(Basicmeanssimpleonevalue

Fig.9Createanewtagusingtoolbarbutton Fig.10Createanewtagusingrightclickmenu

tags; Structmeansagroupoftagswithafixed structure;Pointermeansareferencetoanothertag.) 4. Forothersettingspleaseseethehelpdocument.

Step4:Createanewpicture Fig.11Tagpropertiessetting Picturesareusedtodisplaydatatoandinteractwiththeuser. TocreateanewpictureinKMaker,expandViewandchoose Window,andclickNewbuttonatthetopleftoftheContent DisplayArea,asFig.12shown,orswitchtotheGraphy environmenttocreatethepicture.


Fig.12Createanewpictureintheproject

4/10

AfterclickingtheNewbutton,youwillseea picturepropertiessettingwindowasinFig.13. 1. 2. 3. 4. Enteravalidnameforthenewpicture, SetPictureviewasyouneed; SetPicturestyleasyouneed; SetAdvancesettingasyouneed.

suchasFirstPicture;

Note:ThedefaultsettingsareshowninFig.13.
Fig.13Configurethepropertiesofthepicture

Step5:Drawanobjectonthepicture Aftercreatingthepicture,drawanobjectonthepicture. ClicktheRectangleinthetoolbox.Leftclickanddragwith themousetolocateandsizearectangleasdesired.SeeFig. 14. ObjectscanbeconfiguredthroughthePropertieswindow, seeFig.15.


Fig.14Drawanobjectthepicture

Fig.15ConfiguretheobjectsthroughPropertywindow

5/10

InsertaTextobjectonthepicture,inputVolts= #v.SeeFig.16. Note:Thecharacter#canberegardedasa wildcard,ifadataoutputanimationisaddedonto thisobject,andthen#willdisplaythevalueof thetag.


Fig.16InsertaTextobjectontothepicture

Step6:Addananimationtooutputthevalueofthetag ToaddananimationtotheTextobject,doubleclicktheobjectorrightclickitandgetthemenuand chooseLinksConfig,thengettheEditAnimationswindowasshowninFig.17. 1. Selectananimation:Click+,andchooseValueOutput>AnalogOutputasinFig.17. 2. Chooseatagforthelink: Clickbuttonordoubleclickthetextbox,seeFig.19,andgetthetag listinFig.19.

Fig.17EditAnimation1 Fig.18EditAnimation2

3. Chooseataginthetaglist: tomeettherequirementofthedatatype,chooseanintegertag Tag1,seeFig.19. 4. Setoutputstyleforruntimedisplay:ChooseNumber,thevaluewillbedisplayedasanumber,set theformatofit,seeFig.20.OrchooseText,thevaluewillbedisplayedasatext,seeFig.21. 5. Afterfinishthesetting,clickOKtosavetheanimation.

6/10


Fig.19EditAnimation3 Fig.20EditAnimation4

Fig.21EditAnimation5

Step7:Saveandruntheproject Save the picture after all of the operations, using File>Save or File>Save all, or using the toolbar buttonSaveorSaveallasshowninFig.22.

Fig.22SavethePicture Fig.23SwitchtoRuntime

SwitchtotheruntimeenvironmentbyclickingViewtoruntheproject.SeeFig.23. Ifthereisnolicenseavailable,pleaseclickYestoenterademomodeoftheruntime.SeeFig.24. 7/10

Fig.24SwitchtoRuntime Fig.25OpenaPictureinRuntime

Inruntimeenvironment,usethemenuPicture>OpenPicturetoopenapicture,seeFig.25,andthen chooseapictureintheOpenpicturewindowasshowninFig.26. ThepictureisdisplayedasshowninFig.27.

Fig.26ChooseaPicturetoopen Fig.27DisplaythePictureinRuntime

Additional1:Insertageniusontothepicture Additionally,ageniuscanbealsoinsertedontothepicture.SeeFig.28.

Fig.28InsertaGeniusthroughtoolbar ClosetheruntimeenvironmentbyclickingtheXattheupperrightoftheruntime. IntheGraphyEditor choose a genius from the library. For example, select Temperature Gauge under the folder Predefined>Sign.SeeFig.29.

8/10

Fig.29InsertaGeniusontothePicture

Selectthegeniusonthepicture,andclicktheLinkstabattherightedgeoftheGraphyEditor. Selectthe Value property and click the button that appears. Select a tag, and click OK to finish the configuration.SeeFig.30.

Fig.30LinktheGeniuswithaTag SavethepictureandswitchtoruntimeenvironmentbyclickingtheViewbuttonontheKMakerwindow, seeFig.31.

9/10

Fig.31GeniusinRuntime

Additional2:Settheinitialpicturefortheruntimeenvironment InKMaker,therearemanysettingstoconfigurethepropertiesoftheruntimesystem. ExpandtheprojectsSettingfolder. DoubleclickViewSettings,andchoosetheMainPictureSetting tab. Choose a pictureas the default picture for the runtime environment, so that this picture isshown whenruntimesystemstarts.SeeFig.32.

Fig.32ViewSetting(MainPictureSetting)

10/10