Jump to content
OMRON Forums

Adding Handwheel Encoder in PowerPMAC IDE


bprall

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

To read the position from the encoder table directly, multiply the following two structure elements. As long as the ECT entry does not integrate, nothing extra is needed.

EncTable[4].PrevEnc*EncTable[4].ScaleFactor

 

It would probably be preferable to set up a "motor" to read the encoder conversion table entry so it can be added to the position window.

 

Motor[x].pEnc=EncTable[4].a
Motor[x].pEnc2=EncTable[4].a
Motor[x].ServoCtrl=1

 

Optionally you can set the following variables for unit labels in the position window or scaling.

 

Motor[x].PosSf
Motor[x].Pos2Sf
Motor[x].PosUnit
Motor[x].Pos2Unit

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...