Introduction to Configuring (PSE)
8 Examples
SOLUTION
Result:
Source file
OEM_4
PSE/8-54
•
Set a double value: Configuration Guide: SET_DOUBLE
Graphical display elements
Dot
PIXEL
Line
LINE
Rectangle
RECTANGLE
Circle (MMC100/HMI Embedded only)
CIRCLE
Ellipse (MMC100/HMI Embedded only)
ELLIPSE
Arc (MMC100/HMI Embedded only)
ARC
Fill pattern for graphical display elements
DEF_PATTERN
Text
TEXT
Starting point for the OEM_3 application
1. Open the OEM_3.MAK application in the MSVC Workbench
2. Open the APP_WIN1.C file.
3. Configure fields:
•
Output field (O_FIELD) which displays the axis names.
•
Output field (O_FIELD) which displays the current axis value.
•
Text output (TEXT) for displaying the unit in "mm".
•
Input/output field (IO_FIELD) which displays the current value of
R10.
•
Text output (TEXT) to display the "R parameter" name.
4. Store texts required in the application source files.
Application: OEM_4
APP_MENU.C:
See OEM_1 application
APP_WIN1.C:
#include "proj.h"
#include "mwl_app.h"
#include "OEM_4.h"
#include "app_incl.h"
EXTERN_SOFTKEY_OBJECT_LIST (SOB_CLEAR_SOFTKEYS)
BEGIN_OBJECT_LIST (OB_WIN_1)
/* clearing and repainting window rectangle */
RECTANGLE (100,
BEGIN_X, BEGIN_Y,
SINUMERIK 840D/810D Configuring the OP 030 Operator Interface (FBO) – 09.01 Edition
Display variants
for NC/PLC/MMC data
Input/output field
O_FIELD, I_FIELD, IO_FIELD
Selection field
CHECK_FIELD
Inverse field
INVERSE_FIELD
Pictogram field
POLYMARKER
Action field
ACTION_FIELD
Scrollbar
DEF_SCROLLBAR
/* id */
/* x-, y-position */
© Siemens AG, 2001. All rights reserved
09.01