Delta AS Series Programming Manual page 466

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0703
D
RAMP
Device
X
Y
M
S
1
S
2
D
n
Data
type
S
1
S
2
D
n
Symbol
Explanation
1.
This instruction gets the linear slope, which has an absolute relationship with the scan time. Therefore it is
suggested that you set a fixed scan time or write this instruction in a timer interrupt task.
2.
You write the initial value and final value of the ramp signal into S
ON, D increases from the setting value in S
When the value in D is equal to that in S
then SM687 is ON.
3.
When the conditional contact is not enabled, the value in D, and D+1 are both 0, and SM687 is OFF.
4.
When using on-line editing, Reset the conditional contact to initialize the instruction.
5.
Refer to the ISPSoft User Manual for more information on setting a fixed scan time.
6.
The value of n must be between 1–32767. When n is out of range, this instruction is not executed.
Operand
S
, S
, D, n
1
2
S
T
C
HC
Pulse instruction
: Initial value of the ramp signal
S
1
: Final value of the ramp signal
S
2
D : Duration of the ramp signal
n : Number of scan cycles
to the setting value in S
1
, or when the value in D+1 is equal to n (to the number of scan cycles),
2
Ch ap te r 6 Ap pl ie d Instruc ti ons
Cyclic ramp signal
D
FR
SM
SR
16-Bit instruction
AS
and S
respectively in advance. When X0.0 is
1
2
. The number of scan cycles is stored in D+1.
2
Function
E
K
16#
"$"
32-Bit instruction
AS
6 - 1 8 7
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents