Chapter 6 Applied Instructions 
6-433 
API    Instruction code  Operand 
Function 
1903    TIMCHK   
S
1
, S
2
, D 
Checking time 
Device
X  Y  M  S  T  C  HC  D  L  SM  SR  E  PR  K  16#  “$”  DF 
16-bit instruction (7 steps) 
Symbol: 
 
S
1
 
:
Time which passes  Word 
S
2
 
:
Setting value  Word 
D 
:
Output device  Bit 
Explanation:   
1.  When the conditional contact is ON, S
1
 starts to count. D is not ON until the value in S
1
 is larger 
than or equal to the value in S
2
. Even if the conditional contact is switched OFF later, the value 
in S
1
 is unchanged, and D is still ON. 
2.  If the conditional contact is switched from OFF to ON, S is cleared to 0, and D is OFF. 
3.  S
1
 takes 100 milliseconds as the timing unit. 
4.  S
1
+1 and S
1
+2 are parameters for system use. Please do not occupy them. 
5.  When the on-line editing is used, please reset the conditional contact to initialize the 
instruction. 
Example:   
When M0 is ON, D0 starts to count. Y0.0 is not ON until the value in D0 is larger than or equal to 50 
(5 seconds). Even if the conditional contact is switched OFF later, the value in D0 is unchanged, and 
Y0.0 is still ON. 
 
Additional remark:   
1.  If S exceeds the device range, the instruction is not executed, SM0 is ON, and the error code 
in SR0 is 16#2003. 
2.  If users declare the operand S
1
 in ISPSoft, the data type will be ARRAY [3] of WORD/INT.