Sign in to follow this  
Followers 0
Guest KAT

Date Algorithm

2 posts in this topic

Does any one know of an algorithm for converting the date stored in the S2 status file to the day of the week? I have been toying with this and am having dificulty trying to truncate and find the mod ie the remainder of a division while trying to program this PLC-5.thanks again folks THE KAT

Share this post


Link to post
Share on other sites
There's a sample in the download code area. I've haven't tested it but you may want to try it out. Downloads Section -> AB - PLC Sample Code Downloads -> Day-of-Week Calculation for SLC 1.0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0