Pulse Related Instructions; Measuring The Density Of Pulses - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

7.17

Pulse Related Instructions

Measuring the density of pulses

SPD
RnPCPU
RnCPU RnENCPU
(Process)
This instruction counts the device input only for the specified time.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
■Execution condition
Instruction
SPD
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Pulse input device number
(s2)
Measurement time, or the device number of the device
containing the measurement time (unit: ms)
(d)
Device for storing the measurement result
EN
Execution condition
ENO
Execution result
*1 Only labels assigned to device (X) can be used.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
*1
(s1)
(s2)
(d)
*1 Only X can be used. Note, however, that it can be used only within the range of the number of I/O points (the number of points that can
access I/O modules).
7 APPLICATION INSTRUCTIONS
894
7.17 Pulse Related Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=SPD(EN,s1,s2,d);
Range
-32768 to 32767
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
Bit
ANY_BOOL
16-bit signed binary
ANY16
16-bit signed binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
*1
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents