STRE SGLB Misc/Class Reference CLAS 350862 ESBR SORD 2 LVAL 0 rl (rate limit) LVAL 0 r (current rate) LVAL 0 y (current output) LVAL 0 x (input) LVAL 0 c (acceleration) ESBR SORD 3 PVAL 0.00061037 /o,-3276.7,3276.7,.1,5;S time (0.1 to 5 secs) PVAL 0.0061037 /o,-3276.7,3276.7,1,400;Ramp time (1 to 400 secs) LITO 1 enable ESBR SGLB Output/#1 y out LCON /*+;Output ESBR SGLB Output/#2 r out LCON /*+;Rate output ESBR ESTR STRE SGLB Misc/Superclass Reference CLAS 354008 ESBR SGLB General/Initialize CMNT Expects: É ¥ inst/É LCAL rates É ¥ inst/É PRIM Timer/Get PAT É ¥ PAT/inst/É PRIM Stack/Swap É ¥ inst/PAT/É GSYM SignalP/Trigger É ¥ method/inst/PAT/É CLAS 350862 delegate to self ESBR SGLB SignalP/Input /3v7,-100,100,-100,100;Input (%) CMNT Expects: É ¥ inst/arg/É LITO 4 LITO 2 CALL 354087 ESBR SGLB SignalP/Ramp Time /3v21,-3276.7,3276.7,1,400;Ramp Time (1 to 400 secs) CMNT Expects: É ¥ inst/t/É PRIM Stack/Swap É ¥ t/inst/É LITO 2 É ¥ 2/t/inst/É LITO 3 É ¥ 3/2/t/inst/É PRIM S_tree/Replace É ¥ inst/É LCAL rates É ¥ inst/É PRIM Heap/Store self ESBR SGLB SignalP/S Time /3v22,-3276.7,3276.7,.1,5;S Time (0.1 to 5 secs) CMNT Expects: É ¥ inst/s/É PRIM Stack/Swap É ¥ s/inst/É LITO 1 É ¥ 1/s/inst/É LITO 3 É ¥ 3/1/s/inst/É PRIM S_tree/Replace É ¥ inst/É LCAL rates É ¥ inst/É PRIM Heap/Store self ESBR SGLB SignalP/Enable /3t23,reset,enable;Enable S Ramp? CMNT Expects: É ¥ inst/arg/É PRIM Stack/Over É ¥ arg/inst/arg/É LITO 3 É ¥ 3/arg/inst/arg/É LITO 3 É ¥ 3/3/arg/inst/arg/É PRIM S_tree/Replace É ¥ inst/arg/É PRIM Stack/Swap É ¥ arg/inst/É BRFL branch if ramp disabled LVAL 0 É ¥ 0/inst/É LITO 3 É ¥ 3/0/inst/É LITO 2 É ¥ 2/3/0/inst/É LVAL 0 É ¥ 0/inst/É LITO 2 É ¥ 2/0/inst/É LITO 2 É ¥ 2/2/0/inst/É PRIM S_tree/Replace É ¥ inst/É LCAL send0 BRTR PRIM Heap/Store self ESBR SGLB SignalP/Trigger For internal class use only! CMNT Expects: É ¥ inst/time/É CMNT -------- Requeues the trigger PRIM Stack/Swap É ¥ time_ref/inst/É TIME 100.000 É ¥ Æt/time_ref/inst/É GSYM SignalP/Trigger É ¥ method/Æt/time_ref/inst/É CALL 354057 É ¥ inst/É CMNT -------- Checks that the ramp is enabled LITO 3 É ¥ 3/inst/É LITO 3 É ¥ 3/3/inst/É PRIM S_tree/Read É ¥ enable/inst/É BRFL branch if ramp disabled LCAL send0 BRTR CMNT -------- Gets the data items LITO 0 É ¥ 0/inst/É LITO 2 É ¥ 2/0/inst/É PRIM S_tree/Read É ¥ list/inst/É PRIM List/Remove É ¥ list'/rl/inst/É PRIM List/Remove É ¥ list''/r/rl/inst/É PRIM List/Remove É ¥ list'''/y/r/rl/inst/É PRIM List/Remove É ¥ list''''/x/y/r/rl/inst/É PRIM List/List to item É ¥ c/x/y/r/rl/inst/É PRIM Stack/Pop to aux É/c ¥ x/y/r/rl/inst/É CMNT --------- computes the sign and magnitude of the error PRIM Stack/Over É/c ¥ y/x/y/r/rl/inst/É PRIM Value/Subtract É/c ¥ x-y/y/r/rl/inst/É PRIM Stack/Duplicate É/c ¥ x-y/x-y/y/r/rl/inst/É LVAL 0 É/c ¥ 0/x-y/x-y/y/r/rl/inst/É PRIM Value/Divide É/c ¥ s/x-y/y/r/rl/inst/É PRIM Stack/Swap É/c ¥ x-y/s/y/r/rl/inst/É PRIM Value/Absolute É/c ¥ e/s/y/r/rl/inst/É CMNT -------- Computes the target rate PRIM Stack/Dup from aux É/c ¥ c/e/s/y/r/rl/inst/É ASIO Analog/CALC_RATE É/c ¥ rt'/s/y/r/rl/inst/É PRIM Value/Multiply É/c ¥ rt/y/r/rl/inst/É CMNT -------- Limits the acceleration PRIM Stack/Xswap É/c ¥ rt/r/y/rl/inst/É PRIM Stack/Over É/c ¥ r/rt/r/y/rl/inst/É PRIM Value/Subtract É/c ¥ Ær/r/y/rl/inst/É PRIM Stack/Push from aux É ¥ c/Ær/r/y/rl/inst/É CALL 354066 É ¥ Ær'/r/y/rl/inst/É PRIM Value/Add É ¥ r'/y/rl/inst/É CMNT -------- Limits the rate PRIM Stack/Rotate down É ¥ rl/r'/y/inst/É PRIM Stack/Dup to aux É/rl ¥ rl/r'/y/inst/É CALL 354066 É/rl ¥ rate/y/inst/É CMNT -------- Computes the output, stores it and sends it PRIM Stack/Dup to aux É/rl/rate ¥ rate/y/inst/É PRIM Value/Add É/rl/rate ¥ out/inst/É PRIM Stack/Dup to aux É/rl/rate/out ¥ out/inst/É LITO 3 É/rl/rate/out ¥ 3/out/inst/É LITO 2 É/rl/rate/out ¥ 2/3/out/inst/É PRIM S_tree/Replace É/rl/rate/out ¥ inst/É PRIM Stack/Push from aux É/rl/rate ¥ out/inst/É GSYM Output/#1 É/rl/rate ¥ #1/out/inst/É CALL 354024 É/rl/rate ¥ inst/É CMNT -------- Stores the rate and sends it PRIM Stack/Dup from aux É/rl/rate ¥ rate/inst/É LITO 2 É/rl/rate ¥ 2/rate/inst/É LITO 2 É/rl/rate ¥ 2/2/rate/inst/É PRIM S_tree/Replace É/rl/rate ¥ inst/É PRIM Stack/Push from aux É/rl ¥ rate/inst/É PRIM Stack/Push from aux É ¥ rl/rate/inst/É PRIM Value/Divide É ¥ rn/inst/É GSYM Output/#2 É ¥ #2/rn/inst/É CALL 354024 É ¥ inst/É PRIM Heap/Store self ESBR SGLB SignalP/Get Input /2v6,-100,100;%3.1f%% LITO 4 LITO 2 CALL 354086 ESBR SGLB SignalP/Get Ramp Time /2v24,-3276.7,3276.7;%3.1f seconds LITO 2 LITO 3 CALL 354086 ESBR SGLB SignalP/Get S Time /2v24,-3276.7,3276.7;%1.1f seconds LITO 1 LITO 3 CALL 354086 ESBR SGLB SignalP/Get Rate /2v6,-100,100;%3.1f%% LITO 2 LITO 2 CALL 354086 ESBR SGLB SignalP/Get Output /2v6,-100,100;%3.1f%% LITO 3 LITO 2 CALL 354086 ESBR SGLB SignalP/Get Enable /2t25,reset,enabled; LITO 3 LITO 3 CALL 354086 ESBR ESTR LDEF rates CMNT computes rl from t (ramp time) and s (s time) CMNT Input: É ¥ inst/É CMNT Output: É ¥ inst/É LITO 0 É ¥ 0/inst/É LITO 3 É ¥ 3/0/inst/É PRIM S_tree/Read É ¥ list/inst/É PRIM List/Remove É ¥ list'/s/inst/É PRIM List/Remove É ¥ list''/t/s/inst/É PRIM Stack/Drop É ¥ t/s/inst/É PRIM Stack/Duplicate É ¥ t/t/s/inst/É PRIM Stack/Rotate down É ¥ s/t/t/inst/É PRIM Value/Clamp high É ¥ s'/t/inst/É PRIM Stack/Dup down É ¥ s'/t/s'/inst/É PRIM Value/Subtract É ¥ t-s'/s'/inst/É LVAL 3.05185e-05 É ¥ p/t-s'/s'/inst/É PRIM Value/Fraction É ¥ rl/s'/inst/É PRIM Stack/Dup to aux É/rl ¥ rl/s'/inst/É LVAL 3.05185e-05 É/rl ¥ p/rl/s'/inst/É PRIM Stack/Rotate down É/rl ¥ s'/p/rl/inst/É PRIM Value/Scale É/rl ¥ c/inst/É LVAL 3.05185e-05 É/rl ¥ clamp/c/inst/É PRIM Stack/Swap É/rl ¥ c/clamp/inst/É PRIM Value/Clamp low É/rl ¥ c'/inst/É LITO 5 É/rl ¥ 5/c'/inst/É LITO 2 É/rl ¥ 2/5/c'/inst/É PRIM S_tree/Replace É/rl ¥ inst/É PRIM Stack/Push from aux É ¥ rl/inst/É LITO 1 É ¥ 1/rl/inst/É LITO 2 É ¥ 2/1/rl/inst/É PRIM S_tree/Replace É ¥ inst/É EDEF LDEF send0 CMNT sends 0 for output and rate CMNT Input: É ¥ inst/É CMNT Output: É ¥ É LVAL 0 É ¥ 0/inst/É GSYM Output/#1 É ¥ #1/0/inst/É CALL 354024 É ¥ inst/É LVAL 0 É ¥ 0/inst/É GSYM Output/#2 É ¥ #2/0/inst/É CALL 354024 É ¥ inst/É PRIM Heap/Store self EDEF