Sign in to follow this  
Followers 0
E_Controls_Automation

DL06 Analog Problem

3 posts in this topic

I am working with a pretty simple rendition of a program to do some analog outputs. At least it started out simple. I have the values being written to the V memory location specified but it will not change the current value at the output. I am thinking it is an addressing issue but would like someone else with a little more experience with Direct Logix to confirm this for me. Thanks Here is the code. 0STRSP1 1MOVED K0 V2100 16MOVED K0 V2102 31MOVED K0 V2104 46MOVED K0 V2106 61STR X0 62OR X1 63OR X4 64OUT Y0 65STR X2 66OR X3 67OR X5 68OUT Y1 69STR X0 70ANDN X1 71MOVED V2200 V2100 85STR X1 86ANDN X0 87MOVED V2300 V2100 101STR X2 102ANDN X3 103MOVED V2202 V2102 117STR X3 118ANDN X2 119MOVED V2302 V2102 133STR X4 134ANDN X0 135ANDN X1 136MOVED V2400 V2104 150STR X5 151ANDN X2 152ANDN X3 153MOVED V2402 V2106 167STRSP1 168MATHBIN V2000(V2100 * K65535) / (K100 - K0) 192MATHBIN V2002(V2102 * K65535) / (K100 - K0) 216MATHBIN V2004(V2104 * K65535) / (K100 - K0) 240MATHBIN V2006(V2106 * K65535) / (K100 - K0) 264ANLGOUT K0 K1 K4 K1 V2000 300END Any help would be greatly appreciated! B

Share this post


Link to post
Share on other sites
I do not know if I can help or not but I'm having trouble opening up your text in Direct Soft. Did you go to file, export, program, to get this monic listing?

Share this post


Link to post
Share on other sites
Please specify the type of output card. Are there any jumper type setups? If so how are they set? Do the values in V2000 and up change?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0