Sign in to follow this  
Followers 0
Veganic

Can anyone explain this?

5 posts in this topic

I've uploaded a program with GX developer from a FX1 PLC. It has the following line: -|M8000|-------MOV D100 D100. The only thing I can think is maybe it has been compiled in IEC developer? This form is repeated in a few places in the program. Can anyone think of a reason for this line of code?

Share this post


Link to post
Share on other sites
hmmmm.... perhaps the programmer wanted to see value of D100 without having to open device batch monitor etc.

Share this post


Link to post
Share on other sites
Another possibility would be that the line is a place-holder. The programmer might have figured he would need to come back and route various values but didn't have enough info to do it then and there. By writing one of these each time he came across such a situation, he entered that line so it would be easy to locate and update the code later. Steve

Share this post


Link to post
Share on other sites
If it was a newer model and D1000, I would say file registers. But not applicable to that old unit. FX1S and FX1N yes.

Share this post


Link to post
Share on other sites
Nothing definitive then. Thanks for the replies.

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