sweisbrook Posted February 29, 2016 Report Posted February 29, 2016 Need help debugging a Visilogic project. PLC is a V700 I'm trying to put in bar graphs, and the screen keeps putting black bars up on the right side of the graphs. I've tried deleting and remaking them, but the black bars keep reappearing on different lines- they're not linked to any one input. Pictures are shown in the link below. Any ideas on why this might be happening? http://imgur.com/a/icroz Thanks, -seth
cantcliff Posted March 1, 2016 Report Posted March 1, 2016 Is there an input value that each bar links to? Have you initialized that value on startup? I haven't messed with the bar graphs display yet, but to me the output looks correct. Partial graphs based on the values input.
sweisbrook Posted March 14, 2016 Author Report Posted March 14, 2016 Yeah, each bar is linked to a CO2 sensor, linearized from a 4-20 mA signal. when the CO2 gets high enough, the bars should show red, but on rooms 4, 6, and 7 they stop midway through the yellow. I'm curious if there's a maximum number of blinking/changing lights the screen allows.
MVP 2023 Ausman Posted March 14, 2016 MVP 2023 Report Posted March 14, 2016 Hi Sweis, I haven't used graphs, but I can see a few things in your pics. 0). Are you sure there are no "overlaps" on the screen that might be affecting adjacent areas? 1). There appears to be no relationship in both pics to your ppm. The top one shows things at mostly 1248, yet the graphs look like they are trying to be in the red. The lower pic you have much higher ppm and it looks like this is your high target point, yet everything is in the red. What are you trying to display? 1248 as red or 9999? Should all the 1248s just be yellow? Or is the displayed ppm number a varied setpoint input into the Linz function depending on whether the gassing is on or off? 2). Why have you got a minus sign in front of ppm in the read? Just a simple description error? Or perhaps it might be related to the issue. This raises the question that someone else can answer as I don't know: Does this graph function only work correctly on + numbers? 3). Although others on the forum have said they have never had issues, I have sometimes encountered problems doing copy and paste, and then just changing relevant numbers. The system has seemed to keep some internal reference to pasted code, even though everything obvious has been changed, and things have gone severely haywire. Although it will likely be a bit tedious, perhaps try writing that screen code as separate starting points, without any pasting, and see how it goes. 4). I'd also do your code write as a progressive thing. Do each graph completely but one at a time, save accordingly, test things at that point, then if ok do the next one. Perhaps this might show up something. 5). Have you monitored all the raw 4-20 inputs during running? Are they correct? ps did you like my PLC numbering system for the points? ho ho. cheers, Aus
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now