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

API

Mnemonic

Operands

Function

Controllers

58

PWM

 

Pulse Width Modulation

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

PWM: 7 steps

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

S1

 

 

 

 

 

*

*

*

*

 

*

 

*

 

*

 

*

*

*

*

 

 

 

 

 

 

S2

 

 

 

 

 

*

*

*

*

 

*

 

*

 

*

 

*

*

*

*

 

 

 

 

 

 

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: Pulse output width (ms)

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

Explanations:

38.S1 is specified as pulse output width (t). S2 is specified as pulse output cycle (T). Rule: S1 S2. (It is not applicable to DVP-SE.)

Reference Table for Output Cycle and Output Width

Range of

Output

Y0

 

Y2

Y1

 

Y3

 

 

 

 

 

 

 

pulse output

t

 

0~1000

 

0~32767

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.S1 is specified as pulse output width (t). S2 is specified as pulse output cycle (T). Rule: S1 S2. (It is only applicable to DVP-SE.)

Reference Table for Output Cycle and Output Width

Range of

Output

Y0

Y1

Y2

Y3

 

 

 

 

 

pulse output

t

0~1000

 

0~32767

 

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 S10, S20 or S1S2 , errors will occur (M1067 and M1068 will not be ON) and no output will be generated from pulse output devices. When S1 = S2, the pulse output device will be ON continuously.

43.S1, S2 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.

3 - 142

Page 258
Image 258
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual KnS PWM 7 steps