Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 195
Input/Output Instructions (MSG, GSV, SSV, IOT) Chapter 4
Structured Text
The operands for are the same as those for the relay ladder GSV
and SSV instructions.
Description: The GSV/SSV instructions get and set controller system data that is stored in
objects. The controller stores system data in objects. There is no status file, as in
the PLC-5 processor.
When enabled, the GSV instruction retrieves the specified information and
places it in the destination. When enabled, the SSV instruction sets the specified
attribute with data from the source.
When you enter a GSV/SSV instruction, the programming software displays the
valid object classes, object names, and attribute names for each instruction. For
the GSV instruction, you can get values for all the available attributes. For the
SSV instruction, the software displays only those attributes are allowed to set
(SSV).
GSV(ClassName,InstanceName,AttributeName,Dest);
SSV(ClassName,InstanceName,AttributeName,Source);