LG MASTER-K 120S Series User Manual page 179

Programmable logic controller
Table of Contents

Advertisement

Chapter 7 Usage of Various Functions
5) PWM output (PWM)
PWM
PWM(Pulse Width Modulation) output
Instruction
M
S
SV1
SV2
Flag set
Error flag turns on when designating area is over
Error
and the instruction isn't executed
(F110)
■ PWM
S
SV1
(1) Functions
• When input condition turns on, Output pulses which have period as SV1.
• Duty ratio of pulses is assigned by SV2.
• When input condition turns off, PWM operation stops
(2) Example program
• When input condition turns on, Output pulses as below
Positioning Ch 1(P41)
Input condition(M0000)
Available device
P
K
L
F
T
SV2
C
S
D
#
D
integer
Designation
Ch. for PWM output(0~1)
S
PWM output period( 1 ~ 20000)[ms]
SV1
Off Duty(0 ~ 100%)
SV2
50ms
450ms
500ms
7-95
Flag
No. of
Error
Zero
steps
(F110)
(F111)
7
Carry
(F112)

Advertisement

Table of Contents
loading

Table of Contents