"Low Cost" stepper motor axis with digital control (stepper)

Drive interface for "low cost" stepper motor axis NC → I/O (12 bytes)

No.

Data type

Byte

Bit

Def. Range

Variable Name

Description

1

INT32

0-3

-

-

nOutData1

Drive output data 1 (NC->I/O)

2

INT32

4-7

-

-

nOutData2

Drive output data 2 (NC->I/O)

3

UINT8

8

-

-

nControlByte

Control byte

3.0

...

8

0

0/1

bPhaseA

Phase A

3.1

...

8

1

0/1

bPhaseAInv

Phase A inverse

3.2

...

8

2

0/1

bPhaseB

Phase B

3.3

...

8

3

0/1

bPhaseBInv

Phase B inverse

3.4

...

8

4

0/1

-

RESERVE

3.5

...

8

5

0/1

-

RESERVE

3.6

...

8

6

0/1

bBreakInv

Inverse braking bit (0 = ACTIVE, 1 = PASSIVE)

3.7

...

8

7

 

bBreak

Braking bit (1 = ACTIVE, 0 = PASSIVE)

4

UINT8

9

-

-

nExtControlByte

Extended control byte

4.0

...

9

0

0/1

bFrequency

Frequency (square wave signal)

4.1

...

9

1

0/1

bDirectionPlus

Direction: positive

4.2

...

9

2

0/1

-

RESERVE

4.3

...

9

3

0/1

-

RESERVE

4.4

...

9

4

0/1

-

RESERVE

4.5

...

9

5

0/1

-

RESERVE

4.6

...

9

6

0/1

-

RESERVE

4.7

...

9

7

0/1

-

RESERVE

5

UINT16

10-11

-

-

nReserved

Reserved bytes