Siemens SINUMERIK 840D Operator's Manual page 188

Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

Introduction to Configuring (PSE)
8 Examples
Result:
Source file
OEM_5
PSE/8-60
Application: OEM_5
APP_MENU.C:
see APP_MENU.C of the OEM_5 application
APP_WIN1.C:
#include "proj.h"
#include "mwl_app.h"
#include "OEM_5.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,
WIDTH_M_INI, HEIGHT_M_INI,
FILLED,
W_FCOL,
0xff)
/* painting window header */
RECTANGLE (110, BEGIN_X, BEGIN_Y, WIDTH_M_INI, HEADER,
FILLED, W_HL_FCOL, 0xff)
/* printing window header text */
TEXT (120,
HEADER_X, HEADER_Y,
T_APP_WIN_1_HEADER,
CS_SMALL,
0,
W_HL_TCOL)
/* show name of first axis of actual channel */
O_FIELD (130,
X_AXIS_NAME, Y_OUT+0*Y_DIST, 5,
W_O_TCOL, W_O_FCOL,
CS_SMALL,
TEXT_DOUBLE_ZOOMED,
10,
P_C_SMA_name, 1, 0, 0,
CON_STRING, 0, 0, 0)
/* show value of first axis of actual channel */
SINUMERIK 840D/810D Configuring the OP 030 Operator Interface (FBO) – 09.01 Edition
/* id */
/* x-, y-position */
/* width, height of
rectangle */
/* filled with W_FCOL */
/* color of window */
/* style of border */
/* id */
/* x-, y-position */
/* textname */
/* character set */
/* no attributes */
/* header-text color */
/* id */
/* x-, y-position, width in
characters */
/* text color, background
color */
/* character set */
/* double height and double
width */
/* data refresh */
/* adr. of first axis name
in act. chan.*/
/* show data as string */
© Siemens AG, 2001. All rights reserved
09.01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 810d

Table of Contents