任务序列(三)
上次小编为大家介绍的任务序列中代码编写中LOAD参数中有一个port指的是从哪一个端口出发,在整个案例中,当操作员从暂存区取走货物之后会触发暂存区的一个离开触发,触发离开触发就会给出一个离开触发的端口号,是临时实体流中发送至端口的具体端口。
In the task sequence that I introduced to you last time, there is a port in the LOAD parameter in the code writing that refers to which port to start from. In the whole case, when the operator takes the goods from the temporary storage area, the temporary storage area will be triggered. If a leave trigger is triggered, a leave trigger port number will be given, which is the specific port sent to the port in the flowitem flow.
Opipno命令是获取输出端口的输入端口号的命令,对应的还有ipopno命令表示输入端口的输出端口号,cpcpno互为中间端口的输出端口,可根据需求选择使用。
The Opipno command is a command to obtain the input port number of the output port, and the corresponding ipopno command indicates the output port number of the input port. cpcpno is the output port of the intermediate port, which can be selected according to the needs.
接下来我们将处理器的处理时间换成变化的状态,设置为5到25的随机值,那么这时候就不能使用DELAY参数了,这样就会发生运行时候的货物错乱。
Next, we change the processing time of the processor to a changing state and set it to a random value from 5 to 25. Then the DELAY parameter cannot be used at this time, so that the goods will be disordered during operation.
所以这时候将运用到UTILIZE任务来进行如下代码修改
So at this time, the UTILIZE task will be used to modify the following code
这时再来观察运行状态会发现操作员一直处于waitting状态
At this time, look at the running status again and you will find that the operator has been in the waiting state.
因此需要进行释放操作员的任务来让其结束占用,在处理器的加工结束触发中添加释放操作员任务。
Therefore, it is necessary to perform the task of releasing the operator to let it end the occupation, and add the releasing operator task in the processing end trigger of the processor.
或者直接选择释放操作员触发,使用小吸管吸取操作员使货物加工完成后被释放停止占用
Or directly choose to release the operator trigger, use a small straw to suck the operator so that the goods will be released and stop occupied after the goods are processed.
观察运行过程如下,无论加工时间有多长,都会在加工结束后由操作员送至目的地。
Observe the operation process as follows, no matter how long the processing time is, it will be sent to the destination by the operator after the processing is completed.
那么如何实现多人多设备任务序列的操作呢?
So how to realize the operation of multi-person and multi-device task sequence?
基本布局如下
The basic layout is as follows
有一个非常便捷的操作,就是选用标记运输工具,在保持选项中如果还有后续操作就选择true,直至最后一项任务改成false,这样就能保证一个操作员完成一整个运送流程,互不干扰。具体设置如下:
There is a very convenient operation, which is to select the marked transportation tool. In the maintenance option, if there is a follow-up operation, select true until the last task is changed to false, so as to ensure that one operator completes the entire transportation process without each other. interference. The specific settings are as follows:
运行结果如下:
The results are as follows:
最后任务可以简单的分为以下几个类型,行进类有travel前往一个指定下游,travel to loc前往一个具体的地方,travel relative相对移动;装卸类有装载、卸载、pickoffset拾取,placeoffset放置;延迟类包括延迟和占用;跳出类包括中断和子任务也是指当前任务的跳出;代码类就是指执行代码的一种操作,之后在为大家具体介绍。
The final tasks can be simply pided into the following types. The travel type includes travel to a designated downstream, travel to loc to a specific place, and travel relative moves; the loading and unloading types include loading, unloading, pickoffset picking, placeoffset placement; delay type Including delay and occupancy; the jump out category including interrupts and subtasks also refers to the jump out of the current task; the code category refers to an operation of executing the code, and I will introduce it in detail later.
希望今天的文章对你们有一定的作用!
I hope today"s article will have a certain effect on you!
参考资料:腾讯课堂《从小白到大神》
英文翻译:Google翻译
本文由LearningYard学苑原创,若有侵权请联系删除。
等待这个声音很久了昨天,中国作家协会发出关于进一步加强文学工作者职业道德建设的意见,提出文学工作者要提高政治站位,锻造政治品格加强职业道德教育,秉持职业操守坚持以人民为中心,持续开展主题实践活动坚持
历史上的第一个汉奸应该就是这个申侯吧?明天就是918国耻纪念日了,我想起了汉奸这个品种,搜搜古,结果一竿子支到了东周。其实东周开始的时候(前770年),汉奸已经诞生了,准确地说是西周末年发生的事(前771年),不过习惯
和服来了无知任性恶作剧?和服来了一个女人自以为很美地亮相和服多起来一群又一群女人自以为这是个人选择是亮瞎道德卫士和爱国喷子眼的太解气的放飞自我的恶作剧很快,和服现象演绎成和服事件了很快,和服事件发酵了网上
蝉与文化自信论及大连日文化街现象的时候,大家都不由自主地想到了文化入侵和文化植入的问题,这不是耸人听闻,也并非杞人忧天,历史的教训都摆在那里呢,前事不忘,后事之师吗,牢记教训,才不会重蹈覆辙。
文化入侵并非耸人听闻人们对大连日本文化风情街深恶痛绝,骂声一片,恨日人的无孔不入,恨当地的麻木不仁,虽然难免有些敏感过度,导致情绪失控,很难正常说话,但拳拳爱国忧民之心溢于言表,同样令人泪目我非常理解
饭圈文化入侵奥运,警惕二极管思维作者SYX过世N年的乒坛第一初恋科雯还没嗑过瘾,四年一次限定体育迷们,又脑补起了下一对泳坛第一初恋。8月2日,夹在一堆乱七八糟的律师声明中间,汪顺微信头像冲上微博热搜榜第6。点进去
莫粉和莫喷无知和不知莫喷的称呼不是我起的,是来砸锅留帖的莫粉这么称呼我们的,无所谓,在此暂用来做个区分也好。我想聊一下莫粉和莫喷都存在的某些问题。先说说无知的问题前面有留言莫喷不是也正如你所说,莫喷有
北京卫视2022推介会剧集片单豪华但兑现率存疑,综艺主打文化IP作者YH9月29日,北京卫视招商会暨五星耀五环BRTV冬奥资源推介会在京举行,现场发布幸福到万家纵有疾风起完美伴侣山河月明等11部剧集片单,以及上新了故宫京城十二时辰我在颐和园等你
专访光荣与梦想导演刘江做见人见事见细节的艺术创作作者乔苗儿继生产表情包为爱发电后,年轻的观众们开始用XXX太好哭了表达对一部作品的喜爱。毫不意外的,光荣与梦想进入好哭阵营,并且在昨晚剧情行至杨开慧英勇就义的情节点上迎来了好哭的小
2000万与刘歌成立合资公司背后,基美影业曾经4年亏损超10亿元作者云梦泽6月1日,新三板挂牌公司基美影业宣布,与刘歌合资成立上海亿美星海影视传媒有限公司,其中基美影业将持有亿美星海64股权,刘歌将担任公司董事长和总经理。作为从业30余年的电影
工资仅仅是低级生理需求吗?哪个企业的老板或是HR不喜欢谈马斯洛的需求理论以及那个金字塔图示,尤其是在员工入职升职或离职的时候?我有个亲戚的女儿,苦于工资待遇问题,提出辞职。结果主管谈话经理谈话,最后总监出马