Rockwell Automation 1760-xxxx Pico GFX-70 Controllers User Manual User Manual

Page 296

Advertising
background image

Publication 1760-UM002B-EN-P - March 2005

5-28 Visualization with Pico GFX-70

The circuit diagram contains timing relay T01 which triggers counter C02.
When the counter reaches the upper switch threshold SH, it switches output
Q1 to 1. The value of the counter's function block output QV is transferred to
marker word MW06. The upper setpoint SH is associated with marker word
MW07 and the preset actual value SV with marker word MW05. In RUN
mode, the marker words are where the actual data is stored and where new
data is written via the value entry elements. The counter can be reset at any
time via input I2. I1 (rising edge) is used to accept the value in marker word
MW05 as a new preset actual value SV. As there is no setpoint value in marker
word MW07 (switch value for Q1) when the program is started, this is
interpreted as switch value “zero”, and output Q1 is switched immediately to
1.

Standard path:

C:\Program Files\PicoSoft 6 Pro\samples\

Program:

Value entry_manual screen change.e60

Screen 1 - Screen 1 illustrates the value entry option using the set variable
marker word MW07 (switch value for Q1). The value entry element is enlarged
on the display. A value range from 0 to 9999 and Allow digit selection as input
format are defined in the Number range/format tab. Input I01 is assigned
make contact bit logic in the Operability tab. The value is written to marker
word 7 and accepted by counter input SH. Q1 is set to 1 if the counter actual
value QV is greater than or equal to the upper setpoint SH. If the actual value
already has a higher value than the switch value you can reset the counter via
I2. Q1 is immediately reset to 0 and is not active again until the switch value is
reached.

Screen 2 - Screen 2 illustrates the activation of the value entry via the set
variable marker word MW05 (preset actual value SV). After you have entered a
new value, this is written to marker word MW05 by actuating I1. This is
associated with the preset actual value SV of counter C02. When transferred,
the actual value QV switches to the SV value entered and continues counting
from this value.

Figure 5.28 Transfer of value when I1 closes

Screen 3 - Screen 3 shows an example from the Number range/format tab,
particularly the Scaling range area and Input format area r Allow digit

selection. You can enter any value from 0.00 to 10.00 (Allow digit selection).
After I1 closes, the preset actual value SV is transferred. When transferred, the
actual value QV switches to the SV value entered and continues counting from
this value. The maximum scaling range (10.00) is assigned to the maximum

100

Switch val

Q1(OK)

Act val

99

Set entry: 80

Transfer of value

Set

Entry(OK)

80

Transfer I1

QV

304

Set

Entry(OK)

80

Transfer I1

QV

80

Advertising