DaveE Posted September 19, 2014 Report Share Posted September 19, 2014 Good Afternoon I have been scratching my head on this one for a while now, but havent solved it. I understand the logic of what I want to do, but the code beats me I need to send a 3 digit Julian Date from the PLC to a Serial device. I understand how to send from the screen, thats the easy bit However its he Math required to set the Julian date I want the Julian Date to be visible on the screen, but not changeable (I know not to set as keyboard input ) The Julian date is simply the number of days that have elapsed this year ie the difference between Jan 1 2014 and today, thats the math involved. However on Jan 1 2015 it will be Julian date of 001....Has to change automatically Thats the bit I cant figure out both the Math and the auto change any suggestions? Thanks Quote Link to comment Share on other sites More sharing options...
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.