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

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
13.9
FNC 58 – PWM / Pulse Width Modulation
Outline
This instruction outputs pulses whose cycle and ON duration are specified.
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
D
: Specify a transistor output Y000, Y001, or Y002 in the main unit or Y000, Y001, Y002, or Y003 in a special
high speed output adapter
*1. Special high speed output adapters cannot be connected to the 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 cycle "T
Allowable setting range: 1 to 32767 ms
• Specify the output (Y) number from which pulses are output in
Allowable setting range: Y000, Y001, Y002, Y003
Mnemonic
16-bit Instruction
7 steps PWM
Pulse width data (ms) or word device number storing data
Cycle data (ms) or word device number storing data
Device number (Y) from which pulses are output
Digit Specification
*1
.
ms are output in the cycle of
S
1
S
S
D
1
2
Pulse width
Cycle
t
T
0
.
S
1
" in
.
S
0
2
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
System
Special
Index
User
Unit
V Z Modify
3UC
S
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
" "
-32MT-LT.
ms.
11
12
13
14
Pointer
15
P
16
17
18
19
20
355

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents