PhoenixA Posted May 8 Report Posted May 8 How can i get HH:MM So i can make a plc turn on a output when it is a time of day then turn off at another time set by a data entry on a NA screen
Crossbow Posted May 8 Report Posted May 8 DATERD and comparisons. That instruction breaks the clock data into 7 registers, easy to work with.
Crossbow Posted May 13 Report Posted May 13 On 5/11/2025 at 2:03 PM, Webbs said: Is looks like the DtToDateStruct instruction does this. This only works with the DATETIME data type as an input. But yes, it will do this.
Crossbow Posted May 13 Report Posted May 13 On 5/8/2025 at 12:11 PM, kckku said: I don't see this DATERD instruction. Is this new? Might have gotten my wires crossed and be thinking of a different PLC..
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