任务序列(一)
今天小编为大家讲解flexsim中的任务序列。
Today I will explain the task sequence in flexsim for everyone.
那废话不多说,我们直入主题:
Let’s not talk too much nonsense, let’s get straight to the subject:
什么是任务序列?
序列在数学上是指被排成一列的对象或事件,那么任务序列可以理解为完成某个操作的一系列组合步骤。
在flexsim中任务执行器基于任务序列执行运动改变状态;
In flexsim, the task executor changes the state based on the task sequence execution movement;
任务序列只能指引任务执行器;
The task sequence can only guide the task executor;
执行的特殊节点保存在属性节点中,只通过命令控制,不可手动修改。
The executed special node is stored in the attribute node, which is only controlled by commands and cannot be modified manually.
这里有两种方式创建自定义任务
1、任务编制,又分为单个执行任务和完整任务序列执行。
2、PF编制
There are two ways to create custom tasks
1. Task organization is pided into single execution task and complete task sequence execution.
2. PF compilation
下面将详细讲解单个执行任务
它主要分为‘createtraveltask’和‘createloadtask’
The single execution task will be explained in detail below
It is mainly pided into ‘createtraveltask’ and ‘createloadtask’
这么说你们或许不理解,那么我们详细举个例子:
You may not understand that, so let"s give an example in detail:
建立如下模型,除了任务执行器与暂存区1之间的连线用‘S’连线外,其余的均用‘A’连接,运用‘A’连接时尤其需要注意连线方向。
Establish the following model, except that the connection between the task executor and the temporary storage area 1 is connected by ‘S’, the rest are connected by ‘A’, especially when using ‘A’ connection, you need to pay attention to the connection direction.
在这个传统模型中,我们发现,刚开始时,任务执行器在第一个节点处等待,直到任务产生才会移动到下一个节点搬运。
In this traditional model, we find that at the beginning, the task executor waits at the first node, and will not move to the next node until the task is generated.
如果我们想让它在第二个节点中等待,可以在任务执行器的重置触发器中输入如下命令
If we want it to wait in the second node, we can enter the following command in the reset trigger of the task executor
重置,运行
Reset, run
若将暂存区1与暂存区2之间的‘A’连接改为‘S’连接,将会发现任务执行器不动,暂存区1的item不能运输到暂存区2。
If you change the ‘A’ connection between the temporary storage area 1 and the temporary storage area 2 to an ‘S’ connection, you will find that the task executor does not move, and the items in the temporary storage area 1 cannot be transported to the temporary storage area 2.
在这种情况下,可以在暂存区1的进入触发器中输入如下命令:
In this case, you can enter the following command in the entry trigger of temporary storage area 1:
重置,运行
Reset, run
参考文献:腾讯课堂任务序列全指导(flexsim);
英文翻译:Google翻译;
本文由learningyard学苑原创,部分内容来源于网络,如有侵权请联系。