Delta AS Series Programming Manual page 462

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Example 1
1.
The instruction multiplies the time for which the button switch X0.0 has been turned ON by n, and stores the
product in D0. You can use the button switch (ON) to record the time.
2.
When X0.0 is switched OFF, the value in D0 is unchanged.
X0.0
D0
T
The time for whic h
the button switc h is
turned on.
(Unit: Second)
Additional remarks
1.
If D+1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is
16#2003.
2.
If the value in n is not between 0–2, the instruction is not executed, SM0 is ON, and the error code in SR0 is
16#200B.
3.
If you declare the operand D in ISPSoft, the data type is ARRAY [2] of WORD/INT.
D0
T
The time for whic h
the button switc h is
turned on.
(Unit: Second)
Ch ap te r 6 Ap pl ie d Instruc ti ons
6_
6 - 1 8 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents