rickplc Posted November 7, 2006 Report Posted November 7, 2006 Is there a way to read the accumulated value and write (or change) the accumulated value of a counter? I am using an A2 PLC with the GX version 8 software. Quote
Crossbow Posted November 7, 2006 Report Posted November 7, 2006 Reference the counter address in a word command, such as MOV. You will get the accumulated value. You can use math and INC/DEC to modify a counter but beware the way it changes the operation of the completion contact. If the output coil for the counter is not the device which makes it count the final step to its preset, then the completion will not turn on. When modifying the value with external commands, you can exceed preset as well. So I would recommend against it. But it is possible. Quote
rickplc Posted November 7, 2006 Author Report Posted November 7, 2006 Thanks, I'll give it a try. Quote
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.