<< 点击显示目录 >> 主页 ACOPOS 6D使用手册 > mapp 6D > 功能块 > McAcp6D > Function blocks > MC_BR_AsmGetAccidentSh_Acp6D > Function description |
启用该功能块后,将保存当前在装配中登记并发生过事故的所有托盘的列表。
一旦输出 "Valid(有效)"被设置且输出 "TotalCount(总计数)"大于 0,列表中第一个穿梭器的穿梭器参考和相关穿梭器 ID 即可使用。随着输入 "Next(下一个)"的每个上升沿,列表中下一个穿梭器的穿梭器参考和相关穿梭器 ID 将在每个周期内返回一次。如果已读出所有托盘信息,则输出 "RemainingCount "的值为 0。
如果在 "RemainingCount "值为 0 时设置了输入 "Next",则功能块将返回错误信息。
该功能块与功能块MC_BR_ShRecover_Acp6D 一起,在处理事故托盘中发挥着核心作用。
This function block returns the reference of all accident shuttles in the assembly.
When the function block is enabled, a list of all shuttles currently registered in the assembly and that had an accident is saved.
The shuttle reference and associated shuttle ID of the first shuttle in the list become available as soon as output "Valid" is set and output "TotalCount" is greater than 0. With each rising edge of input "Next", the shuttle reference and associated shuttle ID of the next shuttle in the list are returned once per cycle. Output "RemainingCount" is reduced by 1. If all shuttle information has been read out, output "RemainingCount" has value 0.
If input "Next" is set while the value of "RemainingCount" is already 0, the function block returns an error.
Together with function block MC_BR_ShRecover_Acp6D, this function block plays a central role in handling accident shuttles.