Special Output Operation In Cpu Stop Status - Hitachi HIDIC MICRO-EH Applications Manual

Table of Contents

Advertisement

8.1.5

Special Output Operation in CPU STOP Status

Generally the counter output, PWM output and pulse output are not generated if the CPU is in the STOP state. To output
these outputs when the CPU is in the STOP state, turn on the special internal output R7DC. By turning on the special
internal output R7DC for controlling the special outputs in the STOP state, the operation of the special outputs at the time
of test operation can be checked, and the outputs that are independent of the RUN and STOP states of the CPU can be
output. Note that the R7DC is set to 0 when the power is turned on. Also, if the output control flag (R7FC to R7FF) is
turned on while the CPU is in the STOP state and the R7DC is off, the output flag is turned off by the system.
R7DC
R7FC toR7FF
RUN
RUN/STOP
STOP
ON
Counter output
OFF
PWM output
Pulse output
Figure 8.4 Operation of special outputs when the CPU is in the RUN/STOP states
1]
When the R7DC is off, the output control flag is turned off by the system.
2]
When the R7DC is on, the corresponding special output turns on by turning on the output control flag.
*
The counter output of the counter turns on when the condition is satisfied.
3]
The special outputs turn on and off according to the user program.
4]
The special outputs are being output while the output condition is satisfied or the R7DC is on.
5]
The special outputs turn on and off according to the RUN/STOP states of the CPU. The output control flag is turned
off by the system when the CPU operation stops.
*
The special outputs continue to be output as long as the CPU operation continues, even if an error has occurred
when the operation is set to be continued when I/O assignments do not match or when a congestion error occurs.
8.1.6
Pulse / PWM Output adjustment
The transistor output that generates the pulse output and PWM output contains a hardware delay time. This delay time
affects the on-duty significantly as the frequency increases. In addition, this delay time is slightly different depending on
the CPU model. By setting the value that corresponds to the CPU model in the special internal output WRF06B for
setting the PWM/pulse output correction, both the PWM output and pulse output with no load in the system can be
corrected.
Caution: There will be a slight error even if correction setting is performed.
These special internal outputs are stored in the FLASH memory by turning on the various setting write request (R7F6).
Once the setting is stored in the FLASH memory, it is not necessary to make the setting again when the power is turned
on next time.
WRF06B:
Setting value indicating the CPU model
Figure 8.3 Special internal outputs for setting PWM/pulse output correction
CPU model
EH-***DTP
EH-***DT
EH-***DRP
EH-***DRT
Other than above
Note: *** changes depending on the CPU.
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O
1]
2]
3]
Setting value
H0001
H0002
H0003
H0004
Other than above
8-5
4]
Remark
No correction
5]
5]
5]
5]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents