Download  Print this page

Advertisement

Introduction to Configuring (PSE)
8 Examples
PSE/8-62
BEGIN_EVENT_LIST (EV_WIN_1)
/* examines the value R10 */
/* if this value becomes less equal than 100
the event-code EVENT_CODE_LESS (10000) is sent */
WATCH_EVENT (400, 1, EVENT_CODE_LESS, /* ID, refresh, event
FALSE_TO_TRUE|WATCH_LESS_EQUAL,
F_DOUBLE,
100.0,
P_C_RP_rpa, (10+1), 0, 0, 0)
/* examines the value in notebook NB_REAC_EVENT_EXAMPLE (nr.
201) */
/* if this value becomes greater than 100
the event-code EVENT_CODE_GREATER (10001) is sent */
WATCH_EVENT (410, 1, EVENT_CODE_GREATER,
FALSE_TO_TRUE|WATCH_GREATER,
F_DOUBLE, 100.0, P_C_RP_rpa, (10+1), 0, 0, 0)
END_EVENT_LIST (EV_WIN_1)
BEGIN_SOFTKEY_OBJECT_LIST (SOB_WIN_1)
MACRO (200, 0, 0, SOFTKEY_OBJECT_LIST_PTR
(SOB_CLEAR_SOFTKEYS))
SOFTKEY (210,
T_SK1H_WIN1,
KEY_F1,
2,
NOT_PRESSED)
END_SOFTKEY_OBJECT_LIST (SOB_WIN_1)
BEGIN_SOFTKEY_REACTION_LIST (SRC_WIN_1)
RC_CLOSE_WINDOW (300,
RC_OPEN_WINDOW (310,
RC_C_D_SKIP_IF (320, KEY_F8_V, 1, 100.0, GREATER_EQUAL,
P_C_RP_rpa, (10+1), 0, 0)
RC_SET_DOUBLE (330, KEY_F8_V, 0.0, P_C_RP_rpa, (10+1), 0, 0)
END_SOFTKEY_REACTION_LIST (SRC_WIN_1)
SINUMERIK 840D/810D Configuring the OP 030 Operator Interface (FBO) – 09.01 Edition
/* id */
/* softkeytext */
/* softkeycode */
/* softkeylines */
/* softkeystatus */
/* id */
KEY_F1,
/* softkeycode */
W_WIN_1,
/* name of window */
LOCAL,
/* menutyp */
1)
/* clears window */
/* id */
KEY_F1,
/* softkeycode */
W_WIN_2,
/* name of window */
LOCAL)
/* menutyp */
© Siemens AG, 2001. All rights reserved
09.01
code to send */
/* watch attribute */
/* data typ */
/* compare value */
/* address of watch
value */

Advertisement

This manual also for:

Sinumerik 810d

Comments to this Manuals

Symbols: 0
Latest comments: