Back to top

Ask the number of time of execution

0 votes
+ vote
Vote up!

Hi,

I'm communique with the AKD by Modbus to AKM. I have two task in my workbench for kollmorgen.
When I call this task (in reality I have two task : the next task for the first is the second etc...) in
LabVIEW, it's done well. Now I need to know during the run how many time this task is doing, for example
if the user want this task achieve 4 times or x Times and stop the motor after x Times the task achieve.
Do you know if I have a command (by modbus) to ask the AKD after the Task is begin how many time this task is
running to control the number of their execution ? Thanks for your helps

0 Comments

1 Answer

0 votes
+ vote
Vote up!

The AKD does not keep track of how many times a motion task has been executed.  You will have to add code on the LabView end to keep track of that.  You can monitor Bit 11 of the DRV.MOTIONSTAT Modbus address 268 to indicate when the motion task has  competed the move.  

Link to Description of AKD DRV.MOTIONSTAT Bits 11 and 15:

https://www.kollmorgen.com/en-us/developer-network/akd-drvmotionstat-bits-11-and-15/

Link to AKD Modbus TCP Landing Page:

https://www.kollmorgen.com/en-us/developer-network/akd-modbus-tcp-landing-page/

0 Comments
ANSWER THIS QUESTION
You may login with either your assigned username or your e-mail address.
The password field is case sensitive.

If you do not have an account, click here to register.