Add(MainForm,11062187,217,147) { Width=270 } Add(Timer,13973712,217,217) { link(onTimer,9174685:doRead,[]) } Add(GetDataEx,11222285,287,182) { link(Data,15506695:Array,[]) } Add(Math,7673138,329,217) { OpType=1 Op2=1 ResultType=0 link(onResult,8311424:doCase,[]) } Add(ArrayRW,2893038,490,210) { link(Array,11222285:Var3,[(496,187)]) link(Index,16227833:Var2,[]) } Add(IndexToChanel,7969369,546,294) { Count=3 Point(Index) Point(Data) link(onEvent1,3081780:doChangeValue,[(600,300)(600,272)]) link(onEvent2,4214279:doChangeValue,[]) link(onEvent3,4164010:doChangeValue,[(597,314)(597,342)]) link(Index,16227833:Var3,[(552,197)]) link(Data,9174685:Item,[(559,258)(293,258)]) } Add(LED,3081780,616,266) { Left=70 Top=10 } Add(LED,4214279,616,301) { Left=110 Top=10 } Add(Case,8311424,378,217) { Value=Integer(0) DataOnTrue=Integer(0) link(onNextCase,10855501:doEvent1,[]) link(onTrue,1304409:doEvent1,[(424,230)(424,300)]) } Add(Hub,1304409,441,294) { link(onEvent1,14428035:doWork2,[]) link(onEvent2,3780961:doNext,[(533,307)(533,123)(324,123)(324,146)]) } Add(LED,4164010,616,336) { Left=150 Top=10 } Add(Counter,3780961,336,140) { Max=1000 } Add(ArrayRW,9174685,287,217) { link(onRead,7673138:doOperation,[]) link(Array,11222285:Var2,[]) link(Index,11049009:Var1,[(300,197)]) } Add(GetDataEx,11049009,336,192) { link(Data,3780961:Count,[]) } Add(ListBox,15506695,273,126) { Left=30 Top=65 Width=160 Height=145 Strings=#2:10|2:20|2:10| } Add(GetDataEx,16227833,497,192) { Angle=3 link(Data,11049009:Var3,[]) } Add(Hub,10855501,441,217) { link(onEvent1,2893038:doWrite,[]) link(onEvent2,14428035:doWork1,[(473,230)]) } Add(HubEx,14428035,469,294) { link(onEvent,7969369:doEvent,[]) }