Epson RC170 Manual - Página 38

Navegue en línea o descargue pdf Manual para Accesorios para impresoras Epson RC170. Epson RC170 44 páginas. Epson rc170 printer operator panel

Epson RC170 Manual
5. Programming for Operator Panel

5.2.2 String Input

On the Operator Panel, function switch F1 to F6 inputs can be handled as string input.
Function switches F1 to F6 each corresponding to six strings "a" to "f". When the string
input command (Input #23, a$) is executed in the application, strings corresponding to F1 to
F6 switch inputs can be input.
String a$
a$ = "a"
Print #23, "F1: UP"
Print #23, "F2: DOWN"
Print #23, "F3: LEFT"
Print #23, "F4: RIGHT"
Print #23, "Press any of switches F1 to F4."
Input #23, a$
If a$ = "a" then
Else if a$ = "b" then
Else if a$ = "c" then
Else if a$ = "d" then
Else
Endif
You can display default data in the input area on the Operator Panel by substituting the
string to be input with data before executing the Input command.
If the string to be input is not "a" to "f" when the Input command is executed, "a" is
substituted and "F1" is displayed in the input area.
30
' Up processing: Write an up processing program here.
' Down processing: Write a down processing program here.
' Left processing: Write a left processing program here.
' Right processing: Write a right processing program here.
' Input error processing: Write an input error processing program here.
OP1 Rev.1a