Hello!,
I’ve been testing and searching around a lot too figure out how to setup a STRUC and DECL like in kuka krl in rapid code, but haven’t found anything. I’ll give an example of what I mean from a kuka krl program..
STRUC ProdType_1 INT iBoxLength,iBoxWidth,iBoxHeight
DECL ProdType_1 ProdData_1[1]
ProdData_1[1]={iBoxLength 0,iBoxWidth 0,iBoxHeight 0}
I want to be able access these variables thru a test/case statement. Does anybody know how I can do it?
thanks in advance.