Data type MC_StartMode
TYPE MC_StartMode :
(
MC_STARTMODE_ABSOLUTE := 1, (* cam table is absolute for master and slave *)
MC_STARTMODE_RELATIVE := 2, (* cam table is relative for master and slave *)
MC_STARTMODE_MASTERABS_SLAVEREL := 3, (* cam table is absolute for master and relative for slave *)
MC_STARTMODE_MASTERREL_SLAVEABS := 4 (* cam table is relative for master and absolute for slave *)
);
END_TYPE
StartMode is used for coupling with cam plates through MC_CamIn and defines whether a cam plate is interpreted absolute (based on the origin of the axis coordinate system) or relative to the coupling position. The mode can be specified as absolute or relative separately for both coordinate axes.
With StartModeabsolute the cam plate coordinate system is congruent with the axis coordinate system and can be moved through an offset, if required (master or slave offset).
With StartModerelative the origin of the cam plate coordinate system is at the axis position of the respective axis (master or slave) at the time of coupling or cam plate switching. The cam plate can additionally be moved through an offset.
The modes MC_STARTMODE_RELATIVE and MC_STARTMODE_MASTERREL_SLAVEABS cannot be used in conjunction with automatic master offset calculation (MC_CamScalingMode), since this would cause a conflict. |