Hitachi EH-150 Applications Manual page 139

Ethernet module 2 eh-eth2
Hide thumbs Also See for EH-150:
Table of Contents

Advertisement

Task code
Function
Forces the cancel of CPU occupancy. This command is used in situations such as when another programming device has
gone down due to an error while occupying the user memory of the CPU (function selection H00).
When connecting the host to the CPU and occupying it for the first time, use function selection H01 so the local occupancy
status is canceled forcibly.
This task code can also be executed when the CPU is not occupied.
Execution condition
CPU status
STOP
RUN
Format
Request
H17
(a)
Response
(a)
H17
Description
With forced cancel, if there are modification in the parameter area, the same processing as parameter modification completion
processing is performed (refer to the task code H27) as well as the canceling of memory occupancy.
1]
Forced cancel of all occupancy (subcommand H00)
All occupancy is canceled unconditionally, so when this command has been executed the peripheral that is reading the
user memory, for example, will not be able to perform reading. Therefore, verify the registered peripherals by
monitoring the occupancy table (WRF040 to WRF04B) when executing this command.
Member registration area
A
B
READ-occupied by the
peripherals A and B
H17
Forced cancel of occupancy
HALT
ERROR
(a)
Function selection (subcommand)
1]
2]
(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.
All peripheral registrations
are canceled
Appendix B Task Codes Specifications
READ occupancy
Occupancy
WRITE occupancy
Not occupied
H00: Forced cancel of all occupancy
H01: Forced cancel of local station occupancy
READ
request
Not-executable error
Even if peripheral A or B issues
a READ request, a not-executable
error is sent because the occupancy
is already being forcibly canceled.
B-14
Classification
CPU control
status

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents