4/30/2023 0 Comments Rslogix 5000 sample program![]() In this case, we’ll go to the controller tag database, and in “Edit Tags” Mode, create a tag called SystemTime. The seven elements of this tag will contain: Year, Month, Day, Hour, Minute, Second, and MicroSeconds. This tag will store 7 DINT’s (Double Integers), so we will make this tag an array. For other attributes, and other classes in the GSV command, consult the help file. The attribute that we will talk about in this post will be the LocalDateTime. ![]() This is good for time stamping because simple seconds are easy to compare without worrying about days, months, and years. Yet another section would display the total number of seconds that have passed since Jan 1, 1970. Another section (attribute) would be for UTC. ![]() ![]() One section would display the current time in our own time zone. Imagine a large clock on the wall with different sections. In this post, we will access the WALLCLOCKTIME object. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |