Rockwell Automation 20-COMM-M Modbus/TCP Adapter User Manual

Page 41

Advertising
background image

Using Modbus/TCP Function Codes

4-5

20-COMM-M Modbus/TCP Adapter User Manual

Publication 20COMM-UM014C-EN-P

Table 4.D Logic Command Registers (to Drive from Controller)

Table 4.E

shows the Logic Command register used for writing 16-bit

commands or multiple decimal values.

Table 4.E Logic Command Register

To set the Reference, you must write the decimal values to register
addresses 10003 and 10004 (

Table 4.F

) using Function Code 16 or 23.

Register
Address

Logic Command
Bit

PowerFlex 70/700 Example
Description

Values

1

0

Stop

0 = Not Stop
1 = Stop

2

1

Start

(1)

(2)

(1)

A “0 = Not Stop” condition (logic 0) must first be present before a “1 = Start” condition will start the drive.

(2)

To perform this command, the value must change from “0” to “1.”

0 = Not Start
1 = Start

3

2

Jog

0 = Not Jog (Par. 100)
1 = Jog

4

3

Clear Faults

(2)

0 = Not Clear Faults
1 = Clear Faults

5

4

Direction

Register Address

6

5

6

5

0

0

= No Command

0

1

= Forward Command

1

0

= Reverse Command

1

1

= Hold Direction Control

7

6

Local Control

0 = No Local Control
1 = Local Control

8

7

MOP Increment

0 = Not Increment
1 = Increment

9

8

Accel Rate

Register Address

10

9

10

09

0

0

= No Command

0

1

= Accel Rate 1 Command (Par. 140)

1

0

= Accel Rate 2 Command (Par. 141)

1

1

= Hold Accel Rate

11

10

Decel Rate

Register Address

12

11

12

11

0

0

= No Command

0

1

= Decel Rate 1 Command (Par. 142)

1

0

= Decel Rate 2 Command (Par. 143)

1

1

= Hold Decel Rate

13

12

Reference Select Register Address

14

13

15

14

13

15

14

0

0

0

= No Command

0

0

1

= Ref A Select (Par. 90)

0

1

0

= Ref B Select (Par. 93)

0

1

1

= Preset 3 (Par. 103)

1

0

0

= Preset 4 (Par. 104)

1

0

1

= Preset 5 (Par. 105)

1

1

0

= Preset 6 (Par. 106)

1

1

1

= Preset 7 (Par. 107)

16

15

MOP Decrement

0 = Not Decrement
1 = Decrement

Register
Address

Description

Values

10001

Logic Command

16-bit word. Bit definitions for PowerFlex 70/700 drives are in

Table 4.D

. For other products, refer to their documentation.

Advertising