TheDave2 Posted August 30, 2011 Report Share Posted August 30, 2011 I have found that when using this module, I must check that the number I send to a channel be limited to 0-4095. If I send a number > 4095, the next higher channel output voltage is influenced. For example, channel #2 has #2048 sent to it so it puts out 5.0vdc. Then, by accident, I send a number, such as (I don't remember the exact #) 9000 to channel #1. Well, channel #2 now read 5.5volts, not 5.0vdc as it should. I do not remember what channel #1 outputted. This is not good. This should not be. I am guessing that the hardware that converts a 16 bit register to a voltage is not clearing the high order bits before conversion. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted August 30, 2011 MVP 2022 Report Share Posted August 30, 2011 I've observed similar behavior - analog outputs go to zero if the value is 4096 or more. I've worked around it by using a compare block and forcing the output to 4095 in the last rung of the program. No, it's not good and I don't know where it comes from but it at least needs to be documented in the spec sheet. Cara? Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2014 Simon Posted August 31, 2011 MVP 2014 Report Share Posted August 31, 2011 I recall something like a modulus behaviour. So if I give the output 4095 or 8191 it will show the same value. Memory is vague... Ditto to the above comments. IMHO some internal self checking and limiting is preferable to documenting the current behaviour. Out of range values should set the output to a known state (full scale or zero) and possibly also set an error SB. Even one "out of range" SB for all analogue outs is better than nothing. We should definitely not have values applied to one output affecting another. Quote Link to comment Share on other sites More sharing options...
Cara Bereck Levy Posted August 31, 2011 Report Share Posted August 31, 2011 Hi guys:) I'm having this looked into--thanks for reporting it! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.