Welcome, Guest
Messages posted to this category need to be reviewed by the moderator before it gets posted.

TOPIC: Power up serial port functionality

Power up serial port functionality 7 years 10 months ago #51

If serial data is present on the RS232 port when the motor is being powered on, does the motors port lock and require a power cycle without serial data being present to recover?
The administrator has disabled public write access.

Re:Power up serial port functionality 7 years 10 months ago #54

  • hsummer
  • hsummer's Avatar
  • OFFLINE
  • Moderator
  • Posts: 12
  • Thank you received: 2
  • Karma: 1
One of three scenerios is possible
1. Upon power-up, the motor revieves charactes within the first 500millseconds containing multiple "E" characters causing it to not run it's downloaded program
2. It receives too many characters and overloads the receive buffer, code may still run but comms would be locked out
3. IT receives a string of characters without a null terminator (space or carriage return)
upon dong so, it will stall waiting for the carriage return until it gets one, it will not process any downloaded code until then because comms has priority.

IT is best to recycle power under this case.
If you have an HMI or PLC or other host that may send characters unplanned at any time during power up, your program could begin with CCHN and OCHN commands to close and reopen the com port and flush the buffer.
The administrator has disabled public write access.

Re:Power up serial port functionality 7 years 10 months ago #55

Thanks!
The administrator has disabled public write access.
Moderators: hsummer, csearcy, swalters, mmeyers
Time to create page: 0.230 seconds
Powered by Kunena Forum