Appendix B Task Codes Specifications
Task code HA0 Monitoring with I/O number designation
(N continuous points)
Classification I/O control
Function
Reads N continuous points (words) of monitor data, starting with the designated I/O number.
* This task code can also be executed when the CPU is not occupied.
* The I/O data of EH-150 outside the range returns all off (0).
Execution condition
CPU status
STOP RUN HALT ERROR
{ { { { READ occupancy Occupancy
{ { { { WRITE occupancy status
{ { { { Not occupied
Format
Request
HA0 (a) (b) (c)
(a) I/O code
(b) I/O number
(c) Number of bits H01 to HF0 (1 to 240)
Number of words H01 to H78 (1 to 120)
Refer to the task code H40.
Response
(a) HA0 (b)
(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) Monitor data
(b) Monitor data
(Bit data)
Number of points/8
1st point
2nd point
8th point
bit7 0
Binary image (H00 to HFF)
When the number of monitor points is less than
8 points, the open bits are set to 0 (H00 to
HFF).
(Word data)
Binary image (H0000 to HFFFF)
HL
1 word Nth word
Number of words
B-39