Function description

<< 点击显示目录 >>

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

Function description

 

该功能块返回组件中所有电源扇区的引用。启用功能块后,组件上配置的所有扇区列表将存储在功能块内部。

只要输出 "Valid"(有效)被设置且输出 "TotalCount"(总计数)大于 0,输出 "PowerSec"(功率秒)上就会显示内部列表中第一个功率扇区的功率扇区基准和相关功率扇区 ID。随着输入 "Next "的每个上升沿,列表中下一个托盘的功率扇区参考值和相关功率扇区 ID 在每个周期返回一次。如果所有扇区信息都已读出,则输出 "RemainingCount "的值为 0。

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

 


This function block returns the references of all power sectors in the assembly. When the function block is enabled, a list of all power sectors configured on the assembly is stored internally in the function block.

As soon as output "Valid" is set and output "TotalCount" is greater than 0, the power sector reference and associated power sector ID of the first power sector in the internal list are available on output "PowerSec". With each rising edge of input "Next", the power sector reference and associated power sector ID of the next shuttle in the list are returned once per cycle. Output "RemainingCount" is reduced by 1. If all power sector 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.