omron — 3-1. Function Creating Procedure

3-1. Function Creating Procedure The following is the function describing procedure of NA project to call from a subroutine and use. 1. Place buttons and data display components on the NA page screen as the right illustration shows. 2. Enter a variable which is allocated to the data display component in Global Variables table. [Example] Variable: Disp_Val Data type: Integer Array: 10 3. Enter the variable Disp_Val, described in the previous section, in the property fields of three data display components on the screen. Different array numbers are set to each variable. 4. Select Click from events of buttons and actions. Set a subroutine to Action. Enter the name of subroutine.

[Example] Subroutine name: Data_Calc NOTE: The frame of Subroutine Name is displayed in red (means an error) because the subroutine has not been completed at this point. 5. If you write a subroutine code in Global Subroutines, describe its subroutine name with Global Subroutine Group name. 33