Advanced Function Instruction
7 -6 5
FUN 82
PWM
PULSE WIDTH MODULATION
FUN 82
PWM
To : Pulse ON width
(0~32767mS)
Tp : Pulse period
(1~32676mS)
OT : Pulse output point
Y
WX
WY
WM
WS
TMR CTR
HR
IR
OR
SR
ROR
DR
K
Range
Ope-
rand
Yn
of main
unit
WX0
∣
WX240
WY0
∣
WY240
WM0
∣
WM1896
WS0
∣
WS984
T0
∣
T255
C0
∣
C255
R0
∣
R3839
R3840
∣
R3903
R3904
∣
R3967
R3968
∣
R4167
R5000
∣
R8071
D0
∣
D4095
0
∣
32767
To
○
○
○
○
○
○
○
○
○
○
○
○
○
Tp
○
○
○
○
○
○
○
○
○
○
○
○
○
OT
○
z
When execution control "EN" = 1, will send the pulse to output point OT with the "ON" state for To ms and
period as Tp. OT must be a transistor output point on the main unit. When "EN" is 0, the output point will be
OFF.
To
Tp
z
The units for Tp and To are mS, resolution is 1 mS. The minimum value for To is 0 (under such case the
output point OT will always be OFF), and its maximum value is the same as Tp (under such case the output
point OT will always be on). If To > Tp there will be an error, this instruction will not be carried out, and the
error flag "ERR" will set to 1.
z
This instruction can only be used once.