How to drive PS-10(Owis)

Hello, I use sweepme to call owis ps-10 operator to operate motorDMT65-DM6-HSM#1603. I set the parameters to make it run. The program has no errors. The motor makes a faint vibration sound, but does not rotate. The ps-10 green light flashes, indicating that the reference position is invalid. How can I operate it? Thank you for your help.

1 Like

Hi,

this is difficult to debug if there is no error message.

Your configuration of the driver in the Switch module looks good.

As a first step, I would test whether the motor movement is possible with the software provided by OWIS. Can you test whether the motor can do a homing and move to different positions.

Further, you can use the Port manager of SweepMe! via menu “Tools” → “Port manager” and check the debug flag for your COM port. This way you can log the communication to the Debug widget and we can see to which extent the driver works and when it stops.

It could be that some professional support from us is needed to debug the problem in a joint video meeting. Let us know if this could be an option for you by writing to contact@sweep-me.net

Good luck and best
Axel

1 Like

Yes, i can control it by owis sofatware i can set position and let it move to there. I use Sweepme to print this
image

1 Like

If the OWIS software can control it, then there seems just to miss a certain configuration in the SweepMe! driver to run it with your model.

Can you also send the debug log when you use the debug check for your COM port in the Port manager of SweepMe!. Then, I could see which commands are written and which messages are received from the driver.

I guess you already know how to modify drivers. You can always create a custom version of SweepMe! driver where you can make your own modifications. This is deschribed here:
https://wiki.sweep-me.net/wiki/Version_manager#Create_custom_versions

This way you can check which commands are send, add/modify/remove commands and test the driver until it works for you.

Best, Axel

1 Like

Here is the com3 debug output information


1 Like

Hi,

thanks for sending the debug output of the port manager.

The driver is written in a way that after each command a check is performed whether a error message is generated. If so it is written to the Debug.

As you already indicated in your previous message, the driver has the line
“Write: MON1 07 AXIS IS IN WRONG STATE” after sending the commands “MON1”. This probably means that the axis is not correctly configured during “initialize” and the “configure” phase of the driver.

The driver was originally written and tested for linear stages but should also work for rotational stages as the basic command protocol is the same. It could be that some other configurations must be set.
In general, the driver needs some overhaul. For example, the driver does not stop the measurement if an error message is detected.

Here, you can find the manual from OWIS:
https://www.owis.eu/uploads/tx_aimeos/files/3/3/336cbf3e_PS_10_User_Manual_pdf.pdf

The way to fix the driver would be to create a custom version of the driver in the version manager of SweepMe! and then start adding or modifying the driver until it works. The fact that the communication already works flawlessly with the PS-10 controller is definitely helpful to quickly test other command or the commands with other parameters.

In the forum, we can just give some first hints how to do in on your own. If you need our help with debugging the driver during a joint video meeting you can write to contact@sweep-me.net and we are happy to assist you in a project.

Of course, you could also test our Driver Writer AI, by uploading the manual and the current driver and ask how it must be modified to work with a rotation stage.
https://chatgpt.com/g/g-679c9a16da048191be552b2246512077-sweepme-driver-writer

Best, Axel

I modified the code and output the status of the command. I found that they all showed ready and sent the command normally, but why didn’t the motor turn?


ps-10.py (11.8 KB)

1 Like

You could check whether the OWIS software has a feature to see which commands are sent or whether there is any configuration to the one sent in the SweepMe! driver.

Additionally, you can check whether the parameters of the commands are correct. Maybe try to uncomment some configurations like Polarity or limit switches in the “initialize” phase to see whether that helps. Try to reduce the driver to the minimum needed. Some of the commands might be permanently stored on the motor controller. So, you could use the software from OWIS to setup the rotation stage once and only use the essential commands in the driver like MOFF, MON, INIT, ASTAT, PSET, and PGO.

Further, check whether there are commands in the manual that need to be added that are not sent yet at all.