Pwm (Variable Duty Cycle Pulse Output) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

18: P
O
I
ULSE
UTPUT
NSTRUCTIONS

PWM (Variable Duty Cycle Pulse Output)

PWM
1
PWM
2
PWM
3
PWM
4
Notes:
If a pulse output instruction is simultaneously executed with the same output, a user program execution error will occur.
Error code 48 will be stored in D8006 and instructions that are executed later will be canceled.
The PWM instruction cannot be used in an interrupt program. If used in an interrupt program, a user program execution error will occur.
Error code 18 will be stored in D8006 and instruction execution will be canceled.
If a pulse output instruction is executed with the relay output type, a user program execution error will occur.
Error code 19 is stored in D8006 and instruction execution is canceled.
For details about the user program execution errors, see "User Program Execution Errors" on page 3-10.
Valid Devices
Device
S1 (Source 1)
S2 (Source 2)
D1 (Destination 1)
*1 Special data registers cannot be used.
*2 Special internal relays cannot be used. Only 0 can be specified as the first digit of the internal relay number. 1 to 7 cannot be specified.
18-8
S1
S2
D1
*****
*****
*****
S1
S2
D1
*****
*****
*****
S1
S2
D1
*****
*****
*****
S1
S2
D1
*****
*****
*****
Function
Control register
Initialization input
Operation status
FC6A S
MICROS
ERIES
MART
The PWM instruction outputs pulses of the specified frequency and duty cycle
from the output.
When the input is on, pulses are output according to the control register settings
specified by S1.
The pulse control information (output on/output complete/error) is stored in the
internal relays specified by D1 as the operation status.
When the initialization input specified by S2 is turned on, the initial values
configured in the WindLDR PWM (Pulse Width Modulation) dialog box, on the
Settings tab, are stored in the control registers.
I
Q
M
X
X
*2
X
L
P
M
ADDER
ROGRAMMING
ANUAL
R
T
C
D
P
Constant
*1
X
FC9Y-B1726
Repeat

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents