
adccommunitymod (AutomationDirect) asked a question.
Created Date: May 30,2014
Created By: lonewolf
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I have model F4-16DA-1 analog output module. The hardware and program were inherited by me. We are needing to add 2 outputs to an OEM's Opto22 input module so he can monitor flow and pressure. I am LD the v-memory of the input for pressure to the OUT v-memory of the Ch 0. My actual output is all over the place, although the Ch O output in directsoft looks correct. I set LD to K4095, now I get output of 19.98 mA, but the goes to about 12 mA then back to 19.98, back and forth, back and forth. Set LD to 0, now goes to 0 then back to about 12 mA. If I set LD for 2048, then output holds pretty steady, about 12-12.5 mA. All other channels were being used already, channel 0 and 10 were unused, but both channels do the same thing, whether output is wired or not. All other outputs work correctly. It looks like some stuff has been remapped in the past in prog, but don't see anything else writing to the output channels. And directly loading 4095 to it should overwrite anyone else, or am I missing something? Thanks in advance
Created Date: May 30,2014
Created by: Bob S BN
Do a search (FIND) for the VMEM addresses you are hoping to use, to see if something else in the program is also writing to those addresses.
EDIT: sorry, I see at the end of your post you 're tried this. Is there any HMI of other device that could be overwriting those addresses?
EDIT 2: I just looked at the manual here...
http://www.automationdirect.com/static/manuals/d4anlg/ch16.pdf
Looks like there is a lot of special addressing that may be required to activate these additional channels.
Created Date: May 30,2014
Created by: lonewolf
I am not sure what you mean by activating,
they already had the ch done LD next channel, reset bit routine already set up in program for all 16 channels, much like example 1 in the manual, except the programmer didn't combine ch 0 & 10, 1 & 11 etc like in the manual, each has its own. When the 6 bits are off, ch 0 & 10 should update it appears.
I will check the HMI, we have 2 pc's running front end (Wonderware2000)
good idea!
Created Date: May 30,2014
Created by: bcarlton
Your 'K4095 ' implies that you think this is a BCD output, but it is binary. 4095 = FFF hex.
If you need to see the value in decimal terms then use a BIN command before sending it to the output.
Notice the use of the BIN command followed by AND KFFF in the examples.
Created Date: May 30,2014
Created by: lonewolf
I have model F4-16DA-1 analog output module. The hardware and program were inherited by me. We are needing to add 2 outputs to an OEM's Opto22 input module so he can monitor flow and pressure. I am LD the v-memory of the input for pressure to the OUT v-memory of the Ch 0. My actual output is all over the place, although the Ch O output in directsoft looks correct. I set LD to K4095, now I get output of 19.98 mA, but the goes to about 12 mA then back to 19.98, back and forth, back and forth. Set LD to 0, now goes to 0 then back to about 12 mA. If I set LD for 2048, then output holds pretty steady, about 12-12.5 mA. All other channels were being used already, channel 0 and 10 were unused, but both channels do the same thing, whether output is wired or not. All other outputs work correctly. It looks like some stuff has been remapped in the past in prog, but don't see anything else writing to the output channels. And directly loading 4095 to it should overwrite anyone else, or am I missing something? Thanks in advance