![Alcorn Mcbride V+ series User Manual Download Page 135](http://html1.mh-extra.com/html/alcorn-mcbride/v-series/v-series_user-manual_2892709135.webp)
Advanced WinScript Programming
6-17
Ad
va
n
ce
d
P
ro
g
ramm
ing
Programmer Port) on each box. You also need to select the Alcorn 9 Bit Control
protocol for both of these ports, as well as the same baud rate for both ports.
Since you have to set the baud rate and protocol in the IO64, this automatically
means you have to have two scripts, one for the V16+ and one for the IO64, but
need not program much else in the IO64 if desired.
There are three ways to divide programming between the two boxes. The first is
to program little or no sequences into the IO64, and directly access the I/O of the
IO64 from the V16+. The second is to program as many sequences as needed to
handle the I/O in the IO64, and simple start sequences back and forth between
the two boxes as needed. The third is to utilize a combination of both.
My recommendation is to keep things modular and place as many sequences as
necessary in the IO64. In other words, any programming that interfaces to I/O
in the IO64 should remain in the IO64, and the V16+ can be the main Show
Controller and just talk to the IO64 when necessary. This means the
programming will be more distributed, causing less show memory to be used up
in the V16+. It also makes it more readable because there are fewer sequences
in the V16+ that have anything to do with the IO64. In general, it’s modular.
Here are two example scripts to illustrate this idea. The first is for the V16+, the
second is for the IO64. The IO64 in this case is connected to the entrance and
exit doors and a PLC, which is controlling pyrotechnics.
The doors are simple output signals of the IO64, and the PLC both receives
output signals from the V16+, and sends input signals to the V16+.
As always, don’t forget to configure the IO64 port of the V16+ using AMI
Product Wizard. This allows you to address the IO64’s sequences by their full
names. See
Communicating with
Alcorn McBride Show Controllers
in Chapter
4 for more information.
V16+ Script
StartShow
Checks with PLC to see if it’s OK to start show (Start trigger: StartShowButton (Input1))
Label Time
Event
Data1
Data2
Data3 Comment
00:00.00 Off
PLCOkFlag
Assume not OK
00:00.00 Start
IO64
OKToStart?
Start IO64 Seq
00:01.00 If Off
PLCOkFlag
NotOk
If PLC did not
turn on flag
00:01.00 Start
MainShow
Ok to start show
00:01.00 Goto
End
NotOk 00:01.00 Display ErrorMsg
Inform operator
End
00:01.00 Nop
StartShow
Started externally by IO64 (from PLC)
Label Time
Event
Data1
Data2
Data3 Comment
00:00.00 On
PLCOkFlag
Now it’s ok to
start show
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: ......