home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
MATH
/
VISSIM.ZIP
/
SQR_WAVE.VSM
< prev
next >
Wrap
Text File
|
1994-02-28
|
2KB
|
89 lines
; VisSim Block Diagram Format (VBDF)
; Copyright (C) 1989-1994 Visual Solutions
PV=1.500
PS=0
PE=10
PP=0.025
PI=173
PX=0.025
PN=0.0001
PL=5
PT=1e-005
Pn=-6,4,10,"MS Serif"
Pc=26
Po=0.01,50,664
PD=800x600
Pf=0x0
Pr="stub"
Ps=766,0,0,500,0,0
PM=1,1,1,1
N.1="Compound"*1x0#0,1<C>
n="sqr_wave.bmp"
Ms=766,0,0,500,0,0
Mb
MB=4,5,1,1
N.2="comment"*22x1*158x17<M>
C="Square Wave Model:
Generates a square wave with a low value of zero and a high value of set by the parameter MaxVal. The time between pulses is set by the Time Between Pulses parameter and the time duration of the on pulse is set by the On Time parameter.
Limitations:
1. The square wave begins in the off (0) state
"
N.3="variable"*31x85<M>
n=":MaxVal"
N.4="variable"*31x89<M>
n=":Time Between Pulses, sec"
N.5="wireLabel"*13x79<M>
n="==== Parameters ===="
N.6="const"(3)*13x85<M>
N.7="const"(1)*13x89<M>
N.8="variable"*31x93<M>
n=":On time, sec"
N.9="const"(2)*13x93<M>
N.10="resetIntegrator"(0,0)*27x36<M>
N.11="step"(0,1)*15x36<M>
N.12="summingJunction"*61x63<M>
N.13="variable"*7x61<M>
n=":Time Between Pulses, sec"
N.14="variable"*24x65<M>
n=":On time, sec"
N.15="variable"*78x64<M>
n=":Period"
N.16="summingJunction"*45x47<MR>
N.17="variable"*61x50<MR>
n=":Period"
N.18="crossDetect"(0)*9x49<MR>
N.19="const"(0)*16x42<M>
N.20="variable"*48x33<M>
n=":Time in Period"
N.21="merge"*166x50<M>
N.22="variable"*114x43<M>
n=":Time in Period"
N.23="<="*145x44<M>
N.24="variable"*100x47<M>
n=":Time Between Pulses, sec"
N.25="const"(0)*153x53<M>
N.26="variable"*142x58<M>
n=":MaxVal"
G.1=2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,
I.1.o1=21.o1
I.3.i1=6.o1
I.4.i1=7.o1
I.8.i1=9.o1
I.10.i1=11.o1
I.10.i2=18.o1
I.10.i3=19.o1
I.12.i1=13.o1
I.12.i2=14.o1
I.15.i1=12.o1
f16.1.i=-
I.16.i1=10.o1
I.16.i2=17.o1
I.18.i1=16.o1
I.20.i1=10.o1
I.21.i1=23.o1
I.21.i2=25.o1
I.21.i3=26.o1
I.23.i1=22.o1
I.23.i2=24.o1