SMC_AxisSettingsFromAxes (FB)ΒΆ
FUNCTION_BLOCK SMC_AxisSettingsFromAxes
Reads the axis settings from the given axes and stores
them in the output AxisSettings.
Note: not all inputs must be connected.  For example, if
the kinematics has 3 axes, then only input Axis0, Axis1,
and Axis2 have to be connected.
Intended for use with SMC_Trafo_Wrapper and SMC_TrafoF_Wrapper.
- InOut:
- Scope - Name - Type - Initial - Comment - Input - Axis0- IAxisRef- The first axis of the kinematics - Axis1- IAxisRef- The second axis of the kinematics - Axis2- IAxisRef- The third axis of the kinematics - Axis3- IAxisRef- The fourth axis of the kinematics - Axis4- IAxisRef- The fifth axis of the kinematics - Axis5- IAxisRef- The sixth axis of the kinematics - Output - AxisSettings- ARRAY [0..(SMRB.MAX_KIN_AXES - 1)] OF TRAFO.Axis_Settings - [6(STRUCT(limits := STRUCT(xUnlimited := TRUE)))] - The axis settings (e.g. axis ranges) of the axes - Axis0..- Axis5. This output can be connected to the input- AxisSettingsof function block SMC_Trafo_Wrapper and SMC_TrafoF_Wrapper.