beautypg.com

D.2.2 drive 0 control/reference routine – Rockwell Automation MD65 Profibus Communication Card User Manual

Page 94

background image

D-8

PROFIBUS Communications Module

D.2.2 Drive 0 Control/Reference Routine

0

Controlling the Logic Command word in the drive. B3:20/* bits are controlled elsewhere in the user program.

B3:20

0

Station 0

Stop

Command

N20:0

0

Station 0

Logic Command

STOP

1

B3:20

1

Station 0

Start

Command

N20:0

1

Station 0

Logic Command

START

2

B3:20

2

Station 0

Jog

Command

N20:0

2

Station 0

Logic Command

JOG

3

B3:20

3

Station 0

Clear Faults

Command

N20:0

3

Station 0

Logic Command

CLEAR FAULTS

4

B3:20

4

Station 0

Reverse

Command

N20:0

4

Station 0

Logic Command

FORWARD

5

B3:20

4

Station 0

Reverse

Command

N20:0

5

Station 0

Logic Command

REVERSE

To control thespeed reference

6

N20:0

12

Station 0

Logic Command

REFERENCE SELECT 0

7

N20:0

13

Station 0

Logic Command

REFERENCE SELECT 1

8

B3:20

5

"Never Closed"

N20:0

14

Station 0

Logic Command

REFERENCE SELECT 2

need to have the values 11

over the Profibus the three reference select bits (bits 14-12)

Station 0 Speed Reference

The MD65 parameter 38 (Speed Reference) needs to be set at 5 ("RS485 [MDI] Port").
N19:1 is controlled elsewhere in the user program.

9

MOV

Move

Source

N19:1

273<

Dest

N20:1

273<

MOV

Station 0

Speed Reference

Write

10

END