13 - 16
13.3 Data Communications Using CPU Shared Memory
13.3.1 CPU shared memory structure
13
COMMUNICATIONS BETWEEN CPU MODULES
 * 2 If no error is detected, 0 is stored.
Table 13.10 List of host CPU operation information areas
Shared 
memory 
address
Name Description Details
0H Information presence Information flag
The area is provided for checking if information is stored in the host 
CPU's operation information area (1H to 1FH) or not.
0: No information, 1: Information exists.
1H Diagnostic error Diagnostic error number
An error number for a diagnostic error is stored as a binary code.
*2
2H
Date and time of 
diagnostic error
Date and time of 
diagnostic error
The year and month of the error number storage in CPU shared 
memory area address 1
H are stored as a 2-digit BCD code.
*2
3H
The day and time of the error number storage in the CPU shared 
memory area address 1
H are stored as a 2-digit BCD code.
*2
4H
The minute and second of the error number storage in the CPU 
shared memory area address 1
H are stored as a 2-digit BCD 
code.
*2
5H
Error information 
identification code
Error information 
identification code
An identification code is stored in this area to show what error 
information is stored in the common or individual error information 
area.
*2
6H to 10H
Common error 
information
Common error 
information
When an error occurred during diagnostics, common information for 
the error number is stored.
*2
11H to 1BH
Individual error 
information
Individual error 
information
When an error occurred during diagnostics, individual information 
for the error number is stored.
*2
1CH Empty Not used
1DH Switch status
C Controller module 
switch status
The C Controller module switch status is stored.
0: RUN, 1: STOP
1EH LED status
C Controller module LED 
status
The bit pattern of the C Controller module's LEDs is stored. (
 
Figure 13.10)
The same data can be obtained by using the QBF_ReadStatusEx 
function.
1FH
C Controller module 
operation status
C Controller module 
operation status
The operation status of the C Controller module is stored.
 ( 
Figure 13.11)
The same data can be obtained by using the QBF_ReadStatusEx 
function.
Figure 13.10 LED status Figure 13.11 Operation status
b0
b3b4b7b8b11b12b15
4)
5)
3) 2) 1)
1): RUN
2): ERR.
3): USER
4): CF CARD (other than Q06CCPU-V-B),  
     STS (Q06CCPU-V-B)
7)
8)
6)
5): Not used
6): Not used
7): USER LED color (Q12DCCPU-V only)
*1
8): MODE
<LED status>
1) to 4)
0: Off
1: On
2: Flashing (slow)
3: Flashing (fast)
8)
0: Off
1: Lit green
2: Lit orange
3: Flashing
*1 Valid only when USER LED is on.
7)
0: Red
1: Green
2: Orange
3: Not used
b0
b3b4b7b8b11b12b15
2) 1)
1): C Controller module operation status
3)
2): STOP/PAUSE factor
     (in chronological order)
0: RUN
1: Reserved
2: STOP
3: PAUSE
0: RUN/STOP/MODE switch
1: Reserved
3): Mode
0: Basic mode
1: Extended mode
2: Remote operation from 
    C Controller setting utility
3: Execution of QBF_Control 
    function from user program
4: Error
5: Remote operation from another CPU