omron — 5-2 IAG Project

4. Open the code editor of the current screen to write the code. Execute the build to test. 5. Startup a simulator to check operation. Confirm if the data display component shows the result of subroutine after pressing the onscreen button. Additional Information - A subroutine is executed only once and ends after it is called out. - Declared variables in a subroutine cannot be assigned to screen components. - Only variables which registered in Global Variables table can be assigned to screen components. - In order to display a variable that declared and operated in a subroutine, execute the following processes for a variable registered in Global Variables table:

1) Assign it to a component’s property, and 2) Substitute the value within the subroutine process. 28