Collect Boolean Array
- 更新时间2026-02-19
- 阅读时长5分钟
Accumulates Boolean input elements when enable is TRUE. The collected data array contains the collection of input elements. If collected data reaches the capacity you specify using the array size input, the function block discards additional input values until you clear the function block by setting the reset input to TRUE.

对话框选项
| 选项 | 说明 |
|---|---|
| 输入 | 包含下列配置选项:
|
| 输出 | 包含下列配置选项:
|
输入/输出
error in
—
错误输入表明该节点运行前发生的错误条件。该输入将提供标准错误输入功能。
array size
—
指定收集数据数组的大小。
enable
—
指定是否处理输入。如启用的值为TRUE(默认),功能块将根据当前输入更新输出接线端。如启用的值为FALSE,函数块不处理输入。
reset
—
清除函数块的所有输出和内部状态。
input
—
指定要添加至收集的数据数组的数据点。
full
—
当采集到的点大于等于数组大小时,返回TRUE,表示采集到的数据是否已到达容量。否则,返回FALSE。
collected data
—
收集的数据是收集输入点的数组。
error out
—
错误输出包含错误信息。该输出提供标准错误输出功能。
points collected
—
返回收集数据中包含的数据值的数量。 |
error in
—
array size
—
enable
—
full
—
collected data
—
error out
—
points collected
—