Sure, a simplified model is attached: Unload_to_item_at_station.fsm
In On Receive Tasksequence trigger of Operator is a source code:
- profile the tasksequence calling an operator for process.
- Identify tasks and involved references to use them later.
- addtask to load item to get assembled.
- addtask to unload to pallet.
There are many other tasks to do like how to identify items to get assembled. Or how can an operator stay outside of a conveyor.
treenode itemtoAssemble = Model.find("Queue1").first;
treenode itemToUnloadTo = taskSequence.tasks[4].involved1;
taskSequence.addTask(TASKTYPE_LOAD,itemtoAssemble,itemtoAssemble.up).rank = 1;
taskSequence.addTask(TASKTYPE_UNLOAD,itemtoAssemble,itemToUnloadTo).rank = 2;