When using the wave output function as PWM
The wave output function can also be used as PWM with the minimum pulse width of 80s.
Also the man-hours for programming can be reduced because necessary numbers of pulses can be output in analog by
creating a wave pattern only for one pulse.
■Wave pattern example
When a wave pattern with pulse width of 80s, amplitude of 5V, and duty ratio of 50% is created
1.
Set "Output range setting" to "0 to 5V".
Navigation window [Parameter] [Module Information] Module name [Module parameter] "Basic settig"
"Range switching function"
2.
Create a wave pattern for one pulse in "Create Wave Output Data".
Setting item
Wave pattern information
Wave details setting
The wave pattern to be output in analog differs from the one to be monitored on the engineering tool.
3.
Configure "Create Wave Output Data" as shown below.
Setting item
Wave pattern No. for CH1
CH1 Wave pattern start address setting
CH1 Wave pattern output repetition setting
CH1 Constant for wave output conversion cycle
4.
Register the wave data and parameters of the wave output function to the D/A converter module. For how to register the
wave data and parameters, refer to the following.
Page 52 Registering wave output data
5.
Set 'CH1 D/A conversion enable/disable setting' (Un\G500) to D/A conversion enabled (0).
6.
Turn on and off 'Operating condition setting request' (Y9).
7.
Turn on 'CH1 Output enable/disable flag' (Y1).
8.
Start the wave output by setting Wave output start request (1) to 'CH1 Wave output start/stop request' (Un\G462). Then
the values are output in analog as shown below.
Analog output
80 s 80 s
5V
0V
Digital value range
Number of data
Digital value for Section No.1
Digital value for Section No.2
Specify wave for Section No.2
Setting content
0 to 32000
2
32000
0
Straight line
Setting content
Wave pattern created in step 2
5000 (default value)
Set the number of repetitions.
1 (default value)
1 FUNCTIONS
1.14 Wave Output Function
1
69