AH500 Programming Manual API 1903 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.
6-434 Instruction code Operand Function TIMCHK S , S , D 1 2 Checking time Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S 1 S 2 D Pulse instruction 16-bit instruction (7 steps) 32-bit instruction ─ AH500 ─ Pulse instruction 16-bit instruction (7 steps) 32-bit instruction ─ AH500 ─