F173 Pwmh] Pwm Output Instruction (Frequency Specification) - Panasonic FP0H User Manual

Control unit positioning/pwm output/high-speed counter
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

PWM Output Function

9.1.3 [F173 PWMH] PWM Output Instruction (Frequency Specification)

Performs the PWM output according to the set parameters.
 Instruction format
R0
 Operand
Operand
Settings
Starting address the memory area storing the parameters of the PWM output.
S
S+1
S
S+2
S+3
Channel nos. used for PWM output:
n
FP0H mode: 0 (CH0: Y0), 1 (CH1: Y3), 2 (CH2: Y8), 3 (CH3: YB)
FPΣ mode: 0 (CH0: Y0), 2 (CH2: Y3)
 Memory area type that can be specified
Operand
WX
WY
S
-
n
-
 Outline of operation
• The PWM output is performed form a specified output. The output is performed when the
trigger (execution condition) is on.
• The output frequency and duty ratio is specified in the operands [S1+1] to [S1+3].
 Precautions during programming
• This instruction cannot be executed when a control flag corresponding to each channel is on.
• The duty may be different from the set ratio according to the load voltage and load current
especially in the vicinity of minimum and maximum values. The duty can be changed for
each scan. However, the control code cannot be changed during the execution of an
instruction.
• When rewriting during RUN is performed during the operation, the PWM output stops while a
program is being rewritten.
9-4
F173 PWMH
Specify the control code HFF.
Specify the output frequency in 2-word 32-bit data.
Setting range: K1 to K100000 (1 Hz to 100 kHz: in 1 Hz increments)
Duty ratio (Resolution of 1000 or 100)
For the output frequencies 1 to K70000, Setting range: K0 to K1000 (0.0% to 100.0%)
For the output frequencies K70001 to K100000, Setting range: K0 to K1000 (0% to 100%)
WR
WL
SV
-
-
-
-
-
-
-
-
S
n
EV
DT
LD
-
A
-
-
-
-
Constant
Index
I
modifier
K
H
-
-
-
-
A
A
A
-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents