Epson RC170 Programming for Operator Panel, Display on Operator Panel, Simple Display Program

Page 35

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

Image 35
Contents OP1 RC170 Option Operator Panel OP1 Rev.1a RC170 Option Operator Panel OP1Foreword Trademarks Manufacturer & Supplier Before Reading This ManualTable of Contents Programming for Operator Panel Conventions SafetySafety Precautions SafetyPage Pendant to the Controller How to Reset an Emergency Stop StateEmergency Stop Environmental Specifications SpecificationsSpecification Tables Electrical SpecificationsTouch Panel Function switchesEmergency Stop switch Part Names and FunctionsTool connector Specifications Power LampTeach Pendant connector Bypass Plug Hcom connectorExternal appearance with mounting metal hasps Appearance and DimensionsAppearance without mounting metal hasps Mounting Metal Hasps Dimensions Panel Cutout DimensionsGasket InstallationInstallation UnpackingMounting Holes Installing Operator Panel Connecting Cables Teach Pendant Connection Operation OperationBasic Operations Startup screen Startup ScreenOperator Panel screen image Program Execution Screen Program number Operation Serious Error stateError state How to set the Operator Panel to a control devicePause program Cancel programReset Execute programTask Monitor Screen Monitor screen 32-bit display OP1 Rev.1a I/O Monitor ScreenOperation Monitor screen 8-bit display System History Screen Application Screen Application screen text string input Application screen numerical value inputStartup screen Setup screen Language Setup ScreenOperation Change display after program execution Programming for Operator Panel Programming for Operator PanelDisplay on Operator Panel Simple Display ProgramDisplay Device Executing the display device selection commandData Input from Operator Panel Value Input String Input About Display Language Maintenance and Inspection Maintenance and InspectionContrast Adjustment Brightness Adjustment Case and Display Cleaning Firmware UpdateApproximately 3.0 mm from the groove OP1 Rev.1a Replacement ProcedureAbout Gasket Gasket evenly sticking outMaintenance Parts List Regular Maintenance InspectionBacklight Replacement