Swervomotor Posted November 29, 2017 Report Share Posted November 29, 2017 Good day, Does anyone know how the seperator for date established in Region 2 rung 5 and 6? It's storing a number into a UNIT8 but I can't find any reference to what these numbers actually represent. Thanks, Swervomotor Quote Link to comment Share on other sites More sharing options...
Dave Posted November 29, 2017 Report Share Posted November 29, 2017 I'm not sure if I am looking at the same UDFB as you, but the one I have, in region2, rung5, the separator is populated by the first Fill Buffer instruction. The value 58, is ASCII code for : rung 6 doesn't have a separator, as it is only the day Quote Link to comment Share on other sites More sharing options...
Swervomotor Posted December 5, 2017 Author Report Share Posted December 5, 2017 Dave, Thank you for the response, makes much more sense now I hadn't thought about the number representing the ASCII code. Do you happen to know if there is a place to change the separator for the time? Right now it's a : but I'm using it in a file rename which won't allow that character. Rather than parse it out I was hoping their was a quick way of changing it like the date separator. Thanks Again! Swervomotor Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.