DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
-154
API
Mnemonic Operands Function
58 PWM
Pulse Width Modulation
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
PWM: 7 steps
SS2
SX2
SS2
SX2
SS2
SX2
Operands:
S
1
: Pulse output width (ms) S
2
: Pulse output cycle (ms)
D: Pulse output device (Y0, Y1, Y2,Y3, Y4, Y6)
Explanations:
1. S
1
is specified as pulse output width (t). S
2
is specified as pulse output cycle (T).
Rule: S1 ≦ S2. (It is not applicable to EC5 and DVP-12SE: FW V1.xx.)
Reference Table for Output Cycle and Output Width
pulse output
Flag for switching unit
ï¼›
ï¼›
Flag for high-speed output
M1117 is ON. (Unit: 10us)
2. S
1
is specified as pulse output width (t). S
2
is specified as pulse output cycle (T).
Rule: S1 ≦ S2. (for DVP-12SE: FW V1.xx.)
Reference Table for Output Cycle and Output Width
pulse output
Flag for switching unit
S
1
is specified as pulse output width (t). S
2
is specified as pulse output cycle (T).
Rule: S1 ≦ S2. (for EC5)
Reference Table for Output Cycle and Output Width
pulse output
Flag for switching unit