Crestron CNX-BF12 Specifikace Strana 87

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 100
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 99 100

Komentáře k této Příručce

Žádné komentáře