Посмотрите, пожалуйста, может не так подключаю.
Разветвитель слева верхний - продолжение передачи
Разветвитель слева нижний - остановка передачи
#pas
Add(Edit,7348842,210,189)
{
Left=5
Top=69
Width=180
Color=15532012
Text=""
Point(onDblClick)
link(onDblClick,3739120:doEvent1,[])
}
Add(ODialog,4867034,273,210)
{
Filter="HEX|*.hex|All|*.*"
Title="Открыть файл"
link(onExecute,7107226:doEvent1,[])
}
Add(Hub,7107226,315,210)
{
link(onEvent1,7348842:doText2,[(339,216)(339,183)(202,183)(202,202)])
link(onEvent2,2388203:doLoad,[(339,223)(339,258)])
}
Add(Hub,3739120,252,203)
{
link(onEvent1,2388203:doClear,[(308,209)(308,237)])
link(onEvent2,4867034:doExecute,[])
}
Add(PointHint,232132,238,161)
{
Info=#17:Загрузка во FLASH|
Frame=1
Width=99
Height=18
}
Add(PointHint,8062452,245,448)
{
Info=#17:Загрузка в EEPROM|
Frame=1
Width=106
Height=18
}
Add(Edit,1693892,210,476)
{
Left=5
Top=138
Width=180
Color=15532012
Text=""
Point(onDblClick)
link(onDblClick,950295:doEvent1,[])
}
Add(ODialog,1737584,273,497)
{
Filter="HEX|*.hex|All|*.*"
Title="Открыть файл"
link(onExecute,6782912:doEvent1,[])
}
Add(Hub,6782912,315,497)
{
link(onEvent1,1693892:doText2,[(339,503)(339,471)(204,471)(204,489)])
link(onEvent2,9992418:doLoad,[(339,510)(339,545)])
}
Add(Hub,950295,252,490)
{
InCount=2
link(onEvent1,9992418:doClear,[(308,496)(308,524)])
link(onEvent2,1737584:doExecute,[])
}
Add(ListBox,2388203,350,224)
{
Left=5
Top=229
Width=245
Height=73
DataType=1
}
Add(ArrayRW,1458999,364,287)
{
link(onRead,8861281:doString,[(401,293)(401,335)])
link(Array,2388203:Array,[])
}
Add(CounterEx,13599662,294,287)
{
Max=1000000
Default=-1
Point(doReset)
link(onNext,641625:doEvent1,[])
}
Add(If_else,4164,294,329)
{
Type=2
link(onTrue,13599662:doReset,[(330,335)(330,283)(284,283)(284,300)])
link(Op1,13599662:Count,[])
link(Op2,10861379:Var1,[(307,278)])
}
Add(For,9369036,210,287)
{
link(onEvent,13496911:doEvent1,[])
}
Add(FormatStr,8861281,406,329)
{
DataCount=1
Mask="%1
"
link(Str1,1458999:Item,[(412,324)(370,324)])
}
Add(Hub,13496911,252,287)
{
OutCount=3
link(onEvent1,13599662:doNext,[])
link(onEvent2,4164:doCompare,[(279,300)(279,335)])
link(onEvent3,3955573:doData,[(274,307)(274,377)])
}
Add(ListBox,9992418,350,511)
{
Left=5
Top=319
Width=245
Height=71
}
Add(ArrayRW,5215795,364,574)
{
link(onRead,8753876:doString,[(401,580)(401,622)])
link(Array,9992418:Array,[])
}
Add(CounterEx,1603841,294,574)
{
Max=1000000
Default=-1
Point(doReset)
link(onNext,4592497:doEvent1,[])
}
Add(If_else,7284619,294,616)
{
Type=2
link(onTrue,1603841:doReset,[(335,622)(335,570)(283,570)(283,587)])
link(Op1,1603841:Count,[])
link(Op2,12610017:Var1,[(307,565)])
}
Add(For,15497236,210,574)
{
link(onEvent,14277338:doEvent1,[])
}
Add(FormatStr,8753876,406,616)
{
DataCount=1
Mask="%1
"
link(Str1,5215795:Item,[(412,611)(370,611)])
}
Add(Hub,14277338,252,574)
{
OutCount=3
link(onEvent1,1603841:doNext,[])
link(onEvent2,7284619:doCompare,[(278,587)(278,622)])
link(onEvent3,14642719:doData,[(272,594)(272,664)])
}
Add(Hub,13984167,168,287)
{
OutCount=3
link(onEvent1,9369036:doFor,[])
link(onEvent2,15497236:doFor,[(193,300)(193,580)])
link(onEvent3,12588542:doOff,[(206,307)(206,405)])
}
Add(Hub,3767235,168,315)
{
OutCount=3
link(onEvent1,9369036:doStop,[(199,321)(199,300)])
link(onEvent2,15497236:doStop,[(199,328)(199,587)])
link(onEvent3,12588542:doOn,[(203,335)(203,412)])
}
Add(GetDataEx,10861379,343,273)
{
Angle=1
link(Data,2388203:Count,[(363,278)])
}
Add(ProgressBar,10659313,406,364)
{
Left=5
Top=89
Width=240
Height=21
Max=0
Point(doMax)
}
Add(Hub,641625,336,287)
{
link(onEvent1,1458999:doRead,[])
link(onEvent2,10659313:doPosition,[(356,300)(356,370)])
}
Add(DoData,3955573,343,371)
{
link(onEventData,10659313:doMax,[])
link(Data,10861379:Var2,[])
}
Add(ProgressBar,12175465,406,651)
{
Left=5
Top=159
Width=240
Height=21
Max=0
Point(doMax)
}
Add(DoData,14642719,343,658)
{
link(onEventData,12175465:doMax,[])
link(Data,12610017:Var2,[])
}
Add(Hub,4592497,336,574)
{
link(onEvent1,5215795:doRead,[])
link(onEvent2,12175465:doPosition,[(356,587)(356,657)])
}
Add(GetDataEx,12610017,343,560)
{
Angle=1
link(Data,9992418:Count,[(363,565)])
}
Add(LED,12588542,245,392)
{
Left=15
Top=440
}