SM6_Attribute_Ext_Get - Load Attribute to Get ID & Wait (Extended Command)
SM6_Attribute_Ext_Get - Load Attribute to
Get ID & Wait (Extended Command)
Description
Use the Extended Attribute to Get Type and ID fields to get the value of the requested Attrib-
ute and copy the response to the Attribute_Value tag.
Operands
Operand
Data Type
Operand
Type
Description
SM6_Attribute_Ext_Get
SM6_Attribute_Ext_Get
Tag
Control tag for this AOI
Axis
SM6_Axis
Tag
The targeted drive
Message_Type
SINT
Immediate
Value
16#1a - Position Controller
Supervisor
16#1b - Position Controller
Attribute_ID
DINT
Immediate
Value
The index to one of these
application objects: Pos-
ition Controller Supervisor
(0x24) on page 84 or Pos-
ition Controller (0x25) on
page 86.
Attribute_Value
DINT
Tag
The value of the attribute.
Structure
Field
Type
Description
.DN
BOOL
Set when the drive indicates the instruction has been processed.
.ER
BOOL
Set if there are any timeout or processing errors.
Operation
Scan Mode
Description
Prescan
Initialize variables.
Rung-condition-in is FALSE
Initialize variables.
Rung-condition-in is TRUE
Load the Extended Attribute to Get Type and ID fields, wait for a
response, copy the response to the Attribute_Value tag, clear
the Extended Attribute to Get Type and ID fields.
NOTE:
This command requires a connection size of 32 bytes.
Moog Animatics Class 6 EtherNet/IP Guide, Rev. B
Page 101 of 160