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 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 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now