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 #535 background imageLoading...
Page #535 background image
7 APPLICATION INSTRUCTION
7.14 Pulse related instruction
533
7
32 bit binary pulse width modulation
DPWM
This instruction outputs the pulse (in 32-bit data units) of the ON time (in 32-bit data units) specified by (s1) and the period
specified by (s2) to the output destination specified by (d).
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 When a bit device is specified, specify one of Y0 to Y7.
Only Y can be used for a bit device.
If Y is specified, outputs are enabled when there is an unused channel number in the parameter setting and the specified Y number is
not used.
The nibble of a bit device cannot be specified.
*2 When a word device or constant is specified, specify one of the CH numbers.
Processing details
This instruction outputs the pulse of the ON time specified by (s1) and the period specified by (s2) to the output destination
specified by (d).
Time with a unit selected on the parameter setting screen (s or ms) can be specified by (s1) and (s2).
The pulse output destination channel number selected on the parameter setting screen can be specified by (d).
This instruction stores the number of pulses, pulse width, and period output from each channel to an SD device. The pulse
width and period are stored in the units set by the parameters. When 0 is specified in the pulse output, pulses are output
without any limitation.
Ladder diagram Structured text
ENO:=DPWM(EN,s1,s2,d);
Operand Description Range Data type Data type (label)
(s1) ON time or the device number storing the ON time 1 to 2147483647 32-bit unsigned binary ANY32
(s2) Period or the device number storing the period 1 to 2147483647 32-bit unsigned binary ANY32
(d) Channel number or device number from which pulses are to be
output
Bit/16-bit unsigned
binary
Bit/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) 
(s2) 
(d)
*1

*2
*2
*2

*2

Pulse output
destination channel
Number of output pulses R/W Initial
value
Timing of reflection on
operation
Timing of clearing to initial
value
CH1 SD5301, SD5300 R/W 0 When the DHCMOV
instruction is executed
*1
When the DPWM instruction is
executed
END processing
STOP/PAUSERUN
CH2 SD5317, SD5316
CH3 SD5333, SD5332
CH4 SD5349, SD5348
(s1) (s2) (d)
(s1)
(s2)
OFF
ON

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