EasyManua.ls Logo

FATEK FBs-CB2 - RAMP FUNCTION FOR D;A OUTPUT (FUN 95 RAMP)

FATEK FBs-CB2
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Advanced Function Instruction
7-81
FUN 95
RAMP
RAMP FUNCTION FOR D/A OUTPUT
FUN 95
RAMP
Tn : Timer for ramp function
PV : Preset value of ramp timer (the unit is 0.01 second)
or the increment value of every 0.01 second
S
L
: Lower limit value
(ramp floor value).
S
U
: Upper limit value
(ramp ceiling value).
D : Register storing current ramping value.
D+1 : Working register
S
U
, S
L
could be positive or negative value when incorporate
with AO module application.
WX WY WM WS TMR CTR HR IR OR SR ROR DR K
Range
Ope-
rand
WX0
WX240
WY0
WY240
WM0
WM1896
WS0
WS984
T0
T255
C0
C255
R0
R3839
R3840
R3903
R3904
R3967
R3968
R4167
R5000
R8071
D0
D4095
16-bit
+/- number
Tn
PV
S
L
S
U
D *
Description
z Tn must be a 0.01 sec time base timer and never used in other part of program.
z PV is the preset value of ramp timer. Its unit is 10ms (0.01 second).
z When input control “EN” changes from 01, it first reset the timer Tn to 0.
When “U/D”=1 it will load the value of SL to register D. And when M1974 = 0 it will be increased by S
U
S
L
/
PV every 0.01 sec or when M1974 = 1 it will increase by PV every 0.01 sec. When the D value reaches the
S
U
value the output “ASU” =1.
When “U/D”=0 it will load the value of S
U
to register D. When M1974 = 0 it will be decreased by S
U
S
L
/ PV
every 0.01 sec or when M1974 = 1 it will be decreased by PV every 0.01 sec. When the D value reaches the
S
L
value the output “ASL” =1.
z The ramping direction(U/D) is determined at the time when input control “EN” changes from 01. After the
output D start to ramp, the change of U/D is no effect.
z If it is required to pause the ramping action, it must let the input control “PAU” = 1; when “PAU”=0, and the
ramping action is not completed, it will continue to complete the ramping action.
z The value of S
U
must be larger than S
L
, otherwise the ramp function will not be performed, and the output
“ERR” will set to 1.
z This instruction use the register D to store the output ramping value; if the application use the D/A module to
send the speed command, then speed command can be derived from the RAMP function to get a more
smooth movement.
z In addition to use register D to store the ramping value, this instruction also used the register D+1 to act as
internal working register; therefore the other part of program can not use the register D+1.

Other manuals for FATEK FBs-CB2

Related product manuals