Pulse Width Modulation (Pwm) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS

6.8.9 Pulse width modulation (PWM)

Internal Devices
Set
(System, User)
Data
Bit
Word
n1
n2
D
[Instruction Symbol] [Execution Condition]
PWM
[Set Data]
Set Data
n1
n2
D
[Functions]
(1) Outputs the pulse of the cycle set by n2, for the amount of time ON designated by n1, to the
output module designated by
(2) The setting ranges for n1 and n2 are shown below:
High Performance model QCPU, Process CPU
The value designated for n1 should be the same as the value designated for n2 or smaller.
6 - 130
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Command
• Number of device where ON time is set
• Number of device where cycle is set
• Number of device which will perform pulse output
.
D
n1
n2
CPU module Type Name
QnACPU
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
PWM
n1
Meaning
Setting Range for n1
1 to 65535 (0001
5 to 65535 (0005
MELSEC-Q/QnA
QnA
Process CPU
Index
Register
Constant
Other
Zn
: Only output (Y) can be used
n2
D
Data Type
BIN 16 bits
Bit
and n2 [ms]
to 0FFFF
)
H
H
to 0FFFF
)
H
H
6 - 130
Q4AR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents