Jump to content
OMRON Forums

Assigning Motor[x].pMasterEnc in C


Geoff
 Share

Recommended Posts

In the PowerPMAC IDE 4.4.1.7 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?

 

Thanks,

Geoff.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...