Jump to content
OMRON Forums

Assigning Motor[x].pMasterEnc in C


Recommended Posts

In the PowerPMAC IDE bgcplc environment, when assigning the master register address as follows:

pshm->Motor[6].pMasterEnc = pshm->EncTable[12].pEnc;


I get this warning during the build:

...warning : assignment from incompatible pointer type


How can I typecast this address assignment so the warning is avoided, or should I put this assignment in a Command(TS) call?




Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This topic is now closed to further replies.

  • Create New...