Turn off acknowledgement for RS232

12 years 1 month ago #29212501 by cpayne
Turn off acknowledgement for RS232 was created by cpayne
Is there way of turning off the RS232 acknowledgement in RS232 mode? it constantly outputs a W and I do not need awknowledgements when I command it to drive, etc. I only want it to return the encoder or current values, etc when I ask for it. I have other equipment on the same RS232 line and it just adds too much traffic and confusion.

Thanks!

Please Log in or Create an account to join the conversation.

12 years 1 month ago #29212576 by cosma
Replied by cosma on topic Re:Turn off acknowledgement for RS232
W is the watchdog signal, indicating that no data was received by the controller during the last 1s period (motors are then shut down).

YOu need to setup the RS232 mode without watchdog.

As far as the other acknolwegdments (echo, +), these cannot be turned off.

Please Log in or Create an account to join the conversation.

12 years 1 month ago #29213343 by cpayne
Replied by cpayne on topic Re:Turn off acknowledgement for RS232
I need the watchdog. It seems the W comes more than once a second. Is it possible to have it not send the W when it times out? If not I assume if I send the drive command at least once a second then I will not get a W, I will just get the acknowledgment immediately after I send the drive command.

Thanks

Please Log in or Create an account to join the conversation.

12 years 1 month ago #29217685 by cosma
Replied by cosma on topic Re:Turn off acknowledgement for RS232
I should be every secong exactly.

In any case, there is no way to disable this.

You could send "something" before the 1s timeout to prevent the "W" to be issued. It doesnt need to be a command. Any ASCI character will do, even invisible characters such as a NULL character (hex 00).

But since what you sent will be echoed anyway, you will receive that character back. So you will get data to be sent by the controller at regular interval anyways.

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.123 seconds