Appendix B Task Codes Specifications
Task code
HA2
Forced set/reset with I/O number designation
(N continuous points)
Classification I/O
control
Function
Forcibly sets and resets the designated data in N continuous points (words) of data area, starting with the specified I/O.
*
This task code can also be executed when the CPU is not occupied.
Execution condition
CPU
status
STOP RUN HALT
ERROR
{
{
{
{
READ occupancy
Occupancy
{
{
{
{
WRITE occupancy
status
{
{
{
{
Not occupied
Format
Request
HA2
(a)
(b)
(c)
(d)
(a) I/O
code
(b) I/O
number
(c) Number of bits
H01 to HC8 (1 to 200)
Number of words
H01 to H64 (1 to 100)
(d) Set/reset
data
(d) Set/reset
data
(Bit data)
Number of points/8
1s
t p
o
int
2n
d po
in
t
8
th poi
nt
bit7
0
Binary image (H00 to HFF)
Refer to the task code H40.
When the number of set/reset points is less than
8 points, set 0 to the open bits.
(Word data)
Binary image (H0000 to HFFFF)
H
L
1st word
Nth word
Word number value
Response
(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.
(a)
HA2
* The EH-150 returns “H00” (normal execution) even for I/Os that are
out of range.
B-41