任务序列(五)
今天给大家讲解的模型是:
巡线抵达装载点之后固定装载2个实体,到达卸载点之后全部卸载下来。
The model I will explain to you today is:
After the patrol line arrives at the loading point, two entities are fixedly loaded, and all are unloaded after reaching the unloading point.
这里需要一个发生器、两个暂存区、一个任务执行器,此外还用到了AGV模块(运用AGV模块搭建线路时注意线路方向问题)。
A generator, two temporary storage areas, and a task executor are needed here. In addition, the AGV module is used (pay attention to the direction of the line when using the AGV module to build the line).
创建工作流程
01
首先 让任务执行器运行至暂存区1的位置,也就是本模型控制点5的位置。
First, let the task executor run to the position of temporary storage area 1, which is the position of control point 5 of this model.
拉入时间表发生器、行进、吸收器:
Pull in the schedule generator, travel, absorber:
对行进活动进行设置:
直接用吸管吸取目的地‘ControPoint5’,执行器‘TaskExecute1’。
Set up the marching activity:
Directly use the straw to suck the destination ‘ControPoint5’ and the executor ‘TaskExecute1’.
02
接着 让任务执行器在暂存区1等待装载2个实体运行到暂存区2。
Then let the task executor wait in the temporary storage area 1 to load two entities to the temporary storage area 2.
拖进事件触发发生器,对其进行设置:
用吸管吸取控制点5选择到达触发,为AGV设置标签为‘agv’。
Drag in the event to trigger the generator and set it:
Use a straw to pick up control point 5 to select the arrival trigger, and set the label for the AGV to ‘agv’.
暂存区1设置:发送至端口选择使用列表,添加一个新的列表。
Temporary storage area 1 settings: send to the port selection list, add a new list.
标签赋值设置:标识命名为‘index’,选择标签值递增。
Label assignment setting: The label is named ‘index’, and the label value is selected to increase.
从列表拉出设置:列表选择已有列表1,将拉出的产品赋值为‘item’。
Pull the setting from the list: select the existing list 1 from the list, and assign the pulled product as ‘item’.
之后进行装载,执行器选择赋值的agv,目标选择赋值的item。
After loading, the executor selects the assigned agv, and the target selects the assigned item.
达到2个实体的目标后循环结束,设置如下:
After reaching the goal of 2 entities, the loop ends, and the settings are as follows:
装载完成后运输到暂存区2:
After loading, transport to the temporary storage area 2:
03
最后 任务执行器卸载完货物后回到暂存区1等待运货,如此反复。
Finally, after unloading the goods, the task executor returns to the temporary storage area 1 to wait for the goods, and so on.
卸载活动设置如下:
The uninstall activity settings are as follows:
要将任务执行器上的货物全部卸载,这里也需要设置一个循环,每次卸载1个实体,直到剩余实体数为0。
To unload all the goods on the task executor, it is also necessary to set up a cycle here, unloading one entity at a time until the number of remaining entities is 0.
卸载完整后运行至暂存区1的位置。
After the uninstall is complete, run to the location of the temporary storage area 1.
整个工艺流程如下图所示:
The whole process flow is shown in the figure below:
END
参考文献:腾讯课堂任务序列全指导(flexsim);
英文翻译:Google翻译;
本文由learningyard学苑原创,部分内容来源于网络,如有侵权请联系。