¿ªÔÆÌåÓý

Re: LTSpice Model for Photo Triac - VOM160


 

Hi Andy,
Sorry for the incomplete upload. Learning woes I guess.
Actually the one modified from the original circuit ran. I think because I didn't delete any text that was on the original schematic.

While the fresh? made one? wouldn't and has the error. So I got puzzled again what was going on. I actually did step 2 before but still it wouldn't run. I did not do step 3. So now I do both and wallah it runs!

Please would like to request one more help. How do I now permanently save the part that has already MOC3083 on it instead of? LED_TRIAC_ZCS, and what needs to be done
so I don't have to add the directive? ?.lib MOC308x.lib? everytime I use this part?

Thanks and best regards,
Eric


On Thu, Nov 22, 2018 at 1:28 AM Andy ai.egrps@... [LTspice] <LTspice@...> wrote:
?

Eric wrote:

? ? "I uploaded both circuits so you can maybe is it okay you can take a look."

What you uploaded didn't include the symbol and library files.? We like to have all uploads be complete, so that they don't depend on other files elsewhere.

So I copied over the two files (LED_TRIAC_ZCS.asy and?MOC308x.lib) that I said you needed.

When I run "Heater-circuit-MOC3083_modified.asc", it won't run because that schematic tries to load "st_standard_snubberless_triacs_LTspice.lib" which isn't there either.? I don't think it's needed in that schematic, is it?? So then I copied that file over too, anyway.? Now when I run it, it runs without any errors.? Is this the one you said had an "Unknown subcircuit" error?

When I run "Heater-circuit-MOC3083-fresh drawn.asc" (after having added the symbol and library files), I get the error about "Unknown subcircuit".? The reason is because you forgot to do steps (2) and (3) that I described earlier.? The text immediately under the symbol needs to be changed to "MOC3083", and there must be the line to include the library file that has its subcircuit definition:

? ? .lib MOC308x.lib

Fix those two, then it should work.

Regards,
Andy


Join [email protected] to automatically receive all group messages.