The way PM is set up, you can select a speed for each product, but not each format. I am looking to have where one format of Product A moves at Xmm/s and another format of Product A moves at Ymm/s.
I know I can make a new product for the format 3 and 5, but is there an easier way to do this?
…and in addition you need to check that you are aiming to the outfeeder
Like:
VAR string sWAName;
VAR num nOut1WANameFound;
sWAName := PmGetWaName (WorkArea);
!String match with the given workarea name in PM
nOut1WANameFound := StrMatch(sWAName, 1, “OutFeeder1”);
IF Op.FormatId = 3 AND nOut1WANameFound = 1 THEN
This is what I have been trying (there are multiple products with format 3, so I was trying to use the height to filter).
Does not seem to slow the format 3.
!!!SLOWS THE MOVE FOR THREE PICKS
IF Op.FormatId = 3 AND nPallet1Found = 1 AND nProductHeight > 200 AND nProductHeight < 250 THEN
Act.Speed:=v600;
ENDIF