Appendix
A - 15
Task code
H16
CPU occupation / cancel
Classification
CPU Control
Function
Declares that the user memory will be accessed. User memory cannot be accessed by host unless the
CPU is occupied in case of using H4x task code. Also, depending on the function selection, it performs the
same processing as the parameter modification completion processing (task code H27).
Execution condition
CPU Status
Occupancy
STOP
RUN
HALT
ERROR
Function
(subcommand)
READ occupation
00H
01H
-
-
-
-
02H
05H
*1
*1
*1
*1
06H
WRITE occupation
00H
-
-
-
-
01H
02H
05H
06H
*1: It cannot be executed while the CPU is READ-occupied by another station.
Request format
H 1 6
(a)
(a) Function selection (subcommand)
1] H01: READ occupation
2] H02: WRITE occupation
3] H05: Modifies the local station occupation mode from WRITE
occupation to READ occupation.
4] H06: Modifies the local station occupation mode from READ
occupation to WRITE occupation.
5] H00: Cancels the local station occupation.
Response format
H 1 6
(b)
(a)
(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) User program version (H00 to HFF)
1] READ occupation (subcommand H01)
This command is used when the local station is not occupying the CPU if performing tasks such as reading
the user program, monitoring and setting the data memory or the I/O.
2] WRITE occupation (subcommand H02)
This command is used when writing the user program if the local station is not WRITE-occupying the CPU.
This command cannot be used when another station is occupying the CPU.
3] Occupation mode modification (modification from WRITE occupation to READ occupation) (subcommand H05)
Modifies the CPU occupation mode of the local station to the READ occupation.
This command cannot be executed when the local station is not occupying the CPU.
When modifying from WRITE occupation to READ occupation, the parameter modification completion
processing is performed.
4] Occupation mode modification (modification from READ occupation to WRITE occupation) (subcommand H06)
Modifies the CPU occupation mode of the local station to WRITE occupation.
This command cannot be executed when the local station is not occupying the CPU.
This command cannot be executed when another station is occupying the CPU.
5] Occupation cancel (subcommand H00)
Cancels the local station CPU occupation.
When canceling the WRITE occupation, the parameter modification completion processing is performed.
Содержание 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 ...