Jump to content
OMRON Forums

Recommended Posts

Posted

Hello,

 

For some reason,I want to motor to follow a position every servo cycle,the position was calculated by the foreground PLC.Usually I will set ECT to get data from a user address and make Ix05 point to the ECT in Turbo,so the moter will follow the value of the address.But how to do that in Power Pmac? Or there are some simple way to do that?

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Posted

In Power PMAC, simply write your value into Motor[x].MasterPos. This is a floating-point register, with the position units of Motor x.

 

Make sure that Motor[x].MasterCtrl bit 0 is set to 0, so the automatic position following function does not also try to write to this register.

Posted
If the position was calcalated in the realtime routines ,is Data Structure of Mptr->MasterPos supported in the user_pid_ctrl(struct MotorData *Mptr) or user_phase(struct MotorData *Mptr)?
Guest
This topic is now closed to further replies.

×
×
  • Create New...