FP
Σ
High-speed Counter and Pulse Output Functions
6 - 56
6.5
PWM Output Function
This section explains about the PWM output function of FP
Σ
.
6.5.1
Overview of PWM Output Function
PWM output function
With the
F173 (PWMH)
instruction, the pulse width modulation output of specified duty
ratio is obtained.
Setting the system register
When using the PWM output function, set the channels “CH0 and CH2” corresponding
to system registers 400 and 401 to “Do not use high-speed counter.”
6.5.2
Instruction Used with PWM Output Function
PWM output instruction (F173)
While X6 is in the on state, a pulse with a period of 502.5ms and duty ratio of 50% is
output from Y0 of specified channel “CH2”.
X6
F0 MV, K1, DT100
F0 MV, K500, DT101
F173 PWMH, DT100, K0
Figure 126: FP
Σ
PWM output instruction “F173” (program)
When the program is run, the data table will be as shown below.
Data table
DT100
Control code
*
1
:K 1
DT101
Duty
*
2
:50%
Summary of Contents for FP Series
Page 15: ...FP Functions and Restrictions of the Unit 1 2...
Page 25: ...FP Specifications and Functions of Control Unit 2 2...
Page 37: ...FP Expansion 3 2...
Page 44: ...Chapter 4 I O Allocation 4 1 I O Allocation 4 3...
Page 45: ...FP I O Allocation 4 2...
Page 51: ...FP Installation and Wiring 5 2...
Page 77: ...FP High speed Counter and Pulse Output Functions 6 2...
Page 133: ...FP High speed Counter and Pulse Output Functions 6 58...
Page 135: ...FP Communication Cassette 7 2...
Page 147: ...FP Communication Function 1 Computer Link 8 2...
Page 169: ...FP Communication Function 2 General purpose Serial Communication 9 2...
Page 205: ...FP Communication Function 2 General purpose Serial Communication 9 38...
Page 207: ...FP Communication Function 3 PLC Link Function 10 2...
Page 232: ...Chapter 11 Other Functions 11 1 Analog Potentiometer 11 3 11 2 Clock Calendar Function 11 4...
Page 233: ...FP Other Functions 11 2...
Page 239: ...FP Self Diagnostic and Troubleshooting 12 2...
Page 249: ...FP Self Diagnostic and Troubleshooting 12 12...
Page 251: ...FP Specifications 13 2...
Page 323: ...Index FP I 4...
Page 325: ...FP Record of changes R 2...