SM6_Set_Position - Set Drive Position
SM6_Set_Position - Set Drive Position
Description
Send a message to the SmartMotor to generate a profile move to an absolute or relative pos-
ition. The current drive Acceleration, Deceleration and Velocity settings will be used. The Com-
mand Response Message Type will return the Actual Position in the Response Message.
Operands
Operand
Data Type
Operand Type
Description
SM6_Set_Position
SM6_Set_Position
Tag
Control tag for this AOI
Axis
SM6_Axis
Tag
The targeted drive
Incremental
BOOL
Immediate Value
Move Type
0 - Absolute
1 - Incremental
Target_Position
DINT
Tag
Requested Position
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.
.IP
BOOL In Progress—set while the drive is reporting a command is in progress.
.MC
BOOL Move Complete—set when there is no move in progress and the drive is on the
target position.
Operation
Scan Mode
Description
Prescan
Initialize variables.
Rung-condition-in is FALSE
Initialize variables.
Rung-condition-in is TRUE
Send a Set Position message to the drive and monitor move pro-
gress. This command will set the Response Message Type to
return the Actual Position.
Moog Animatics Class 6 EtherNet/IP Guide, Rev. B
Page 121 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...