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

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
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
System User
Type
X
Y
M T C S D .b KnX KnY KnM KnS T C D R U \G
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 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
PWM
• 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
Series
Mnemonic
16-bit Instruction
7 steps PWM
Output pulse width (ms)
Period (ms)
Device number (Y) from which pulses are to be output
Digit Specification
*1
.
/FX
3U
3UC
PLC (14-point and 24-point type) and FX
3G
S
ms are output in periods of
1
S
S
D
1
2
Pulse width
Period
t
T
0
S
.
1
" in
S
.
2
0
13 High-Speed Processing – FNC 50 to FNC 59
13.9 FNC 58 – PWM / Pulse Width Modulation
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Index
Unit
V Z Modify
2
2
PLCs.
3GC
PLC.
3U
S
ms.
2
t
D
T
0
D
.
Mnemonic
Operation Condition
Data Type
16-bit binary
16-bit binary
Bit
Others
Real
Charac-
Constant
Number
ter String
K
H
E
" "
PLC.
11
12
13
14
Pointer
15
P
16
17
18
19
20
373

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents