Sign in to follow this  
Followers 0
Paolo_911

Move Zero into First Half of Data Register

3 posts in this topic

How do I clear out the first half of a data register? I tried the * (multiply instruction) with 1111 1111 0000 0000, but that is 65280 which GXWorks2 does not accept.

Example, *P  D100  K65280  D100

I haven't found another instruction to perform this task, but will look through the programming manual more thoroughly tomorrow. 

Share this post


Link to post
Share on other sites

You have not specified the PLC type...

WAND HFF00 D100 D100  or WAND HFF00 D100 (for Q/L-series)

Share this post


Link to post
Share on other sites

Thank you very much! It is a Q series. I appreciate your assistance. 

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