Jump to content
OMRON Forums

Cannot assign CamTable Posdata, OutData


Geoff

Recommended Posts

I am testing a custom cam profile generator in a background C program but I cannot assign the values of CamTable[m].PosData and CamTable[m].OutData without crashing the program. As required, I first redefine the table with PScript Command("") calls defining Nx and PosData[0], then set up the rest of the parameters as shown in the attached snapshot. The first assignment statement in the for loop which assigns values to the PosData and OutData crashes in the debugger. The cam table has been initialized with its parameters. The User Manual suggests that after table memory allocation, the data can be entered in the C environment. What am I doing wrong?

260723885_AssigningCamTableData.PNG.c70f76465cd3359b02b3370bc092ba80.PNG

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Guest
This topic is now closed to further replies.

×
×
  • Create New...