Version 4 SHEET 1 1488 1320 WIRE 32 128 -80 128 WIRE -80 128 -80 192 WIRE -80 272 -80 320 WIRE 96 128 160 128 WIRE 160 128 160 192 WIRE 160 272 160 320 FLAG -80 320 0 FLAG 160 320 0 SYMBOL diode 32 144 R270 WINDOW 0 32 32 VTop 0 WINDOW 3 0 32 VBottom 0 SYMATTR InstName D1 SYMATTR Value DN5711 SYMATTR Prefix X SYMBOL voltage -80 176 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V1 SYMATTR Value SINE(0 5 1MEG) SYMBOL res 144 176 R0 SYMATTR InstName R1 SYMATTR Value 1k TEXT -80 40 Left 0 !.tran 10u TEXT -544 8 Left 0 !****************************************\n* (c)1999 Thomatronik GmbH *\n* info@thomatronik.de *\n* *\n* Author: Arpad Buermen *\n* Arpad.Burmen@ieee.org *\n****************************************\n*Pin order A K\n.SUBCKT DN5711 1 2\n.MODEL SD D (\n+ N=1.68359\n+ IS=1.50122E-007\n+ RS=31.3769\n+ EG=0.69\n+ XTI=2\n+ CJO=2E-012\n+ VJ=0.393705\n+ M=0.196045\n+ FC=0.5\n+ TT=1.4427E-009\n+ BV=70\n+ IBV=0.001\n+ KF=0\n+ AF=1)\n.MODEL PND D (\n+ N=1.14222\n+ IS=1.16495E-014\n+ RS=1.06783\n+ EG=1.11\n+ XTI=3)\nD1 1 2 SD\nD2 1 2 PND\n.ENDS TEXT 280 -16 Left 0 ;USING A SUBCIRCUIT DIODE\n \nAdd a diode to the schematic.\nMove the cursor over the placed diode.\n Press -(right mouse button) \n Change Prefix D to X\n OK\n \nNow this diode expects a .SUBCKT ... definition, because of the X.\n \nChange the value D of the diode name to DN5711.\n \nPlace the subcircuit text in the schematic or load it from a file.\nIn the ladder case add a .include filename to the schematic.\n \n \nSave the subcircuit definition text optionally as a file dn5711.txt, \nif you prefer to use a file for the model text. \n.include dn5711.txt TEXT -80 -8 Left 0 ;.include dn5711.txt