Sign in to follow this  
Followers 0
vanquangtk

Detecting Register Duplication in PLC Programming with GX Works2

6 posts in this topic

 I have a program in GX Works2, and I need to check if any registers are duplicated in double-word instructions. For example, in commands like DMUL D1 D3 D5 and ADD K1 D4 D4, changing the value of D4 could potentially affect D5. Is there a way to detect all such issues?

Share this post


Link to post
Share on other sites

use the cross refrence 

Share this post


Link to post
Share on other sites

Better to use 'device list.

All registers used including double registers will be marked with an asterisk.

Blank ones are free to use.

1 person likes this

Share this post


Link to post
Share on other sites

Thanks, guys, but I don't intend to use new words. My intention is to check the current program for any mistakes involving duplicated words.

I need to find all instances of double words in use. However, the device list only shows that words have been used, without indicating whether they are used as single or double words

Share this post


Link to post
Share on other sites

In the PLC memory registers are not combined in any way if they used as double word, they are in memory as single registers. So since they are not defined as double word, you cannot filter them that way. The only way I see is still use device list and see registers used same amount of times and if you see the difference you can search for that one to verify.

1 person likes this

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0