Jump to content
OMRON Forums

syntax error, unexpected '*'


Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...


Sorry for the wrong post place of this issue.


I just want to try the example of CaptCompISR on page 6 of "LASER PULSE CONTROL WITH POWER PMAC DSPGATE3" .


The controller = CK3M

The firmware version =

IDE version =

Link to comment
Share on other sites


the code in usrcode.c :

void CaptCompISR(void)


volatile GateArray3 *MyGate3;

volatile unsigned IntCtrl;

unsigned *uintptr;

uintptr = (unsigned*) pushm;

MyGate3 = GetGate3MemPtr(3);



I run "Build and Download All Program" then

I got the messages as follow:


in output panel:

Uploading pp_error_hist.log file from the PowerPMAC.

Uploading pp_debug.txt file from the PowerPMAC.

Uploading and synchronizing PowerPMAC variables

Download successful.

Total Project download time = 5.663 seconds.

Total Project build and download time = 12.387 seconds.


in panel "Error List"


Severity Code Description Project File Line

Error syntax error, unexpected '*' 方案 'PowerPMAC3' ‎(1 專案) C:\Users\Eric Shyu\Documents\PowerPMAC IDE\PowerPMAC3\PowerPMAC3\C Language\Realtime Routines\usrcode.c 70



Thank you for your help!

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Create New...