Sorry for the simple question, worked on KUKA and Fanuc and a little ABB so dont have much experience on it.
I am looking to have a constant message in the drop down menu for the operators so they can check how many parts they are running of a batch, the max the batch produces, name of the current batch, how many were produced in the last batch and the cycle time of the robot.
All this information is already in the robot just not easily visible without digging into the data and finding each value individually.
I was looking at putting this block at the top of the main program so it is run every time but it doesn't seem to be working and couldn't find any info on here about it (i'm assuming its very simple and i am just being a dipstick which is why no-one is yet to ask).
!
UIMsgBox\Header:="Current Production",
"MsgLine1:="nLastBatchCnt"
\MsgLine2:="Robot Currently running Batch: "+stCurrPart""
\MsgLine3:="Current Quantity Produced: "+NumToStr(nCurrBatchCnt,0)+" produced."
\MsgLine4:="Current Batch Run: "+NumToStr(nBatchMaxCnt,0)+" max."
\MsgLine5:=nCTClkResult{5};
\Buttons:=btnon;
\Result:=resUnkwn;
!