With the method
, you can add code, for example, to support axis motion.The method iq_stAxisModuleItf).
has an input/output (With this input/output, you access, for example, stMain, stEndless, and stPos.
If you add variables to methods, these variables are volatile variables and are reinitialized with every call of the method. If you need variables that save their data, refer to Data Exchange with ModuleInterface\Save Data.
If you need variables to control your code, refer to Data Exchange with ModuleInterface.