23.11.2012 Views

2 Visual Components Manuals

2 Visual Components Manuals

2 Visual Components Manuals

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction to <strong>Visual</strong> <strong>Components</strong> 2.3<br />

Position<br />

Specifies the position of the input field in pixels on the screen.<br />

X<br />

Y<br />

Specifies the position of the upper left corner along the X axis (interval from the left display<br />

margin). Values for these parameters begin with 0 on the left margin and increase to the<br />

width of the display minus one pixel (on the right margin).<br />

Possible Settings for Full<br />

Graphic Displays<br />

Possible Settings for Text<br />

and Semi−Graphic<br />

Displays<br />

This field can be placed freely on the screen. Therefore, X can<br />

be set from 0 to the width of the display minus the width of the<br />

field in pixels.<br />

On text and semi−graphic displays, such as those which can be<br />

connected to the C130 CAN controller, fields can only be<br />

placed evenly on every sixth X−coordinate (X = 0, 6, 12, 18,<br />

etc.).<br />

Specifies the position of the upper left corner along the Y axis (interval from the upper display<br />

margin). Values for these parameters begin with 0 on the upper margin and increase to the<br />

height of the display minus one pixel (on the lower margin).<br />

Possible Settings for Full<br />

Graphic Displays<br />

Possible Settings for Text<br />

and Semi−Graphic<br />

Displays<br />

The field can be placed freely in the display. Therefore, Y can<br />

be set from 0 to the height of the display minus the height of the<br />

field in pixels.<br />

On text and semi−graphic displays, such as those which can be<br />

connected to the C130 CAN controller, fields can only be placed<br />

evenly on every eighth Y−coordinate (Y = 0, 8, 16, 24, etc.).<br />

Destination Data Point<br />

Allows a variable to be connected which is displayed and operated with this input field.<br />

Source<br />

Assign...<br />

Used to input or display the connected variable.<br />

Possible Settings Name of a process variable of data type STRING [] (array of variables of data<br />

type STRING, ANSI C programmers must use data type plcstring[])<br />

The Assign... button opens a dialog box to select a variable for the Source field. By default, only<br />

variables of suitable types are displayed.<br />

It must be noted that the entire array is selected, not just one element from it.<br />

Status<br />

Contains various settings for formatting the field on the screen.<br />

Source<br />

Assign...<br />

Used to input or display the connected variable.<br />

Possible Settings Name of a UINT process variable<br />

Possible Values Bit 0 If 1, the input field is invisible.<br />

Bit 1 If 1, then input is locked.<br />

Bit 14 Is set to 1 while the input field has the focus (is<br />

highlighted). The focus determines which input field is to<br />

accept input from the operator panel.<br />

If the input field loses the focus, then this bit is reset back<br />

to 0.<br />

Bit 15 Is set to 1 while the input field is activated (the value in the<br />

input field is being edited). It will be set back to 0 after the<br />

input has been completed or cancelled.<br />

All other bits are reserved.<br />

The Assign... button opens a dialog box to select a variable for the Source field. By<br />

default, only variables of suitable types are displayed.<br />

3.2.2.2 String Input Field − Reference 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!