Function description

<< 点击显示目录 >>

主页  ACOPOS 6D使用手册 > mapp 6D  > 功能块 > McAcp6D  > Function blocks  > MC_BR_PowerSecGetShuttle_Acp6D  >

Function description

 

该功能块返回功率扇区范围内所有托盘的引用。

启用该功能块后,将在内部存储功率扇区范围内所有托盘的列表。列表中的托盘顺序基于 ACOPOS 6D 控制器报告的顺序。

一旦输出 "Valid(有效)"被设置且输出 "TotalCount(总计数)"大于 0,内部列表中第一个穿梭器的穿梭器基准和相关穿梭器 ID 就会出现在输出 "Shuttle(穿梭器)"上。随着输入 "Next(下一个)"的每个上升沿,内部列表中下一个穿梭器的穿梭器基准和相关穿梭器 ID 会在每个周期返回一次。输出端 "RemainingCount "的值减 1。如果已读出所有托盘信息,则输出端 "RemainingCount "的值为 0。

如果在 "RemainingCount "值为 0 时设置了输入 "Next",功能块将返回错误信息。

 


This function block returns the references for all shuttles within the range of the power sector.

When the function block is enabled, a list of all shuttles in the range of the power sector is stored internally. The order of the shuttles in the list is based on the order in which they are reported by the ACOPOS 6D controller.

The shuttle reference and associated shuttle ID of the first shuttle in the internal list become available on output "Shuttle" 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 internal 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.