Appendix
A - 24
Task code
HA5
Forced set/reset with I/O number designation
(Random N points)
Classification
I/O Control
Function
Designates N points (words) of I/O numbers randomly, and forcibly sets the designated data or resets the data
area.
* This task code can also be executed when the CPU is not occupied.
Execution condition
CPU Status
Occupation
STOP
RUN
HALT
ERROR
READ occupation
WRITE occupation
Not occupied
Request format
H A 5
(a)
(c)
(b)
(d)
(c)
(b)
(d)
(a) Number of bits / Number of words H01 to H28 (1 to 40)
(b) I/O code (refer to the I/O code table)
(c) I/O number (refer to I/O number decimal/hexadecimal conversion chart)
(d) Set / reset data
(Bit data)
0
ON : 1, OFF : 0
0
0
(Word data)
H0000 to HFFFF
Response format
H A 5
(a)
(a) Response task code
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.
Example
Write “1” to R7 and RE.
Request
: STX 2 FFFF0000
A5
02 02 000007 0001 02 00000E 0001 84 CR
Request (ASCII)
: 02 32 4646464630303030
4135
3032 3032 303030303037 30303031
3032 303030303045 30303031 3834 0D
Response
: STX FFFF0000 00 A5 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 ...