There are three ways to integrate handwritten code with Embed-generated code:
• Make Callable from User App option
• Use the Extern Read and Extern Write blocks
• Use the Extern Definition and Extern Function blocks
Regardless of the method you use, to run independently but communicate with Embed, use the Extern Read and Extern Write blocks.