local reg

Use internal storage area in script

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

 

1.  Access storage area with keywords

 

LocalBit: reference of internal storage area LB; LocalWord: reference of internal storage area LW; RWIWord: reference of internal storage area RWI.


The keyword can be used directly in macro. For example:

 

if(LocalBit[5])

{ 

LocalWord[1]=0;

}

else

{ 

LocalWord[1]=1;

}

 

2.  Establish a linkage between variable and internal storage area by setting of variable. Detailed usage refers to script instance.

อุปกรณ์ที่ใช้กับคู่มือนี้
2 รายการ
SK-070QEV3
SK-070QEV3

หน้าจอ 7.0" รุ่น Economy

฿2,490

SK-070QS-G + WiFi Module
SK-070QS-G + WiFi Module

หน้าจอ 7.0" รุ่น Ethernet WiFi RS485 พร้อมฟังก์ชัน IoT

฿6,990