362 Rockwell Automation Publication 2080-UM002N-EN-E - November 2022
Appendix H User-defined Function Block Motion Instructions
UDFB Motion Instruction
Details
The Device Object states to represent the axis is preferred, as these states incorporate the
instruction and drive information in one location, which results in accurate drive state
representation.
This section provides details for each instruction.
raC_Opr_K5100_MSO
Use the Motion Servo On (raC_Opr_K5100_MSO) instruction to activate the drive amplifier for
the specified axis and to activate the servo control loops.
Figure 40 - MSO Diagram
ParameterMonitor3Value
Parameter Monitor 3 Value
You can use ID62 (P0.037) to specify the mapping parameter
instance ID number. The content of the parameter that is
specified by ID62 (P0.037) is shown in ID56 (P0.027).
DINT
ParameterMonitor4Value
Parameter Monitor 4 Value
You can use ID63 (P0.038) to specify the mapping parameter
instance ID number. The content of the parameter that is
specified by ID63 (P0.038) is shown in ID57 (P0.028).
DINT
ParameterMonitor5Value
Parameter Monitor 5 Value
You can use ID64 (P0.039) to specify the mapping parameter
instance ID number. The content of the parameter that is
specified by ID64 (P0.039) is shown in ID57 (P0.028).
DINT
Table 106 - raC_UDT_Itf_K5100_Sts Data Types (Continued)
Input Description DataType
Table 107 - MSO Operands
Operand Type Format Description
_EN BOOL Tag True when the rung is enabled.
Ref_Ctrl_Set_In raC_UDT_Itf_K5100_Set Tag Interface from device object.
Ref_Ctrl_Cmd_In raC_UDT_Itf_K5100_Cmd Tag Interface from device object.
Ref_Ctrl_Sts_In raC_UDT_Itf_K5100_Sts Tag Interface from device object.
_ENO BOOL Tag True when this UDFB output is enabled.
Ref_Ctrl_Set_Out raC_UDT_Itf_K5100_Set Tag Interface to device object.
Ref_Ctrl_Cmd_Out raC_UDT_Itf_K5100_Cmd Tag Interface to device object.
Ref_Ctrl_Sts_Out raC_UDT_Itf_K5100_Sts Tag Interface to device object.
Sts_EN (Enable) BOOL Tag
This bit is set when the rung makes a false-
to-true transition and remains set as the
message transaction to activate the drive is
initiated and in process. It remains set while
the rung-in condition is true and no faults are
active.