Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
6-160
SPD
6.8.7  
Pulse density measurement (SPD)
SPD
*1: Local devices and the file registers set for individual programs cannot be used.
Function
(1) The number of turning OFF ON input of the device specified by 
 is counted for just the 
amount of time specified by n, and the count results are stored in the device specified by 
.
(2) When measurement directed by the SPD instruction has been completed, measurement is 
done again from 0.
Turn OFF the execution command to stop the measurement directed by the SPD instruction.
  : Pulse input (bits)
 n  : Measurement time (unit: ms) (BIN 16 bits)
: Head number of the devices where the measurement result will be stored (BIN 16 bits)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
K, H
Other
Bit
Word
Bit
Word
 (Only X)
––
––
––
n
 *1
 *1
––
––
 *1
––
––
Process
High
performance
Universal
Basic
Redundant
Command
SPD
n
S
D
SPD
S
D
S
D
S
D
ON
OFF
OFF
Execution command
Start of measurement
n [ms]
n [ms]
Measurement result is stored at (D)
ON
S
Measurement result is stored at (D)