3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F o r m o r e i n f o r m a t i o n v i s i t :
w w w. e a t o n . c o m
3 - 3 2 7
API Mnemonic
Operands
Function
143
DELAY P
S
Delay
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
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32
16
P
32
16
P
32
16
P
32 16 P
32
16
P
Operands:
S
: Delay time, units are 0.1ms (K1~K1000)
Description:
After executing the DELAY instruction, in every scan the program will be delayed by the time
specified in the Delay instruction. The delay will occur in each scan immediately following the
execution of the Delay instruction.
Program Example:
If an external interrupt occurs when X0 goes from OFF to ON, the interrupt subroutine will execute
the DELAY instruction and Y0=ON will be delayed by 2 seconds when X1=ON.
M1000
Main routine 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.
When executing the DELAY instruction, the delay time may increase upon the execution of
communications, high-speed counters and high-speed pulse output commands.
2.
If the external output (transistor output or relay output) is specified, the delay time may
increase due to the transistor or relay turn-on delay.
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...