Appendix
A - 23
Task code
HA4
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.
* 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 A 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 A 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 points from X7 and X14. (X7=1, X14=1)
Request
: STX 2 FFFF0000 A4 02 00 000007 00 00000E FD CR
Request (ASCII)
: 02 32 4646464630303030 4134 3032 3030 303030303037 3030 303030303045
4644 0D
Response
: STX FFFF0000 00 A4 0001 0001 SUM CR
Содержание EH-150 Series
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER Serial Communication Module EH SIO APPLICATION MANUAL NJI 443F X ...
Страница 2: ......
Страница 10: ...M E M O ...
Страница 30: ...Chapter 4 Installation 4 10 M E M O ...
Страница 156: ...Chapter 7 System setup 7 12 M E M O ...
Страница 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...