EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #507 background imageLoading...
Page #507 background image
7 APPLICATION INSTRUCTION
7.14 Pulse related instruction
505
7
7.14 Pulse related instruction
Measuring the density of 16 bit binary pulses
SPD
This instruction counts the number of times the device input specified by (s1) turns off on only for the time (in 16-bit data
units) specified by (s2) 1ms and stores the operation result in the device specified by (d).
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 When a bit device is specified, specify one of X0 to X17.
Only X can be used for a bit device.
The nibble of a bit device cannot be specified.
*2 When a word device is specified, specify one of the channel numbers (CH1 to CH8).
Processing details
This instruction counts the number of times the device input specified by (s1) turns off on only for the time (in 16-bit data
units) specified by (s2) 1ms and stores the operation result in the device specified by (d).
The channel number of the high-speed counter specified by (s1) interlocks with the channel number in which parameters
are set.
Ladder diagram Structured text
ENO:=SPD(EN,s1,s2,d);
Operand Description Range Data type Data type (label)
(s1) Pulse input Bit/16-bit unsigned
binary
Bit/ANY16
(s2) Measurement time (Unit: ms) -32768 to +32767 16-bit signed binary ANY16
(d) Head device number for storing the measurement result 16-bit signed binary ANY16
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1)
*1

*2

(s2) 
(d) 
(s1) (s2) (d)
ON
OFF
OFF
(s2)ms (s2)ms
ON
(s1)
Counting start
The elapsed time is judged using
the 1ms interrupt and the counted
result is stored in (d).
The elapsed time is judged using
the 1ms interrupt and the counted
result is stored in (d).
Execution
command

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals