FileHandling
This structure offers all control and status information for the Camming operating mode in connection with file handling. This includes importing the curve list CurveConfig.xml
and importing the curve files *.camCurve
.
The following control and status variables are available:
Interface in the IEC Editor
The import of the CurveConfig.xml
curve list does not start automatically when the program is initialized but must be triggered by setting IN.xReadCurveFileList to "TRUE". After successful import, OUT.xCurveFileListRead becomes "TRUE" and the curve list is displayed in the CurveFileList structure.
There are two options for importing the curve description:
- If the file is included in the curve list, simply pass the file number to IN.uiCurveNumber and set IN.xReadCurveFile to "TRUE".
- If the file is not included in the curve list, pass the file name to IN.sFileName. The name of the last imported file is displayed by OUT.sLastReadCurveFile. The imported curve description ends up in global variable CamDescription.
Additional information