Jump to content

Pallet Location Number in PiWeb Header


---
 Share

Recommended Posts

Has anyone figured out how to add the Pallet Location Number to the PiWeb Header, easy to do n the custom report but not so much in PiWeb.

I don't mind if I have to make custom variable but still need the code or text I need to use it.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

  • 10 months later...
If you use AutoRun => Pallet:
The actual "Palet location No" for the PiWeb reporting protocol header is
${Qdb.Measurement(39, -1)}
(You see it, if you have a look into the PiWeb reporting database)
Link to comment
Share on other sites

 Share

×
×
  • Create New...