Special Input and Output
86
Doc No: UMAN\FL\0110
Rev. No.: 1.02B
5.2 High Speed Counter Design
Configuration Registers for Special Function Inputs and PWM outputs:
Register Description Register Number
Configuration Register for Special inputs MW10
Configuration Register for PWM output MW11
Single Phase Counter
Set Value
Channel 1 MW12, MW13
Channel 2 MW14, MW15
Count Value
Channel 1 MW16, MW17
Channel 2 MW18, MW19
Soft Gate (Device)
Channel 1 M 320
Channel 2 M 328
Interrupt Enable (Device)
Channel 1 M 322
Channel 2 M330
Count Preset (Device)
Channel 1 M323
Channel 2 M331
Single Phase Speed Counter
Sampling Time
Channel 1 MW12
Channel 2 MW14
Hold Value
Channel 1 MW16, MW17
Channel 2 MW18, MW19
Soft Gate (Device)
Channel 1 M 320
Channel 2 M 328
Quadrature Bi Pulse
Comparision Value1 MW12, MW13
Comparision Value2 MW14, MW15
Count Value MW16, MW17
Soft Gate (Device) M320
Interrupt Enable1 (Device) M322
Count Preset 1 (Device) M324
Interrupt Enable 2 (Device) M323
Count Preset 2 (Device) M325
Pulse Output Function
Pulse Enable Flag (Device) M336
Frequency Setting Register MW22, MW23
Frequency Setting Error Flag (Device) M191