EasyManua.ls Logo

Hitachi EH-150 Series - Page 183

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 - 19
Task code
H44
Monitoring with I/O number designation
(Random N points)
Classification
I/O Control
Function
Reads the monitor data by designating N random points (words) of I/O numbers.
* 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
Occupation
STOP RUN HALT
ERROR
READ occupation
WRITE occupation
Not occupied
Request format
H 4 4
(a)
(b)
(c)
(b)
(c)
1st point / 1st word
Nth point / Nth word
(a) Number of bits / Number of words H01 to H3C (1 to 60)
(b) I/O code (refer to the I/O code table)
(c) I/O number (refer to I/O number decimal/hexadecimal conversion chart)
Response format
1st bit / 1st word
(a)
H 4 4
Nth bit / Nth word
Monitor data
(b)
(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
(Bit data)
0
ON : 1, OFF : 0
0
0
(Word data)
H0000 to HFFFF
Example
Read 2 words from WR4 and WM56. (WR4=H3333, WM56=H5555)
Request : STX 2 FFFF0000 44 02 0A 000004 0C 000056 07 CR
Request (ASCII) : 02 32 4646464630303030 3434 3032 3041 303030303034 3043 30303030
35363037 0D
Response : STX FFFF0000 00 44 3333 5555 SUM CR

Table of Contents

Related product manuals