10.5 Additional instructions
10.5.1 LCD related instructions
LCD_KEY
LCD_KEY binds LCD keys and PLC variables.
EN : Enable
MODIFY : Modifies the corresponding variables.
ENTER : Confirms the corresponding variables.
UP : The corresponding variable of UP key.
DOWN:The corresponding variable of DOWN key.
LEFT : The corresponding variable of LEFT key.
RIGHT:The corresponding variable of RIGHT key.
LCD_PAGE
LCD_PAGE instruction binds the LCD display page.
EN:Enable
MASK : The current page group mask, generally 1.
INDX : Currently displayed page number.you can
modify the page number,the LCD will display the
page.
Supplementary explanation:MASK input is a byte.Take VB0 as an example:
VB0
7
6
5
4
3
2
1
0
When 0 bit is equal to 1, LCD will display 0 group.
246
Made with FlippingBook - Online magazine maker