By default the type and station origin of any product being placed at a Build Station is unknown without referencing the layer Integer for a specific Build Pattern and having knowledge of the type of product at each layer.
The solution to this problem is to keep track of the previous station during the palletization process. To track the previous station, every station needs to have an After Station Call Job.
.
Each of these jobs will execute after the corresponding station's operations are completed. Therefore, tracking the previous station. Each of these jobs will modify a chosen String Variable with the name of the defined station.
Examples:
// AFTER_BUILD1.JBI
NOP
SET S000 "BUILD1"
END
// AFTER_INFEED1.JBI
NOP
SET S000 "INFEED1"
END
// AFTER_SLIPSHEET_DISPENSER1.JBI
NOP
SET S000 "SLIPSHEET_DISPENSER1"
END
Using this String Variable, references to the previous station and/or product type can be made in the Before/After Station Call Jobs or Gripper ON/OFF Jobs without referencing specific layers in the build pattern. The example below uses the previous station and the optional "At Station Outputs" associated with each Build Station to run a MotoSim EG-VRC model script associated with the product type being placed:
// GRIP_OFF.JBI
NOP
DOUT OT#(7) OFF //SUCTION
TIMER T=1.00
IF( OT#(9)=ON ) THEN //ROBOT_AT_BUILD1
IF( S000="INFEED1" ) THEN
'MDS:PLACE_BUILD1_BOX
ELSEIF( S000="SLIPSHEET_DISPENSER1" ) THEN
'MDS:PLACE_BUILD1_SHEET
ELSE
ABORT
ENDIF
ELSEIF (OT#(11)=ON ) THEN //ROBOT_AT_BUILD2
IF( S000="INFEED2" ) THEN
'MDS:PLACE_BUILD2_BOX
ELSEIF( S000="SLIPSHEET_DISPENSER2" ) THEN
'MDS:PLACE_BUILD2_SHEET
ELSE
ABORT
ENDIF
ELSE
ENDIF
END
Comments
0 comments
Please sign in to leave a comment.