8 BUILT-IN I/O FUNCTION INSTRUCTION
8.2 Counter Function Dedicated Instruction
297
8
PWM output
ICPWM1, ICPWM2
The following instruction can go in the dotted squares.
ICPWM1, ICPWM2
■
Executing condition
■
Argument
Processing details
This instruction outputs a PWM waveform of the specified CH (refer to the following).
• ICPWM1: CH1
• ICPWM2: CH2
The PWM waveform with the ON time ((s1)) and the cycle time ((s2)) is output from the coincidence output No.1 signal during
the ICPWM instruction execution. The output of the PWM waveform starts from OFF.
Instruction
Executing condition
ICPWM1
ICPWM2
Input/output
argument
Name
Description
Data type
Input argument
EN
Executing condition
Bit
s1
PWM output ON time setting value (constant), or
start number of the device that stores the PWM
output ON time setting value
• Constant: Settings which is 0 or within the range
of 10 to 10
7
(0.1
s) and ((s1), (s1)+1)
((s2),
(s2)+1)
• Device: Within the range of specified device
ANY32
s2
PWM output cycle time setting value (constant), or
start number of the device that stores the PWM
output cycle time setting value
• Constant: Settings which is 0 or within the range
of 50 to 10
7
(0.1
s) and ((s1), (s1)+1)
((s2),
(s2)+1)
• Device: Within the range of specified device
ANY32
Output argument
ENO
Execution result
Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
Others
Bit
Word
Bit
Word
(s1)
(s2)
LCPU
ST
ICPWM1
EN
ENO
s1
s2
ICPWM1
(EN, s1, s2);
ENO:=
Structured ladder/FBD
Summary of Contents for MELSEC System Q
Page 1: ...MELSEC Q L Structured Programming Manual Special Instructions ...
Page 2: ......
Page 307: ...10 SFC CONTROL INSTRUCTION 10 2 SFC Transition Condition Comment Read 305 10 MEMO ...
Page 309: ...I 307 MEMO ...
Page 315: ......