AH500 Programming Manual 
6-430 
API 
Instruction code  Operand 
Function 
1901    DELAY  P 
S 
Delaying the execution of the 
program 
Device
X  Y  M  S  T  C  HC  D  L  SM  SR  E  PR  K  16#  “$”  DF 
Pulse instruction  16-bit instruction (3 steps)
32-bit instruction
AH500  AH500 
 
Symbol: 
S
:
Delay  Word 
Explanation: 
After the instruction DELAY is executed, the execution of the program following the DELAY is 
delayed for a period of time specified by users. 
The unit of S is 0.1 milliseconds. 
Example:   
When X0.0 is ON, the instruction DELAY is executed. The execution of the program following 
DELAY is delayed for two milliseconds. That is, Y0.0 is ON and the states of Y0.0~Y0.15 are 
refreshed two milliseconds after the instruction DELAY is executed. 
 
Output Y0.0
T=2ms
Input X0.0
 
Additional remark:   
1.  If S I less than 0, there is no delay. 
2.  If S is larger than 1000, the instruction is not executed, SM0 is ON, and the error code in SR0 
is 16#2003. 
3.  Users can adjust the delay according to the practical condition. 
4.  The delay will increase due to the communication or other influences.