IDEC MICROSmart FC6A Series Ladder Programming Manual page 306

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

Advertisement

18: P
O
I
ULSE
UTPUT
NSTRUCTIONS
CAN J1939 All-in-One CPU module/Plus CPU module
Instruction
PWM1
PWM2
PWM3
PWM4
*1 When the output is Q0 or Q1 and the calculated OFF time is shorter than 15 μs, the pulse duty cycle is adjusted so that the OFF time becomes
15 μs, and then the pulse is output.
*2 For details on the output delay time of each output, see Chapter 2 "Product Specifications" in the "FC6A Series MICROSmart User's Manual".
3. S1 (source 1): Control register
S1 specifies the first data register of the data registers to use with PWM1, PWM2, PWM3, or PWM4 instructions.
Starting from the specified data register, 8 consecutive data registers are used.
Specify the first data register so that the device range is not exceeded.
Storage
Destination
Starting number+0
Starting number+1
Starting number+2
Starting number+3
Starting number+4
Starting number+5
Starting number+6
Starting number+7
*1 The upper and lower data registers change according to the 32-bit data storage method specified.
For details, see "32-bit Data Storage" on page 3-9.
4. S2 (source 2): Initialization Input
S2 specifies the initialization input. When the initialization input 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. An external input or an
internal relay can be specified.
When the initialization input is on, the initial values are written to the data registers with each scan. To only initialize the values
one time, use the initialization input in combination with the SOTU (single output up) instruction or the SOTD (single output
down) instruction.
5. D1 (destination 1): Operation Status
D1 specifies the first internal relay of the internal relays to use with PWM instructions.
Starting from the specified internal relay, 3 sequential internal relays are used.
Specify the first internal relay so that the device range is not exceeded.
Storage Destination
Starting number+0
Starting number+1
Starting number+2
18-10
Pulse Output
*1*2
Q0
*1*2
Q2
15 Hz to 5 kHz (increments of 1 Hz)
*1*2
Q4
*1*2
Q6
Function
Output pulse frequency
Pulse duty cycle (ON ratio)
*1
Preset value (high word)
*1
Preset value (low word)
*1
Current value (high word)
*1
Current value (low word)
Error status
Reserved
Function
0: Pulse output OFF
Pulse output ON
1: Pulse output ON
Pulse output
0: Pulse output not complete
complete
1: Pulse output complete
0: None
Overflow
1: An overflow has occurred
FC6A S
MICROS
ERIES
MART
Configurable Range
Frequency
Setting
15 to 5,000 (increments of 1 Hz)
1 to 1,000 (increments of 0.1%)
1 to 100 (increments of 1%)
1 to 100,000,000 pulses
1 to 100,000,000 pulses
0 to 4
This relay turns on during pulse output.
This relay turns off when pulse output stops.
This relay turns off when the specified number of pulses
are output and output ends.
This relay turns on when pulse output is complete.
This relay turns off when pulse output stops.
When pulse counting is enabled, this relay turns on when
a pulse is output that exceeds the configured preset value.
L
P
M
ADDER
ROGRAMMING
ANUAL
Duty Cycle
0.1 to 100.0 (increments of 0.1%)
Reference
"6. Output pulse frequency" on page 18-11
"7. Pulse width ratio" on page 18-11
"9. Preset value" on page 18-11
"10. Current value" on page 18-11
"11. Error status" on page 18-11
Setting
FC9Y-B1726

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents