Can you create function blocks that have user defined inputs and output parameters that can be used in multiple instances like you can in siemens with Allen Bradley controllers? Also how would one create a the equivalent of a siemens data block in Allen Bradley, through a user defined data type?
Can someone explain to me why my hour is messed up. Everything stores to DINT locations just fine except the hour is off by 5 and I have no idea what the 7 storage number is. what i get out is 2023, 10, 24, 23, 14, 15,110538 being 2023.10.24 @ 18:14:15 hours and like I said I have no idea what the last one is.
Wildly I'm guessing your are in the eastern time zone. When you select the DateTime, it is GMT time (not offset). If you want your local time, select LocalTime
@@TimWilborne I confirmed on my computer too, it’s like the time was reading the international time zone but while being set on east coast. Was very wierd.
The Free Lessons card came up before the end and obscured the final moments.
Thanks Tim. I appreciate your videos.
You are welcome 🙂
Can you create function blocks that have user defined inputs and output parameters that can be used in multiple instances like you can in siemens with Allen Bradley controllers?
Also how would one create a the equivalent of a siemens data block in Allen Bradley, through a user defined data type?
Can someone explain to me why my hour is messed up. Everything stores to DINT locations just fine except the hour is off by 5 and I have no idea what the 7 storage number is. what i get out is 2023, 10, 24, 23, 14, 15,110538 being 2023.10.24 @ 18:14:15 hours and like I said I have no idea what the last one is.
Wildly I'm guessing your are in the eastern time zone. When you select the DateTime, it is GMT time (not offset). If you want your local time, select LocalTime
I feel like I might be asking a stupid question but why 1pm show up as hour 18?
I probably misspoke or had the time set incorrectly.
@@TimWilborne I confirmed on my computer too, it’s like the time was reading the international time zone but while being set on east coast. Was very wierd.