Mitsubishi Electronics FX5 Universal Remote User Manual


 
178
19 BUILT-IN I/O FUNCTION
19.3 Pulse Width Measurement Function
Details of special relays/special registers
Details of special relays/special registers used in pulse width measurement are explained below.
Pulse width measurement status flag
This flag is a device for monitoring the measurement in progress/measurement stopped status of pulse width measurement.
Corresponding devices
The device numbers corresponding to each channel are as follows.
Update timing
This device turns ON when the HIOEN instruction is executed. It turns OFF at the END instruction when the measurement
mode is the 1 time measurement mode.
Clear timing
The timing when the device is cleared is as follows.
•Power OFFON
Reset
•STOP/PAUSERUN
RUNSTOP/PAUSE
When measurement is stopped by the HIOEN instruction
Rising edge flag
This flag turns ON at the end of the 1st period measurement. During measurement in the always measurement mode, it stays
ON.
Corresponding devices
The device numbers corresponding to each channel are as follows.
Update timing
Devices are updated by the END instruction.
Clear timing
The timing when the device is cleared is as follows.
•Power OFFON
Reset
•STOP/PAUSERUN
When measurement is started by the HIOEN instruction
When the HCMOV instruction is used, the latest value can be read.
SD5087, SD5086 CH4 pulse width maximum value The maximum value of the pulse width is stored. 00000000H R/W
SD5089, SD5088 CH4 pulse width minimum value The minimum value of the pulse width is stored. FFFFFFFFH R/W
SD5091, SD5090 CH4 period latest value The latest value of the period is stored. 00000000H R/W
SD5093, SD5092 CH4 period maximum value The maximum value of the period is stored. 00000000H R/W
SD5095, SD5094 CH4 period minimum value The minimum value of the period is stored. FFFFFFFFH R/W
CH1 CH2 CH3 CH4
SM5020 SM5021 SM5022 SM5023
CH1 CH2 CH3 CH4
SM5036 SM5037 SM5038 SM5039
Special relays/
special
registers
Function Description Default R/W