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

 

Comparison Value1

MW12, MW13

Comparison Value2

MW14, MW15

Count Value

MW16, MW17

Soft Gate (Device) Interrupt

M320

Enable1 (Device) Count

M322

Preset 1 (Device) Interrupt

M324

Enable 2 (Device) Count

M323

Preset 2 (Device)

M325

 

 

Pulse Output Function

 

Pulse Enable Flag (Device)

M336

Frequency Setting Register

MW22, MW23

Frequency Setting Error Flag (Device)

M191

 

 

Page 87

Page 95
Image 95
Toshiba V200 user manual High Speed Counter Design