RM_AxesGroup – Axes group for coordinated motion control

Block SymbolLicensing group: COORDINATED MOTION
Qt SVG Document Exported by REXYGEN Studio uChain refGroup refPos State ErrorID RM_AxesGroup

Function Description

Note 1: Applicable for all non-administrative (moving) function blocks.
Note 2: In the states GroupErrorStop or GroupStopping, all Function Blocks canbe called, although they will not be executed, except MC_GroupReset for GroupErrorStop and any occurring Error– they will generate the transition to GroupStandby or GroupErrorStop respectively
Note 3: MC_GroupStop.DONE AND NOT MC_GroupStop.EXECUTE
Note 4: Transition is applicable if last axis is removed from the group
Note 5: Transition is applicable while group is not empty.
Note 6: MC_GroupDisable and MC_UngroupAllAxes can be issued in all states and will change the state to GroupDisabled.

Parameters

McsCount

Number of axis in MCS   1  6 6

Long (I32)

AcsCount

Number of axis in ACS   1  16 6

Long (I32)

PosCount

Number of position axis   1  6 3

Long (I32)

Velocity

Maximal allowed velocity [unit/s]

Double (F64)

Acceleration

Maximal allowed acceleration [unit/s2]

Double (F64)

Jerk

Maximal allowed jerk [unit/s3]

Double (F64)

Outputs

refGroup

Axes group reference

Reference

refPos

Position, velocity and acceleration vector

Reference

iState

Group status

Long (I32)

0 ....

Disabled

1 ....

Standby

2 ....

Homing

6 ....

Moving

7 ....

Stopping

8 ....

Error stop

ErrorID

Result of the last operation

Error

i ....

REXYGEN general error

The State Diagram of AxesGroup
image/svg+xmlGroupMoving GroupErrorStop GroupStandby GroupStopping (Note 4)MC_GroupDisableMC_UngroupAllAxesMC_RemoveAxisFromGroupMC_AddAxisToGroupMC_RemoveAxisFromGroupMC_UngroupAllAxes Done GroupDisabled GroupHoming MC_GroupEnable MC_GroupHome Note 1 andMC_GroupHalt MC_GroupStop Done Note 1 Error Note 3 Note 2ErrorNote 2 MC_GroupStop MC_GroupStop MC_GroupReset (Note 5)MC_AssAxisToGroupMC_RemoveAxisFromGroup Error

image/svg+xmlaxes_group_reference [axes_group] VTOR2 uVecy1y2y3y4y5y6y7y8 VTOR1 uVecy1y2y3y4y5y6y7y8 RM_AxesGroup refGrouprefPosiStateErrorID

image/svg+xmladding particalar axis to axesgroup implementation of particular single axis implementation of axes group vel4 [actual_velocity4] vel3 [actual_velocity3] vel2 [actual_velocity2] vel1 [actual_velocity1] skupina_os [axes_group] reference_to_axis4 [axis4] reference_to_axis3 [axis3] reference_to_axis2 [axis22] reference_to_axis1 [axis1] reference_to_axesgroup [axes_group] pos4 [actual_position4] pos3 [actual_position3] pos2 [actual_position2] pos1 [actual_position1] commanded_vel4 [commanded_velocity4] commanded_vel3 [commanded_velocity3] commanded_vel2 [commanded_velocity2] commanded_vel1 [commanded_velocity1] commanded_tor4 [commanded_torque4] commanded_tor3 [commanded_torque3] commanded_tor2 [commanded_torque2] commanded_tor1 [commanded_torque1] commanded_pos4 [commanded_position4] commanded_pos3 [commanded_position3] commanded_pos2 [commanded_position2] commanded_pos1 [commanded_position1] axis4 [axis4] axis3 [axis3] axis2 [axis2] axis1 [axis1] RM_Axis4 HLDActualPosActualVelocityActualTorqueLIMNLIMZLIMPaxisRefPhysicalPositionCommandedVelocityCommandedAccelerationCommandedTorqueiStateErrorIDCommandedPosition RM_Axis3 HLDActualPosActualVelocityActualTorqueLIMNLIMZLIMPaxisRefPhysicalPositionCommandedVelocityCommandedAccelerationCommandedTorqueiStateErrorIDCommandedPosition RM_Axis2 HLDActualPosActualVelocityActualTorqueLIMNLIMZLIMPaxisRefPhysicalPositionCommandedVelocityCommandedAccelerationCommandedTorqueiStateErrorIDCommandedPosition RM_Axis1 HLDActualPosActualVelocityActualTorqueLIMNLIMZLIMPaxisRefPhysicalPositionCommandedVelocityCommandedAccelerationCommandedTorqueiStateErrorIDCommandedPosition RM_AxesGroup1234 refGrouprefPosiStateErrorID MC_Power4 uAxisEnableyAxisStatusBusyActiveErrorErrorID MC_Power3 uAxisEnableyAxisStatusBusyActiveErrorErrorID MC_Power2 uAxisEnableyAxisStatusBusyActiveErrorErrorID MC_Power1 uAxisEnableyAxisStatusBusyActiveErrorErrorID MC_GroupEnable_1234 uAxesGroupExecuteyAxesGroupDoneBusyErrorErrorID MC_AddAxisToGroup_O4 uAxesGroupuAxisExecuteIdentInGroupyAxesGroupyAxisDoneBusyErrorErrorID MC_AddAxisToGroup_O3 uAxesGroupuAxisExecuteIdentInGroupyAxesGroupyAxisDoneBusyErrorErrorID MC_AddAxisToGroup_O2 uAxesGroupuAxisExecuteIdentInGroupyAxesGroupyAxisDoneBusyErrorErrorID MC_AddAxisToGroup_O1 uAxesGroupuAxisExecuteIdentInGroupyAxesGroupyAxisDoneBusyErrorErrorID MCP_SetKinTransform_Agebot uAxesGroupExecuteyAxesGroupDoneBusyErrorErrorID CNB3 on CNB2 on CNB1 on CNB1 on CNB 1

2024 © REX Controls s.r.o., www.rexygen.com