Crestron CNX-BF12 Specifikace Strana 90

  • 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 89
EssentialsofCrestronProgramming
90
User Modules
CrestronprocessorscontrolserialdevicesusingphysicalstandardssuchasRS232,RS
422,andRS485.UnlikeIR,RS232controldoesnotusereadytogodriverfiles.Instead,
theprotocolthatthedeviceisexpectingwillbeprovidedbythemanufacturerinthe
unitʹsdocumentation.Thisprotocolincl
udesthedatathatthedeviceexpectstoreceive
andtransmit,theformatoftheserialcommands,thespeedatwhichitcommunicates
(baudrate),theerrorchecking(parity),andotherelementswhichallhavetobeadjusted
inamoduletomatchthemanufacturerʹsspecification.
Becauseoftheabsenceofadriverfile,RS232controlisgenerallyconsideredmore
difficulttopr
ogramthanIR.ThisisbecauseeachtimeanRS232deviceistobe
programmed,theprogrammermustlookuptheprotocolinthemanual,andthenwrite
thenecessarylogicintotheprogramtosendth
isdata.(Tocounterthis,manydevices
havededicatedCrestronmoduleswrittenforthem.Thesemodulescanbepluggedinto
aprogramandusedtogenerateallthepropercontrolcodesautomatically.)
TheVirtualPresentationRoomincorporatesasimplemodulethatsendsserialcommand
stringstotheprojectortoturntheprojectoronandoffandtoselectsources.Theserial
outputstrin
gofthemoduleistransmittedtotheCOMportviathe<tx$>inputofthe
builtinserialdriver,andontotheprojectorviatheserialcable.
Elementsofausermodule
AmoduleconsistsofanArgumentDefinition,whichrepresentshowthesymbolwill
lookinSIMPLWindows,andlogicsymbols.
Theinputs,outputsandparametersoftheArgumentDefinitionareassociatedwith
signalsandparametersdefinedinthemodule.
Zobrazit stránku 89
1 2 ... 85 86 87 88 89 90 91 92 93 94 95 ... 99 100

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

Žádné komentáře