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

API

Mnemonic

Operands

Function

Controllers

198

D VSPO

Variable speed pulse output

ES2/EX2

SS2

SA2 SX2

 

 

SE

 

Type

Bit Devices

 

 

 

Word devices

 

 

 

 

 

 

 

Program Steps

 

 

 

OP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

Y

M

S

K

H

KnX

KnY

KnM

KnS

T

C

D

E

F

 

DVSPO: 17 steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

 

 

 

S2

 

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

 

 

 

S3

 

 

 

 

*

*

 

 

 

 

 

 

 

 

 

 

*

 

 

 

 

 

 

 

 

 

 

 

 

D

 

*

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PULSE

 

 

 

 

16-bit

 

 

 

 

 

32-bit

 

 

 

 

 

 

 

 

 

 

 

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

ES2/EX2

SS2

SA2

SX2

 

 

 

 

 

 

 

 

 

SE

SE

 

SE

 

Operands:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1: Target frequency of output

S2: Target number of pulses

 

 

S3: Gap time and gap

 

 

 

frequency

 

D: Pulse output device (Y0, Y2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Explanations:

1.Max frequency for S1: 100kHz. Target frequency can be modified during the execution of instruction. When S1 is modified, VSPO will ramp up/down to the target frequency according to the ramp-up gap time and gap frequency set in S3.

2.S2 target number of pulses is valid only when the instruction is executed first time. S2 can NOT be modified during the execution of instruction. S2 can be a negative value, however, if the output direction is not specified in D1220/D1221, PLC will take this value as a positive value. When target number of pulses are specified with 0, PLC will perform continuous output.

3.S3 occupies 2 consecutive 16-bit devices. S3+0 stores the gap frequency S3+1 stores the gap time. Parameter setting can be modified during the execution of instruction. Set range for S3+0: 1Hz ~ 32767Hz; set range for S3+0: 1ms ~ 80ms. If set value exceeds the available range, PLC will take the upper or lower bound value.

4.D pulse output device supports only Y0 and Y2. If Y1 and Y3 is required for output direction control, D1220 or D1221 has tobe set as K1(Pulse/Dir).

5.Parameters set in S3 can only be modified while modifying the value in S1. When target frequency is set as 0, PLC will ramp down to stop according to parameters set in S3. When the output is stopped, PLC will enable the flags indicating pause status (Y0: M1538, Y2: M1540). If target frequency other than 0 is specified again, pulse output will ramp up to target frequency and operates untill target number of pulses are completed.

3 - 446

Page 562
Image 562
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Api, Vspo