<< 点击显示目录 >> 主页 轴控开发使用手册 > ACP10/ARNC0帮助信息 > ACP10_MC运动库 > 分类的功能块 > 凸轮(Cams) > 预先定义的Cam流程 > MC_BR_CrossCutterControl > Examples of special applications > Dividing a correction value between a certain number of products |
It is often unnecessary to calculate a separate correction value for each product, but rather after a certain number of products. The determined value is then divided among the subsequent products.
Products with a length of 2000 units are being cut. A correction value will only be determined for every third product, however. This correction value will be divided among the next three products.
•Determine the correction value (e.g. 60 units across 3 products = 20 units compensation per cut).
•"ProductLength" = 2000; "ProductLengthCorrection" = 20
•"InitData" = TRUE
•Wait until "CutCount" has increased or falling edge of "InCut".
•"ProductLength" = 2000; "ProductLengthCorrection" = 20
•"InitData" = TRUE
•Wait until "CutCount" has increased or falling edge of "InCut".
•"ProductLength" = 2000; "ProductLengthCorrection" = 20
•"InitData" = TRUE
•Wait until "CutCount" has increased or falling edge of "InCut".
•Determine the new correction value.
•…
•Determine the correction value (e.g. 60 units across 3 products = 20 units compensation per cut).
•"ProductLength" = 2020; "ProductLengthCorrection" = 0
•"InitData" = TRUE
•Wait until "CutCount" = 3.
•Determine the new correction value (e.g. 90 units across 3 products = 30 units compensation per cut).
•"ProductLength" = 2020; "ProductLengthCorrection" = 0
•"InitData" = TRUE
•Wait until "CutCount" = 6.
•Determine the new correction value.
•…