您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > MARTINLightJockeyRS232代码
RS-232ProtocolTheRS-232protocolisbasedona3bytebinaryprotocol.Theformatforallcommandsareidentical:[Command][Data1(MSB)][Data2(LSB)]All3bytesmustbesenttoLightJockeywithin0.2seconds,otherwiseanincompletecommandtimesout.Allbyteswithavalueof128orabovearetreatedasa[command]byte.Consequentlyalldatabytesmusthaveavalueof127orlower.WhentheboththedatabytesareusedtosendavaluethevaluemustbesplitintoanMSBandanLSBpair.Examples:Toloadcuenumber130:Send[129][1][2]-129istheLoadCuecommand,and1*128+2selectscuenumber130.Toloadcuelistnumber2Send[128][0][2]-128istheloadcuelistcommand,and0*128+2selectscuelistnumber2.ListedbelowarethevariouscommandsacceptedbytheRS-232interfaceapplicationFunction[Cmd][Data1][Data2]NotesLoadcuelist[128]Cuelist#MSBCuelist#LSBsend#0tostopcurrentLoadcue[129]Cue#MSBCue#LSBsend#0toclearcurrentLoadbackgroundcue[130][BGCue#MSB][BGCue#LSB]send#0toclearcurrentFlashSequenceon[131][Sequence#MSB][Sequence#LSB]send#0toclearcurrentSmokeOff[132][0][0]seesmokeControlSmokeOn[132][0][1]seesmokecontrolSmoketimeroff[132][1][0]seesmokecontrolSmoketimeron[132][1][1]seesmokecontrolBlackout[132][2][1]seeblackout/restoreRestore[132][2][0]seeblackout/restoreFadein[132][3][0]seemasterintensity,usespresettimeFadeout[132][3][1]seemasterintensity,usespresettimeEnablestaticentry[133][Static#][1]seestaticscontrolDisablestaticentry[133][Static#][0]seestaticscontrolCurrentcuelistGo[134][1][1]manualcuelistsonly,seecuelistCurrentcuelistBack[134][1][2]manualcuelistsonly,seecuelistCuecontrolsloton[135][slot#][1]seecuecontrolCuecontrolslotoff[135][slot#][0]seecuecontrolBackgroundcuesloton[136][slot#][1]seebackgroundcueBackgroundcueslotoff[136][slot#][0]seebackgroundcue
本文标题:MARTINLightJockeyRS232代码
链接地址:https://www.777doc.com/doc-2886817 .html