Hitachi EH-150 Applications Manual page 136

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

Advertisement

Task code
Function
Controls the run/stop of the CPU from the host.
It will end normally, even if a run designation while running and stop designation while stopped are made.
Execution condition
The following conditions must be met:
1]
The RUN switch is set to STOP, and the number 1 DIP switch is on.
2]
The CPU status is not ERROR.
3]
In the case of function selection and stop designation, the special internal output R7C4 is on.
4]
In the case of function selection and run designation, the special internal output R7C3 is on and R7E9 is off. In
addition, if the run control input is set using parameters, the contact is on.
Note: If the CPU is WRITE-occupied by another station, a "not-executable" response will be made.
(If the CPU is WRITE-occupied by the local station, execution is possible.)
Format
Request
H11
(a)
Response
(a)
H11
Description
1]
STOP (subcommand H00)
The CPU operation is stopped.
If a stop designation is sent when the CPU is stopped, a normal response task code results.
If the CPU sends a stop designation during error, the error status can be canceled.
However, the error codes H10 to H2F cannot be canceled.
2]
RUN (subcommand H01)
Runs the CPU.
If a run designation is sent when the CPU is already running, a normal response task code results.
Example
Stop designation
Request
1
1
Response
0
0
H11
CPU run/stop designation
0
0
1
1
Appendix B Task Codes Specifications
(a)
Function selection (subcommand)
1]
H00: Stop designation
2]
H01: Run designation
(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.
Run designation
1
1
0
1
0
0
1
1
B-11
Classification
CPU control

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents