hello, Guys,
i met an error when i was trying to convert real array into jointpos, it shows "invalid ar val for build in". do you have any idea about what might be the reason?
my code is give as below:
PROGRAM data
VAR
i:INTEGER
jnt:JOINTPOS
status1:INTEGER
jpos:ARRAY[6] OF REAL
BEGIN
jpos[1]=3.836
jpos[2]=7.189
jpos[3]=-24.204
jpos[4]=26.705
jpos[5]=-69.769
jpos[6]=75.901
CNV_REL_JPOS(jpos,jnt,status1)
END data