24.7
PWM Function
This chapter explains the PWM function.
Outline of PWM output
The CPU module and the high-speed pulse input/output module allow PWM output on up to 12 channels.
For PWM output, the output channel assignment, pulse/cycle units, output pulse logic, pulse width, cycle, etc. are set using
parameters, and the HIOEN/DHIOEN instruction is used to start/stop pulse output.
Also, the regular PWM/DPWM instruction can be used.
PWM output specifications
The PWM output specifications are explained below.
Number of output channels
Up to 12 channels (CPU module 4CH + high-speed pulse input/output module 2CH × 4 units) can be used for PWM output.
The output device assignment is as follows.
CPU module
CH1
CH2
CH3
Y0 to Y7 (Any device can be set.)
*1 : Head output number for each high-speed pulse input/output module
Outputs (Y) assigned for PWM output in parameter settings cannot be used by the positioning function.
Setting range of period and pulse width
The setting values that can be set for cycle and pulse width are shown below.
Output number
CPU module
Y0 to Y3
Y4 to Y7
*1 : Head output number for each high-speed pulse input/output module
The response time for actual output varies depending on the connected load. Check the output specifications of the module
that uses PWM outputs. For the output specifications, refer to the manual of each module.
24 HIGH-SPEED INPUT/OUTPUT FUNCTION
286
24.7 PWM Function
High-speed pulse input/output module
First module
CH4
CH5
CH6
Y+1
Y+5
High-speed pulse input/output
*1
module
Y+1, Y+5
*1
Second module
Third module
CH7
CH8
CH9
Y+1
Y+5
Y+1
Period
5 μs more
400 μs more
Fourth module
CH10
CH11
CH12
Y+5
Y+1
Y+5
Pulse width
2 μs more
200 μs more