3. Instruction Set

Registers for received data (responding messages)

Register

 

Data

Descriptions

D1070 low

‘0’

 

30 H

ADR 1

 

 

 

 

 

D1070 high

‘1’

 

31 H

ADR 0

 

 

 

 

 

D1071 low

‘0’

 

30 H

CMD 1

 

 

 

 

 

D1071 high

‘6’

 

36 H

CMD 0

 

 

 

 

 

D1072 low

‘0’

 

30 H

 

 

 

 

 

 

D1072 high

‘1’

 

31 H

Data address

 

 

 

 

D1073 low

‘0’

 

30 H

 

 

 

 

 

 

 

D1073 high

‘0’

 

30 H

 

 

 

 

 

 

D1074 low

‘1’

 

31 H

 

 

 

 

 

 

D1074 high

‘7’

 

37 H

Data content

 

 

 

 

D1075 low

‘7’

 

37 H

 

 

 

 

 

 

 

D1075 high

‘0’

 

30 H

 

 

 

 

 

 

D1076 low

‘7’

 

37 H

LRC CHK 1

 

 

 

 

 

D1076 high

‘1’

 

31 H

LRC CHK 0

 

 

 

 

 

Program Example 2:

Communication between PLC and VFD-B series AC motor drives (RTU Mode, M1143 = ON)

M1002

X1

X0

M1127

Receiving completed

MOV

H87

D1120

Set communication protocol as 9600, 8, E, 1

SET

M1120

Retain communication protocol

MOV

K100

D1129

Set receiving timeout as 100ms

SET

M1143

Set as RTU mode

 

SET

M1122

Sending request

 

MODWR

K1

H2000

H12

Set communication instruction:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write in data H12

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data address: H2000

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Device address: 01

 

 

 

 

 

 

 

Process of receiving data

The receiving data is stored in

D1070~D1085 in Hex.

 

 

 

 

RST

M1127 Reset M1127

 

PLC VFD-B, PLC transmits: 01 06 2000 0012 02 07

VFD-B PLC, PLC receives: 01 06 2000 0012 02 07

3 - 2 7 5

Page 391
Image 391
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual D1070 low ‘0’ 30 H