Appendix
A - 20
Task code
H45
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.
Execution condition
CPU Status
Occupation
STOP
RUN
HALT
ERROR
READ occupation
WRITE occupation
Not occupied
-
-
-
-
Request format
H 4 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 4 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 2 words to WR100 and WR10A. (WR100=HABCD, WR10A=HDCBA)
Request
: STX 2 FFFF0000
45
02 0A 000100 ABCD 0A 00010A DCBA 1E CR
Request (ASCII)
: 02 32 4646464630303030
3435
3032 3041 303030313030 41424344
3041 303030313041 44434241 3145 0D
Response
: STX FFFF0000 00
45
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 ...