<9. Advanced Engineering >
191
TI 34P02K35-02E May 31, 2017-00
• Example of incorrect saving of retain data
The application shown below gets the FCN/FCJ time using PAS_GETTIME2,
and compares it against "000000" (00:00:00 hours). When a match occurs, it
sets GS_RETAIN_SV_SW to TRUE.
As this application sets GS_RETAIN_SV_SW to TRUE only at 00:00:00 hours,
GS_RETAIN_SV_SW will become FALSE at 00:00:01 hours.
In this application, GS_RETAIN_SV_SW remains TRUE for only one second.
If saving of retain data takes longer than one second, the saving will be aborted
by the application, leaving incomplete retain data on the flash memory.
PAS_GETTIME2
TRUE
FALSE
'%H%M%S'
STRING_TIME
STRING_TIME
EQ_STRING
'000000'
GS_RETAIN_SV_SW
MOVE
R_TRIG_1
TRUE
PAS_GETTIME2
R_TRIG
EN
ENO
IN1
IN2
EN
ENO
EN_I
B_GMT
CNV_SECOND
STR_FORMAT
EN_O
YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
MILLISECOND
TOTALSECOND
WDAY
YDAY
STR_TIME
CLK
Q
PAS_GETTIME2
TRUE
FALSE
'%H%M%S'
STRING_TIME
STRING_TIME
EQ_STRING
'000000'
GS_RETAIN_SV_SW
PAS_GETTIME2
EN
ENO
IN1
IN2
EN_I
B_GMT
CNV_SECOND
STR_FORMAT
EN_O
YEAR
MONTH
DAY
HOUR
MINUTE
SECOND
MILLISECOND
TOTALSECOND
WDAY
YDAY
STR_TIME
Summary of Contents for STARDOM FCN-500
Page 2: ...Blank Page...
Page 10: ...Blank Page...
Page 32: ...Blank Page...
Page 36: ...TI 34P02K35 02E Jun 6 2018 00 Blank Page...
Page 76: ...TI 34P02K35 02E Jun 6 2018 00 Blank Page...
Page 163: ...Blank Page...
Page 221: ...Blank Page...
Page 225: ...Blank Page...