Posted 30 Aug 2017 I have a problem with converting a server word. I'm trying to put the seconds in my program trough %SW50. But this is counting like this: 0000 0111 = 7 0000 1000 = 8 0000 1001 = 9 0001 0000 = 10 0001 0001 = 11 But i forgot how this is called. How do i convert this to: 0000 0111 = 7 0000 1000 = 8 0000 1001 = 9 0000 1010 = 10 0000 1011 = 11 And is this second style integer? Share this post Link to post Share on other sites
Posted 30 Aug 2017 (edited) What plc and software? Edited 30 Aug 2017 by cHud Share this post Link to post Share on other sites
Posted 30 Aug 2017 i'm working in somachine basic with a TM221CE16R Share this post Link to post Share on other sites
Posted 30 Aug 2017 (edited) Extract from the help file. Your date and time system words are in BCD Edited 30 Aug 2017 by cHud 1 person likes this Share this post Link to post Share on other sites