6 - 126 6 - 126
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.8.7 Pulse density measurement (SPD)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant Other
S
(X only)
n
D
: Local devices and the file registers set for individual programs cannot be used.
[Instruction Symbol] [Execution Condition]
Command
SPD n
S D
SPD
[Set Data]
Set Data Meaning Data Type
S
• Pulse input Bit
n
• Measurement time (unit: ms)
D
• Head number of device which stores measurement results
BIN 16 bits
[Functions]
(1) Input from the device designated by
S
is counted for just the amount of time designated by
n1, and results of the count are stored in the device designated by
D
.
ON
OFF
OFFCommand
Measurement begins
n [ms]
n [ms]
ON
S
Measurement results
stored at
D
Measurement results
stored at
D
(2) When measurement directed by the SPD instruction has been completed, measurement is
done again from 0.
To suspend measurement directed by the SPD instruction, turn the command OFF.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com