![Alcorn Mcbride V+ series User Manual Download Page 250](http://html1.mh-extra.com/html/alcorn-mcbride/v-series/v-series_user-manual_2892709250.webp)
15-14
Appendix A
– Adding User-Defined Serial Protocols
is 3. It then ORs the two results together h20 and h03, to get h23, which is the
binary coded decimal equivalent of 23 decimal.
Byte2
and
Byte3
work similarly, except they work on the fifth and sixth bytes,
and the seventh and eighth bytes respectively.
Note
The compiler uses a word size for the result of each operation, and then
finally put the LSB byte into the message as the final result. This is to help
produce accurate answers in intermediate stages of math operations.
Byte
fields allow for 128 operands and 32 total sets of parenthesis.
Not thirty-
two levels deep
, but thirty-two total sets.
retries=1
timeout=60
completionack="A"
The
Retries
field allows for how many times a message will be sent out if the
correct acknowledgment is not received back, specified by the
Messageack
and
Completionack
fields. If the Show Controller receives nothing, or the
incorrect response for a given event, then the Show Controller will try to send
the message again. For example, if
retries
is 1, the Show Controller will try
one more time to send the event. If the correct response is not received the
second time, the Sequence specified in Configuration | Ports for an Error
Sequence is executed, and the Show Controller does not attempt the event again.
The range for the
retries
field is 0 to 255. If
retries
is not specified, the Show
Controller assumes 0 retries, and will start the Error Sequence after the
timeout
period after the message is sent out the first time.
The
Timeout
field specifies how long the Show Controller is to wait for an
acknowledge for a message sent out. It is specified in frames. For example, if
timeout
is set to 60, the Show Controller will send out the message, and then
wait 60 frames before assuming that there was no response. The
timeout
should be long enough to allow for
both
the
messageack
and the
completionack
data to come back in a worst case ( longest ) scenario, is a
normally operating device. The range for the
timeout
field is 0 to 65535. If
timeout
is not specified, the Show Controller assumes 0
timeout
, and will
retry or start the Error Sequence immediately after the message is sent out,
without waiting for a response.
The
Messageack
field specifies what the device should send back to the Show
Controller immediately after receiving the message. This is used to say "Yes I
received what you just sent, and I understood it".
Messageack
is defined
exactly as the
message
field, and can use functions, including
@complex
. If
the
messageack
field is not specified, the Show Controller assumes there is
no response immediately after the message is sent.
The
Completionack
field specifies what the device should send back to the
Show Controller when it is finished executing the event it just received. This is
used to say "Ok, the event you requested is completed".
Completionack
is
defined exactly as the
message
field, and can use functions, including
Summary of Contents for V+ series
Page 2: ...User s Guide To Show Control by Alcorn McBride Inc...
Page 7: ...Third Party Equipment 18 3 Index 19 1...
Page 8: ......
Page 14: ...1 6 Welcome...
Page 28: ...3 14 Show Control Overview GoingToDayModeMsg ClearLine2Msg...
Page 38: ...3 24 Show Control Overview...
Page 82: ...4 44 WinScript User s Guide...
Page 118: ......
Page 144: ...6 26 Advanced WinScript Programming...
Page 170: ...7 26 Application Notes...
Page 220: ...13 8 DMX Machine Hardware Reference...
Page 236: ...14 16 SMPTE Machine Hardware Reference...
Page 254: ...15 18 Appendix A Adding User Defined Serial Protocols...
Page 264: ......