A+B+C
StartUp1()
{
// Org=0x0381
Name=”Start Task1″
NULL
}
Task1
{
// Org=0x0382
Name=”A+B”
START(0XF5,29,0XFF,0XFE,0X00,255,255)
Delay(0.5)
CancelTask(2) //结束任务2
CancelTask(3) //结束任务3
CancelTask(4) //结束任务4
LDS(0xF5,0x14,0x0F,0xF9,0x00,0x00,0x00)//第四个字节f9为join指令,第三个字节为join值,第二个字节为区域号
Delay(0.5)
LDS(0xF5,0x14,0x03,0xF9,0x00,0x03,0x00)//先拆开然再合并//第六个字节(0X03)为join值
NULL
}
Task2
{
// Org=0x03A2
Name=”B+C”
START(0XF5,29,0XFF,0XFE,0X01,255,255)
Delay(0.5)
CancelTask(1)
CancelTask(3)
CancelTask(4)
LDS(0xF5,0x14,0x0F,0xF9,0x00,0x00,0x00)
Delay(0.5)
LDS(0xF5,0x14,0x06,0xF9,0x00,0x06,0x00)
NULL
}
Task3
{
// Org=0x03C2
Name=”A+B+C”
START(0XF5,29,0XFF,0XFE,0X02,255,255)
DELAY(0.5)
CancelTask(2)
CancelTask(1)
CancelTask(4)
LDS(0xF5,0x14,0x0F,0xF9,0x00,0x00,0x00)
Delay(0.5)
LDS(0xF5,0x14,0x0F,0xF9,0x00,0x0F,0x00)
NULL
}
Task4
{
// Org=0x03E2
Name=”A,B,C,拆开”
START(0XF5,29,0XFF,0XFE,0X03,255,255)
DELAY(0.5)
CancelTask(2)
CancelTask(3)
CancelTask(1)
LDS(0xF5,0x14,0x0F,0xF9,0x00,0x00,0x00)
NULL
}
Task5()
{
// Org=0x0386
Name=”Task 5″
NULL
}
Task6()
{
// Org=0x0387
Name=”Task 6″
NULL
}
Task7()
{
// Org=0x0388
Name=”Task 7″
NULL
}
Task8()
{
// Org=0x0389
Name=”Task 8″
NULL
}