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 Quote
Crossbow Posted May 8 Report Posted May 8 DATERD and comparisons. That instruction breaks the clock data into 7 registers, easy to work with. Quote
Webbs Posted May 11 Report Posted May 11 Is looks like the DtToDateStruct instruction does this. Quote
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. Quote
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.. Quote
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.