(Note 1) The EX and GD series can be used for CPU units Ver.4.0 or later.
■
Execution result storage area
Operand Items Description
[D1]
Execution result
code
(Note 1)
Stores the execution result code.
HFFFF: Executing
H0: Normal end
H1: Dual-boot error
H2: SD memory card cover open error
H3: SD memory card not installed error
H4: Incompatible SD memory card error
[D2]
Acquisiti
on time
Year
and
month
The SD memory card lifetime information acquisition time is stored as three-
word BCD data.
e.g. When the acquisition time is 15 hours 55 minutes and 30 seconds on
October 3, 2014, it is stored as follows.
[D2] H1410
[D2+1] H0315
[D2+2] H5530
[D2+1]
Day and
hour
[D2+2]
Minute
and
second
[D3]
Number of rewrite
information
The ratio (%) of the average number of rewrites of management blocks to
the maximum number of possible rewrites is expressed by the following
formula:
[Number of rewrites (average of all management blocks)] / [Maximum
number of possible rewrites] x 100
(Note 1) The most significant bit of the execution result code can be used as a flag during execution.
■
Example of processing
Example 1) When the execution result of the PanaSD instruction is Normal
[D1]...DT10 [D2]...DT11 to DT13 [D3]...DT15
DT14
DT15
DT12
When instruction is executed
H FFFF
DT10
DT11
DT13
DT14
DT15
DT12
When SD card information is
being read
H 0
DT10
DT11
DT13
DT14
DT15
DT12
H 1410
H 0318
H 5530
H 0052
Reading SD card is complete
(normal completion)
Execution result code
Year and month
Day and hour
Minute and second
No. of rewrites information (%)
:0
:1410
:318
:5530
:82
Example 2) When the execution result of the PanaSD instruction is Error
H FFFF
DT10
DT11
DT13
[D1]...DT10 [D2]...DT11 to DT13 [D3]...DT15
DT14
DT15
DT12
When instruction is executed
H FFFF
DT10
DT11
DT13
DT14
DT15
DT12
When SD card information is
being read
H 3
DT10
DT11
DT13
DT14
DT15
DT12
H 0
H 0
H 0
H 0
Reading SD card is complete
(unsupported SD card error)
Execution result code
Year and month
Day and hour
Minute and second
No. of rewrites information (%)
:3
:0
:0
:0
:0
18.16 PanaSD (Panasonic SD Memory Card Lifetime Information Read)
18-64 WUME-FP7CPUPGR-12