Skip to content

.X vs .%X

Hello,

I am a new PLCnext user. I am doing some bit level addressing, and wondering what the difference is between .X and .%X ? I am using .X and my code works the way I want, but was wondering what the difference is?? I looked through the Help and the PLCnext Info Center, but couldn't find an explanation.


Thank you!


Adrian

Comments

  • edited January 2024

    Hi,

    .X is the older format according to IEC61131-3 Version 2. .%X is the new format according to IEC61131-3 Version 3. Both do the exact same thing. The older standard is supported for compatibilty reasons and for new projects it is recommended to use the new format.

  • Thank you! Appreciate the quick response!

Sign In or Register to comment.