beautypg.com

Delta DVP-ES2 User Manual

Page 258

background image

D V P - E S 2 / E X 2 / S S 2 / S A2 / S X 2 / S E O p e r a t i o n M a n u a l - P r o g r a m m i n g

3 - 1 4 2

API Mnemonic

Operands

Function

58

PWM

Pulse Width Modulation

Controllers

ES2/EX2 SS2 SA2

SE

SX2

Bit Devices

Word devices

Program Steps

Type

OP

X Y M S K H

KnX

KnY KnM KnS T C D E F

S

1

*

* *

*

*

*

*

*

*

*

*

S

2

*

* *

*

*

*

*

*

*

*

*

D

*

PWM: 7 steps

PULSE 16-bit 32-bit

ES2/EX2 SS2

SA2

SE

SX2 ES2/EX2 SS2

SA2

SE

SX2 ES2/EX2 SS2

SA2

SE

SX2

Operands:

S

1

: Pulse output width (ms) S

2

: Pulse output cycle (ms) D: Pulse output device (Y0, Y1, Y2,Y3)

Explanations:

38. S

1

is specified as pulse output width (t). S

2

is specified as pulse output cycle (T).

Rule: S1S2. (It is not applicable to DVP-SE.)

Reference Table for Output Cycle and Output Width

Output Y0 Y2 Y1

Y3

t 0~1000 0~32767

Range of

pulse output

width / cycle

T 1~1,000 1~32,767

Flag for switching unit

M1112 M1113 M1070

M1071

Flag for high-speed output

M1116 is ON. (Unit: 1us)

M1117 is ON. (Unit: 10us)

39. S

1

is specified as pulse output width (t). S

2

is specified as pulse output cycle (T).

Rule: S1S2. (It is only applicable to DVP-SE.)

Reference Table for Output Cycle and Output Width

Output Y0

Y1

Y2

Y3

t 0~1000

0~32767

Range of

pulse output

width / cycle

T 1~1000

1~32767

Flag for switching unit

M1112 M1070 M1113 M1071

40. Pulse output devices for operand D: Y0, Y1, Y2, Y3,

41. When several pulse output instructions (PLSY, PWM, PLSR) use Y1 or Y3 as the output

device in the same scan cycle, PLC will perform the instruction which is executed first.

42. When

S

1

≦0, S

2

≦0 or S

1

S

2

, errors will occur (M1067 and M1068 will not be ON) and no

output will be generated from pulse output devices.

When S

1

= S

2

, the pulse output device will

be ON continuously.

43. S

1

, S

2

can be changed when PWM instruction is being executed.

44. When M1112 = ON, the unit of Y0 output pulse is 10

μs, when M1112 = OFF, the unit is 100μs.

45. When M1070 = ON, the unit of Y1 output pulse is 100

μs, when M1070 = OFF, the unit is 1ms.

This manual is related to the following products: