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 />

The permissible value range of the variable is determined in the control application using PLC Value Range. If<br />

the range exceeds the specified limits on the controller, asterisks (*) are displayed instead of the value to<br />

indicate an overflow.<br />

Scaled Value Range sets the appropriate value range for the display of the value. The 0% value corresponds to<br />

the 0% value in the PLC value range and the 100% value to the 100% value in the PLC value range. Scaling<br />

takes place using a straight line function.<br />

For both value ranges, settings for the 0% and 100% values can be made directly in the dialog box or using a<br />

process variable during runtime. The appropriate Parameters from PLC box has to be selected to define value<br />

ranges with PLC process variables (see picture − value range panels). In this way, the input fields change<br />

themselves into selection fields for limiting using variables. Variable names can be directly entered or selected<br />

from a list by clicking on the Assign... button.<br />

Using the Shift Decimal Point setting, a process variable can be connected which is able to move the decimal<br />

point around within the output field during runtime. For this, a postive variable value means more decimal places<br />

(decimal point moves to the left) according to the value. A negative value means less decimal places (decimal<br />

point moves to the right).<br />

Note:<br />

The Shift Decimal Point setting is only possible if at least one decimal place was set under the Parameter tab of<br />

the 'Object Properties' dialog box.<br />

4.6.2.3 Output String<br />

This output field allows STRING[] process variables (STRING array with any length) to be represented. Only<br />

characters up to the 'Number of Characters' setting are displayed even if a longer text is stored in the process<br />

variable.<br />

4.6.2.4 Output Date/Time<br />

The date and time on the controller can be displayed during runtime using this output field. Output format can be<br />

selected according to requirements. However, it cannot be changed during runtime or switched with the<br />

language. If more flexibility is needed, then an Output String field can be used instead. Formatting the output<br />

text takes place in the control application.<br />

4.6.2.4.1 Time Format<br />

This setting determines how the date and time are formatted for display. For this, only the formats in the list are<br />

available. Other formats can be implemented in the control application and displayed using a string output field.<br />

4.6.2.3 Output String 327

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

Saved successfully!

Ooh no, something went wrong!