EasyManua.ls Logo

Hitachi EH-150 Series - Page 182

Hitachi EH-150 Series
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix
A - 18
Task code
H42
Forced set/reset with I/O number designation
(Series N points)
Classification
I/O Control
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
Occupation
STOP RUN HALT
ERROR
READ occupation
WRITE occupation
Not occupied
- - - -
Request format
H 4 2
(a)
(b)
(c)
(d)
(a) I/O code (refer to the I/O code table)
(b) I/O number (refer to I/O number decimal/hexadecimal conversion chart)
(c) Number of bits H01 to HC8 (1 to 200)
Number of words H01 to H64 (1 to 100)
(d) Set / reset data
(Bit data)
1st point
2nd point
3rd point
8th point
Binary image (H00 to HFF)
bit7
bit0
Number of points / 8
* When the number of set/reset points
is less than 8 points, the open bits
are set to 0 (H00 to HFF).
(Word data)
Binary image (H0000 to HFFFF)
Number of words
H
L
1st word
Nth word
Response format
H 4 2
(a)
(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.
Example
Write 2 words to WR200. (WR200=H1234, WR201=H5678)
Request : STX 2 FFFF0000 42 0A 000200 02 1234 5678 09 CR
Request (ASCII) : 02 32 4646464630303030 3432 3041 303030323030 3032 31323334 35363738
3039 0D
Response : STX FFFF0000 00 42 SUM CR

Table of Contents

Related product manuals