PositionPositionProfile

The data type MC_PPROFILE is used for CamTable. An array has to be defined and provided at MC_CamTableSelect. Several CamTables could be defined and the axis could change between them on the fly. There is no routine of smooth movement from on table to the next so the user has to take care just to switch on appropriate positions.

MC_PProfile Type Comment
master_position LREAL

Masterposition of interpolation point. Be careful, the values have to be in ascending order:

MC_PProfile_Array [x].master_position < MC_Profile_Array [x+1].master_position.

interpolation_point LREAL Slaveposition of interpolation point.
Velocity_ratio LREAL Velocity value for interpolation point, is just relevant for MCA_POLY5 ans MCA_POLY3. It describes the relation of slave-velocity to master-velocity, e.g. velocity_ratio=1 “Master and Slave have the same velocity.
Acceleration_ratio LREAL Acceleration to be reached at this point. It is just relevant for MCA_POLY5. It gives the relation of slave-acceleration according to master acceleration.

Declaration example\ \ CAM_table

ARRAY[1..3] OF MC_PProfile:=
\ (Master_position:=\ 0\ ,interpolation_point := 0\ ,Velocity_ratio:= 0\ ,Acceleration_ratio:= 0 ),
(Master_position:=\ 50\ ,interpolation_point := 25\ ,Velocity_ratio:= 0\ ,Acceleration_ratio:= 0 ),
(Master_position:=\ 100\ ,interpolation_point := 0\ ,Velocity_ratio:= 0\ ,Acceleration_ratio:= 0 );