local reg

Use internal storage area in script

SKTOOL configuration software provides the operation interface for HMI internal storage area. Users can make direcoperations for the internal storage area in the script. Detailed methods have two kinds:

 

1 Access storage area with keywords

 

LocalBit: reference of internal storagarea LB; LocalWord: referencof internal storage areLW; RWIWord: reference of internal storage area RWI.


Thkeyword can bused directly in macro. For example:

 

if(LocalBit[5])

LocalWord[1]=0;

}

else

LocalWord[1]=1;

}

 

2 Establish a linkagbetween variable and internal storage areby setting of variable. Detailed usage refers to script instance.