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

M1002

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

H87

D1109

Set communication protocol as 9600,8,E,1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Retain communication setting

 

 

 

 

 

 

 

 

 

SET

M1136

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MOV

K100

D1252

Set communication timeout as 100ms

M1320 = ON

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M1320 = OFF

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RST

M1320

 

 

 

 

SET

M1320

 

 

 

 

 

 

ASCII mode

 

 

 

 

RTU mode

 

X0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Sending request

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SET

M1316

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

MODRW

K1

K3

H2100

D0

K6

 

Data length(word)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data storing register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Data address: H2100

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Function code: K3

Receiving completed

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read multiple words

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Connection device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

M1318

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

address: K1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Processing received data

ASCII mode: The received data is converted to Hex value and stored in registers starting from D0

RTU mode: The received data is stored in registers starting from D0

RST

M1318

Reset M1318

ASCII mode (COM3: M1320 = OFF, COM1: M1139 = OFF):

When X0 = ON, MODRW instruction executes the function specified by Function Code 03 PLC Ö VFD-B, PLC sends: “01 03 2100 0006 D5

VFD-B Ö PLC, PLC receives: “01 03 0C 0100 1766 0000 0000 0136 0000 3B

Registers for received data (responding messages)

Register

Data

Descriptions

D0

0100 H

PLC converts ASCII codes in 2100 H and stores the converted

 

 

data automatically.

D1

1766 H

PLC converts ASCII codes in 2101 H and stores the converted

 

 

data automatically.

D2

0000 H

PLC converts ASCII codes in 2102 H and stores the converted

 

 

data automatically.

D3

0000 H

PLC converts ASCII codes in 2103 H and stores the converted

 

 

data automatically.

D4

0136 H

PLC converts ASCII codes in 2104 H and stores the converted

 

 

data automatically.

3 - 342

Page 458
Image 458
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Ascii mode COM3 M1320 = OFF, COM1 M1139 = OFF, Modrw