Chapter 7 Usage of Various Functions
7-12
9) Programming example
(1) Parameter setting
• Channel : Ch0
• Counter format : Ring counter ( 0 ~ 100,000)
• Counter mode : 2-phase multiplication mode
- P0 : A-phase pulse input, P1 : B-phase pulse input
• Preset
- Preset type : internal preset (M100)
- Preset value : 0
• Last counter setting
- None
• Comparison output
- Output mode : Zone comparison set
- SV1 : 10,000 SV2 : 20,000
- Output point : P43
• RPM setting
- Refresh cycle : 100(*10ms)
- Pulses per rotate : 60
- RPM save area : D100