17.03.2014 Views

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

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

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

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

API Mnemonic Operands Function<br />

58 PWM Pulse Width Modulation<br />

Controllers<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong><br />

SE<br />

<strong>SX2</strong><br />

Type Bit Devices Word devices Program Steps<br />

OP X Y M S K H KnX KnY KnM KnS T C D E F PWM: 7 steps<br />

S 1 * * * * * * * * * * *<br />

S 2 * * * * * * * * * * *<br />

D *<br />

PULSE 16-bit 32-bit<br />

<strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>SA2</strong><br />

<strong>SX2</strong> <strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong> <strong>SX2</strong> <strong>ES2</strong>/<strong>EX2</strong> <strong>SS2</strong><br />

SE SE SE <strong>SX2</strong><br />

Operands:<br />

S 1 : Pulse output width (ms) S 2 : Pulse output cycle (ms) D: Pulse output device (Y0, Y1, Y2,Y3)<br />

Explanations:<br />

38. S 1 is specified as pulse output width (t). S 2 is specified as pulse output cycle (T).<br />

Rule: S1 ≦ S2. (It is not applicable to <strong>DVP</strong>-SE.)<br />

Reference Table for Output Cycle and Output Width<br />

Range of<br />

pulse output<br />

width / cycle<br />

Output Y0 Y2 Y1 Y3<br />

t 0~1000 0~32767<br />

T 1~1,000 1~32,767<br />

Flag for switching unit M1112 M1113 M1070 M1071<br />

Flag for high-speed output M1116 is ON. (Unit: 1us) M1117 is ON. (Unit: 10us)<br />

39. S 1 is specified as pulse output width (t). S 2 is specified as pulse output cycle (T).<br />

Rule: S1 ≦ S2. (It is only applicable to <strong>DVP</strong>-SE.)<br />

Reference Table for Output Cycle and Output Width<br />

Range of<br />

pulse output<br />

width / cycle<br />

Output Y0 Y1 Y2 Y3<br />

t 0~1000 0~32767<br />

T 1~1000 1~32767<br />

Flag for switching unit M1112 M1070 M1113 M1071<br />

40. Pulse output devices for operand D: Y0, Y1, Y2, Y3,<br />

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

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

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<br />

output will be generated from pulse output devices. When S 1 = S 2 , the pulse output device will<br />

be ON continuously.<br />

43. S 1 , S 2 can be changed when PWM instruction is being executed.<br />

44. When M1112 = ON, the unit of Y0 output pulse is 10μs, when M1112 = OFF, the unit is 100μs.<br />

45. When M1070 = ON, the unit of Y1 output pulse is 100μs, when M1070 = OFF, the unit is 1ms.<br />

3-142

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!