Jump to content

Pallet Location Number in PiWeb Header


Recommended Posts

I see I can turn it on at for run or measurement but I think I need to get in on the header for my pallet end park to work, If I turn it on will the get record head work even if it is not in the header? I will try and play with it Monday everyone have a good weekend.
p1=getRecordHead("palletlocationnumber")
p2=getRecordHead("lastpalletlocationnumber")

if p1==p2 then
positionCMM(30,-30,-30)
endif

This code works in the Post Settings with PiWeb (no need to add anything to the header, don't even need to turn it on in the Select Report Header Parameters in the Multiple Report Window.

For me it moves in Z, then Y and then X, The numbers I am using is the offset from home just like at Start Up. I would recommend a different location if a Stylus System can hit the side of the machine at a certain rotation.
  • 10 months later...
×
×
  • Create New...