SM6_Get_Attribute - Get Drive Attribute
SM6_Get_Attribute - Get Drive Attribute
Description
Get the value of the requested Attribute and copy the response to the Attribute_Value tag.
Operands
Operand
Data Type
Operand
Type
Description
SM6_Get_Attribute SM6_Get_Attribute Tag
Control tag for this AOI
Axis
SM6_Axis
Tag
The targeted drive
Message_Type
SINT
Immediate
Value
16#1a - Position Controller Super-
visor
16#1b - Position Controller
Attribute_ID
DINT
Immediate
Value
The index to one of these application
objects: Position Controller Super-
visor (0x24) on page 84 or Position
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 and reset timeout.
Rung-condition-in is TRUE
Send a message to the SmartMotor to get the value of a Pos-
ition Controller Supervisor or Position Controller object attrib-
ute, wait for a response, copy the response to the Attribute_
Value tag.
Moog Animatics Class 6 EtherNet/IP Guide, Rev. B
Page 111 of 160
Содержание SmartMotor SM34165MT-IP
Страница 16: ......
Страница 24: ......
Страница 30: ......
Страница 36: ......
Страница 98: ......
Страница 126: ......
Страница 153: ...SmartMotor AOI Example Moog Animatics Class 6 EtherNet IP Guide Rev B Page 153 of 160...
Страница 154: ......
Страница 158: ......
Страница 159: ......
Страница 160: ...PN SC80100010 001 Rev B...