CR10X User Guide
1-6
To set the year, day or time, enter the *5 Mode and advance to display the
appropriate value. Key in the desired number and enter the value by pressing
A
.
When a new value for hours and minutes is entered, the seconds are set to zero
and the current time is again displayed. To exit the *5 Mode, press ‘*’ and the
mode you wish to enter.
When the time is changed, a partial recompile is done automatically to synchro-
nise the program with real time.
Changing the time also affects the output and execution intervals during which the
time is changed. Because the time can only be set with a one second resolution,
execution intervals of one second or less are unaffected by resetting the time,
whereas a longer execution interval may be shortened or lengthened for one
execution of the program. Averaged values will still be accurate, though the
interval may have a different number of samples than normal. Totalized values
will reflect the different number of samples. The pulse count instruction will use
the previous interval’s value if an option has been selected to discard odd inter-
vals, otherwise it will use the count accumulated in the interval.
Table 1-2 Sequence of Time Parameters in *5 Mode
Display
Key
ID:DATA
Description
*5
:HH:MM:SS
Display current time
A
05:XX
Display/enter year
A
05:XXXX
Display/enter day of year 1-365(366)
A
05:HH:MM:
Display/enter hours:minutes
When entering a new value for hours and minutes, enter the figures
only; no colon is required.
1.3 Displaying and Altering Input Storage, Flags and
Ports — *6 Mode
The *6 Mode is used to display and/or change Input Storage values and to toggle
and display user flags and digital control ports. If the *6 Mode is entered imme-
diately following any new entries or changes in program tables, the compile
function is executed and program execution begins.
Data values contained in Input Storage and the state of flags,
control ports and the timer (Instruction 26) are unaltered whenever
program tables are altered and recompiled with the *6 Mode.
Compiling always zeros Intermediate Storage.
1.3.1 Displaying and Altering Input Storage
When you enter
*6
, the keyboard/display will read ‘
06:0000
’. You can advance
to view the value stored in input location 1 by pressing
A
. To go directly to a
specific location, key in the location number before pressing
A
. For example, to
view the value contained in Input Storage location 20, key in ‘
*6 20 A
’. The ID
portion of the display shows the last two digits of the location number. If the value
stored in the location being monitored is the result of a program instruction, the
value displayed will be the result of the most recent scan and will be updated each
NOTE
NOTE