beautypg.com

FUJITSU MB91460 SERIES FR60 User Manual

Page 896

background image

880

Chapter 43 Stepper Motor Controller

2.Registers

[bit 13 to 11] P2 to P0: Output select bits

These bits are used to select the output signal for SMC2P.

[bit 10 to 8] M2 to M0: Output select bits

These bits are used to select the output signal for SMC2M.

[bit 7 to 6] Reserved bit

Always set the reserved bit to "0".

[bit 5 to 3] P2 to P0: Output select bits

These bits are used to select the output signal for SMC1P.

[bit 2 to 0] M2 to M0: Output select bits

These bits are used to select the output signal for SMC1M.

The table below shows the relationship between the output levels and the select bits.

m = 1 to 2 (motor coils)

n = 0 to 5 (stepper motor channels)

P2

P1

P0

PWMmPn

M2

M1

M0

PWMmMn

0

0

0

L

0

0

0

L

0

0

1

H

0

0

1

H

0

1

X

PWM Pulse

0

1

X

PWM Pulse

1

X

X

High impedance

1

X

X

High impedance