Hitachi EH-150 Applications Manual page 157

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

Advertisement

Task code
H40
Function
Reads N continuous points (words) of monitor data, starting with the specified I/O number.
*
This task code can also be executed when the CPU is not occupied. However, the response task code will be "H02"
(local station is not occupying the CPU).
*
The I/O data of EH-150 outside the range returns all off (0).
Execution condition
CPU status
STOP
RUN
Format
Request
H40
(a)
(b)
Response
(a)
H40
(b)
(b) Monitor data
(Bit data)
Number of points/8
bit7
Binary image (H00 to HFF)
(Word data)
Number of words
H
L
1 word
Monitoring with I/O number designation
(N continuous points)
HALT
ERROR
(c)
0
Nth word
Binary image (H0000 to HFFFF)
B-32
Appendix B Task Codes Specifications
READ occupancy
Occupancy
WRITE occupancy
status
Not occupied
(a)
I/O code (refer to the I/O code chart)
(b) I/O number (refer to I/O number
decimal/hexadecimal conversion chart)
(c)
Number of bits H01 to HF0 (1 to 240)
Number of words H01 to H78 (1 to 120)
(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
When the number of monitor points is less than
8 points, the open bits are set to 0 (H00 to
HFF).
Classification
I/O control

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents