3. Instruction Set

In STOP instruction: operand n is reserved.

d)When Forward JOG is selected in FWR instruction, set value in S2 is invalid. If users need to modify the JOG frequency, please refer to manuals of specific VFDs.

Program Example: COM2 (RS-485)

Communication between PLC and VFD-B series inverter (ASCII Mode, M1143 = OFF), Retry when communication time-out occurs.

M1002

MOV

SET

MOV

X0

H86

D1120

Set up communication protocol as

9600, 7, E, 1

 

 

M1120

Retain communication protocol

K100

D1129

Set up communication time-out: 100ms

M1129

SET M1122 Sending request

Retry when communication time-out occurs

X0

 

 

 

Communication instruction setting:

 

 

 

 

FWD

K1

K500

K0

Device address: 1

 

 

 

 

Receiving completed

 

 

 

Frequency: 500Hz

 

 

 

K0:normal forward

M1127

 

 

 

 

 

 

 

 

Processing received data

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RST

M1127

Reset M1127

 

 

 

 

 

 

PLC

VFD, PLC sends: “:01 10 2000 0002 04 0012 01F4 C2

VFD

PLC, PLC sends: “:01 10 2000 0002 CD

Data to be sent (sending messages)

 

 

 

 

 

 

 

 

 

Data

 

Descriptions

 

‘0’

 

30 H

ADR 1

Address of AC motor drive: ADR

 

‘1’

 

31 H

ADR 0

(1,0)

 

 

 

 

 

 

 

‘1’

 

31 H

CMD 1

Command code: CMD (1,0)

 

 

 

 

 

 

‘0’

 

30 H

CMD 0

 

 

 

 

 

 

 

 

 

 

‘2’

 

32 H

 

 

 

 

 

 

 

 

 

‘0’

 

30 H

Data Address

 

 

 

 

 

 

 

‘0’

 

30 H

 

 

 

 

 

 

 

 

 

 

 

 

‘0’

 

30 H

 

 

 

 

 

 

 

 

 

‘0’

 

30 H

 

 

 

 

 

 

 

 

 

‘0’

 

30 H

Data content

 

 

 

 

 

 

 

‘0’

 

30 H

 

 

 

 

 

 

 

 

 

 

 

 

‘2’

 

32 H

 

 

 

 

 

 

 

 

3 - 2 8 1

Page 397
Image 397
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Plc, VFD, PLC sends 01 10 2000 0002 04 0012 01F4 C2, Data Descriptions