5. Programming for Operator Panel
5. Programming for Operator Panel
5.1 Display on Operator Panel
The application screen of the Operator Panel is provided with a text display of 34 characters
⋅10 lines in size. This text display can display numerical values and strings from the application program. Use the Print command to display.
5.1.1 Simple Display Program
Execute the following program in the environment where the Operator Panel is installed:
Function main
Print #23, “Hello, world”
Fend
“Hello, world” is displayed on the Operator Panel. If the program is executed again, “Hello, world” is displayed on the next line of the display.
Next, execute the following program:
Function main
Integer i
Cls #23
For i=0 to 15
Print #23, i
Wait 0.5
Next i
Fend
Operator Panel displays 0 through to 15 in the order. When 15 is displayed, several of the first lines on the display disappear.
By executing Print several times on the Operator Panel from the application program, old Print results are automatically pushed off from the display area, and only the latest ten lines of the Print results is displayed on the screen.
OP1 Rev.1a | 27 |