Jump to content

Stop request during PTO acceleration causes PTO to freeze


Recommended Posts

Hello!
Have anyone noticed that if you request Stop PTO when it's still in acceleration mode it is very likely the module will freeze. Motor comes to immediate stop, but Current Velocity tag will stay at "Min Velocity" value.
PTO is then unresponsive to PTO move requests and controller usually needs reset.

This issue is present only when PTO stop mode with deceleration is selected. If Stop mode is "Halt" (immediate stop), this wont happen. 

On the oscillogram you can see that after PTO freezes, velocity tag stay above 0 while the Motor is actually still.
"Busy" bit in PTO Move block remains 1.

This is really problematic, since it's very likely to get PTO into this state with short moves (when PTO is near 0 absolute point) or with hand jog short movements.
This freeze issue will never happen if PTO stop request is sent when PTO is at it's target speed.

I attached simple test program where this issue can be reproduced imediatelly... If button "Start/Stop Move" is pressed for a short amout of time,  PTO will get stop request at "Problematic Speed" which will freeze PTO.

Is this a bug?
 

image.png.cc51769f8d3bd9cb36be746f63a937fd.png

USC-B10-B1 Testni projekt.ulpr

Link to comment
Share on other sites

  • 4 weeks later...

I opened the ticket on 25jun, with the simple code attached where bug can be reproduced 100% of the time,  got an answer to upgrade PLC FW which should solve the issue.
As expected it didn't, so I wrote them back a few times over the weeks. Still no answer.

This bug is blocking my project since using hand jog usually ends in freezed PLC.


I highly discourage using PTO option on UID0808THS with UniLogic SW, because I found 2 bugs on my first simple project, which left me with bunch of time lost on programing and discovering what is going on and probably in the future investing money in another solution.

Link to comment
Share on other sites

Hello @Sime

Sorry for the delay.

The issue had been fixed, along with the other bug you found. (OS sent)

Thanks for pointing those out to us and we wish you a better experience from now and then.

Don't hesitate to request more help if needed.

Rivka

Link to comment
Share on other sites

Hello Rivka.

I appreciate the effort of your team, but the fix was just partial and in very limited way of use, so my experience and opinion arround PTO use haven't changed much -  currently it is not suited to be used at any application.
I'm in contact with Nir Manor sending him example programs where PTO freezes. 

After applying the fix you sent there are lots of bugs left:
- PTO also very likely freezes if you request PTO move to 0 (absolute move) and send a "Stop" request when the motor is already close to 0 position and so decelerating.

- When motor is very close to 0 (absolute move) and you request PTO move to 0 it will first time give Move error (with Err ID7 - not enough pulses to move), but if you request PTO move to 0 again, motor will overshoot the 0 point by large amount of pulses - prety easy to crash the machine this way."

PTO freeze when Dec. time is shorter than Acc time and PTO stop request is sent while PTO is still accelerating.

PTO freeze when ACC/DEC times are the same (but higher value  - ca 800ms) and stop request is sent right after PTO starts acceleration

What I'm writing here are not edge cases, but normal use of hand jog function.
Hope all this bugs get to be resolved soon... 

Regards,
Simon

 

Link to comment
Share on other sites

Hello...
Rivka, actually they are not.

Issue PTO also very likely freezes if you request PTO move to 0 (absolute move) and send a "Stop" request when the motor is already close to 0 position and so decelerating.
is not resolved.

I sent another short test program to Nir Manor and hope to get another fix back soon.

Unilogic says to split my programing time in half, but.....
time I had spent on discovering bugs, reporting them and making short programs to reproduce them actually took the same amount of time as the whole project.
Headache.  

Regards
Simon

Link to comment
Share on other sites

We managed to create a useful version of PTO which works good - no bugs observed so far using PTO hand-jog .  

I will share the UID0808THS OS file here with installation instructions for others to use.

To install it to the PLC, please follow the instructions below:
1) Place the attached "IoOs_UID-0808THS_V_10_13" file in "C:\ProgramData\Unitronics\UniLogic\Upgrade\IO_OS\DI8TO8HS"

2) In Unilogic, go to Download->OS Downloads-> Download IO Files, and download the new OS:
image.png.927d6de21fba7e57d0c95acde3419d94.png

image.png.9bfb5c711bbc2b15b8e82465ee0c17ac.png

3) After the download is finished, reboot the PLC

4) Go to UniApps-> I/O Units, and make sure the OS(10.13) is there:
image.thumb.png.97140d9cc35c0e5a8e784edbb087e5d6.png

image.thumb.png.5aeff0345cb589a26de150205d0e4e03.png

 

 

IoOs_UID-0808THS_V_10_13.bin_ENC

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.