6 - 130 6 - 130
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.8.9 Pulse width modulation (PWM)
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
n1
n2
D
: Only output (Y) can be used
[Instruction Symbol] [Execution Condition]
Command
n2n1
D
PWM PWM
[Set Data]
Set Data Meaning Data Type
n1
• Number of device where ON time is set
n2
• Number of device where cycle is set
BIN 16 bits
D
• Number of device which will perform pulse output Bit
[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
D
.
n1
n2
(2) The setting ranges for n1 and n2 are shown below:
CPU module Type Name Setting Range for n1 and n2 [ms]
High Performance model QCPU, Process CPU 1 to 65535 (0001
H
to 0FFFF
H
)
QnACPU 5 to 65535 (0005
H
to 0FFFF
H
)
The value designated for n1 should be the same as the value designated for n2 or smaller.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com