Studio 5000 DINT addressing

Think of the Source (SSV) and Destination (GSV) as the starting address for your data.

With the GSV, it will start moving the first "time" data into element [0] then the remaining pieces of data will land in the consecutive array elements. It must grab all seven values. It will fail if your array isn't large enough. The array could be larger than 7 elements, but not smaller.

By forcing you to pick the element within the array you could actually write to any seven consecutive elements in a large array. But of course, you would almost always want to start with element 0.

As an alternative, you could also create a User-defined Data Type (UDT) specifically for the time. Same basic idea. You create a UDT that has seven DINT members. The big difference is that you can name each member with meaningful names.

OG

WallClock.png
 

Similar Topics

Just something I think about when choosing data types in Studio 5000. It seems logical, but I've never looked deeply into the question. When...
Replies
12
Views
1,305
I was just curious if there is a way to search for a description of a boolean contained within a DINT/INT. For instance, I have a DINT[1] named...
Replies
6
Views
2,245
Hey! Quick question. Is there a quick and easy way of recurrently move safety inputs to a DINT for example? This is the idea but for obvious...
Replies
4
Views
1,780
I'm being directed to fill process values into an array of DINTs. A portion of the REAL values got copied into 2 DINTs each, but there are more...
Replies
2
Views
2,201
I am fairly new to Controllogix and have been thrown into the deep end in a Project. I am trying to read my digital input tags from the plc...
Replies
3
Views
6,249
Back
Top Bottom