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

Melsec fx series programmable logic controllers
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
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 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
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
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
ms are output in periods of
S
1
S
S
D
1
2
Pulse width
Period
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
2
2
PLCs.
3UC
PLCs.
3G
3U
S
2
t
D
T
0
Mnemonic
Operation Condition
Data Type
16-bit binary
16-bit binary
Bit
Others
Real
Charac-
Constant
Number
ter String
K
H
E
" "
PLC.
ms.
.
D
11
12
13
14
Pointer
15
P
16
17
18
19
20
395

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents