Usage example with "AdvancedParameters"

<< 点击显示目录 >>

主页  轴控开发使用手册 > ACP10/ARNC0帮助信息 > ACP10_MC运动库 > 分类的功能块 > 驱动器准备 > MC_BR_MechPosDeviationComp  >

Usage example with "AdvancedParameters"

1. Measurement of the mechanical deviation (Deviation[]) at several axis positions or load positions (Position[]) depending on the "Mode" used (see Compensation data) in the positive and negative directions of movement. The result of this is 2 files with measured values.

2. The measured values are written to arrays of data type REAL, and the addresses of these arrays are passed to the function block. ("Parameters.DirectionDependent.CompDataPos/Neg.AdrPositions/Deviations")

3. Names for the cam data objects being generated are specified under "AdvancedParameters.DataObjNamePos/Neg". The function block is called with "AdvancedParameters.CalcOnly" =TRUE.

4. After the calculation and creation of the cam data objects are completed ("AdditionalInfo.CalcDone" = TRUE), the cam data objects are uploaded from the PLC and opened in the AS cam editor to check the plausibility of the results. The values on "AdditionalInfo.CamStartPosition" and "AdditionalInfo.CamStartPositionNeg" are stored to PVs.

5. The created cam data objects are moved from DRAM to nonvolatile memory with the DatObjMove function block. This eliminates the need for a recalculation each additional time the function block is enabled.

6. The function block is enabled with "AdvancedParameters.CalcOnly" =FALSE. The names of the cam data objects now located in nonvolatile memory are specified under "AdvancedParameters.DataObjNamePos/Neg". The previously saved values are specified under "AdvancedParameters.CamStartPosition" and "AdvancedParameters.CamStartPositionNeg". The function block transfers these cams and all additional parameters in addition to enabling compensation.