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
0
H
Information presence
Information flag
The area is provided for checking if information is stored in the host
CPU's operation information area (1
H
to 1F
H
) or not.
0: No information, 1: Information exists.
1
H
Diagnostic error
Diagnostic error number
An error number for a diagnostic error is stored as a binary code.
*2
2
H
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
3
H
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
4
H
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
5
H
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
6
H
to 10
H
Common error
information
Common error
information
When an error occurred during diagnostics, common information for
the error number is stored.
*2
11
H
to 1B
H
Individual error
information
Individual error
information
When an error occurred during diagnostics, individual information
for the error number is stored.
*2
1C
H
Empty
Not used
1D
H
Switch status
C Controller module
switch status
The C Controller module switch status is stored.
0: RUN, 1: STOP
1E
H
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.
1F
H
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
b3
b4
b7
b8
b11
b12
b15
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
b3
b4
b7
b8
b11
b12
b15
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
Summary of Contents for Q06CCPU-V
Page 2: ......
Page 612: ...APPX 48 Appendix 11 Functions Added by Version Upgrade APPENDICES Memo ...
Page 617: ......