2 - 4 - 3 How To Switch the Screen by the PLC Variables The “_HMI_CurrentPage” NA system variable stands for the name of the currently displayed page. The NA’s variable mapping function allows allocation of system variables. For such settings in which an address value are directly linked with a screen number as in the NS series, you must write a program in Visual Basic. How To Allocate the NJ Variables to the NA System Variables 1. Declare on the NJ side a String-type variable in which to store page names. 2. In the NA’s variable mapping function, allocate the “_HMI_CurrentPage” NA system variable to the page name variable that has been created in Step 1.
(At this time, enter manually the system variable name instead of selecting automatic input from the context menu.) 3. Write the destination page name in the variable created on the NJ side in Step 1. The screen is switched to the corresponding one. 40