Use GSV and SSV Instructions inside Add-On Instructions

This topic references using GSV and SSV instructions inside Add-On Instructions.
IMPORTANT:
The alarm buffer was removed from the subscription functions for alarming in the v21.00.00 firmware, and is no longer available. GSV instructions that previously reference the alarm buffer attribute are invalidated when the project is verified. It is the responsibility of the programmer to correctly change any application code that relied on this attribute.
The following classes are supported:
  • AddOnInstructionDefinition
  • Module
  • Axis
  • MotionGroup
  • Controller
  • Program
  • ControllerDevice
  • Redundancy
  • CoordinateSystem
  • Routine
  • CST (GSV only)
  • Safety
  • DF1
  • SerialPort
  • FaultLog
  • Task
  • HardwareStatus (GSV only)
  • TimeSynchronize
  • Message
  • WallClockTime
TIP:
The AddOnInstructionDefinition class verifies GSV instructions only, and does not verify SSV instructions. The Program, Routine, AddOnInstructionDefinition, and Task classes represent programming components, and only support THIS as the Instance Name.
The GSV instruction retrieves the specified information and places it in the specified destination. The SSV instruction changes the specified attribute with data from the source of the instruction.
When entering a GSV or SSV instruction, the
Logix Designer
application displays the object classes, object names, attribute names, and source (GSV) or destination (SSV) for each instruction. The table displays the attributes of the AddOnInstructionDefinition class.
Attribute Name
Data Type
Attribute Description
MajorRevision
DINT
The major revision of the Add-On Instruction
MinorRevision
DINT
The minor revision of the Add-On Instruction
RevisionExtendedText
String
The revision note information entered as part of the Add-On Instruction
Vendor
String
The vendor name
Name
String
The name of the instruction
LastEditDate
LINT
Date and time stamp of the last edit to an Add-On Instruction
SignatureID
DINT
ID number, date, and timestamp of instruction signature
SafetySignatureID
DINT
32-bit safety instruction signature value
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.