Drive control & communication, 4 basic drive status, 5 basic drive network programming – Lenze MCH Series Drives Modbus Communications User Manual

Page 32

Advertising
background image

RG-MHMOD 28

Drive Control & Communication

7.4 Basic Drive Status

AC Tech register 24 is a 6 word entity containing the drive’s status information. To retrieve the entire
status block (Modbus registers 24-29) send a read command to Modbus register 40025 using Modbus
function code 03 with a register count of 6. The low byte of the third word in this block of data contains
the operational status.

The value of that low byte of data corresponds to the following operational states:

Operational Status (byte D3L or Register #26 DL)

Value*

Operational State

0

FAULT LOCKOUT

1

FAULT

2

START PENDING

3

STOP

4

DC BRAKE

5

RUN AT 0Hz

6

RUN

7

ACCEL

8

DECEL

9

CURRENT LIMIT

10

DECEL OVERRIDE

16

SLEEP MODE

* This is the decimal equivalent value of the binary number of the bits in that byte.

7.5 Basic Drive Network Programming

The programming parameters of the MCH drive may be altered by a Modbus master. To do so simply write
the desired value to the appropriate Modbus register. The translation is as follows:

Modbus register number = MCH parameter number +52

As an example if you wanted to change the acceleration time (Parameter 8) of the MCH drive, write the time
desired into Modbus register 40060. Note that time is written in 0.1 seconds (so 200 would be 20.0 sec).

Advertising