Hitachi EH-150 Applications Manual page 166

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

Advertisement

Task code
HA2
Function
Forcibly sets and resets the designated data in N continuous points (words) of data area, starting with the specified I/O.
*
This task code can also be executed when the CPU is not occupied.
Execution condition
CPU status
STOP
RUN
Format
Request
HA2
(a)
(d) Set/reset data
(Bit data)
Number of points/8
bit7
Binary image (H00 to HFF)
(Word data)
Word number value
H
L
1st word
Response
(a)
HA2
Forced set/reset with I/O number designation
(N continuous points)
HALT
ERROR
(b)
(c)
(d)
0
Nth word
Binary image (H0000 to HFFFF)
(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.
*
Appendix B Task Codes Specifications
READ occupancy
Occupancy
WRITE occupancy
Not occupied
(a)
I/O code
(b) I/O number
(c)
Number of bits
H01 to HC8 (1 to 200)
Number of words
H01 to H64 (1 to 100)
(d) Set/reset data
When the number of set/reset points is less than
8 points, set 0 to the open bits.
The EH-150 returns "H00" (normal execution) even for I/Os that are
out of range.
B-41
Classification
I/O control
status
Refer to the task code H40.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents