5.Programming for Operator Panel
5.1.2Display Device
Text displays such as the Operator Panel are called a “display device.” The RC170 supports the following three display devices, which can be displayed on the required device from the application:
#21 RC+ execution screen #23 Operator Panel
#24 Teach Pendant
There are two ways of selecting display devices:
A: Selecting the display device in the parameters of the Print command
Integer OfsQty
Print #23, “Input the offset travel.” ‘ #23 is Operator Panel.
Input #23, OfsQty
B: Executing the display device selection command
Integer | OfsQty |
|
DispDev | 23 | ‘Set the Operator Panel as the display device. |
Print “Input the offset travel.”
Input OfsQty
The command window differs from that for program execution in that the display device cannot be switched. When no display device specified from the command window, Print command is displayed on the command window. To display on a specific display device from the command window, specify the display device in the parameters of the Print command.
5.2 Data Input from Operator Panel
Numerical values and strings can be entered to the application program from the application screen on the Operator Panel.
As the Print command outputs data to the display device, the Input command inputs data from the Input device. Same as the Print command, there are two ways of selecting the device to obtain input.
A: Selecting the input device in the parameters of the Input command
Integer OfsQty
Print #23, “Input the offset travel.” ‘ #23 is Operator Panel.
Input #23, OfsQty
28 | OP1 Rev.1a |