Hitachi EH-150 Applications Manual page 132

Ethernet module 2 eh-eth2
Hide thumbs Also See for EH-150:
Table of Contents

Advertisement

Task code
Function
Reads the CPU status, memory-load status and software version.
This task code can also be executed when the CPU is not occupied.
Execution condition
CPU status
STOP
RUN
Format
Request
(a)
H10
Response
1]
Read CPU status (subcommand H00)
(a)
H10
(a)
Response task code (H00 when executed normally)
For task codes other than the normal task codes, refer to the "response list by task code" at the end of this chapter.
(b) The read CPU status
(c)
User program version (H00 to HFF)
This value is counted up only when memory writing has occurred and the WRITE occupancy is canceled
(indicating the number of times WRITE occupancy has occurred). This value is H00 upon power-up.
2]
Read memory status (subcommand H01)
H10
(a)
(b)
(a)
Response task code (H00 when executed normally)
(b) Memory type
(c)
User memory capacity (number of steps)
(d) Data memory capacity (number of words)
H10
CPU status read
HALT
ERROR
(a)
Function selection (subcommand)
1]
2]
3]
4]
5]
(b)
(c)
(c)
(d)
Appendix B Task Codes Specifications
READ occupancy
Occupancy
WRITE occupancy
Not occupied
H00: Reads CPU status.
H01: Reads memory status.
H02: Reads system software version.
H03: Reads error code.
H04: Reads CPU name.
B-7
Classification
CPU control
status

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents