EasyManua.ls Logo

Hitachi EH-150 Series - Page 188

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 - 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

Table of Contents

Related product manuals