ControlLogix GSV & SSV instruction

Christoph

Member
Join Date
Sep 2003
Location
Indiana
Posts
345
All
I am studying a PLC program from another facility. It uses an SSV instruction and a GSV. Data in SSV, GSV as follows.
-----------SSV---------------------------
| Set System Value:
| Class Name: WALLCLOCKTIME
| Instance Name:
| Attribute Name: DateTime
| Source: MES_WALLCLOCKTIME_NEWVALUE[0]
------------------------------------------

----------GSV----------------
| Class Name: WALLCLOCKTIME
| Instance Name:
| Attribute Name: DateTime
| Dest: PLCSystemDateTime[0]
-----------------------------
The only one of these names that is a tagname is the destination and source. What are these for??
 
Last edited:
The SSV is setting the PLC clock using the information stored in MES_WALLCLOCKTIME_NEWVALUE. This tag is an array, each element will contain a piece of the processor time (month, day, year and so on)

The GSV is retrieving the PLC clock time and storing it in PLCSystemDateTime. Again it's an array, each element will contain a piece of the time.
 
Thanks!
But Are either of the Dest. or source tags a status tag that is being over written or both created by original programmer?
And what is the significance of the Instance Name and Class Name?
 
Last edited:
Both tags are created by the original programmer.

The tag that is in the source of the SSV is being "read" by the SSV, then passed to the processor clock. The class, instance and attribute are determining essentially where the data is going.

The GSV is reading processor clock and then writing the value into the destination tag. If you try and modify the values the destination tag, the GSV will overwrite your changes (assuming that the GSV is being scanned all the time).

You can click on the instruction in the program and hit F1 to bring up the help on it.

Again the class, instance and attribute in those instances are determining that you are working with the PLC clock. There are other pre-defined settings for getting fault information, status of modules and so on. The help file will tell you more about them.
 

Similar Topics

Is there a way to know which is the primary and secondary chassis through gsv? I have read that "PhysicalChassis" (Chassis A/Chassis B) is an...
Replies
2
Views
2,228
I am writing some GSV's to get the status of our redundant contrologix for display/alarming on the SCADA system. I have found the GSV's for...
Replies
5
Views
8,222
Hello all, I've read a number of times on the forum that excessive use of the GSV function is to be avoided. Does anyone have any further info on...
Replies
0
Views
2,099
Hello, I'm working with a CLX L72 CPU. I am using several GSV instructions in my program for communication health monitoring within my DLR...
Replies
9
Views
7,805
Hey fellas, Just curious. If I set up a GSV in my RSLogix 5000 main program for a ControlLogix processor to get last or max scan time, will the...
Replies
3
Views
5,862
Back
Top Bottom