Appendix B Task Codes Specifications
Task code
H40
Monitoring with I/O number designation
(N continuous points)
Classification I/O
control
Function
Reads N continuous points (words) of monitor data, starting with the specified I/O number.
*
This task code can also be executed when the CPU is not occupied. However, the response task code will be “H02”
(local station is not occupying the CPU).
*
The I/O data of EH-150 outside the range returns all off (0).
Execution condition
CPU
status
STOP RUN HALT
ERROR
{
{
{
{
READ occupancy
Occupancy
{
{
{
{
WRITE occupancy
status
{
{
{
{
Not occupied
Format
Request
H40
(a)
(b)
(c)
(a) I/O code (refer to the I/O code chart)
(b) I/O number (refer to I/O number
decimal/hexadecimal conversion chart)
(c) Number of bits H01 to HF0 (1 to 240)
Number of words H01 to H78 (1 to 120)
Response
(a)
H40
(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
(b) Monitor
data
(Bit data)
Number of points/8
1st p
o
int
bit7
0
Binary image (H00 to HFF)
2
nd p
oint
8th point
When the number of monitor points is less than
8 points, the open bits are set to 0 (H00 to
HFF).
(Word data)
Binary image (H0000 to HFFFF)
H
L
1 word
Nth word
Number of words
B-32