Delta DVP-ES2 User Manual
Page 442
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-326
API Mnemonic
Operands
Function
143
DELAY P
Delay
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
*
*
*
DELAY, DELAYP: 3
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: Delay time, unit: 0.1ms (K1~K1000)
Explanations:
When DELAY instruction executes, in every scan cycle, the execution of the program after DELAY
instruction will be delayed according to the delay time.
Program Example:
When interrupt input X0 is triggered from OFF to ON, interrupt subroutine executes DELAY
instruction first, therefore the program after DELAY instruction (X1 = ON, Y0 = ON…) will be delayed
for 2ms.
M1000
Main program
FEND
I001
X1
Y0
IRET
END
EI
REF
Y0
K8
DELAY
K20
T=2ms
Interrupt input X0
Input X1
Output Y0
Points to note:
1.
User can adjust the delay time according to the actual needs.
2.
The delay time of DELAY instruction could be increased due to the execution of
communication, high-speed counter and high-speed pulse output instructions.
3.
The delay time of DELAY instruction could be increased due to the delay of transistor or relay
when external output (transistor or relay) is specified.