Fnc 58 - Pwm / Pulse Width Modulation - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents