Siemens A31003-51730-U103-7619 6.6.4The Functions of the Button Ok, Attributes, Instructions

Models: A31003-51730-U103-7619

1 336
Download 336 pages 29.09 Kb
Page 314
Image 314

The planning and implementation of a DCO Project

Create the Functions of the Frame "Announcement selection"

6.6.4The Functions of the Button "Ok"

The Functions underneath the Button "Ok" are automatically invoked when this Button is pressed.

6.6.4.1The Function: "With selection"

Description

This Function uses the Variable "Selected message" to save the selected announcement and jumps back to the "Main page".

Attributes

 

Attribute

Contents

 

 

 

 

 

 

 

 

Name

With selection

 

 

 

 

 

 

 

Condition

((LISTBOX)Announcement list UEQ '')

 

 

 

 

 

 

 

Messagebox

 

 

 

 

 

 

 

 

Instructions

 

 

 

 

 

 

 

 

 

Instruction

 

Arguments

Contents

 

 

 

 

 

The Instruction "SetVari-

Variable

More blinking

 

able"

 

 

 

 

 

Value

1

 

 

 

 

 

 

 

 

The Instruction "SetVari-

Variable

Selected message

 

able"

 

 

 

 

 

Value

(LISTBOX)Announcement list

 

 

 

 

 

 

 

 

The Instruction "GetList-

Listbox

Announcement list

 

BoxSelText"

 

 

 

 

 

Variable

Selected message

 

 

 

 

 

 

 

 

The Instruction "GotoF-

Frame

Main page

 

rame"

 

 

 

 

 

 

 

 

 

07/2010

6-64

OScAR-Pro Customized Operator, User Manual

Page 314
Image 314
Siemens A31003-51730-U103-7619 6.6.4The Functions of the Button Ok, 6.6.4.1The Function: With selection Description