bcj1072 Posted July 26, 2017 Report Posted July 26, 2017 Hello, I am looking to add the contents of a group of data registers(D100-D110) and record their sum in another register(D120). Is there a function that will do this? Currently I am doing the following -[MOV K0 D120] -[+ D100 D101 D120] -[+ D101 D120 D120] -[+ D102 D120 D120] ~ -[+ D110 D120 D120]
JRoss Posted July 26, 2017 Report Posted July 26, 2017 Which series of PLC? See if yours has the WSUM instruction.
bcj1072 Posted July 26, 2017 Author Report Posted July 26, 2017 Q series. Yes, WSUM is exactly what I was looking for. Thankyou!
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