![Mitsubishi Electric FX3G SERIES Programming Manual Download Page 382](http://html.mh-extra.com/html/mitsubishi-electric/fx3g-series/fx3g-series_programming-manual_238902382.webp)
380
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High-Speed Processing – FNC 50 to FNC 59
13.9 FNC 58 – PWM / Pulse Width Modulation
13.9
FNC 58 – PWM / Pulse Width Modulation
Outline
This instruction outputs pulses with a specified period and ON duration.
1. Instruction format
2. Set data
3. Applicable devices
S
1: Specify transistor output Y000, Y001, or Y002 on the main unit or Y000, Y001, Y002, or Y003 on a special high-
speed output adapter
*1
.
S
2: This function is supported only in FX
3U
/FX
3UC
PLCs.
*1. Y002 is not available in 14-point and 24-point type FX
3G
PLCs.
*2. High-speed output special adapters can be connected only to FX
3U
PLC.
Explanation of function and operation
1. 16-bit operation (PWM)
Pulses whose ON pulse width is
ms are output in periods of
ms.
• Specify the pulse width "t" in
.
Allowable setting range: 0 to 32767 ms
• Specify the period "T
0
" in
.
Allowable setting range: 1 to 32767 ms
• Specify the output (Y) number from which pulses are to be output in
.
Allowable setting range: Y000, Y001, Y002, Y003
Operand Type
Description
Data Type
Output pulse width (ms)
16-bit binary
Period (ms)
16-bit binary
Device number (Y) from which pulses are to be output
Bit
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Constant
Real
Number
Charac-
ter String
Pointer
X
Y
M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modify
K
H
E
"
"
P
3
3
3
3
3 3 3 3
S
2
3 3
3
3
3
3
3
3
3
3 3 3 3
S
2
3 3
3
3
3
S
1
3
7 steps PWM
Continuous
Operation
16-bit Instruction
Mnemonic
Operation Condition
FNC 58
PWM
Mnemonic
Operation Condition
32-bit Instruction
−
S
1
S
2
D
S
1
S
2
D
S
1
S
2
t
T
0
D
Pulse width
t
Period
T
0
FNC 58
PWM
S
1
D
S
2
Command
input
S
1
S
2
D