Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Lrc Chk, RTU Mode M1143 = on

Models: DVP-ES2/EX2/SS2/SA2/SX2/SE

1 702
Download 702 pages 56.54 Kb
Page 450
Image 450

DVP - ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

 

Register

 

 

 

Data

 

 

 

Descriptions

 

 

 

D1260 Low

 

 

‘0’

 

30 H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1260 High

 

‘0’

 

30 H

Number of Data(count by bit)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1261 Low

 

 

‘1’

 

31 H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1261 High

 

‘0’

 

30 H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1262 Low

 

 

‘E’

 

45 H

LRC CHK 1

Checksum: LRC CHK (0,1)

 

D1262 High

 

‘8’

 

38 H

LRC CHK 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Registers for received data (responding messages)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Register

 

 

 

Data

 

 

 

Descriptions

 

 

 

D0 Low

 

 

‘0’

 

30 H

ADR 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D0

High

 

 

‘1’

 

31 H

ADR 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1 Low

 

 

‘0’

 

30 H

CMD 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D1 High

 

 

‘2’

 

33 H

CMD 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D2

Low

 

 

‘0’

 

30 H

Number of Data (count by Byte)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D2

High

 

 

‘2’

 

32 H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D3

Low

 

 

‘3’

 

33 H

 

 

 

1234 H

 

 

 

 

 

 

 

 

 

 

 

 

Content of

 

 

 

 

D3

High

 

 

‘4’

 

34 H

 

 

 

 

 

 

 

 

PLC automatically converts ASCII

 

 

 

 

address 0500H~

 

 

 

 

 

 

 

 

 

 

 

D4

Low

 

 

‘1’

 

31H

 

 

 

 

0515H

 

codes and store the converted

 

D4

High

 

 

‘2’

 

32H

 

 

 

value in D1296

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D5 Low

 

 

‘B’

 

52H

LRC CHK 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D5 High

 

 

‘5’

 

35 H

LRC CHK 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Analysis of the read status of PLC2 Y0~Y17: 1234H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Device

 

Status

Device

 

Status

 

Device

 

Status

 

Device

Status

 

Y0

 

 

OFF

 

Y1

 

OFF

 

Y2

 

ON

 

Y3

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y4

 

 

ON

 

Y5

 

ON

 

Y6

 

OFF

 

Y7

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y10

 

OFF

 

Y11

 

ON

 

Y12

 

OFF

 

Y13

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y14

 

ON

 

Y15

 

OFF

 

Y16

 

OFF

 

Y17

OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RTU Mode (M1143 = ON):

When X0 = ON, MODRW instruction executes the function specified by Function Code 02 PLC1Ö PLC2PLC1sends: “01 02 0500 0010 79 0A

PLC2 Ö PLC1PLC1receives: “01 02 02 34 12 2F 75

Registers for data to be sent (sending messages)

Register

Data

Descriptions

D1256 Low

01 H

Address

 

 

 

D1257 Low

02 H

Function

 

 

 

D1258 Low

05 H

Y0 = H0500

D1259 Low

00 H

Starting Data Address

 

 

 

3 - 334

Page 450
Image 450
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Lrc Chk, RTU Mode M1143 = on