Crestron CNX-BF12 Dokumentacja Strona 87

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 100
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 86
EssentialsofCrestronProgramming
87
Symbolcompletenessandcommentingout
Intheaboveexample,thedigitalinputtothemoduleismarkedwiththespecialsignal
name“//”.Thissectionwilldiscusstheconceptofsymbolcompletenessand
commentingoutsignals.
InSIMPLWindows,allsymboldefinitionsmustbeʺcompleteʺfortheprogramto
compile.Asy
mbolthatisincompletewillhave*!*markerinfrontofit.The*!*marker
willalsoappearinthesubsystemwherethesymbolislocatedinProgram View, aswell
asthetoplevelLogicfolder.
Theconceptofcompletenessdiffersdependingonthesymboltype:
Mostdevicesymbols,suchastouchpanels,useʺr
andomcompletenessʺ,i.e.,youcan
connectanysignalorleaveanysignalblankandthesymbolwillstillbeconsidered
complete.
Mostlogicsymbolsandmodulesuseʺlistcompletenessʺ,whereeverysignalisa
requiredfield.Thatis,youmustfillineveryinp
utinorder,everyoutputinorder,and
everyparameterinorder.Theonlyexceptiontothisisifagivensignalissurroundedby
brackets[].Thissignifiesthatthesignalisoptionalandnotrequiredforprogramming.
Przeglądanie stron 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 99 100

Komentarze do niniejszej Instrukcji

Brak uwag