Hitachi EH-150 Applications Manual page 160

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

Advertisement

Task code
H42
Function
Forcibly sets and resets the designated data in N continuous points (words) of data area, starting with the designated I/O.
Execution condition
CPU status
STOP
RUN
Format
Request
H42
(a)
(b)
(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)
H42
Forced set/reset with I/O number designation
(N continuous points)
HALT
ERROR
READ occupancy
WRITE occupancy
(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.
*
The EH-150 returns "H00" (normal execution) even for I/Os that are
out of range.
B-35
Appendix B Task Codes Specifications
Classification
Occupancy
status
(a)
I/O code
*1
(b) I/O number
(c)
Number of bits
H01 to HC8 (1 to 200)
Number of words
H01 to H64 (1 to 100)
*1: Refer to the task code H40
(d) Set/reset data
When the number of set/reset points is less than
8 points, set 0 to the open bits.
I/O control

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents