Input parameters
Parameters Data type Description
enqueue BOOL Row data into the buffer将item数据排入缓冲区(上升沿有效)
dequeue BOOL Remove data from the buffer从缓冲区中删除数据,并且输送给item(上升沿有效)
reset BOOL Initialize buffer (reset index and counter) 初始化缓冲区(重置索引和计数器)
clear BOOL Empty the buffer and initialize with the initial value “initialItem” (Reset index and counter). 清空缓冲区,使用初始值"初始项"(重置索引和计数器)初始化
initialItem VARIANT Value for initializing the buffer (usually: 0) 初始化缓冲区的值(通常为: 0),数据类型与item一致
Input/output parameters (InOut)
Parameters Data type Description
item VARIANT Value that will be returned from the buffer or written into the ring buffer将从缓冲区返回或写入环缓冲区的值.
buffer VARIANT Buffer (Array of…) 缓冲区(数组...)
全局库https://support.industry.siemens.com/cs/document/109479728/library-of-general-functions-(lgf)-for-simatic-step-7-(tia-portal)-and-simatic-s7-1200-s7-1500?dti=0&lc=en-CN