Appendix B Task Codes Specifications
Description
1] CPU status (4 digits) b area details (response to the subcommand “H00”)
1514131211109876543210
0000 0
bit 0 Run/stop flag
bit 1 Halt status flag
bit 3 Error status Flag
bit 7 Battery error flag
*1
bit 11 to 8 CPU type
*1 : These flags are turned on/off by
peripheral devices.
bit
00 0
bit 0 Run/stop flag
Displays the run/stop status of CPU.
“1”: Run / “0”: Stop
bit 1 Halt status flag
Displays whether or not the CPU is halted.
“1”: Halted / “0”: Not halted
bit 2 Unused (“0”)
bit 3 Error status flag
Displays whether or not the CPU is in the error status.
“1”: Error / “0”: Normal
When this flag is 1, error details may be determined by reading the CPU error code (refer to 4]).
bit 4 to 6 Unused (“0”)
bit 7 Battery error flag
Displays whether or not the CPU backup battery is normal.
“1”: Battery is not installed or voltage is low. / “0”: Battery normal
bit 11 to 8 CPU type flag
0011: EH-CPU
0111: EHV-CPU16/32/64
1011: EHV-CPU128
2] Memory status (response to the subcommand H01)
Item Description Description Remarks
Memory type H00 Memory error
H02 RAM memory
User memory capacity H0020 8 k Steps EH-CPU308A
H0040 16 k Steps EH-CPU316A/516, EHV-CPU16
H0080 32 k Steps EHV-CPU32
H00C0 48 k Steps EH-CPU448(A)/548
H0100 64 k Steps EHV-CPU64
H0200 128 k Steps EHV-CPU128
Data memory capacity H0080 17 kW EH-CPU308A
H0094 22 kW EH-CPU316A/516
H0100 49 kW EH-CPU448(A)/548
H0100 49 kW EHV-CPU16/32/64/128
B-9