9 Application Instructions API 150-199
DVP-PLC Application Manual
9-10
API Mnemonic
Operands
Function
151
PWD
Detection of Input Pulse Width
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices
Word Devices
Program Steps
Type
OP
X
Y M S K H KnX KnY KnM KnS T
C D
E
F
S
*
D
*
PWD: 5 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
S
: Source device
D
: Destination device for storing the detected result
Explanations:
1. Range
of
S
: X10 ~ X17
2. Range
of
D
: D0 ~ D999, occupying 2 consecutive devices. Can only be used once in the program.
3.
PWD instruction is for detecting the time span of output signals from X10 ~ X17; the valid frequency range is 1
~1KHz. When M1169 = On, the instruction will detect the time span of the continuous rising edge and falling
edge of the input signals (time unit: 100us). When M1169 = On, the instruction will detect the time span of 2
continuous rising edges of the input signals (time unit: 1us). It cannot designate the same X10 ~ X17 as does
DCNT and ZRN instructions.
4.
D
occupies two continuous devices. The longest detectable time is 21,474.83647 seconds, about 357.9139
minutes or 5.9652 hours.
5.
There is no limitation on the times of using this instruction. However, only one instruction can be executed at a
time.
Program Example:
When X0 = On, record the time span of X10 = On and store it in D1 and D0.
X0
PWD
X10
D0
Содержание DVP-PLC
Страница 1: ...PLC PLC...
Страница 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Страница 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Страница 250: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 38 X0 DIV D0 D10 D20 D0 D10 K4Y0 DIV...
Страница 270: ...6 Application Instructions API 00 49 DVP PLC Application Manual 6 58 RST M0 X0 RST T0 RST Y0 FMOV K0 D10 K5...
Страница 337: ...7 Application Instructions API 50 99 DVP PLC APPLICATION MANUAL 7 53 X10 STMR T10 K50 Y0 Y3 X10 Y1 Y2 5 sec 5 sec...
Страница 458: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 56 or relay itself See 2 3 for more information...
Страница 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Страница 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...