9.1.3 [F173 PWMH] PWM Output Instruction (Frequency Specification)
The PWM output is performed according to the set parameters.
■
Instruction format
■
Operand
Operand
Settings
S
Starting address of the memory area storing the parameters of the PWM output.
S
Specify the control code HFF.
S+1
Specify the output frequency in 2-word 32-bit data.
Setting range: K1 to K100000 (1 Hz to 100 kHz: in 1 Hz increments)
S+2
S+3
Duty ratio (Resolution of 1000 or 100)
For the output frequencies K1 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%)
n
Channel nos. used for PWM output:
K0 (CH0: Y0), K1 (CH1: Y2), K2 (CH3: Y4), K3 (CH4: Y6)
■
Memory area type that can be specified
Operand
WX
WY
WR
WL
SV
EV
DT
LD
I
Constant
Index
modifier
K
H
S
-
-
-
-
-
-
●
-
-
-
-
●
n
-
-
-
-
-
-
-
-
-
●
●
-
■
Outline of operation
● The PWM output is performed from a specified output. The output is performed when the
execution condition is ON.
● The output frequency and duty ratio are specified in the operands [S1+1] to [S1+3].
■
Precautions during programming
● This instruction cannot be executed when a control active 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.
9.1 PWM output function
9-4
WUME-FPXHPOSG-01
Содержание FP-XH Series
Страница 2: ... MEMO 2 WUME FPXHPOSG 01 ...
Страница 18: ... MEMO 1 10 WUME FPXHPOSG 01 ...
Страница 30: ... MEMO 3 8 WUME FPXHPOSG 01 ...
Страница 51: ...4 4 Reading Elapsed Values WUME FPXHPOSG 01 4 21 ...
Страница 52: ... MEMO 4 22 WUME FPXHPOSG 01 ...
Страница 88: ... MEMO 5 36 WUME FPXHPOSG 01 ...
Страница 94: ... MEMO 6 6 WUME FPXHPOSG 01 ...
Страница 140: ... MEMO 9 8 WUME FPXHPOSG 01 ...
Страница 193: ... MEMO WUME FPXHPOSG 01 ...
Страница 194: ...Panasonic Industrial Devices SUNX Co Ltd 2020 October 2020 WUME FPXHPOSG 01 ...