Sign in to follow this  
Followers 0
Cailong Bao

SLC 500 analog output voltage setup

2 posts in this topic

Hi, everyone.  I hope your experts can help me on this.  I have a SLC 500 with 5/03, 1746-IB16 and 1746-NO4V.

I like to use a switch to input in 1746-IB16 channel 1.  Once that switch is on, I want 1746-NO4V channel 1 outputs

a voltage say 2.5 V.  I can modify the OUTPUT File to output that voltage, but not safe for running the program.

Is it possible to use a digital input to generate a voltage output from an analog output module?  If that is possible,

what kind of function I have to use in the program?  Thanks a lot.

Share this post


Link to post
Share on other sites

Yes it is possible.

If your digital input is true then move a value of 8191 to the output word of your analog output card. This gives you 2.5 volts

Use a "XIC" instruction (address is your digital input) and a  "MOV" instruction for this. When digital input is on (true).

https://www.courses.psu.edu/e_met/e_met430_jar14/instr/xic.html

Use a "XIO" instruction  (address is your digital input) and a "MOV" instruction to move a value of zero (0) to the output word when the 

digital input is off (false). This gives you 0 volts.

https://www.courses.psu.edu/e_met/e_met430_jar14/instr/xio.html

 

Edited by Mickey

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